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_wxVisualAttributes swig_types[36]
246 #define SWIGTYPE_p_wxNotifyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPyEvent swig_types[38]
248 #define SWIGTYPE_p_wxPropagationDisabler swig_types[39]
249 #define SWIGTYPE_p_wxAppTraits swig_types[40]
250 #define SWIGTYPE_p_wxArrayString swig_types[41]
251 #define SWIGTYPE_p_wxShowEvent swig_types[42]
252 #define SWIGTYPE_p_wxToolTip 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_wxMaximizeEvent swig_types[48]
258 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[49]
259 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[50]
260 #define SWIGTYPE_p_wxIdleEvent swig_types[51]
261 #define SWIGTYPE_p_wxMenuItem swig_types[52]
262 #define SWIGTYPE_p_wxStaticBox swig_types[53]
263 #define SWIGTYPE_p_long swig_types[54]
264 #define SWIGTYPE_p_wxTIFFHandler swig_types[55]
265 #define SWIGTYPE_p_wxXPMHandler swig_types[56]
266 #define SWIGTYPE_p_wxPNMHandler swig_types[57]
267 #define SWIGTYPE_p_wxJPEGHandler swig_types[58]
268 #define SWIGTYPE_p_wxPCXHandler swig_types[59]
269 #define SWIGTYPE_p_wxGIFHandler swig_types[60]
270 #define SWIGTYPE_p_wxPNGHandler swig_types[61]
271 #define SWIGTYPE_p_wxANIHandler swig_types[62]
272 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[63]
273 #define SWIGTYPE_p_wxEvtHandler swig_types[64]
274 #define SWIGTYPE_p_wxCURHandler swig_types[65]
275 #define SWIGTYPE_p_wxICOHandler swig_types[66]
276 #define SWIGTYPE_p_wxBMPHandler swig_types[67]
277 #define SWIGTYPE_p_wxImageHandler swig_types[68]
278 #define SWIGTYPE_p_wxFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[70]
280 #define SWIGTYPE_p_wxInternetFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxZipFSHandler swig_types[72]
282 #define SWIGTYPE_p_wxRect swig_types[73]
283 #define SWIGTYPE_p_wxGBSpan swig_types[74]
284 #define SWIGTYPE_p_wxPropagateOnce swig_types[75]
285 #define SWIGTYPE_p_wxAcceleratorTable swig_types[76]
286 #define SWIGTYPE_p_char swig_types[77]
287 #define SWIGTYPE_p_wxGBPosition swig_types[78]
288 #define SWIGTYPE_p_wxImage swig_types[79]
289 #define SWIGTYPE_p_wxFrame swig_types[80]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[81]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[82]
292 #define SWIGTYPE_p_byte swig_types[83]
293 #define SWIGTYPE_p_wxPoint swig_types[84]
294 #define SWIGTYPE_p_wxCursor swig_types[85]
295 #define SWIGTYPE_p_wxObject swig_types[86]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[87]
297 #define SWIGTYPE_p_wxOutputStream swig_types[88]
298 #define SWIGTYPE_p_wxInputStream swig_types[89]
299 #define SWIGTYPE_p_wxDateTime swig_types[90]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[93]
303 #define SWIGTYPE_p_wxWindow swig_types[94]
304 #define SWIGTYPE_p_wxMenuBar swig_types[95]
305 #define SWIGTYPE_p_wxFileSystem swig_types[96]
306 #define SWIGTYPE_p_wxBitmap swig_types[97]
307 #define SWIGTYPE_p_wxMenuEvent swig_types[98]
308 #define SWIGTYPE_p_wxContextMenuEvent swig_types[99]
309 #define SWIGTYPE_p_unsigned_char swig_types[100]
310 #define SWIGTYPE_p_wxCloseEvent swig_types[101]
311 #define SWIGTYPE_p_wxEraseEvent swig_types[102]
312 #define SWIGTYPE_p_wxMouseEvent swig_types[103]
313 #define SWIGTYPE_p_wxPyApp swig_types[104]
314 #define SWIGTYPE_p_wxCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
316 #define SWIGTYPE_p_wxPyDropTarget swig_types[107]
317 #define SWIGTYPE_p_wxQuantize swig_types[108]
318 #define SWIGTYPE_p_wxChildFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxFocusEvent swig_types[110]
320 #define SWIGTYPE_p_wxDropFilesEvent swig_types[111]
321 #define SWIGTYPE_p_wxControlWithItems swig_types[112]
322 #define SWIGTYPE_p_wxColour swig_types[113]
323 #define SWIGTYPE_p_wxValidator swig_types[114]
324 #define SWIGTYPE_p_wxPyValidator swig_types[115]
325 static swig_type_info
*swig_types
[117];
327 /* -------- TYPES TABLE (END) -------- */
330 /*-----------------------------------------------
331 @(target):= _core_.so
332 ------------------------------------------------*/
333 #define SWIG_init init_core_
335 #define SWIG_name "_core_"
337 /* Auxiliar swig macros */
340 #define SWIGSTATICINLINE(a) static inline a
341 #define SWIGSTATIC(a) static a
342 #define swig_new_array(type, size) (new type[(size)])
343 #define swig_delete_array(cptr) delete[] cptr
344 #define swig_const_cast(type,a) const_cast<type>(a)
345 #define swig_static_cast(type,a) static_cast<type>(a)
346 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
348 #ifdef HAVE_NUMERIC_CAST
349 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
351 #define swig_numeric_cast(type,a) static_cast<type>(a)
356 #define SWIGSTATICINLINE(a) static a
357 #define SWIGSTATIC(a) static a
358 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
359 #define swig_delete_array(cptr) free((char*)cptr)
360 #define swig_const_cast(type,a) (type)(a)
361 #define swig_static_cast(type,a) (type)(a)
362 #define swig_reinterpret_cast(type,a) (type)(a)
363 #define swig_numeric_cast(type,a) (type)(a)
365 #endif /* __cplusplus */
368 #define SWIG_FromSignedChar PyInt_FromLong
369 #define SWIG_FromUnsignedChar PyInt_FromLong
370 #define SWIG_FromShort PyInt_FromLong
371 #define SWIG_FromUnsignedShort PyInt_FromLong
372 #define SWIG_FromInt PyInt_FromLong
373 #define SWIG_FromLong PyInt_FromLong
374 #define SWIG_FromFloat PyFloat_FromDouble
375 #define SWIG_FromDouble PyFloat_FromDouble
376 #define SWIG_FromFloat PyFloat_FromDouble
377 #define SWIG_FromDouble PyFloat_FromDouble
380 #include "wx/wxPython/wxPython_int.h"
381 #include "wx/wxPython/pyclasses.h"
384 #ifndef wxPyUSE_EXPORT
385 // Helper functions for dealing with SWIG objects and such. These are
386 // located here so they know about the SWIG types and functions declared
387 // in the wrapper code.
389 #include <wx/hashmap.h>
390 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
393 // Maintains a hashmap of className to swig_type_info pointers. Given the
394 // name of a class either looks up the type info in the cache, or scans the
395 // SWIG tables for it.
396 extern PyObject
* wxPyPtrTypeMap
;
398 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
400 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
402 if (typeInfoCache
== NULL
)
403 typeInfoCache
= new wxPyTypeInfoHashMap
;
405 wxString
name(className
);
406 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
409 // it wasn't in the cache, so look it up from SWIG
410 name
.Append(wxT(" *"));
411 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
413 // if it still wasn't found, try looking for a mapped name
418 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
419 (char*)(const char*)name
.mbc_str())) != NULL
) {
420 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
421 name
.Append(wxT(" *"));
422 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
426 // and add it to the map if found
427 (*typeInfoCache
)[className
] = swigType
;
434 // Check if a class name is a type known to SWIG
435 bool wxPyCheckSwigType(const wxChar
* className
) {
437 swig_type_info
* swigType
= wxPyFindSwigType(className
);
438 return swigType
!= NULL
;
442 // Given a pointer to a C++ object and a class name, construct a Python proxy
444 PyObject
* wxPyConstructObject(void* ptr
,
445 const wxChar
* className
,
448 swig_type_info
* swigType
= wxPyFindSwigType(className
);
449 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
451 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
455 // Extract a pointer to the wrapped C++ object from a Python proxy object.
456 // Ensures that the proxy object is of the specified (or derived) type. If
457 // not able to perform the conversion then a Python exception is set and the
458 // error should be handled properly in the caller. Returns True on success.
459 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
460 const wxChar
* className
) {
462 swig_type_info
* swigType
= wxPyFindSwigType(className
);
463 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
465 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
469 // Make a SWIGified pointer object suitable for a .this attribute
470 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
472 PyObject
* robj
= NULL
;
474 swig_type_info
* swigType
= wxPyFindSwigType(className
);
475 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
477 #ifdef SWIG_COBJECT_TYPES
478 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
484 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
485 strcpy(r
, swigType
->name
);
486 robj
= PyString_FromString(result
);
496 // Export a C API in a struct. Other modules will be able to load this from
497 // the wx._core_ module and will then have safe access to these functions,
498 // even if they are located in another shared library.
499 static wxPyCoreAPI API
= {
501 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
502 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
503 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
504 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
505 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
506 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
507 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
508 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
509 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
510 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
511 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
512 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
513 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
514 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
515 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
516 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
517 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
524 wxPyBeginAllowThreads
,
526 wxPyBeginBlockThreads
,
540 wxBitmap_LIST_helper
,
541 wxString_LIST_helper
,
542 wxAcceleratorEntry_LIST_helper
,
551 wxPySimple_typecheck
,
554 wxPyCBH_setCallbackInfo
,
555 wxPyCBH_findCallback
,
556 wxPyCBH_callCallback
,
557 wxPyCBH_callCallbackObj
,
565 wxArrayString2PyList_helper
,
566 wxArrayInt2PyList_helper
,
570 wxPyOORClientData_dtor
,
572 wxPyCBInputStream_create
,
575 wxPySwigInstance_Check
,
585 enum wxHotkeyModifier
593 #define wxEVT_HOTKEY 9999
596 static const wxString
wxPyEmptyString(wxEmptyString
);
597 wxString
wxObject_GetClassName(wxObject
*self
){
598 return self
->GetClassInfo()->GetClassName();
600 void wxObject_Destroy(wxObject
*self
){
605 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
612 SWIGSTATICINLINE(long)
613 SWIG_CheckLongInRange(long value
, const char* type
,
614 long min_value
, long max_value
)
616 if (!PyErr_Occurred()) {
617 if (value
< min_value
) {
619 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
620 value
, type
, min_value
);
622 PyErr_SetObject(PyExc_OverflowError
, err
);
624 } else if (value
> max_value
) {
626 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
627 value
, type
, max_value
);
628 PyErr_SetObject(PyExc_OverflowError
, err
);
636 SWIGSTATICINLINE(long)
637 SWIG_AsLong(PyObject
* obj
)
639 if (PyNumber_Check(obj
))
640 return PyInt_AsLong(obj
);
642 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
643 obj
->ob_type
->tp_name
);
644 PyErr_SetObject(PyExc_TypeError
, errmsg
);
651 #if INT_MAX != LONG_MAX
652 SWIGSTATICINLINE(int)
653 SWIG_AsInt(PyObject
*obj
)
655 return swig_numeric_cast(int,
656 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
657 "int", INT_MIN
, INT_MAX
));
660 #define SWIG_AsInt SWIG_AsLong
664 SWIGSTATICINLINE(int)
665 SWIG_CheckInt(PyObject
* obj
)
668 if (PyErr_Occurred()) {
676 PyObject
*wxSize_Get(wxSize
*self
){
677 bool blocked
= wxPyBeginBlockThreads();
678 PyObject
* tup
= PyTuple_New(2);
679 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
680 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
681 wxPyEndBlockThreads(blocked
);
685 SWIGSTATICINLINE(double)
686 SWIG_AsDouble(PyObject
*obj
)
688 if (PyNumber_Check(obj
))
689 return PyFloat_AsDouble(obj
);
691 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
692 obj
->ob_type
->tp_name
);
693 PyErr_SetObject(PyExc_TypeError
, errmsg
);
700 SWIGSTATICINLINE(int)
701 SWIG_CheckDouble(PyObject
* obj
)
704 if (PyErr_Occurred()) {
712 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
716 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
717 bool blocked
= wxPyBeginBlockThreads();
718 PyObject
* tup
= PyTuple_New(2);
719 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
720 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
721 wxPyEndBlockThreads(blocked
);
725 SWIGSTATICINLINE(int)
726 SWIG_CheckLong(PyObject
* obj
)
729 if (PyErr_Occurred()) {
737 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
741 PyObject
*wxPoint_Get(wxPoint
*self
){
742 bool blocked
= wxPyBeginBlockThreads();
743 PyObject
* tup
= PyTuple_New(2);
744 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
745 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
746 wxPyEndBlockThreads(blocked
);
749 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
753 self
->height
= height
;
755 PyObject
*wxRect_Get(wxRect
*self
){
756 bool blocked
= wxPyBeginBlockThreads();
757 PyObject
* tup
= PyTuple_New(4);
758 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
759 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
760 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
761 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
762 wxPyEndBlockThreads(blocked
);
766 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
769 wxRect
dest(0,0,0,0);
772 reg1
.Intersect(reg2
);
773 dest
= reg1
.GetBox();
775 if (dest
!= wxRect(0,0,0,0)) {
776 bool blocked
= wxPyBeginBlockThreads();
777 wxRect
* newRect
= new wxRect(dest
);
778 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
779 wxPyEndBlockThreads(blocked
);
787 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
793 } else if (target
== Py_None
) {
797 if (!PyTuple_Check(target
)) {
799 target
= PyTuple_New(1);
800 PyTuple_SetItem(target
, 0, o2
);
803 PyTuple_SetItem(o3
, 0, o
);
806 target
= PySequence_Concat(o2
, o3
);
813 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
817 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
818 bool blocked
= wxPyBeginBlockThreads();
819 PyObject
* tup
= PyTuple_New(2);
820 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
821 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
822 wxPyEndBlockThreads(blocked
);
826 #include "wx/wxPython/pyistream.h"
828 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
829 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
831 return new wxPyInputStream(wxis
);
836 SWIGSTATICINLINE(PyObject
*)
837 SWIG_FromChar(char c
)
839 return PyString_FromStringAndSize(&c
,1);
843 SWIGSTATICINLINE(PyObject
* )
844 SWIG_FromUnsignedLong(unsigned long value
)
846 return (value
> LONG_MAX
) ?
847 PyLong_FromUnsignedLong(value
)
848 : PyInt_FromLong(swig_numeric_cast(long,value
));
852 /* returns '1' if the input is a raw char*, '0' if is a PyString */
854 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
856 static swig_type_info
* pchar_info
= 0;
858 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
860 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
862 PyString_AsStringAndSize(obj
, cptr
, &psize
);
863 if (PyErr_Occurred()) {
865 PyErr_SetString(PyExc_TypeError
,"a string is expected");
867 if (size
) *size
= psize
;
870 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
877 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
879 char* cptr
; size_t csize
;
880 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
881 if (PyErr_Occurred()) {
884 PyString_FromFormat("a char array of size %d is expected", size
);
885 PyErr_SetObject(PyExc_TypeError
, err
);
888 /* in C (but not in C++) you can do:
892 ie, assing the array using an extra '0' char.
895 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
899 PyString_FromFormat("a char array of maximum size %d is expected",
901 PyErr_SetObject(PyExc_TypeError
, err
);
904 if (csize
) memcpy(carray
, cptr
, csize
);
905 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
911 SWIGSTATICINLINE(char)
912 SWIG_AsChar(PyObject
*obj
)
915 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
916 c
= swig_numeric_cast(char,
917 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
918 "char", CHAR_MIN
, CHAR_MAX
));
920 SWIG_AsCharArray(obj
, &c
, 1);
921 if (PyErr_Occurred()) {
923 PyErr_SetString(PyExc_TypeError
, "a char is expected");
930 SWIGSTATICINLINE(int)
931 SWIG_CheckChar(PyObject
* obj
)
934 if (PyErr_Occurred()) {
942 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
943 // We use only strings for the streams, not unicode
944 PyObject
* str
= PyObject_Str(obj
);
946 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
949 self
->Write(PyString_AS_STRING(str
),
950 PyString_GET_SIZE(str
));
954 #include "wx/wxPython/pyistream.h"
957 class wxPyFileSystemHandler
: public wxFileSystemHandler
960 wxPyFileSystemHandler() : wxFileSystemHandler() {}
962 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
963 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
964 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
965 DEC_PYCALLBACK_STRING__pure(FindNext
);
967 wxString
GetProtocol(const wxString
& location
) {
968 return wxFileSystemHandler::GetProtocol(location
);
971 wxString
GetLeftLocation(const wxString
& location
) {
972 return wxFileSystemHandler::GetLeftLocation(location
);
975 wxString
GetAnchor(const wxString
& location
) {
976 return wxFileSystemHandler::GetAnchor(location
);
979 wxString
GetRightLocation(const wxString
& location
) {
980 return wxFileSystemHandler::GetRightLocation(location
);
983 wxString
GetMimeTypeFromExt(const wxString
& location
) {
984 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
991 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
992 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
993 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
994 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
997 SWIGSTATICINLINE(bool)
998 SWIG_AsBool(PyObject
*obj
)
1000 return PyObject_IsTrue(obj
) ? true : false;
1004 SWIGSTATICINLINE(int)
1005 SWIG_CheckBool(PyObject
* obj
)
1008 if (PyErr_Occurred()) {
1017 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1018 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1019 return fname
.GetFullPath();
1023 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1026 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1029 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1030 const wxBitmap
& bitmap
,
1032 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1035 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1037 wxMemoryFSHandler::AddFile(filename
,
1038 // TODO: Verify data type
1039 (void*)PyString_AsString(data
),
1040 (size_t)PyString_Size(data
));
1044 #include "wx/wxPython/pyistream.h"
1047 SWIGSTATICINLINE(unsigned long)
1048 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1049 unsigned long max_value
)
1051 if (!PyErr_Occurred()) {
1052 if (value
> max_value
) {
1054 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1055 value
, type
, max_value
);
1056 PyErr_SetObject(PyExc_OverflowError
, err
);
1064 SWIGSTATICINLINE(unsigned long)
1065 SWIG_AsUnsignedLong(PyObject
* obj
)
1067 if (PyLong_Check(obj
)) {
1068 return PyLong_AsUnsignedLong(obj
);
1070 long i
= SWIG_AsLong(obj
);
1071 if ( !PyErr_Occurred() && (i
< 0)) {
1072 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1079 SWIGSTATICINLINE(unsigned char)
1080 SWIG_AsUnsignedChar(PyObject
*obj
)
1082 return swig_numeric_cast(unsigned char,
1083 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1084 "unsigned char", UCHAR_MAX
));
1088 SWIGSTATICINLINE(int)
1089 SWIG_CheckUnsignedChar(PyObject
* obj
)
1091 SWIG_AsUnsignedChar(obj
);
1092 if (PyErr_Occurred()) {
1100 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1101 if (width
> 0 && height
> 0)
1102 return new wxImage(width
, height
, clear
);
1106 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1107 return new wxImage(bitmap
.ConvertToImage());
1109 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1110 // Copy the source data so the wxImage can clean it up later
1111 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1116 memcpy(copy
, data
, width
*height
*3);
1117 return new wxImage(width
, height
, copy
, False
);
1119 wxSize
wxImage_GetSize(wxImage
*self
){
1120 wxSize
size(self
->GetWidth(), self
->GetHeight());
1123 PyObject
*wxImage_GetData(wxImage
*self
){
1124 unsigned char* data
= self
->GetData();
1125 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1127 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1130 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1131 unsigned char* dataPtr
;
1133 if (! PyString_Check(data
)) {
1134 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1138 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1139 dataPtr
= (unsigned char*) malloc(len
);
1140 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1141 self
->SetData(dataPtr
);
1142 // wxImage takes ownership of dataPtr...
1144 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1145 unsigned char* data
= self
->GetData();
1146 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1148 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1151 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1152 unsigned char* buffer
;
1155 bool blocked
= wxPyBeginBlockThreads();
1156 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1159 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1160 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1163 self
->SetData(buffer
);
1165 wxPyEndBlockThreads(blocked
);
1167 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1168 unsigned char* data
= self
->GetAlpha();
1172 int len
= self
->GetWidth() * self
->GetHeight();
1174 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1178 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1179 unsigned char* dataPtr
;
1181 if (! PyString_Check(data
)) {
1182 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1186 size_t len
= self
->GetWidth() * self
->GetHeight();
1187 dataPtr
= (unsigned char*) malloc(len
);
1188 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1189 self
->SetAlpha(dataPtr
);
1190 // wxImage takes ownership of dataPtr...
1192 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1193 unsigned char* data
= self
->GetAlpha();
1194 int len
= self
->GetWidth() * self
->GetHeight();
1196 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1199 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1200 unsigned char* buffer
;
1203 bool blocked
= wxPyBeginBlockThreads();
1204 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1207 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1208 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1211 self
->SetAlpha(buffer
);
1213 wxPyEndBlockThreads(blocked
);
1216 SWIGSTATICINLINE(int)
1217 SWIG_CheckUnsignedLong(PyObject
* obj
)
1219 SWIG_AsUnsignedLong(obj
);
1220 if (PyErr_Occurred()) {
1228 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1229 wxBitmap
bitmap(*self
);
1232 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1233 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1234 wxBitmap
bitmap( mono
, 1 );
1237 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1238 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1239 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1240 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1241 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1243 #include <wx/quantize.h>
1245 bool Quantize_Quantize(wxImage
const &src
,wxImage
&dest
,int desiredNoColours
,int flags
){
1246 return wxQuantize::Quantize(src
, dest
,
1249 NULL
, // eightBitData
1252 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1253 if (PyCallable_Check(func
)) {
1254 self
->Connect(id
, lastId
, eventType
,
1255 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1256 new wxPyCallback(func
));
1258 else if (func
== Py_None
) {
1259 self
->Disconnect(id
, lastId
, eventType
,
1260 (wxObjectEventFunction
)
1261 &wxPyCallback::EventThunker
);
1265 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None."));
1268 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1269 return self
->Disconnect(id
, lastId
, eventType
,
1270 (wxObjectEventFunction
)
1271 &wxPyCallback::EventThunker
);
1273 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1274 if (_self
&& _self
!= Py_None
) {
1275 self
->SetClientObject(new wxPyOORClientData(_self
));
1278 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1280 self
->SetClientObject(NULL
); // This will delete it too
1284 int wxKeyEvent_GetUnicodeKey(wxKeyEvent
*self
){
1286 return self
->GetUnicodeKey();
1292 #if UINT_MAX < LONG_MAX
1293 #define SWIG_FromUnsignedInt SWIG_FromLong
1295 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1299 #if UINT_MAX != ULONG_MAX
1300 SWIGSTATICINLINE(unsigned int)
1301 SWIG_AsUnsignedInt(PyObject
*obj
)
1303 return swig_numeric_cast(unsigned int,
1304 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1305 "unsigned int", UINT_MAX
));
1308 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1312 SWIGSTATICINLINE(int)
1313 SWIG_CheckUnsignedInt(PyObject
* obj
)
1315 SWIG_AsUnsignedInt(obj
);
1316 if (PyErr_Occurred()) {
1324 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1325 self
->m_size
= size
;
1327 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1330 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1331 int count
= self
->GetNumberOfFiles();
1332 wxString
* files
= self
->GetFiles();
1333 PyObject
* list
= PyList_New(count
);
1336 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1340 for (int i
=0; i
<count
; i
++) {
1341 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1347 wxPyApp
*new_wxPyApp(){
1348 wxPythonApp
= new wxPyApp();
1352 void wxApp_CleanUp() {
1357 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1361 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1362 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1363 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1364 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1365 wxWindowList
& list
= self
->GetChildren();
1366 return wxPy_ConvertList(&list
);
1368 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1370 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1375 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1382 long wxWindow_GetHandle(wxWindow
*self
){
1383 return wxPyGetWinHandle(self
);
1386 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1387 return wxWindow::FindWindowById(id
, parent
);
1390 wxWindow
* wxFindWindowByName( const wxString
& name
,
1391 const wxWindow
*parent
= NULL
) {
1392 return wxWindow::FindWindowByName(name
, parent
);
1395 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1396 const wxWindow
*parent
= NULL
) {
1397 return wxWindow::FindWindowByLabel(label
, parent
);
1402 #include <wx/msw/private.h> // to get wxGetWindowId
1406 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1408 WXHWND hWnd
= (WXHWND
)_hWnd
;
1409 long id
= wxGetWindowId(hWnd
);
1410 wxWindow
* win
= new wxWindow
;
1411 parent
->AddChild(win
);
1412 win
->SetEventHandler(win
);
1415 win
->SubclassWin(hWnd
);
1416 win
->AdoptAttributesFromHWND();
1417 win
->SetupColours();
1420 wxPyRaiseNotImplemented();
1426 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1427 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1428 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1430 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1432 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1433 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1434 wxMenuItemList
& list
= self
->GetMenuItems();
1435 return wxPy_ConvertList(&list
);
1437 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1438 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1440 wxPyClientData
* data
= new wxPyClientData(clientData
);
1441 return self
->Append(item
, data
);
1443 return self
->Append(item
);
1445 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1447 wxPyClientData
* data
= new wxPyClientData(clientData
);
1448 return self
->Insert(item
, pos
, data
);
1450 return self
->Insert(item
, pos
);
1452 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1453 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1455 Py_INCREF(data
->m_obj
);
1462 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1463 wxPyClientData
* data
= new wxPyClientData(clientData
);
1464 self
->SetClientObject(n
, data
);
1468 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1469 wxPyUserData
* data
= NULL
;
1471 bool blocked
= wxPyBeginBlockThreads();
1472 data
= new wxPyUserData(userData
);
1473 wxPyEndBlockThreads(blocked
);
1475 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1477 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1478 wxPyUserData
* data
= NULL
;
1480 bool blocked
= wxPyBeginBlockThreads();
1481 data
= new wxPyUserData(userData
);
1482 wxPyEndBlockThreads(blocked
);
1484 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1486 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1487 wxPyUserData
* data
= NULL
;
1489 bool blocked
= wxPyBeginBlockThreads();
1490 data
= new wxPyUserData(userData
);
1491 wxPyEndBlockThreads(blocked
);
1493 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1499 SWIG_FloatCast(double value
)
1502 if (!PyErr_Occurred()) {
1503 if (value
< FLT_MIN
) {
1505 PyString_FromFormat("value %g is less than float minimum %g",
1507 PyErr_SetObject(PyExc_OverflowError
, err
);
1509 } else if (value
> FLT_MAX
) {
1511 PyString_FromFormat("value %g is greater than float maximum %g",
1513 PyErr_SetObject(PyExc_OverflowError
, err
);
1516 f
= swig_numeric_cast(float, value
);
1523 SWIGSTATICINLINE(float)
1524 SWIG_AsFloat(PyObject
*obj
)
1526 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1530 SWIGSTATICINLINE(int)
1531 SWIG_CheckFloat(PyObject
* obj
)
1534 if (PyErr_Occurred()) {
1542 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1543 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1545 Py_INCREF(data
->m_obj
);
1553 // Figure out the type of the sizer item
1555 struct wxPySizerItemInfo
{
1557 : window(NULL
), sizer(NULL
), gotSize(False
),
1558 size(wxDefaultSize
), gotPos(False
), pos(-1)
1569 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1571 wxPySizerItemInfo info
;
1573 wxSize
* sizePtr
= &size
;
1575 // Find out what the type of the item is
1577 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1582 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1586 // try wxSize or (w,h)
1587 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1588 info
.size
= *sizePtr
;
1589 info
.gotSize
= True
;
1593 if (checkIdx
&& PyInt_Check(item
)) {
1594 info
.pos
= PyInt_AsLong(item
);
1600 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1601 // no expected type, figure out what kind of error message to generate
1602 if ( !checkSize
&& !checkIdx
)
1603 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1604 else if ( checkSize
&& !checkIdx
)
1605 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1606 else if ( !checkSize
&& checkIdx
)
1607 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1609 // can this one happen?
1610 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1616 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1617 if (!self
->GetClientObject())
1618 self
->SetClientObject(new wxPyOORClientData(_self
));
1620 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1622 wxPyUserData
* data
= NULL
;
1623 bool blocked
= wxPyBeginBlockThreads();
1624 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1625 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1626 data
= new wxPyUserData(userData
);
1627 wxPyEndBlockThreads(blocked
);
1629 // Now call the real Add method if a valid item type was found
1631 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1632 else if ( info
.sizer
)
1633 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1634 else if (info
.gotSize
)
1635 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1636 proportion
, flag
, border
, data
);
1638 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1640 wxPyUserData
* data
= NULL
;
1641 bool blocked
= wxPyBeginBlockThreads();
1642 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1643 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1644 data
= new wxPyUserData(userData
);
1645 wxPyEndBlockThreads(blocked
);
1647 // Now call the real Insert method if a valid item type was found
1649 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1650 else if ( info
.sizer
)
1651 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1652 else if (info
.gotSize
)
1653 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1654 proportion
, flag
, border
, data
);
1656 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1658 wxPyUserData
* data
= NULL
;
1659 bool blocked
= wxPyBeginBlockThreads();
1660 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1661 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1662 data
= new wxPyUserData(userData
);
1663 wxPyEndBlockThreads(blocked
);
1665 // Now call the real Prepend method if a valid item type was found
1667 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1668 else if ( info
.sizer
)
1669 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1670 else if (info
.gotSize
)
1671 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1672 proportion
, flag
, border
, data
);
1674 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1675 bool blocked
= wxPyBeginBlockThreads();
1676 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1677 wxPyEndBlockThreads(blocked
);
1679 return self
->Remove(info
.window
);
1680 else if ( info
.sizer
)
1681 return self
->Remove(info
.sizer
);
1682 else if ( info
.gotPos
)
1683 return self
->Remove(info
.pos
);
1687 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1688 bool blocked
= wxPyBeginBlockThreads();
1689 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1690 wxPyEndBlockThreads(blocked
);
1692 return self
->Detach(info
.window
);
1693 else if ( info
.sizer
)
1694 return self
->Detach(info
.sizer
);
1695 else if ( info
.gotPos
)
1696 return self
->Detach(info
.pos
);
1700 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1701 bool blocked
= wxPyBeginBlockThreads();
1702 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1703 wxPyEndBlockThreads(blocked
);
1705 self
->SetItemMinSize(info
.window
, size
);
1706 else if ( info
.sizer
)
1707 self
->SetItemMinSize(info
.sizer
, size
);
1708 else if ( info
.gotPos
)
1709 self
->SetItemMinSize(info
.pos
, size
);
1711 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1712 wxSizerItemList
& list
= self
->GetChildren();
1713 return wxPy_ConvertList(&list
);
1715 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1716 bool blocked
= wxPyBeginBlockThreads();
1717 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1718 wxPyEndBlockThreads(blocked
);
1720 self
->Show(info
.window
, show
);
1721 else if ( info
.sizer
)
1722 self
->Show(info
.sizer
, show
);
1723 else if ( info
.gotPos
)
1724 self
->Show(info
.pos
, show
);
1726 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1727 bool blocked
= wxPyBeginBlockThreads();
1728 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1729 wxPyEndBlockThreads(blocked
);
1731 return self
->IsShown(info
.window
);
1732 else if ( info
.sizer
)
1733 return self
->IsShown(info
.sizer
);
1734 else if ( info
.gotPos
)
1735 return self
->IsShown(info
.pos
);
1741 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1742 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1743 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1748 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1750 if (source
== Py_None
) {
1751 **obj
= wxGBPosition(-1,-1);
1754 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1757 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1759 if (source
== Py_None
) {
1760 **obj
= wxGBSpan(-1,-1);
1763 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1767 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1771 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1772 bool blocked
= wxPyBeginBlockThreads();
1773 PyObject
* tup
= PyTuple_New(2);
1774 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1775 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1776 wxPyEndBlockThreads(blocked
);
1779 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1780 self
->SetRowspan(rowspan
);
1781 self
->SetColspan(colspan
);
1783 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1784 bool blocked
= wxPyBeginBlockThreads();
1785 PyObject
* tup
= PyTuple_New(2);
1786 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1787 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1788 wxPyEndBlockThreads(blocked
);
1791 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1792 wxPyUserData
* data
= NULL
;
1794 bool blocked
= wxPyBeginBlockThreads();
1795 data
= new wxPyUserData(userData
);
1796 wxPyEndBlockThreads(blocked
);
1798 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1800 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1801 wxPyUserData
* data
= NULL
;
1803 bool blocked
= wxPyBeginBlockThreads();
1804 data
= new wxPyUserData(userData
);
1805 wxPyEndBlockThreads(blocked
);
1807 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1809 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1810 wxPyUserData
* data
= NULL
;
1812 bool blocked
= wxPyBeginBlockThreads();
1813 data
= new wxPyUserData(userData
);
1814 wxPyEndBlockThreads(blocked
);
1816 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1818 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1820 self
->GetEndPos(row
, col
);
1821 return wxGBPosition(row
, col
);
1823 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1825 wxPyUserData
* data
= NULL
;
1826 bool blocked
= wxPyBeginBlockThreads();
1827 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1828 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1829 data
= new wxPyUserData(userData
);
1830 wxPyEndBlockThreads(blocked
);
1832 // Now call the real Add method if a valid item type was found
1834 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1835 else if ( info
.sizer
)
1836 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1837 else if (info
.gotSize
)
1838 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1839 pos
, span
, flag
, border
, data
);
1847 static int _wrap_EmptyString_set(PyObject
*_val
) {
1848 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1853 static PyObject
*_wrap_EmptyString_get() {
1858 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1860 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1867 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1868 PyObject
*resultobj
;
1869 wxObject
*arg1
= (wxObject
*) 0 ;
1871 PyObject
* obj0
= 0 ;
1873 (char *) "self", NULL
1876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1881 result
= wxObject_GetClassName(arg1
);
1883 wxPyEndAllowThreads(__tstate
);
1884 if (PyErr_Occurred()) SWIG_fail
;
1888 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1890 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1899 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1900 PyObject
*resultobj
;
1901 wxObject
*arg1
= (wxObject
*) 0 ;
1902 PyObject
* obj0
= 0 ;
1904 (char *) "self", NULL
1907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1912 wxObject_Destroy(arg1
);
1914 wxPyEndAllowThreads(__tstate
);
1915 if (PyErr_Occurred()) SWIG_fail
;
1917 Py_INCREF(Py_None
); resultobj
= Py_None
;
1924 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1926 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1927 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1929 return Py_BuildValue((char *)"");
1931 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 wxSize
*arg1
= (wxSize
*) 0 ;
1935 PyObject
* obj0
= 0 ;
1936 PyObject
* obj1
= 0 ;
1938 (char *) "self",(char *) "x", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1944 arg2
= (int) SWIG_AsInt(obj1
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1946 if (arg1
) (arg1
)->x
= arg2
;
1948 Py_INCREF(Py_None
); resultobj
= Py_None
;
1955 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1956 PyObject
*resultobj
;
1957 wxSize
*arg1
= (wxSize
*) 0 ;
1959 PyObject
* obj0
= 0 ;
1961 (char *) "self", NULL
1964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1967 result
= (int) ((arg1
)->x
);
1969 resultobj
= SWIG_FromInt((int)result
);
1976 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxSize
*arg1
= (wxSize
*) 0 ;
1980 PyObject
* obj0
= 0 ;
1981 PyObject
* obj1
= 0 ;
1983 (char *) "self",(char *) "y", NULL
1986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1989 arg2
= (int) SWIG_AsInt(obj1
);
1990 if (PyErr_Occurred()) SWIG_fail
;
1991 if (arg1
) (arg1
)->y
= arg2
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxSize
*arg1
= (wxSize
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2006 (char *) "self", NULL
2009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2012 result
= (int) ((arg1
)->y
);
2014 resultobj
= SWIG_FromInt((int)result
);
2021 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2022 PyObject
*resultobj
;
2023 int arg1
= (int) 0 ;
2024 int arg2
= (int) 0 ;
2026 PyObject
* obj0
= 0 ;
2027 PyObject
* obj1
= 0 ;
2029 (char *) "w",(char *) "h", NULL
2032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2034 arg1
= (int) SWIG_AsInt(obj0
);
2035 if (PyErr_Occurred()) SWIG_fail
;
2038 arg2
= (int) SWIG_AsInt(obj1
);
2039 if (PyErr_Occurred()) SWIG_fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2048 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2055 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2057 wxSize
*arg1
= (wxSize
*) 0 ;
2058 PyObject
* obj0
= 0 ;
2060 (char *) "self", NULL
2063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2070 wxPyEndAllowThreads(__tstate
);
2071 if (PyErr_Occurred()) SWIG_fail
;
2073 Py_INCREF(Py_None
); resultobj
= Py_None
;
2080 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2081 PyObject
*resultobj
;
2082 wxSize
*arg1
= (wxSize
*) 0 ;
2086 PyObject
* obj0
= 0 ;
2087 PyObject
* obj1
= 0 ;
2089 (char *) "self",(char *) "sz", NULL
2092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2101 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2103 wxPyEndAllowThreads(__tstate
);
2104 if (PyErr_Occurred()) SWIG_fail
;
2107 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2115 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2116 PyObject
*resultobj
;
2117 wxSize
*arg1
= (wxSize
*) 0 ;
2121 PyObject
* obj0
= 0 ;
2122 PyObject
* obj1
= 0 ;
2124 (char *) "self",(char *) "sz", NULL
2127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2132 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2136 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2138 wxPyEndAllowThreads(__tstate
);
2139 if (PyErr_Occurred()) SWIG_fail
;
2142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2150 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2151 PyObject
*resultobj
;
2152 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___add__",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 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2178 resultptr
= new wxSize((wxSize
&) result
);
2179 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2187 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2188 PyObject
*resultobj
;
2189 wxSize
*arg1
= (wxSize
*) 0 ;
2193 PyObject
* obj0
= 0 ;
2194 PyObject
* obj1
= 0 ;
2196 (char *) "self",(char *) "sz", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2204 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2208 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2210 wxPyEndAllowThreads(__tstate
);
2211 if (PyErr_Occurred()) SWIG_fail
;
2215 resultptr
= new wxSize((wxSize
&) result
);
2216 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2224 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxSize
*arg1
= (wxSize
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2230 PyObject
* obj1
= 0 ;
2232 (char *) "self",(char *) "sz", NULL
2235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2240 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2244 (arg1
)->IncTo((wxSize
const &)*arg2
);
2246 wxPyEndAllowThreads(__tstate
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 Py_INCREF(Py_None
); resultobj
= Py_None
;
2256 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2257 PyObject
*resultobj
;
2258 wxSize
*arg1
= (wxSize
*) 0 ;
2261 PyObject
* obj0
= 0 ;
2262 PyObject
* obj1
= 0 ;
2264 (char *) "self",(char *) "sz", NULL
2267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2272 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 (arg1
)->DecTo((wxSize
const &)*arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 Py_INCREF(Py_None
); resultobj
= Py_None
;
2288 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxSize
*arg1
= (wxSize
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2294 PyObject
* obj1
= 0 ;
2295 PyObject
* obj2
= 0 ;
2297 (char *) "self",(char *) "w",(char *) "h", NULL
2300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2303 arg2
= (int) SWIG_AsInt(obj1
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2305 arg3
= (int) SWIG_AsInt(obj2
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2309 (arg1
)->Set(arg2
,arg3
);
2311 wxPyEndAllowThreads(__tstate
);
2312 if (PyErr_Occurred()) SWIG_fail
;
2314 Py_INCREF(Py_None
); resultobj
= Py_None
;
2321 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2322 PyObject
*resultobj
;
2323 wxSize
*arg1
= (wxSize
*) 0 ;
2325 PyObject
* obj0
= 0 ;
2326 PyObject
* obj1
= 0 ;
2328 (char *) "self",(char *) "w", NULL
2331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2334 arg2
= (int) SWIG_AsInt(obj1
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 (arg1
)->SetWidth(arg2
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 Py_INCREF(Py_None
); resultobj
= Py_None
;
2350 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxSize
*arg1
= (wxSize
*) 0 ;
2354 PyObject
* obj0
= 0 ;
2355 PyObject
* obj1
= 0 ;
2357 (char *) "self",(char *) "h", NULL
2360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2363 arg2
= (int) SWIG_AsInt(obj1
);
2364 if (PyErr_Occurred()) SWIG_fail
;
2366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2367 (arg1
)->SetHeight(arg2
);
2369 wxPyEndAllowThreads(__tstate
);
2370 if (PyErr_Occurred()) SWIG_fail
;
2372 Py_INCREF(Py_None
); resultobj
= Py_None
;
2379 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2380 PyObject
*resultobj
;
2381 wxSize
*arg1
= (wxSize
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2385 (char *) "self", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2393 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2395 wxPyEndAllowThreads(__tstate
);
2396 if (PyErr_Occurred()) SWIG_fail
;
2398 resultobj
= SWIG_FromInt((int)result
);
2405 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2406 PyObject
*resultobj
;
2407 wxSize
*arg1
= (wxSize
*) 0 ;
2409 PyObject
* obj0
= 0 ;
2411 (char *) "self", NULL
2414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2419 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2421 wxPyEndAllowThreads(__tstate
);
2422 if (PyErr_Occurred()) SWIG_fail
;
2424 resultobj
= SWIG_FromInt((int)result
);
2431 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2432 PyObject
*resultobj
;
2433 wxSize
*arg1
= (wxSize
*) 0 ;
2435 PyObject
* obj0
= 0 ;
2437 (char *) "self", NULL
2440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2445 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2447 wxPyEndAllowThreads(__tstate
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2459 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2460 PyObject
*resultobj
;
2461 wxSize
*arg1
= (wxSize
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2465 PyObject
* obj1
= 0 ;
2467 (char *) "self",(char *) "size", NULL
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2475 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 Py_INCREF(Py_None
); resultobj
= Py_None
;
2491 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxSize
*arg1
= (wxSize
*) 0 ;
2495 PyObject
* obj0
= 0 ;
2497 (char *) "self", NULL
2500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 result
= (PyObject
*)wxSize_Get(arg1
);
2507 wxPyEndAllowThreads(__tstate
);
2508 if (PyErr_Occurred()) SWIG_fail
;
2517 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2520 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2522 return Py_BuildValue((char *)"");
2524 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2528 PyObject
* obj0
= 0 ;
2529 PyObject
* obj1
= 0 ;
2531 (char *) "self",(char *) "x", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2537 arg2
= (double) SWIG_AsDouble(obj1
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2539 if (arg1
) (arg1
)->x
= arg2
;
2541 Py_INCREF(Py_None
); resultobj
= Py_None
;
2548 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2549 PyObject
*resultobj
;
2550 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2552 PyObject
* obj0
= 0 ;
2554 (char *) "self", NULL
2557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2560 result
= (double) ((arg1
)->x
);
2562 resultobj
= SWIG_FromDouble((double)result
);
2569 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2570 PyObject
*resultobj
;
2571 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2573 PyObject
* obj0
= 0 ;
2574 PyObject
* obj1
= 0 ;
2576 (char *) "self",(char *) "y", NULL
2579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2582 arg2
= (double) SWIG_AsDouble(obj1
);
2583 if (PyErr_Occurred()) SWIG_fail
;
2584 if (arg1
) (arg1
)->y
= arg2
;
2586 Py_INCREF(Py_None
); resultobj
= Py_None
;
2593 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2594 PyObject
*resultobj
;
2595 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2597 PyObject
* obj0
= 0 ;
2599 (char *) "self", NULL
2602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2605 result
= (double) ((arg1
)->y
);
2607 resultobj
= SWIG_FromDouble((double)result
);
2614 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2615 PyObject
*resultobj
;
2616 double arg1
= (double) 0.0 ;
2617 double arg2
= (double) 0.0 ;
2618 wxRealPoint
*result
;
2619 PyObject
* obj0
= 0 ;
2620 PyObject
* obj1
= 0 ;
2622 (char *) "x",(char *) "y", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2627 arg1
= (double) SWIG_AsDouble(obj0
);
2628 if (PyErr_Occurred()) SWIG_fail
;
2631 arg2
= (double) SWIG_AsDouble(obj1
);
2632 if (PyErr_Occurred()) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2648 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2650 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2651 PyObject
* obj0
= 0 ;
2653 (char *) "self", NULL
2656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 wxPyEndAllowThreads(__tstate
);
2664 if (PyErr_Occurred()) SWIG_fail
;
2666 Py_INCREF(Py_None
); resultobj
= Py_None
;
2673 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2674 PyObject
*resultobj
;
2675 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2676 wxRealPoint
*arg2
= 0 ;
2679 PyObject
* obj0
= 0 ;
2680 PyObject
* obj1
= 0 ;
2682 (char *) "self",(char *) "pt", NULL
2685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2690 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2708 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2711 wxRealPoint
*arg2
= 0 ;
2714 PyObject
* obj0
= 0 ;
2715 PyObject
* obj1
= 0 ;
2717 (char *) "self",(char *) "pt", NULL
2720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2725 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2729 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2731 wxPyEndAllowThreads(__tstate
);
2732 if (PyErr_Occurred()) SWIG_fail
;
2735 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2743 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2744 PyObject
*resultobj
;
2745 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2746 wxRealPoint
*arg2
= 0 ;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2752 (char *) "self",(char *) "pt", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2764 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2766 wxPyEndAllowThreads(__tstate
);
2767 if (PyErr_Occurred()) SWIG_fail
;
2770 wxRealPoint
* resultptr
;
2771 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2772 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2780 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2781 PyObject
*resultobj
;
2782 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2783 wxRealPoint
*arg2
= 0 ;
2786 PyObject
* obj0
= 0 ;
2787 PyObject
* obj1
= 0 ;
2789 (char *) "self",(char *) "pt", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2797 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2801 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2803 wxPyEndAllowThreads(__tstate
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2807 wxRealPoint
* resultptr
;
2808 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2817 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2822 PyObject
* obj0
= 0 ;
2823 PyObject
* obj1
= 0 ;
2824 PyObject
* obj2
= 0 ;
2826 (char *) "self",(char *) "x",(char *) "y", NULL
2829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2832 arg2
= (double) SWIG_AsDouble(obj1
);
2833 if (PyErr_Occurred()) SWIG_fail
;
2834 arg3
= (double) SWIG_AsDouble(obj2
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2838 wxRealPoint_Set(arg1
,arg2
,arg3
);
2840 wxPyEndAllowThreads(__tstate
);
2841 if (PyErr_Occurred()) SWIG_fail
;
2843 Py_INCREF(Py_None
); resultobj
= Py_None
;
2850 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2851 PyObject
*resultobj
;
2852 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2854 PyObject
* obj0
= 0 ;
2856 (char *) "self", NULL
2859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2864 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2866 wxPyEndAllowThreads(__tstate
);
2867 if (PyErr_Occurred()) SWIG_fail
;
2876 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2879 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2881 return Py_BuildValue((char *)"");
2883 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxPoint
*arg1
= (wxPoint
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2888 PyObject
* obj1
= 0 ;
2890 (char *) "self",(char *) "x", NULL
2893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2896 arg2
= (int) SWIG_AsInt(obj1
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2898 if (arg1
) (arg1
)->x
= arg2
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxPoint
*arg1
= (wxPoint
*) 0 ;
2911 PyObject
* obj0
= 0 ;
2913 (char *) "self", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2919 result
= (int) ((arg1
)->x
);
2921 resultobj
= SWIG_FromInt((int)result
);
2928 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxPoint
*arg1
= (wxPoint
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "y", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2941 arg2
= (int) SWIG_AsInt(obj1
);
2942 if (PyErr_Occurred()) SWIG_fail
;
2943 if (arg1
) (arg1
)->y
= arg2
;
2945 Py_INCREF(Py_None
); resultobj
= Py_None
;
2952 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxPoint
*arg1
= (wxPoint
*) 0 ;
2956 PyObject
* obj0
= 0 ;
2958 (char *) "self", NULL
2961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2964 result
= (int) ((arg1
)->y
);
2966 resultobj
= SWIG_FromInt((int)result
);
2973 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2974 PyObject
*resultobj
;
2975 int arg1
= (int) 0 ;
2976 int arg2
= (int) 0 ;
2978 PyObject
* obj0
= 0 ;
2979 PyObject
* obj1
= 0 ;
2981 (char *) "x",(char *) "y", NULL
2984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2986 arg1
= (int) SWIG_AsInt(obj0
);
2987 if (PyErr_Occurred()) SWIG_fail
;
2990 arg2
= (int) SWIG_AsInt(obj1
);
2991 if (PyErr_Occurred()) SWIG_fail
;
2994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2995 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2997 wxPyEndAllowThreads(__tstate
);
2998 if (PyErr_Occurred()) SWIG_fail
;
3000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3007 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3008 PyObject
*resultobj
;
3009 wxPoint
*arg1
= (wxPoint
*) 0 ;
3010 PyObject
* obj0
= 0 ;
3012 (char *) "self", NULL
3015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3022 wxPyEndAllowThreads(__tstate
);
3023 if (PyErr_Occurred()) SWIG_fail
;
3025 Py_INCREF(Py_None
); resultobj
= Py_None
;
3032 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3033 PyObject
*resultobj
;
3034 wxPoint
*arg1
= (wxPoint
*) 0 ;
3038 PyObject
* obj0
= 0 ;
3039 PyObject
* obj1
= 0 ;
3041 (char *) "self",(char *) "pt", NULL
3044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3049 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3053 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3055 wxPyEndAllowThreads(__tstate
);
3056 if (PyErr_Occurred()) SWIG_fail
;
3059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3067 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3068 PyObject
*resultobj
;
3069 wxPoint
*arg1
= (wxPoint
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3074 PyObject
* obj1
= 0 ;
3076 (char *) "self",(char *) "pt", NULL
3079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3084 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3088 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3090 wxPyEndAllowThreads(__tstate
);
3091 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3102 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxPoint
*arg1
= (wxPoint
*) 0 ;
3108 PyObject
* obj0
= 0 ;
3109 PyObject
* obj1
= 0 ;
3111 (char *) "self",(char *) "pt", NULL
3114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3123 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3125 wxPyEndAllowThreads(__tstate
);
3126 if (PyErr_Occurred()) SWIG_fail
;
3129 wxPoint
* resultptr
;
3130 resultptr
= new wxPoint((wxPoint
&) result
);
3131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3139 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3140 PyObject
*resultobj
;
3141 wxPoint
*arg1
= (wxPoint
*) 0 ;
3145 PyObject
* obj0
= 0 ;
3146 PyObject
* obj1
= 0 ;
3148 (char *) "self",(char *) "pt", NULL
3151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3156 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3160 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3162 wxPyEndAllowThreads(__tstate
);
3163 if (PyErr_Occurred()) SWIG_fail
;
3166 wxPoint
* resultptr
;
3167 resultptr
= new wxPoint((wxPoint
&) result
);
3168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3176 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxPoint
*arg1
= (wxPoint
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3185 (char *) "self",(char *) "pt", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3198 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3199 result
= (wxPoint
*) &_result_ref
;
3202 wxPyEndAllowThreads(__tstate
);
3203 if (PyErr_Occurred()) SWIG_fail
;
3205 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3212 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3213 PyObject
*resultobj
;
3214 wxPoint
*arg1
= (wxPoint
*) 0 ;
3218 PyObject
* obj0
= 0 ;
3219 PyObject
* obj1
= 0 ;
3221 (char *) "self",(char *) "pt", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3229 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3234 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3235 result
= (wxPoint
*) &_result_ref
;
3238 wxPyEndAllowThreads(__tstate
);
3239 if (PyErr_Occurred()) SWIG_fail
;
3241 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3248 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3249 PyObject
*resultobj
;
3250 wxPoint
*arg1
= (wxPoint
*) 0 ;
3253 PyObject
* obj0
= 0 ;
3254 PyObject
* obj1
= 0 ;
3255 PyObject
* obj2
= 0 ;
3257 (char *) "self",(char *) "x",(char *) "y", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3263 arg2
= (long) SWIG_AsLong(obj1
);
3264 if (PyErr_Occurred()) SWIG_fail
;
3265 arg3
= (long) SWIG_AsLong(obj2
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3269 wxPoint_Set(arg1
,arg2
,arg3
);
3271 wxPyEndAllowThreads(__tstate
);
3272 if (PyErr_Occurred()) SWIG_fail
;
3274 Py_INCREF(Py_None
); resultobj
= Py_None
;
3281 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3282 PyObject
*resultobj
;
3283 wxPoint
*arg1
= (wxPoint
*) 0 ;
3285 PyObject
* obj0
= 0 ;
3287 (char *) "self", NULL
3290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3295 result
= (PyObject
*)wxPoint_Get(arg1
);
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3307 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3310 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3312 return Py_BuildValue((char *)"");
3314 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 int arg1
= (int) 0 ;
3317 int arg2
= (int) 0 ;
3318 int arg3
= (int) 0 ;
3319 int arg4
= (int) 0 ;
3321 PyObject
* obj0
= 0 ;
3322 PyObject
* obj1
= 0 ;
3323 PyObject
* obj2
= 0 ;
3324 PyObject
* obj3
= 0 ;
3326 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3331 arg1
= (int) SWIG_AsInt(obj0
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3335 arg2
= (int) SWIG_AsInt(obj1
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3339 arg3
= (int) SWIG_AsInt(obj2
);
3340 if (PyErr_Occurred()) SWIG_fail
;
3343 arg4
= (int) SWIG_AsInt(obj3
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3348 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3350 wxPyEndAllowThreads(__tstate
);
3351 if (PyErr_Occurred()) SWIG_fail
;
3353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3360 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3361 PyObject
*resultobj
;
3367 PyObject
* obj0
= 0 ;
3368 PyObject
* obj1
= 0 ;
3370 (char *) "topLeft",(char *) "bottomRight", NULL
3373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3376 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3380 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3386 wxPyEndAllowThreads(__tstate
);
3387 if (PyErr_Occurred()) SWIG_fail
;
3389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3396 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3397 PyObject
*resultobj
;
3403 PyObject
* obj0
= 0 ;
3404 PyObject
* obj1
= 0 ;
3406 (char *) "pos",(char *) "size", NULL
3409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3412 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3416 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3420 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3422 wxPyEndAllowThreads(__tstate
);
3423 if (PyErr_Occurred()) SWIG_fail
;
3425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3432 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3433 PyObject
*resultobj
;
3434 wxRect
*arg1
= (wxRect
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3437 (char *) "self", NULL
3440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3447 wxPyEndAllowThreads(__tstate
);
3448 if (PyErr_Occurred()) SWIG_fail
;
3450 Py_INCREF(Py_None
); resultobj
= Py_None
;
3457 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3458 PyObject
*resultobj
;
3459 wxRect
*arg1
= (wxRect
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3463 (char *) "self", NULL
3466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (int)((wxRect
const *)arg1
)->GetX();
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= SWIG_FromInt((int)result
);
3483 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxRect
*arg1
= (wxRect
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3490 (char *) "self",(char *) "x", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3496 arg2
= (int) SWIG_AsInt(obj1
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3502 wxPyEndAllowThreads(__tstate
);
3503 if (PyErr_Occurred()) SWIG_fail
;
3505 Py_INCREF(Py_None
); resultobj
= Py_None
;
3512 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3513 PyObject
*resultobj
;
3514 wxRect
*arg1
= (wxRect
*) 0 ;
3516 PyObject
* obj0
= 0 ;
3518 (char *) "self", NULL
3521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (int)(arg1
)->GetY();
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= SWIG_FromInt((int)result
);
3538 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxRect
*arg1
= (wxRect
*) 0 ;
3542 PyObject
* obj0
= 0 ;
3543 PyObject
* obj1
= 0 ;
3545 (char *) "self",(char *) "y", NULL
3548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3551 arg2
= (int) SWIG_AsInt(obj1
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3557 wxPyEndAllowThreads(__tstate
);
3558 if (PyErr_Occurred()) SWIG_fail
;
3560 Py_INCREF(Py_None
); resultobj
= Py_None
;
3567 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3568 PyObject
*resultobj
;
3569 wxRect
*arg1
= (wxRect
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3573 (char *) "self", NULL
3576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= SWIG_FromInt((int)result
);
3593 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxRect
*arg1
= (wxRect
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "w", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3606 arg2
= (int) SWIG_AsInt(obj1
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3610 (arg1
)->SetWidth(arg2
);
3612 wxPyEndAllowThreads(__tstate
);
3613 if (PyErr_Occurred()) SWIG_fail
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxRect
*arg1
= (wxRect
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3628 (char *) "self", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3636 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3638 wxPyEndAllowThreads(__tstate
);
3639 if (PyErr_Occurred()) SWIG_fail
;
3641 resultobj
= SWIG_FromInt((int)result
);
3648 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3649 PyObject
*resultobj
;
3650 wxRect
*arg1
= (wxRect
*) 0 ;
3652 PyObject
* obj0
= 0 ;
3653 PyObject
* obj1
= 0 ;
3655 (char *) "self",(char *) "h", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3661 arg2
= (int) SWIG_AsInt(obj1
);
3662 if (PyErr_Occurred()) SWIG_fail
;
3664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3665 (arg1
)->SetHeight(arg2
);
3667 wxPyEndAllowThreads(__tstate
);
3668 if (PyErr_Occurred()) SWIG_fail
;
3670 Py_INCREF(Py_None
); resultobj
= Py_None
;
3677 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxRect
*arg1
= (wxRect
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "self", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3691 result
= ((wxRect
const *)arg1
)->GetPosition();
3693 wxPyEndAllowThreads(__tstate
);
3694 if (PyErr_Occurred()) SWIG_fail
;
3697 wxPoint
* resultptr
;
3698 resultptr
= new wxPoint((wxPoint
&) result
);
3699 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3707 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3708 PyObject
*resultobj
;
3709 wxRect
*arg1
= (wxRect
*) 0 ;
3712 PyObject
* obj0
= 0 ;
3713 PyObject
* obj1
= 0 ;
3715 (char *) "self",(char *) "p", NULL
3718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3723 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3727 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3729 wxPyEndAllowThreads(__tstate
);
3730 if (PyErr_Occurred()) SWIG_fail
;
3732 Py_INCREF(Py_None
); resultobj
= Py_None
;
3739 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3740 PyObject
*resultobj
;
3741 wxRect
*arg1
= (wxRect
*) 0 ;
3743 PyObject
* obj0
= 0 ;
3745 (char *) "self", NULL
3748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3753 result
= ((wxRect
const *)arg1
)->GetSize();
3755 wxPyEndAllowThreads(__tstate
);
3756 if (PyErr_Occurred()) SWIG_fail
;
3760 resultptr
= new wxSize((wxSize
&) result
);
3761 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3769 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3770 PyObject
*resultobj
;
3771 wxRect
*arg1
= (wxRect
*) 0 ;
3774 PyObject
* obj0
= 0 ;
3775 PyObject
* obj1
= 0 ;
3777 (char *) "self",(char *) "s", NULL
3780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3785 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3789 (arg1
)->SetSize((wxSize
const &)*arg2
);
3791 wxPyEndAllowThreads(__tstate
);
3792 if (PyErr_Occurred()) SWIG_fail
;
3794 Py_INCREF(Py_None
); resultobj
= Py_None
;
3801 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3802 PyObject
*resultobj
;
3803 wxRect
*arg1
= (wxRect
*) 0 ;
3805 PyObject
* obj0
= 0 ;
3807 (char *) "self", NULL
3810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3815 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3817 wxPyEndAllowThreads(__tstate
);
3818 if (PyErr_Occurred()) SWIG_fail
;
3821 wxPoint
* resultptr
;
3822 resultptr
= new wxPoint((wxPoint
&) result
);
3823 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3831 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3832 PyObject
*resultobj
;
3833 wxRect
*arg1
= (wxRect
*) 0 ;
3836 PyObject
* obj0
= 0 ;
3837 PyObject
* obj1
= 0 ;
3839 (char *) "self",(char *) "p", NULL
3842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3847 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3851 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 Py_INCREF(Py_None
); resultobj
= Py_None
;
3863 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
;
3865 wxRect
*arg1
= (wxRect
*) 0 ;
3867 PyObject
* obj0
= 0 ;
3869 (char *) "self", NULL
3872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3877 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3879 wxPyEndAllowThreads(__tstate
);
3880 if (PyErr_Occurred()) SWIG_fail
;
3883 wxPoint
* resultptr
;
3884 resultptr
= new wxPoint((wxPoint
&) result
);
3885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3893 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3894 PyObject
*resultobj
;
3895 wxRect
*arg1
= (wxRect
*) 0 ;
3898 PyObject
* obj0
= 0 ;
3899 PyObject
* obj1
= 0 ;
3901 (char *) "self",(char *) "p", NULL
3904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3909 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3913 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3915 wxPyEndAllowThreads(__tstate
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 Py_INCREF(Py_None
); resultobj
= Py_None
;
3925 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3926 PyObject
*resultobj
;
3927 wxRect
*arg1
= (wxRect
*) 0 ;
3929 PyObject
* obj0
= 0 ;
3931 (char *) "self", NULL
3934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3935 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3939 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3941 wxPyEndAllowThreads(__tstate
);
3942 if (PyErr_Occurred()) SWIG_fail
;
3944 resultobj
= SWIG_FromInt((int)result
);
3951 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3952 PyObject
*resultobj
;
3953 wxRect
*arg1
= (wxRect
*) 0 ;
3955 PyObject
* obj0
= 0 ;
3957 (char *) "self", NULL
3960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3965 result
= (int)((wxRect
const *)arg1
)->GetTop();
3967 wxPyEndAllowThreads(__tstate
);
3968 if (PyErr_Occurred()) SWIG_fail
;
3970 resultobj
= SWIG_FromInt((int)result
);
3977 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3978 PyObject
*resultobj
;
3979 wxRect
*arg1
= (wxRect
*) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3991 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3993 wxPyEndAllowThreads(__tstate
);
3994 if (PyErr_Occurred()) SWIG_fail
;
3996 resultobj
= SWIG_FromInt((int)result
);
4003 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxRect
*arg1
= (wxRect
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4017 result
= (int)((wxRect
const *)arg1
)->GetRight();
4019 wxPyEndAllowThreads(__tstate
);
4020 if (PyErr_Occurred()) SWIG_fail
;
4022 resultobj
= SWIG_FromInt((int)result
);
4029 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4030 PyObject
*resultobj
;
4031 wxRect
*arg1
= (wxRect
*) 0 ;
4033 PyObject
* obj0
= 0 ;
4034 PyObject
* obj1
= 0 ;
4036 (char *) "self",(char *) "left", NULL
4039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4042 arg2
= (int) SWIG_AsInt(obj1
);
4043 if (PyErr_Occurred()) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 (arg1
)->SetLeft(arg2
);
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 Py_INCREF(Py_None
); resultobj
= Py_None
;
4058 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxRect
*arg1
= (wxRect
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4063 PyObject
* obj1
= 0 ;
4065 (char *) "self",(char *) "right", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->SetRight(arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxRect
*arg1
= (wxRect
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4092 PyObject
* obj1
= 0 ;
4094 (char *) "self",(char *) "top", NULL
4097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4100 arg2
= (int) SWIG_AsInt(obj1
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4104 (arg1
)->SetTop(arg2
);
4106 wxPyEndAllowThreads(__tstate
);
4107 if (PyErr_Occurred()) SWIG_fail
;
4109 Py_INCREF(Py_None
); resultobj
= Py_None
;
4116 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4117 PyObject
*resultobj
;
4118 wxRect
*arg1
= (wxRect
*) 0 ;
4120 PyObject
* obj0
= 0 ;
4121 PyObject
* obj1
= 0 ;
4123 (char *) "self",(char *) "bottom", NULL
4126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4129 arg2
= (int) SWIG_AsInt(obj1
);
4130 if (PyErr_Occurred()) SWIG_fail
;
4132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4133 (arg1
)->SetBottom(arg2
);
4135 wxPyEndAllowThreads(__tstate
);
4136 if (PyErr_Occurred()) SWIG_fail
;
4138 Py_INCREF(Py_None
); resultobj
= Py_None
;
4145 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4146 PyObject
*resultobj
;
4147 wxRect
*arg1
= (wxRect
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4152 PyObject
* obj1
= 0 ;
4153 PyObject
* obj2
= 0 ;
4155 (char *) "self",(char *) "dx",(char *) "dy", NULL
4158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4161 arg2
= (int) SWIG_AsInt(obj1
);
4162 if (PyErr_Occurred()) SWIG_fail
;
4163 arg3
= (int) SWIG_AsInt(obj2
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4168 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4169 result
= (wxRect
*) &_result_ref
;
4172 wxPyEndAllowThreads(__tstate
);
4173 if (PyErr_Occurred()) SWIG_fail
;
4175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4182 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4183 PyObject
*resultobj
;
4184 wxRect
*arg1
= (wxRect
*) 0 ;
4188 PyObject
* obj0
= 0 ;
4189 PyObject
* obj1
= 0 ;
4190 PyObject
* obj2
= 0 ;
4192 (char *) "self",(char *) "dx",(char *) "dy", NULL
4195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4198 arg2
= (int) SWIG_AsInt(obj1
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4200 arg3
= (int) SWIG_AsInt(obj2
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4205 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4206 result
= (wxRect
*) &_result_ref
;
4209 wxPyEndAllowThreads(__tstate
);
4210 if (PyErr_Occurred()) SWIG_fail
;
4212 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4219 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4220 PyObject
*resultobj
;
4221 wxRect
*arg1
= (wxRect
*) 0 ;
4224 PyObject
* obj0
= 0 ;
4225 PyObject
* obj1
= 0 ;
4226 PyObject
* obj2
= 0 ;
4228 (char *) "self",(char *) "dx",(char *) "dy", NULL
4231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4234 arg2
= (int) SWIG_AsInt(obj1
);
4235 if (PyErr_Occurred()) SWIG_fail
;
4236 arg3
= (int) SWIG_AsInt(obj2
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4240 (arg1
)->Offset(arg2
,arg3
);
4242 wxPyEndAllowThreads(__tstate
);
4243 if (PyErr_Occurred()) SWIG_fail
;
4245 Py_INCREF(Py_None
); resultobj
= Py_None
;
4252 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4253 PyObject
*resultobj
;
4254 wxRect
*arg1
= (wxRect
*) 0 ;
4257 PyObject
* obj0
= 0 ;
4258 PyObject
* obj1
= 0 ;
4260 (char *) "self",(char *) "pt", NULL
4263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4268 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4272 (arg1
)->Offset((wxPoint
const &)*arg2
);
4274 wxPyEndAllowThreads(__tstate
);
4275 if (PyErr_Occurred()) SWIG_fail
;
4277 Py_INCREF(Py_None
); resultobj
= Py_None
;
4284 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4285 PyObject
*resultobj
;
4286 wxRect
*arg1
= (wxRect
*) 0 ;
4290 PyObject
* obj0
= 0 ;
4291 PyObject
* obj1
= 0 ;
4293 (char *) "self",(char *) "rect", NULL
4296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4301 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4307 result
= (wxRect
*) &_result_ref
;
4310 wxPyEndAllowThreads(__tstate
);
4311 if (PyErr_Occurred()) SWIG_fail
;
4313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4320 static PyObject
*_wrap_Rect___add__(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 *) "rect", NULL
4332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",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 ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4341 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4348 resultptr
= new wxRect((wxRect
&) result
);
4349 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4357 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4358 PyObject
*resultobj
;
4359 wxRect
*arg1
= (wxRect
*) 0 ;
4363 PyObject
* obj0
= 0 ;
4364 PyObject
* obj1
= 0 ;
4366 (char *) "self",(char *) "rect", NULL
4369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4374 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4379 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4380 result
= (wxRect
*) &_result_ref
;
4383 wxPyEndAllowThreads(__tstate
);
4384 if (PyErr_Occurred()) SWIG_fail
;
4386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4393 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4394 PyObject
*resultobj
;
4395 wxRect
*arg1
= (wxRect
*) 0 ;
4399 PyObject
* obj0
= 0 ;
4400 PyObject
* obj1
= 0 ;
4402 (char *) "self",(char *) "rect", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4414 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4416 wxPyEndAllowThreads(__tstate
);
4417 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4428 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4429 PyObject
*resultobj
;
4430 wxRect
*arg1
= (wxRect
*) 0 ;
4434 PyObject
* obj0
= 0 ;
4435 PyObject
* obj1
= 0 ;
4437 (char *) "self",(char *) "rect", NULL
4440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4449 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4451 wxPyEndAllowThreads(__tstate
);
4452 if (PyErr_Occurred()) SWIG_fail
;
4455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4463 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4464 PyObject
*resultobj
;
4465 wxRect
*arg1
= (wxRect
*) 0 ;
4469 PyObject
* obj0
= 0 ;
4470 PyObject
* obj1
= 0 ;
4471 PyObject
* obj2
= 0 ;
4473 (char *) "self",(char *) "x",(char *) "y", NULL
4476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4479 arg2
= (int) SWIG_AsInt(obj1
);
4480 if (PyErr_Occurred()) SWIG_fail
;
4481 arg3
= (int) SWIG_AsInt(obj2
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4485 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4487 wxPyEndAllowThreads(__tstate
);
4488 if (PyErr_Occurred()) SWIG_fail
;
4491 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4499 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4500 PyObject
*resultobj
;
4501 wxRect
*arg1
= (wxRect
*) 0 ;
4505 PyObject
* obj0
= 0 ;
4506 PyObject
* obj1
= 0 ;
4508 (char *) "self",(char *) "pt", NULL
4511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4516 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4520 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4522 wxPyEndAllowThreads(__tstate
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4526 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4534 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4535 PyObject
*resultobj
;
4536 wxRect
*arg1
= (wxRect
*) 0 ;
4540 PyObject
* obj0
= 0 ;
4541 PyObject
* obj1
= 0 ;
4543 (char *) "self",(char *) "rect", NULL
4546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4551 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4555 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4557 wxPyEndAllowThreads(__tstate
);
4558 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4569 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxRect
*arg1
= (wxRect
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "x", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 arg2
= (int) SWIG_AsInt(obj1
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4584 if (arg1
) (arg1
)->x
= arg2
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4593 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 result
= (int) ((arg1
)->x
);
4607 resultobj
= SWIG_FromInt((int)result
);
4614 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxRect
*arg1
= (wxRect
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4621 (char *) "self",(char *) "y", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 arg2
= (int) SWIG_AsInt(obj1
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4629 if (arg1
) (arg1
)->y
= arg2
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 result
= (int) ((arg1
)->y
);
4652 resultobj
= SWIG_FromInt((int)result
);
4659 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxRect
*arg1
= (wxRect
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4664 PyObject
* obj1
= 0 ;
4666 (char *) "self",(char *) "width", NULL
4669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4672 arg2
= (int) SWIG_AsInt(obj1
);
4673 if (PyErr_Occurred()) SWIG_fail
;
4674 if (arg1
) (arg1
)->width
= arg2
;
4676 Py_INCREF(Py_None
); resultobj
= Py_None
;
4683 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4684 PyObject
*resultobj
;
4685 wxRect
*arg1
= (wxRect
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4695 result
= (int) ((arg1
)->width
);
4697 resultobj
= SWIG_FromInt((int)result
);
4704 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4705 PyObject
*resultobj
;
4706 wxRect
*arg1
= (wxRect
*) 0 ;
4708 PyObject
* obj0
= 0 ;
4709 PyObject
* obj1
= 0 ;
4711 (char *) "self",(char *) "height", NULL
4714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4717 arg2
= (int) SWIG_AsInt(obj1
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4719 if (arg1
) (arg1
)->height
= arg2
;
4721 Py_INCREF(Py_None
); resultobj
= Py_None
;
4728 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxRect
*arg1
= (wxRect
*) 0 ;
4732 PyObject
* obj0
= 0 ;
4734 (char *) "self", NULL
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4740 result
= (int) ((arg1
)->height
);
4742 resultobj
= SWIG_FromInt((int)result
);
4749 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 wxRect
*arg1
= (wxRect
*) 0 ;
4752 int arg2
= (int) 0 ;
4753 int arg3
= (int) 0 ;
4754 int arg4
= (int) 0 ;
4755 int arg5
= (int) 0 ;
4756 PyObject
* obj0
= 0 ;
4757 PyObject
* obj1
= 0 ;
4758 PyObject
* obj2
= 0 ;
4759 PyObject
* obj3
= 0 ;
4760 PyObject
* obj4
= 0 ;
4762 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4769 arg2
= (int) SWIG_AsInt(obj1
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4773 arg3
= (int) SWIG_AsInt(obj2
);
4774 if (PyErr_Occurred()) SWIG_fail
;
4777 arg4
= (int) SWIG_AsInt(obj3
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4781 arg5
= (int) SWIG_AsInt(obj4
);
4782 if (PyErr_Occurred()) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4786 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxRect
*arg1
= (wxRect
*) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self", NULL
4807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 result
= (PyObject
*)wxRect_Get(arg1
);
4814 wxPyEndAllowThreads(__tstate
);
4815 if (PyErr_Occurred()) SWIG_fail
;
4824 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4827 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4829 return Py_BuildValue((char *)"");
4831 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4832 PyObject
*resultobj
;
4833 wxRect
*arg1
= (wxRect
*) 0 ;
4834 wxRect
*arg2
= (wxRect
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4837 PyObject
* obj1
= 0 ;
4839 (char *) "r1",(char *) "r2", NULL
4842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4845 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4848 if (!wxPyCheckForApp()) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4862 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 double arg1
= (double) 0.0 ;
4865 double arg2
= (double) 0.0 ;
4867 PyObject
* obj0
= 0 ;
4868 PyObject
* obj1
= 0 ;
4870 (char *) "x",(char *) "y", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4875 arg1
= (double) SWIG_AsDouble(obj0
);
4876 if (PyErr_Occurred()) SWIG_fail
;
4879 arg2
= (double) SWIG_AsDouble(obj1
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4884 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4886 wxPyEndAllowThreads(__tstate
);
4887 if (PyErr_Occurred()) SWIG_fail
;
4889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4896 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4897 PyObject
*resultobj
;
4898 wxPoint2D
*arg1
= 0 ;
4901 PyObject
* obj0
= 0 ;
4906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4909 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4925 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4930 PyObject
* obj0
= 0 ;
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4938 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4944 wxPyEndAllowThreads(__tstate
);
4945 if (PyErr_Occurred()) SWIG_fail
;
4947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4954 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4955 PyObject
*resultobj
;
4956 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4957 int *arg2
= (int *) 0 ;
4958 int *arg3
= (int *) 0 ;
4961 PyObject
* obj0
= 0 ;
4963 (char *) "self", NULL
4968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4973 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4975 wxPyEndAllowThreads(__tstate
);
4976 if (PyErr_Occurred()) SWIG_fail
;
4978 Py_INCREF(Py_None
); resultobj
= Py_None
;
4980 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4981 resultobj
= t_output_helper(resultobj
,o
);
4984 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4985 resultobj
= t_output_helper(resultobj
,o
);
4993 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4996 int *arg2
= (int *) 0 ;
4997 int *arg3
= (int *) 0 ;
5000 PyObject
* obj0
= 0 ;
5002 (char *) "self", NULL
5007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5012 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5014 wxPyEndAllowThreads(__tstate
);
5015 if (PyErr_Occurred()) SWIG_fail
;
5017 Py_INCREF(Py_None
); resultobj
= Py_None
;
5019 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5020 resultobj
= t_output_helper(resultobj
,o
);
5023 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5024 resultobj
= t_output_helper(resultobj
,o
);
5032 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5033 PyObject
*resultobj
;
5034 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5036 PyObject
* obj0
= 0 ;
5038 (char *) "self", NULL
5041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5046 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5048 wxPyEndAllowThreads(__tstate
);
5049 if (PyErr_Occurred()) SWIG_fail
;
5051 resultobj
= SWIG_FromDouble((double)result
);
5058 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5059 PyObject
*resultobj
;
5060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5062 PyObject
* obj0
= 0 ;
5064 (char *) "self", NULL
5067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_FromDouble((double)result
);
5084 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5088 PyObject
* obj0
= 0 ;
5089 PyObject
* obj1
= 0 ;
5091 (char *) "self",(char *) "length", NULL
5094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5097 arg2
= (double) SWIG_AsDouble(obj1
);
5098 if (PyErr_Occurred()) SWIG_fail
;
5100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5101 (arg1
)->SetVectorLength(arg2
);
5103 wxPyEndAllowThreads(__tstate
);
5104 if (PyErr_Occurred()) SWIG_fail
;
5106 Py_INCREF(Py_None
); resultobj
= Py_None
;
5113 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5114 PyObject
*resultobj
;
5115 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5117 PyObject
* obj0
= 0 ;
5118 PyObject
* obj1
= 0 ;
5120 (char *) "self",(char *) "degrees", NULL
5123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5126 arg2
= (double) SWIG_AsDouble(obj1
);
5127 if (PyErr_Occurred()) SWIG_fail
;
5129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 (arg1
)->SetVectorAngle(arg2
);
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 Py_INCREF(Py_None
); resultobj
= Py_None
;
5142 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5145 wxPoint2D
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "pt", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5168 resultobj
= SWIG_FromDouble((double)result
);
5175 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5176 PyObject
*resultobj
;
5177 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5178 wxPoint2D
*arg2
= 0 ;
5181 PyObject
* obj0
= 0 ;
5182 PyObject
* obj1
= 0 ;
5184 (char *) "self",(char *) "pt", NULL
5187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5192 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5196 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5198 wxPyEndAllowThreads(__tstate
);
5199 if (PyErr_Occurred()) SWIG_fail
;
5201 resultobj
= SWIG_FromDouble((double)result
);
5208 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5209 PyObject
*resultobj
;
5210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5211 wxPoint2D
*arg2
= 0 ;
5214 PyObject
* obj0
= 0 ;
5215 PyObject
* obj1
= 0 ;
5217 (char *) "self",(char *) "vec", NULL
5220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5225 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5229 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5231 wxPyEndAllowThreads(__tstate
);
5232 if (PyErr_Occurred()) SWIG_fail
;
5234 resultobj
= SWIG_FromDouble((double)result
);
5241 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5242 PyObject
*resultobj
;
5243 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5244 wxPoint2D
*arg2
= 0 ;
5247 PyObject
* obj0
= 0 ;
5248 PyObject
* obj1
= 0 ;
5250 (char *) "self",(char *) "vec", NULL
5253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5258 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5262 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5264 wxPyEndAllowThreads(__tstate
);
5265 if (PyErr_Occurred()) SWIG_fail
;
5267 resultobj
= SWIG_FromDouble((double)result
);
5274 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5275 PyObject
*resultobj
;
5276 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5278 PyObject
* obj0
= 0 ;
5280 (char *) "self", NULL
5283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5288 result
= (arg1
)->operator -();
5290 wxPyEndAllowThreads(__tstate
);
5291 if (PyErr_Occurred()) SWIG_fail
;
5294 wxPoint2D
* resultptr
;
5295 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5296 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5304 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5305 PyObject
*resultobj
;
5306 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5307 wxPoint2D
*arg2
= 0 ;
5310 PyObject
* obj0
= 0 ;
5311 PyObject
* obj1
= 0 ;
5313 (char *) "self",(char *) "pt", NULL
5316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5321 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5326 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5327 result
= (wxPoint2D
*) &_result_ref
;
5330 wxPyEndAllowThreads(__tstate
);
5331 if (PyErr_Occurred()) SWIG_fail
;
5333 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5340 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5343 wxPoint2D
*arg2
= 0 ;
5346 PyObject
* obj0
= 0 ;
5347 PyObject
* obj1
= 0 ;
5349 (char *) "self",(char *) "pt", NULL
5352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5357 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5363 result
= (wxPoint2D
*) &_result_ref
;
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5369 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5376 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5377 PyObject
*resultobj
;
5378 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5379 wxPoint2D
*arg2
= 0 ;
5382 PyObject
* obj0
= 0 ;
5383 PyObject
* obj1
= 0 ;
5385 (char *) "self",(char *) "pt", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5393 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5399 result
= (wxPoint2D
*) &_result_ref
;
5402 wxPyEndAllowThreads(__tstate
);
5403 if (PyErr_Occurred()) SWIG_fail
;
5405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5412 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5413 PyObject
*resultobj
;
5414 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5415 wxPoint2D
*arg2
= 0 ;
5418 PyObject
* obj0
= 0 ;
5419 PyObject
* obj1
= 0 ;
5421 (char *) "self",(char *) "pt", NULL
5424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5429 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5435 result
= (wxPoint2D
*) &_result_ref
;
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5448 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5451 wxPoint2D
*arg2
= 0 ;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "pt", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5465 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5483 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5484 PyObject
*resultobj
;
5485 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5486 wxPoint2D
*arg2
= 0 ;
5489 PyObject
* obj0
= 0 ;
5490 PyObject
* obj1
= 0 ;
5492 (char *) "self",(char *) "pt", NULL
5495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5500 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5506 wxPyEndAllowThreads(__tstate
);
5507 if (PyErr_Occurred()) SWIG_fail
;
5510 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5518 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5519 PyObject
*resultobj
;
5520 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5525 (char *) "self",(char *) "m_x", NULL
5528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5531 arg2
= (double) SWIG_AsDouble(obj1
);
5532 if (PyErr_Occurred()) SWIG_fail
;
5533 if (arg1
) (arg1
)->m_x
= arg2
;
5535 Py_INCREF(Py_None
); resultobj
= Py_None
;
5542 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5543 PyObject
*resultobj
;
5544 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5546 PyObject
* obj0
= 0 ;
5548 (char *) "self", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5554 result
= (double) ((arg1
)->m_x
);
5556 resultobj
= SWIG_FromDouble((double)result
);
5563 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5564 PyObject
*resultobj
;
5565 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5567 PyObject
* obj0
= 0 ;
5568 PyObject
* obj1
= 0 ;
5570 (char *) "self",(char *) "m_y", NULL
5573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5576 arg2
= (double) SWIG_AsDouble(obj1
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5578 if (arg1
) (arg1
)->m_y
= arg2
;
5580 Py_INCREF(Py_None
); resultobj
= Py_None
;
5587 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5588 PyObject
*resultobj
;
5589 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5591 PyObject
* obj0
= 0 ;
5593 (char *) "self", NULL
5596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5599 result
= (double) ((arg1
)->m_y
);
5601 resultobj
= SWIG_FromDouble((double)result
);
5608 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5609 PyObject
*resultobj
;
5610 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5611 double arg2
= (double) 0 ;
5612 double arg3
= (double) 0 ;
5613 PyObject
* obj0
= 0 ;
5614 PyObject
* obj1
= 0 ;
5615 PyObject
* obj2
= 0 ;
5617 (char *) "self",(char *) "x",(char *) "y", NULL
5620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5624 arg2
= (double) SWIG_AsDouble(obj1
);
5625 if (PyErr_Occurred()) SWIG_fail
;
5628 arg3
= (double) SWIG_AsDouble(obj2
);
5629 if (PyErr_Occurred()) SWIG_fail
;
5632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5633 wxPoint2D_Set(arg1
,arg2
,arg3
);
5635 wxPyEndAllowThreads(__tstate
);
5636 if (PyErr_Occurred()) SWIG_fail
;
5638 Py_INCREF(Py_None
); resultobj
= Py_None
;
5645 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5646 PyObject
*resultobj
;
5647 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5649 PyObject
* obj0
= 0 ;
5651 (char *) "self", NULL
5654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5671 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5674 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5676 return Py_BuildValue((char *)"");
5678 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5679 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5684 static PyObject
*_wrap_DefaultPosition_get() {
5687 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5692 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5693 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5698 static PyObject
*_wrap_DefaultSize_get() {
5701 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5706 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5707 PyObject
*resultobj
;
5708 PyObject
*arg1
= (PyObject
*) 0 ;
5709 wxPyInputStream
*result
;
5710 PyObject
* obj0
= 0 ;
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5719 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5721 wxPyEndAllowThreads(__tstate
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5724 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5731 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5732 PyObject
*resultobj
;
5733 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5734 PyObject
* obj0
= 0 ;
5736 (char *) "self", NULL
5739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5749 Py_INCREF(Py_None
); resultobj
= Py_None
;
5756 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5759 PyObject
* obj0
= 0 ;
5761 (char *) "self", NULL
5764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5771 wxPyEndAllowThreads(__tstate
);
5772 if (PyErr_Occurred()) SWIG_fail
;
5774 Py_INCREF(Py_None
); resultobj
= Py_None
;
5781 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5782 PyObject
*resultobj
;
5783 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5785 PyObject
* obj0
= 0 ;
5787 (char *) "self", NULL
5790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5795 result
= (bool)(arg1
)->eof();
5797 wxPyEndAllowThreads(__tstate
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5809 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5810 PyObject
*resultobj
;
5811 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5812 int arg2
= (int) -1 ;
5814 PyObject
* obj0
= 0 ;
5815 PyObject
* obj1
= 0 ;
5817 (char *) "self",(char *) "size", NULL
5820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5824 arg2
= (int) SWIG_AsInt(obj1
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5829 result
= (PyObject
*)(arg1
)->read(arg2
);
5831 wxPyEndAllowThreads(__tstate
);
5832 if (PyErr_Occurred()) SWIG_fail
;
5841 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5842 PyObject
*resultobj
;
5843 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5844 int arg2
= (int) -1 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5849 (char *) "self",(char *) "size", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5856 arg2
= (int) SWIG_AsInt(obj1
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (PyObject
*)(arg1
)->readline(arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5873 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
;
5875 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5876 int arg2
= (int) -1 ;
5878 PyObject
* obj0
= 0 ;
5879 PyObject
* obj1
= 0 ;
5881 (char *) "self",(char *) "sizehint", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 arg2
= (int) SWIG_AsInt(obj1
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5905 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5909 int arg3
= (int) 0 ;
5910 PyObject
* obj0
= 0 ;
5911 PyObject
* obj1
= 0 ;
5912 PyObject
* obj2
= 0 ;
5914 (char *) "self",(char *) "offset",(char *) "whence", NULL
5917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5920 arg2
= (int) SWIG_AsInt(obj1
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5923 arg3
= (int) SWIG_AsInt(obj2
);
5924 if (PyErr_Occurred()) SWIG_fail
;
5927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5928 (arg1
)->seek(arg2
,arg3
);
5930 wxPyEndAllowThreads(__tstate
);
5931 if (PyErr_Occurred()) SWIG_fail
;
5933 Py_INCREF(Py_None
); resultobj
= Py_None
;
5940 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5941 PyObject
*resultobj
;
5942 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5944 PyObject
* obj0
= 0 ;
5946 (char *) "self", NULL
5949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (int)(arg1
)->tell();
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5959 resultobj
= SWIG_FromInt((int)result
);
5966 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5967 PyObject
*resultobj
;
5968 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5970 PyObject
* obj0
= 0 ;
5972 (char *) "self", NULL
5975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5980 result
= (char)(arg1
)->Peek();
5982 wxPyEndAllowThreads(__tstate
);
5983 if (PyErr_Occurred()) SWIG_fail
;
5985 resultobj
= SWIG_FromChar((char)result
);
5992 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
;
5994 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5996 PyObject
* obj0
= 0 ;
5998 (char *) "self", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6006 result
= (char)(arg1
)->GetC();
6008 wxPyEndAllowThreads(__tstate
);
6009 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= SWIG_FromChar((char)result
);
6018 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6019 PyObject
*resultobj
;
6020 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6022 PyObject
* obj0
= 0 ;
6024 (char *) "self", NULL
6027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6032 result
= (size_t)(arg1
)->LastRead();
6034 wxPyEndAllowThreads(__tstate
);
6035 if (PyErr_Occurred()) SWIG_fail
;
6037 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6044 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6045 PyObject
*resultobj
;
6046 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6048 PyObject
* obj0
= 0 ;
6050 (char *) "self", NULL
6053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (bool)(arg1
)->CanRead();
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6072 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6073 PyObject
*resultobj
;
6074 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6076 PyObject
* obj0
= 0 ;
6078 (char *) "self", NULL
6081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (bool)(arg1
)->Eof();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6100 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6101 PyObject
*resultobj
;
6102 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6106 PyObject
* obj1
= 0 ;
6108 (char *) "self",(char *) "c", NULL
6111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6114 arg2
= (char) SWIG_AsChar(obj1
);
6115 if (PyErr_Occurred()) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 result
= (bool)(arg1
)->Ungetch(arg2
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6132 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6136 int arg3
= (int) wxFromStart
;
6138 PyObject
* obj0
= 0 ;
6139 PyObject
* obj1
= 0 ;
6140 PyObject
* obj2
= 0 ;
6142 (char *) "self",(char *) "pos",(char *) "mode", NULL
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6148 arg2
= (long) SWIG_AsLong(obj1
);
6149 if (PyErr_Occurred()) SWIG_fail
;
6151 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6152 if (PyErr_Occurred()) SWIG_fail
;
6155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6156 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6158 wxPyEndAllowThreads(__tstate
);
6159 if (PyErr_Occurred()) SWIG_fail
;
6161 resultobj
= SWIG_FromLong((long)result
);
6168 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6169 PyObject
*resultobj
;
6170 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6172 PyObject
* obj0
= 0 ;
6174 (char *) "self", NULL
6177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6182 result
= (long)(arg1
)->TellI();
6184 wxPyEndAllowThreads(__tstate
);
6185 if (PyErr_Occurred()) SWIG_fail
;
6187 resultobj
= SWIG_FromLong((long)result
);
6194 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6196 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6197 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6199 return Py_BuildValue((char *)"");
6201 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6202 PyObject
*resultobj
;
6203 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6204 PyObject
*arg2
= (PyObject
*) 0 ;
6205 PyObject
* obj0
= 0 ;
6206 PyObject
* obj1
= 0 ;
6208 (char *) "self",(char *) "obj", NULL
6211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 wxOutputStream_write(arg1
,arg2
);
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6222 Py_INCREF(Py_None
); resultobj
= Py_None
;
6229 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6232 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6234 return Py_BuildValue((char *)"");
6236 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6237 PyObject
*resultobj
;
6238 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6239 wxString
*arg2
= 0 ;
6240 wxString
*arg3
= 0 ;
6241 wxString
*arg4
= 0 ;
6244 wxPyInputStream
*temp1
;
6246 bool temp2
= False
;
6247 bool temp3
= False
;
6248 bool temp4
= False
;
6250 PyObject
* obj0
= 0 ;
6251 PyObject
* obj1
= 0 ;
6252 PyObject
* obj2
= 0 ;
6253 PyObject
* obj3
= 0 ;
6254 PyObject
* obj4
= 0 ;
6256 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6261 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6262 arg1
= temp1
->m_wxis
;
6265 PyErr_Clear(); // clear the failure of the wxPyConvert above
6266 arg1
= wxPyCBInputStream_create(obj0
, False
);
6268 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6275 arg2
= wxString_in_helper(obj1
);
6276 if (arg2
== NULL
) SWIG_fail
;
6280 arg3
= wxString_in_helper(obj2
);
6281 if (arg3
== NULL
) SWIG_fail
;
6285 arg4
= wxString_in_helper(obj3
);
6286 if (arg4
== NULL
) SWIG_fail
;
6289 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6290 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6294 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6296 wxPyEndAllowThreads(__tstate
);
6297 if (PyErr_Occurred()) SWIG_fail
;
6300 resultobj
= wxPyMake_wxObject(result
, 1);
6340 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6341 PyObject
*resultobj
;
6342 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6343 PyObject
* obj0
= 0 ;
6345 (char *) "self", NULL
6348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6355 wxPyEndAllowThreads(__tstate
);
6356 if (PyErr_Occurred()) SWIG_fail
;
6358 Py_INCREF(Py_None
); resultobj
= Py_None
;
6365 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6368 wxInputStream
*result
;
6369 PyObject
* obj0
= 0 ;
6371 (char *) "self", NULL
6374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6379 result
= (wxInputStream
*)(arg1
)->GetStream();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 wxPyInputStream
* _ptr
= NULL
;
6388 _ptr
= new wxPyInputStream(result
);
6390 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6398 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6399 PyObject
*resultobj
;
6400 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6404 (char *) "self", NULL
6407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6413 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6414 result
= (wxString
*) &_result_ref
;
6417 wxPyEndAllowThreads(__tstate
);
6418 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6424 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6433 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6434 PyObject
*resultobj
;
6435 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6437 PyObject
* obj0
= 0 ;
6439 (char *) "self", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6448 wxString
const &_result_ref
= (arg1
)->GetLocation();
6449 result
= (wxString
*) &_result_ref
;
6452 wxPyEndAllowThreads(__tstate
);
6453 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6459 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6468 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6469 PyObject
*resultobj
;
6470 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6472 PyObject
* obj0
= 0 ;
6474 (char *) "self", NULL
6477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6483 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6484 result
= (wxString
*) &_result_ref
;
6487 wxPyEndAllowThreads(__tstate
);
6488 if (PyErr_Occurred()) SWIG_fail
;
6492 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6494 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6503 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6504 PyObject
*resultobj
;
6505 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6507 PyObject
* obj0
= 0 ;
6509 (char *) "self", NULL
6512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6517 result
= (arg1
)->GetModificationTime();
6519 wxPyEndAllowThreads(__tstate
);
6520 if (PyErr_Occurred()) SWIG_fail
;
6523 wxDateTime
* resultptr
;
6524 resultptr
= new wxDateTime((wxDateTime
&) result
);
6525 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6533 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6536 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6538 return Py_BuildValue((char *)"");
6540 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6542 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6543 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6545 return Py_BuildValue((char *)"");
6547 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6548 PyObject
*resultobj
;
6549 wxPyFileSystemHandler
*result
;
6554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6557 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6559 wxPyEndAllowThreads(__tstate
);
6560 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6569 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6570 PyObject
*resultobj
;
6571 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6572 PyObject
*arg2
= (PyObject
*) 0 ;
6573 PyObject
*arg3
= (PyObject
*) 0 ;
6574 PyObject
* obj0
= 0 ;
6575 PyObject
* obj1
= 0 ;
6576 PyObject
* obj2
= 0 ;
6578 (char *) "self",(char *) "self",(char *) "_class", NULL
6581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6590 wxPyEndAllowThreads(__tstate
);
6591 if (PyErr_Occurred()) SWIG_fail
;
6593 Py_INCREF(Py_None
); resultobj
= Py_None
;
6600 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6601 PyObject
*resultobj
;
6602 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6603 wxString
*arg2
= 0 ;
6605 bool temp2
= False
;
6606 PyObject
* obj0
= 0 ;
6607 PyObject
* obj1
= 0 ;
6609 (char *) "self",(char *) "location", NULL
6612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6616 arg2
= wxString_in_helper(obj1
);
6617 if (arg2
== NULL
) SWIG_fail
;
6621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6622 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6644 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6645 PyObject
*resultobj
;
6646 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6647 wxFileSystem
*arg2
= 0 ;
6648 wxString
*arg3
= 0 ;
6650 bool temp3
= False
;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 PyObject
* obj2
= 0 ;
6655 (char *) "self",(char *) "fs",(char *) "location", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6661 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6665 PyErr_SetString(PyExc_TypeError
,"null reference");
6669 arg3
= wxString_in_helper(obj2
);
6670 if (arg3
== NULL
) SWIG_fail
;
6674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6675 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6677 wxPyEndAllowThreads(__tstate
);
6678 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= wxPyMake_wxObject(result
, 0);
6697 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6698 PyObject
*resultobj
;
6699 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6700 wxString
*arg2
= 0 ;
6701 int arg3
= (int) 0 ;
6703 bool temp2
= False
;
6704 PyObject
* obj0
= 0 ;
6705 PyObject
* obj1
= 0 ;
6706 PyObject
* obj2
= 0 ;
6708 (char *) "self",(char *) "spec",(char *) "flags", NULL
6711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6715 arg2
= wxString_in_helper(obj1
);
6716 if (arg2
== NULL
) SWIG_fail
;
6720 arg3
= (int) SWIG_AsInt(obj2
);
6721 if (PyErr_Occurred()) SWIG_fail
;
6724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6725 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6727 wxPyEndAllowThreads(__tstate
);
6728 if (PyErr_Occurred()) SWIG_fail
;
6732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6751 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6752 PyObject
*resultobj
;
6753 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6757 (char *) "self", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6765 result
= (arg1
)->FindNext();
6767 wxPyEndAllowThreads(__tstate
);
6768 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6774 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6783 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6784 PyObject
*resultobj
;
6785 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6786 wxString
*arg2
= 0 ;
6788 bool temp2
= False
;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6792 (char *) "self",(char *) "location", NULL
6795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6799 arg2
= wxString_in_helper(obj1
);
6800 if (arg2
== NULL
) SWIG_fail
;
6804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6805 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6807 wxPyEndAllowThreads(__tstate
);
6808 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6831 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6832 PyObject
*resultobj
;
6833 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6834 wxString
*arg2
= 0 ;
6836 bool temp2
= False
;
6837 PyObject
* obj0
= 0 ;
6838 PyObject
* obj1
= 0 ;
6840 (char *) "self",(char *) "location", NULL
6843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6847 arg2
= wxString_in_helper(obj1
);
6848 if (arg2
== NULL
) SWIG_fail
;
6852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6853 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6855 wxPyEndAllowThreads(__tstate
);
6856 if (PyErr_Occurred()) SWIG_fail
;
6860 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6862 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6879 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6882 wxString
*arg2
= 0 ;
6884 bool temp2
= False
;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "location", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6895 arg2
= wxString_in_helper(obj1
);
6896 if (arg2
== NULL
) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6927 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6928 PyObject
*resultobj
;
6929 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6930 wxString
*arg2
= 0 ;
6932 bool temp2
= False
;
6933 PyObject
* obj0
= 0 ;
6934 PyObject
* obj1
= 0 ;
6936 (char *) "self",(char *) "location", NULL
6939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6943 arg2
= wxString_in_helper(obj1
);
6944 if (arg2
== NULL
) SWIG_fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6956 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6958 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6975 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6976 PyObject
*resultobj
;
6977 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6978 wxString
*arg2
= 0 ;
6980 bool temp2
= False
;
6981 PyObject
* obj0
= 0 ;
6982 PyObject
* obj1
= 0 ;
6984 (char *) "self",(char *) "location", NULL
6987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6991 arg2
= wxString_in_helper(obj1
);
6992 if (arg2
== NULL
) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7023 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7025 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7026 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7028 return Py_BuildValue((char *)"");
7030 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7031 PyObject
*resultobj
;
7032 wxFileSystem
*result
;
7037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7040 result
= (wxFileSystem
*)new wxFileSystem();
7042 wxPyEndAllowThreads(__tstate
);
7043 if (PyErr_Occurred()) SWIG_fail
;
7046 resultobj
= wxPyMake_wxObject(result
, 1);
7054 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7057 PyObject
* obj0
= 0 ;
7059 (char *) "self", NULL
7062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7072 Py_INCREF(Py_None
); resultobj
= Py_None
;
7079 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7080 PyObject
*resultobj
;
7081 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7082 wxString
*arg2
= 0 ;
7083 bool arg3
= (bool) False
;
7084 bool temp2
= False
;
7085 PyObject
* obj0
= 0 ;
7086 PyObject
* obj1
= 0 ;
7087 PyObject
* obj2
= 0 ;
7089 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7096 arg2
= wxString_in_helper(obj1
);
7097 if (arg2
== NULL
) SWIG_fail
;
7101 arg3
= (bool) SWIG_AsBool(obj2
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7106 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7108 wxPyEndAllowThreads(__tstate
);
7109 if (PyErr_Occurred()) SWIG_fail
;
7111 Py_INCREF(Py_None
); resultobj
= Py_None
;
7126 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
;
7128 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7130 PyObject
* obj0
= 0 ;
7132 (char *) "self", NULL
7135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= (arg1
)->GetPath();
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7158 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7159 PyObject
*resultobj
;
7160 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7161 wxString
*arg2
= 0 ;
7163 bool temp2
= False
;
7164 PyObject
* obj0
= 0 ;
7165 PyObject
* obj1
= 0 ;
7167 (char *) "self",(char *) "location", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7174 arg2
= wxString_in_helper(obj1
);
7175 if (arg2
== NULL
) SWIG_fail
;
7179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7180 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7182 wxPyEndAllowThreads(__tstate
);
7183 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= wxPyMake_wxObject(result
, 0);
7202 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7203 PyObject
*resultobj
;
7204 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7205 wxString
*arg2
= 0 ;
7206 int arg3
= (int) 0 ;
7208 bool temp2
= False
;
7209 PyObject
* obj0
= 0 ;
7210 PyObject
* obj1
= 0 ;
7211 PyObject
* obj2
= 0 ;
7213 (char *) "self",(char *) "spec",(char *) "flags", NULL
7216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7220 arg2
= wxString_in_helper(obj1
);
7221 if (arg2
== NULL
) SWIG_fail
;
7225 arg3
= (int) SWIG_AsInt(obj2
);
7226 if (PyErr_Occurred()) SWIG_fail
;
7229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7230 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7232 wxPyEndAllowThreads(__tstate
);
7233 if (PyErr_Occurred()) SWIG_fail
;
7237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7256 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
;
7258 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7260 PyObject
* obj0
= 0 ;
7262 (char *) "self", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 result
= (arg1
)->FindNext();
7272 wxPyEndAllowThreads(__tstate
);
7273 if (PyErr_Occurred()) SWIG_fail
;
7277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7288 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7289 PyObject
*resultobj
;
7290 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7291 PyObject
* obj0
= 0 ;
7293 (char *) "handler", NULL
7296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7301 wxFileSystem::AddHandler(arg1
);
7303 wxPyEndAllowThreads(__tstate
);
7304 if (PyErr_Occurred()) SWIG_fail
;
7306 Py_INCREF(Py_None
); resultobj
= Py_None
;
7313 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7314 PyObject
*resultobj
;
7319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7322 wxFileSystem::CleanUpHandlers();
7324 wxPyEndAllowThreads(__tstate
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7327 Py_INCREF(Py_None
); resultobj
= Py_None
;
7334 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7335 PyObject
*resultobj
;
7336 wxString
*arg1
= 0 ;
7338 bool temp1
= False
;
7339 PyObject
* obj0
= 0 ;
7341 (char *) "filename", NULL
7344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7346 arg1
= wxString_in_helper(obj0
);
7347 if (arg1
== NULL
) SWIG_fail
;
7351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7352 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7354 wxPyEndAllowThreads(__tstate
);
7355 if (PyErr_Occurred()) SWIG_fail
;
7359 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7361 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7378 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7381 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7383 return Py_BuildValue((char *)"");
7385 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7386 PyObject
*resultobj
;
7387 wxString
*arg1
= 0 ;
7389 bool temp1
= False
;
7390 PyObject
* obj0
= 0 ;
7392 (char *) "url", NULL
7395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7397 arg1
= wxString_in_helper(obj0
);
7398 if (arg1
== NULL
) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7410 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7412 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7429 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7430 PyObject
*resultobj
;
7431 wxInternetFSHandler
*result
;
7436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7439 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7441 wxPyEndAllowThreads(__tstate
);
7442 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7451 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7452 PyObject
*resultobj
;
7453 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7454 wxString
*arg2
= 0 ;
7456 bool temp2
= False
;
7457 PyObject
* obj0
= 0 ;
7458 PyObject
* obj1
= 0 ;
7460 (char *) "self",(char *) "location", NULL
7463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7467 arg2
= wxString_in_helper(obj1
);
7468 if (arg2
== NULL
) SWIG_fail
;
7472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7473 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7475 wxPyEndAllowThreads(__tstate
);
7476 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7495 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7496 PyObject
*resultobj
;
7497 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7498 wxFileSystem
*arg2
= 0 ;
7499 wxString
*arg3
= 0 ;
7501 bool temp3
= False
;
7502 PyObject
* obj0
= 0 ;
7503 PyObject
* obj1
= 0 ;
7504 PyObject
* obj2
= 0 ;
7506 (char *) "self",(char *) "fs",(char *) "location", NULL
7509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7516 PyErr_SetString(PyExc_TypeError
,"null reference");
7520 arg3
= wxString_in_helper(obj2
);
7521 if (arg3
== NULL
) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7532 resultobj
= wxPyMake_wxObject(result
, 0);
7548 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7551 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7553 return Py_BuildValue((char *)"");
7555 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7556 PyObject
*resultobj
;
7557 wxZipFSHandler
*result
;
7562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7565 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7567 wxPyEndAllowThreads(__tstate
);
7568 if (PyErr_Occurred()) SWIG_fail
;
7570 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7577 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7578 PyObject
*resultobj
;
7579 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7580 wxString
*arg2
= 0 ;
7582 bool temp2
= False
;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7586 (char *) "self",(char *) "location", NULL
7589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7593 arg2
= wxString_in_helper(obj1
);
7594 if (arg2
== NULL
) SWIG_fail
;
7598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7599 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7601 wxPyEndAllowThreads(__tstate
);
7602 if (PyErr_Occurred()) SWIG_fail
;
7605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7621 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7622 PyObject
*resultobj
;
7623 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7624 wxFileSystem
*arg2
= 0 ;
7625 wxString
*arg3
= 0 ;
7627 bool temp3
= False
;
7628 PyObject
* obj0
= 0 ;
7629 PyObject
* obj1
= 0 ;
7630 PyObject
* obj2
= 0 ;
7632 (char *) "self",(char *) "fs",(char *) "location", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7642 PyErr_SetString(PyExc_TypeError
,"null reference");
7646 arg3
= wxString_in_helper(obj2
);
7647 if (arg3
== NULL
) SWIG_fail
;
7651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7652 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7654 wxPyEndAllowThreads(__tstate
);
7655 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= wxPyMake_wxObject(result
, 0);
7674 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7675 PyObject
*resultobj
;
7676 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7677 wxString
*arg2
= 0 ;
7678 int arg3
= (int) 0 ;
7680 bool temp2
= False
;
7681 PyObject
* obj0
= 0 ;
7682 PyObject
* obj1
= 0 ;
7683 PyObject
* obj2
= 0 ;
7685 (char *) "self",(char *) "spec",(char *) "flags", NULL
7688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7692 arg2
= wxString_in_helper(obj1
);
7693 if (arg2
== NULL
) SWIG_fail
;
7697 arg3
= (int) SWIG_AsInt(obj2
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7702 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7704 wxPyEndAllowThreads(__tstate
);
7705 if (PyErr_Occurred()) SWIG_fail
;
7709 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7711 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7728 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7729 PyObject
*resultobj
;
7730 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7732 PyObject
* obj0
= 0 ;
7734 (char *) "self", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (arg1
)->FindNext();
7744 wxPyEndAllowThreads(__tstate
);
7745 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7751 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7760 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7763 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7765 return Py_BuildValue((char *)"");
7767 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7768 PyObject
*resultobj
;
7769 wxString
*arg1
= 0 ;
7772 bool temp1
= False
;
7773 PyObject
* obj0
= 0 ;
7774 PyObject
* obj1
= 0 ;
7775 PyObject
* obj2
= 0 ;
7777 (char *) "filename",(char *) "image",(char *) "type", NULL
7780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7782 arg1
= wxString_in_helper(obj0
);
7783 if (arg1
== NULL
) SWIG_fail
;
7786 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7787 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7790 PyErr_SetString(PyExc_TypeError
,"null reference");
7793 arg3
= (long) SWIG_AsLong(obj2
);
7794 if (PyErr_Occurred()) SWIG_fail
;
7796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7797 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7799 wxPyEndAllowThreads(__tstate
);
7800 if (PyErr_Occurred()) SWIG_fail
;
7802 Py_INCREF(Py_None
); resultobj
= Py_None
;
7817 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7818 PyObject
*resultobj
;
7819 wxString
*arg1
= 0 ;
7820 wxBitmap
*arg2
= 0 ;
7822 bool temp1
= False
;
7823 PyObject
* obj0
= 0 ;
7824 PyObject
* obj1
= 0 ;
7825 PyObject
* obj2
= 0 ;
7827 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7832 arg1
= wxString_in_helper(obj0
);
7833 if (arg1
== NULL
) SWIG_fail
;
7836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7840 PyErr_SetString(PyExc_TypeError
,"null reference");
7843 arg3
= (long) SWIG_AsLong(obj2
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 Py_INCREF(Py_None
); resultobj
= Py_None
;
7867 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7868 PyObject
*resultobj
;
7869 wxString
*arg1
= 0 ;
7870 PyObject
*arg2
= (PyObject
*) 0 ;
7871 bool temp1
= False
;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7875 (char *) "filename",(char *) "data", NULL
7878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7880 arg1
= wxString_in_helper(obj0
);
7881 if (arg1
== NULL
) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 Py_INCREF(Py_None
); resultobj
= Py_None
;
7907 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7908 PyObject
*resultobj
;
7909 wxMemoryFSHandler
*result
;
7914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7917 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7919 wxPyEndAllowThreads(__tstate
);
7920 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7929 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7930 PyObject
*resultobj
;
7931 wxString
*arg1
= 0 ;
7932 bool temp1
= False
;
7933 PyObject
* obj0
= 0 ;
7935 (char *) "filename", NULL
7938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7940 arg1
= wxString_in_helper(obj0
);
7941 if (arg1
== NULL
) SWIG_fail
;
7945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7946 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7948 wxPyEndAllowThreads(__tstate
);
7949 if (PyErr_Occurred()) SWIG_fail
;
7951 Py_INCREF(Py_None
); resultobj
= Py_None
;
7966 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7967 PyObject
*resultobj
;
7968 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7969 wxString
*arg2
= 0 ;
7971 bool temp2
= False
;
7972 PyObject
* obj0
= 0 ;
7973 PyObject
* obj1
= 0 ;
7975 (char *) "self",(char *) "location", NULL
7978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7982 arg2
= wxString_in_helper(obj1
);
7983 if (arg2
== NULL
) SWIG_fail
;
7987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7988 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7990 wxPyEndAllowThreads(__tstate
);
7991 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8010 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8013 wxFileSystem
*arg2
= 0 ;
8014 wxString
*arg3
= 0 ;
8016 bool temp3
= False
;
8017 PyObject
* obj0
= 0 ;
8018 PyObject
* obj1
= 0 ;
8019 PyObject
* obj2
= 0 ;
8021 (char *) "self",(char *) "fs",(char *) "location", NULL
8024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8031 PyErr_SetString(PyExc_TypeError
,"null reference");
8035 arg3
= wxString_in_helper(obj2
);
8036 if (arg3
== NULL
) SWIG_fail
;
8040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8041 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8043 wxPyEndAllowThreads(__tstate
);
8044 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= wxPyMake_wxObject(result
, 0);
8063 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8064 PyObject
*resultobj
;
8065 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8066 wxString
*arg2
= 0 ;
8067 int arg3
= (int) 0 ;
8069 bool temp2
= False
;
8070 PyObject
* obj0
= 0 ;
8071 PyObject
* obj1
= 0 ;
8072 PyObject
* obj2
= 0 ;
8074 (char *) "self",(char *) "spec",(char *) "flags", NULL
8077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8081 arg2
= wxString_in_helper(obj1
);
8082 if (arg2
== NULL
) SWIG_fail
;
8086 arg3
= (int) SWIG_AsInt(obj2
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8098 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8100 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8117 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8118 PyObject
*resultobj
;
8119 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8121 PyObject
* obj0
= 0 ;
8123 (char *) "self", NULL
8126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8131 result
= (arg1
)->FindNext();
8133 wxPyEndAllowThreads(__tstate
);
8134 if (PyErr_Occurred()) SWIG_fail
;
8138 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8140 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8149 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8151 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8152 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8154 return Py_BuildValue((char *)"");
8156 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8157 PyObject
*resultobj
;
8158 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8160 PyObject
* obj0
= 0 ;
8162 (char *) "self", NULL
8165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8170 result
= (arg1
)->GetName();
8172 wxPyEndAllowThreads(__tstate
);
8173 if (PyErr_Occurred()) SWIG_fail
;
8177 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8179 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8188 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
;
8190 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8192 PyObject
* obj0
= 0 ;
8194 (char *) "self", NULL
8197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (arg1
)->GetExtension();
8204 wxPyEndAllowThreads(__tstate
);
8205 if (PyErr_Occurred()) SWIG_fail
;
8209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8220 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8221 PyObject
*resultobj
;
8222 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8224 PyObject
* obj0
= 0 ;
8226 (char *) "self", NULL
8229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 result
= (long)(arg1
)->GetType();
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 resultobj
= SWIG_FromLong((long)result
);
8246 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8247 PyObject
*resultobj
;
8248 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8250 PyObject
* obj0
= 0 ;
8252 (char *) "self", NULL
8255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8260 result
= (arg1
)->GetMimeType();
8262 wxPyEndAllowThreads(__tstate
);
8263 if (PyErr_Occurred()) SWIG_fail
;
8267 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8269 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8278 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8279 PyObject
*resultobj
;
8280 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8281 wxString
*arg2
= 0 ;
8283 bool temp2
= False
;
8284 PyObject
* obj0
= 0 ;
8285 PyObject
* obj1
= 0 ;
8287 (char *) "self",(char *) "name", NULL
8290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8294 arg2
= wxString_in_helper(obj1
);
8295 if (arg2
== NULL
) SWIG_fail
;
8299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8300 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8302 wxPyEndAllowThreads(__tstate
);
8303 if (PyErr_Occurred()) SWIG_fail
;
8306 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8322 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8323 PyObject
*resultobj
;
8324 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8325 wxString
*arg2
= 0 ;
8326 bool temp2
= False
;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "name", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8337 arg2
= wxString_in_helper(obj1
);
8338 if (arg2
== NULL
) SWIG_fail
;
8342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8343 (arg1
)->SetName((wxString
const &)*arg2
);
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 Py_INCREF(Py_None
); resultobj
= Py_None
;
8363 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8364 PyObject
*resultobj
;
8365 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8366 wxString
*arg2
= 0 ;
8367 bool temp2
= False
;
8368 PyObject
* obj0
= 0 ;
8369 PyObject
* obj1
= 0 ;
8371 (char *) "self",(char *) "extension", NULL
8374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8378 arg2
= wxString_in_helper(obj1
);
8379 if (arg2
== NULL
) SWIG_fail
;
8383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8384 (arg1
)->SetExtension((wxString
const &)*arg2
);
8386 wxPyEndAllowThreads(__tstate
);
8387 if (PyErr_Occurred()) SWIG_fail
;
8389 Py_INCREF(Py_None
); resultobj
= Py_None
;
8404 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8405 PyObject
*resultobj
;
8406 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8408 PyObject
* obj0
= 0 ;
8409 PyObject
* obj1
= 0 ;
8411 (char *) "self",(char *) "type", NULL
8414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8417 arg2
= (long) SWIG_AsLong(obj1
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 (arg1
)->SetType(arg2
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 Py_INCREF(Py_None
); resultobj
= Py_None
;
8433 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8434 PyObject
*resultobj
;
8435 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8436 wxString
*arg2
= 0 ;
8437 bool temp2
= False
;
8438 PyObject
* obj0
= 0 ;
8439 PyObject
* obj1
= 0 ;
8441 (char *) "self",(char *) "mimetype", NULL
8444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8448 arg2
= wxString_in_helper(obj1
);
8449 if (arg2
== NULL
) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 Py_INCREF(Py_None
); resultobj
= Py_None
;
8474 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8476 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8477 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8479 return Py_BuildValue((char *)"");
8481 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxImageHistogram
*result
;
8488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (wxImageHistogram
*)new wxImageHistogram();
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8503 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8504 PyObject
*resultobj
;
8505 unsigned char arg1
;
8506 unsigned char arg2
;
8507 unsigned char arg3
;
8508 unsigned long result
;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8513 (char *) "r",(char *) "g",(char *) "b", NULL
8516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8517 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8518 if (PyErr_Occurred()) SWIG_fail
;
8519 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8521 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8525 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8527 wxPyEndAllowThreads(__tstate
);
8528 if (PyErr_Occurred()) SWIG_fail
;
8530 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8537 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8538 PyObject
*resultobj
;
8539 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8540 unsigned char *arg2
= (unsigned char *) 0 ;
8541 unsigned char *arg3
= (unsigned char *) 0 ;
8542 unsigned char *arg4
= (unsigned char *) 0 ;
8543 unsigned char arg5
= (unsigned char) 1 ;
8544 unsigned char arg6
= (unsigned char) 0 ;
8545 unsigned char arg7
= (unsigned char) 0 ;
8547 unsigned char temp2
;
8548 unsigned char temp3
;
8549 unsigned char temp4
;
8550 PyObject
* obj0
= 0 ;
8551 PyObject
* obj1
= 0 ;
8552 PyObject
* obj2
= 0 ;
8553 PyObject
* obj3
= 0 ;
8555 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8565 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8566 if (PyErr_Occurred()) SWIG_fail
;
8569 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8573 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8574 if (PyErr_Occurred()) SWIG_fail
;
8577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8578 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8580 wxPyEndAllowThreads(__tstate
);
8581 if (PyErr_Occurred()) SWIG_fail
;
8584 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8587 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8588 resultobj
= t_output_helper(resultobj
,o
);
8591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8592 resultobj
= t_output_helper(resultobj
,o
);
8595 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8596 resultobj
= t_output_helper(resultobj
,o
);
8604 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8607 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8609 return Py_BuildValue((char *)"");
8611 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8612 PyObject
*resultobj
;
8613 wxString
*arg1
= 0 ;
8614 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8615 int arg3
= (int) -1 ;
8617 bool temp1
= False
;
8618 PyObject
* obj0
= 0 ;
8619 PyObject
* obj1
= 0 ;
8620 PyObject
* obj2
= 0 ;
8622 (char *) "name",(char *) "type",(char *) "index", NULL
8625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8627 arg1
= wxString_in_helper(obj0
);
8628 if (arg1
== NULL
) SWIG_fail
;
8632 arg2
= (long) SWIG_AsLong(obj1
);
8633 if (PyErr_Occurred()) SWIG_fail
;
8636 arg3
= (int) SWIG_AsInt(obj2
);
8637 if (PyErr_Occurred()) SWIG_fail
;
8640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8641 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8643 wxPyEndAllowThreads(__tstate
);
8644 if (PyErr_Occurred()) SWIG_fail
;
8646 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8661 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8662 PyObject
*resultobj
;
8663 wxImage
*arg1
= (wxImage
*) 0 ;
8664 PyObject
* obj0
= 0 ;
8666 (char *) "self", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8679 Py_INCREF(Py_None
); resultobj
= Py_None
;
8686 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxString
*arg1
= 0 ;
8689 wxString
*arg2
= 0 ;
8690 int arg3
= (int) -1 ;
8692 bool temp1
= False
;
8693 bool temp2
= False
;
8694 PyObject
* obj0
= 0 ;
8695 PyObject
* obj1
= 0 ;
8696 PyObject
* obj2
= 0 ;
8698 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8703 arg1
= wxString_in_helper(obj0
);
8704 if (arg1
== NULL
) SWIG_fail
;
8708 arg2
= wxString_in_helper(obj1
);
8709 if (arg2
== NULL
) SWIG_fail
;
8713 arg3
= (int) SWIG_AsInt(obj2
);
8714 if (PyErr_Occurred()) SWIG_fail
;
8717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8718 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8720 wxPyEndAllowThreads(__tstate
);
8721 if (PyErr_Occurred()) SWIG_fail
;
8723 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8746 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8747 PyObject
*resultobj
;
8748 wxInputStream
*arg1
= 0 ;
8749 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8750 int arg3
= (int) -1 ;
8752 wxPyInputStream
*temp1
;
8754 PyObject
* obj0
= 0 ;
8755 PyObject
* obj1
= 0 ;
8756 PyObject
* obj2
= 0 ;
8758 (char *) "stream",(char *) "type",(char *) "index", NULL
8761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8763 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8764 arg1
= temp1
->m_wxis
;
8767 PyErr_Clear(); // clear the failure of the wxPyConvert above
8768 arg1
= wxPyCBInputStream_create(obj0
, False
);
8770 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8777 arg2
= (long) SWIG_AsLong(obj1
);
8778 if (PyErr_Occurred()) SWIG_fail
;
8781 arg3
= (int) SWIG_AsInt(obj2
);
8782 if (PyErr_Occurred()) SWIG_fail
;
8785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8786 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8788 wxPyEndAllowThreads(__tstate
);
8789 if (PyErr_Occurred()) SWIG_fail
;
8791 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8806 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8807 PyObject
*resultobj
;
8808 wxInputStream
*arg1
= 0 ;
8809 wxString
*arg2
= 0 ;
8810 int arg3
= (int) -1 ;
8812 wxPyInputStream
*temp1
;
8814 bool temp2
= False
;
8815 PyObject
* obj0
= 0 ;
8816 PyObject
* obj1
= 0 ;
8817 PyObject
* obj2
= 0 ;
8819 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8824 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8825 arg1
= temp1
->m_wxis
;
8828 PyErr_Clear(); // clear the failure of the wxPyConvert above
8829 arg1
= wxPyCBInputStream_create(obj0
, False
);
8831 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8838 arg2
= wxString_in_helper(obj1
);
8839 if (arg2
== NULL
) SWIG_fail
;
8843 arg3
= (int) SWIG_AsInt(obj2
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8848 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8850 wxPyEndAllowThreads(__tstate
);
8851 if (PyErr_Occurred()) SWIG_fail
;
8853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8876 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 int arg1
= (int) 0 ;
8879 int arg2
= (int) 0 ;
8880 bool arg3
= (bool) True
;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8884 PyObject
* obj2
= 0 ;
8886 (char *) "width",(char *) "height",(char *) "clear", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8891 arg1
= (int) SWIG_AsInt(obj0
);
8892 if (PyErr_Occurred()) SWIG_fail
;
8895 arg2
= (int) SWIG_AsInt(obj1
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8899 arg3
= (bool) SWIG_AsBool(obj2
);
8900 if (PyErr_Occurred()) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8916 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxBitmap
*arg1
= 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "bitmap", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8927 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8930 PyErr_SetString(PyExc_TypeError
,"null reference");
8934 if (!wxPyCheckForApp()) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8936 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8948 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8952 unsigned char *arg3
= (unsigned char *) 0 ;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8958 (char *) "width",(char *) "height",(char *) "data", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8962 arg1
= (int) SWIG_AsInt(obj0
);
8963 if (PyErr_Occurred()) SWIG_fail
;
8964 arg2
= (int) SWIG_AsInt(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8966 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8975 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8982 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8983 PyObject
*resultobj
;
8984 wxImage
*arg1
= (wxImage
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8988 PyObject
* obj1
= 0 ;
8989 PyObject
* obj2
= 0 ;
8991 (char *) "self",(char *) "width",(char *) "height", NULL
8994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8997 arg2
= (int) SWIG_AsInt(obj1
);
8998 if (PyErr_Occurred()) SWIG_fail
;
8999 arg3
= (int) SWIG_AsInt(obj2
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->Create(arg2
,arg3
);
9005 wxPyEndAllowThreads(__tstate
);
9006 if (PyErr_Occurred()) SWIG_fail
;
9008 Py_INCREF(Py_None
); resultobj
= Py_None
;
9015 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9016 PyObject
*resultobj
;
9017 wxImage
*arg1
= (wxImage
*) 0 ;
9018 PyObject
* obj0
= 0 ;
9020 (char *) "self", NULL
9023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9030 wxPyEndAllowThreads(__tstate
);
9031 if (PyErr_Occurred()) SWIG_fail
;
9033 Py_INCREF(Py_None
); resultobj
= Py_None
;
9040 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9041 PyObject
*resultobj
;
9042 wxImage
*arg1
= (wxImage
*) 0 ;
9045 SwigValueWrapper
< wxImage
> result
;
9046 PyObject
* obj0
= 0 ;
9047 PyObject
* obj1
= 0 ;
9048 PyObject
* obj2
= 0 ;
9050 (char *) "self",(char *) "width",(char *) "height", NULL
9053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9056 arg2
= (int) SWIG_AsInt(obj1
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9058 arg3
= (int) SWIG_AsInt(obj2
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9062 result
= (arg1
)->Scale(arg2
,arg3
);
9064 wxPyEndAllowThreads(__tstate
);
9065 if (PyErr_Occurred()) SWIG_fail
;
9068 wxImage
* resultptr
;
9069 resultptr
= new wxImage((wxImage
&) result
);
9070 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9078 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9079 PyObject
*resultobj
;
9080 wxImage
*arg1
= (wxImage
*) 0 ;
9083 SwigValueWrapper
< wxImage
> result
;
9084 PyObject
* obj0
= 0 ;
9085 PyObject
* obj1
= 0 ;
9086 PyObject
* obj2
= 0 ;
9088 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 arg2
= (int) SWIG_AsInt(obj1
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9096 arg3
= (int) SWIG_AsInt(obj2
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9100 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9102 wxPyEndAllowThreads(__tstate
);
9103 if (PyErr_Occurred()) SWIG_fail
;
9106 wxImage
* resultptr
;
9107 resultptr
= new wxImage((wxImage
&) result
);
9108 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9116 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxImage
*arg1
= (wxImage
*) 0 ;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9126 (char *) "self",(char *) "width",(char *) "height", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 arg2
= (int) SWIG_AsInt(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9134 arg3
= (int) SWIG_AsInt(obj2
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9139 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9140 result
= (wxImage
*) &_result_ref
;
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9153 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
;
9155 wxImage
*arg1
= (wxImage
*) 0 ;
9158 unsigned char arg4
;
9159 unsigned char arg5
;
9160 unsigned char arg6
;
9161 PyObject
* obj0
= 0 ;
9162 PyObject
* obj1
= 0 ;
9163 PyObject
* obj2
= 0 ;
9164 PyObject
* obj3
= 0 ;
9165 PyObject
* obj4
= 0 ;
9166 PyObject
* obj5
= 0 ;
9168 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9174 arg2
= (int) SWIG_AsInt(obj1
);
9175 if (PyErr_Occurred()) SWIG_fail
;
9176 arg3
= (int) SWIG_AsInt(obj2
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9178 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 Py_INCREF(Py_None
); resultobj
= Py_None
;
9198 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxImage
*arg1
= (wxImage
*) 0 ;
9203 unsigned char result
;
9204 PyObject
* obj0
= 0 ;
9205 PyObject
* obj1
= 0 ;
9206 PyObject
* obj2
= 0 ;
9208 (char *) "self",(char *) "x",(char *) "y", NULL
9211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9214 arg2
= (int) SWIG_AsInt(obj1
);
9215 if (PyErr_Occurred()) SWIG_fail
;
9216 arg3
= (int) SWIG_AsInt(obj2
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9220 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9232 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9233 PyObject
*resultobj
;
9234 wxImage
*arg1
= (wxImage
*) 0 ;
9237 unsigned char result
;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9242 (char *) "self",(char *) "x",(char *) "y", NULL
9245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9248 arg2
= (int) SWIG_AsInt(obj1
);
9249 if (PyErr_Occurred()) SWIG_fail
;
9250 arg3
= (int) SWIG_AsInt(obj2
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9254 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9256 wxPyEndAllowThreads(__tstate
);
9257 if (PyErr_Occurred()) SWIG_fail
;
9259 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9266 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9267 PyObject
*resultobj
;
9268 wxImage
*arg1
= (wxImage
*) 0 ;
9271 unsigned char result
;
9272 PyObject
* obj0
= 0 ;
9273 PyObject
* obj1
= 0 ;
9274 PyObject
* obj2
= 0 ;
9276 (char *) "self",(char *) "x",(char *) "y", NULL
9279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9282 arg2
= (int) SWIG_AsInt(obj1
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9284 arg3
= (int) SWIG_AsInt(obj2
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9300 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxImage
*arg1
= (wxImage
*) 0 ;
9305 unsigned char arg4
;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9308 PyObject
* obj2
= 0 ;
9309 PyObject
* obj3
= 0 ;
9311 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9317 arg2
= (int) SWIG_AsInt(obj1
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9319 arg3
= (int) SWIG_AsInt(obj2
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9330 Py_INCREF(Py_None
); resultobj
= Py_None
;
9337 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxImage
*arg1
= (wxImage
*) 0 ;
9342 unsigned char result
;
9343 PyObject
* obj0
= 0 ;
9344 PyObject
* obj1
= 0 ;
9345 PyObject
* obj2
= 0 ;
9347 (char *) "self",(char *) "x",(char *) "y", NULL
9350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9353 arg2
= (int) SWIG_AsInt(obj1
);
9354 if (PyErr_Occurred()) SWIG_fail
;
9355 arg3
= (int) SWIG_AsInt(obj2
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9359 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9371 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxImage
*arg1
= (wxImage
*) 0 ;
9375 PyObject
* obj0
= 0 ;
9377 (char *) "self", NULL
9380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9385 result
= (bool)(arg1
)->HasAlpha();
9387 wxPyEndAllowThreads(__tstate
);
9388 if (PyErr_Occurred()) SWIG_fail
;
9391 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9399 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9400 PyObject
*resultobj
;
9401 wxImage
*arg1
= (wxImage
*) 0 ;
9402 byte
*arg2
= (byte
*) 0 ;
9403 byte
*arg3
= (byte
*) 0 ;
9404 byte
*arg4
= (byte
*) 0 ;
9405 byte arg5
= (byte
) 0 ;
9406 byte arg6
= (byte
) 0 ;
9407 byte arg7
= (byte
) 0 ;
9412 PyObject
* obj0
= 0 ;
9413 PyObject
* obj1
= 0 ;
9414 PyObject
* obj2
= 0 ;
9415 PyObject
* obj3
= 0 ;
9417 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9427 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9428 if (PyErr_Occurred()) SWIG_fail
;
9431 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9432 if (PyErr_Occurred()) SWIG_fail
;
9435 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9436 if (PyErr_Occurred()) SWIG_fail
;
9439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9440 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9442 wxPyEndAllowThreads(__tstate
);
9443 if (PyErr_Occurred()) SWIG_fail
;
9446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9449 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9450 resultobj
= t_output_helper(resultobj
,o
);
9453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9454 resultobj
= t_output_helper(resultobj
,o
);
9457 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9458 resultobj
= t_output_helper(resultobj
,o
);
9466 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxImage
*arg1
= (wxImage
*) 0 ;
9474 PyObject
* obj0
= 0 ;
9475 PyObject
* obj1
= 0 ;
9476 PyObject
* obj2
= 0 ;
9477 PyObject
* obj3
= 0 ;
9478 PyObject
* obj4
= 0 ;
9480 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9486 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9490 PyErr_SetString(PyExc_TypeError
,"null reference");
9493 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9494 if (PyErr_Occurred()) SWIG_fail
;
9495 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9497 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9501 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9503 wxPyEndAllowThreads(__tstate
);
9504 if (PyErr_Occurred()) SWIG_fail
;
9507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9515 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxString
*arg1
= 0 ;
9519 bool temp1
= False
;
9520 PyObject
* obj0
= 0 ;
9522 (char *) "name", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9527 arg1
= wxString_in_helper(obj0
);
9528 if (arg1
== NULL
) SWIG_fail
;
9532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9533 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9535 wxPyEndAllowThreads(__tstate
);
9536 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9555 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9556 PyObject
*resultobj
;
9557 wxString
*arg1
= 0 ;
9558 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9560 bool temp1
= False
;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9564 (char *) "name",(char *) "type", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9569 arg1
= wxString_in_helper(obj0
);
9570 if (arg1
== NULL
) SWIG_fail
;
9574 arg2
= (long) SWIG_AsLong(obj1
);
9575 if (PyErr_Occurred()) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9584 resultobj
= SWIG_FromInt((int)result
);
9599 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9600 PyObject
*resultobj
;
9601 wxImage
*arg1
= (wxImage
*) 0 ;
9602 wxString
*arg2
= 0 ;
9603 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9604 int arg4
= (int) -1 ;
9606 bool temp2
= False
;
9607 PyObject
* obj0
= 0 ;
9608 PyObject
* obj1
= 0 ;
9609 PyObject
* obj2
= 0 ;
9610 PyObject
* obj3
= 0 ;
9612 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9619 arg2
= wxString_in_helper(obj1
);
9620 if (arg2
== NULL
) SWIG_fail
;
9624 arg3
= (long) SWIG_AsLong(obj2
);
9625 if (PyErr_Occurred()) SWIG_fail
;
9628 arg4
= (int) SWIG_AsInt(obj3
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9633 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9635 wxPyEndAllowThreads(__tstate
);
9636 if (PyErr_Occurred()) SWIG_fail
;
9639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
;
9657 wxImage
*arg1
= (wxImage
*) 0 ;
9658 wxString
*arg2
= 0 ;
9659 wxString
*arg3
= 0 ;
9660 int arg4
= (int) -1 ;
9662 bool temp2
= False
;
9663 bool temp3
= False
;
9664 PyObject
* obj0
= 0 ;
9665 PyObject
* obj1
= 0 ;
9666 PyObject
* obj2
= 0 ;
9667 PyObject
* obj3
= 0 ;
9669 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9676 arg2
= wxString_in_helper(obj1
);
9677 if (arg2
== NULL
) SWIG_fail
;
9681 arg3
= wxString_in_helper(obj2
);
9682 if (arg3
== NULL
) SWIG_fail
;
9686 arg4
= (int) SWIG_AsInt(obj3
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9691 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9693 wxPyEndAllowThreads(__tstate
);
9694 if (PyErr_Occurred()) SWIG_fail
;
9697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9721 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9722 PyObject
*resultobj
;
9723 wxImage
*arg1
= (wxImage
*) 0 ;
9724 wxString
*arg2
= 0 ;
9727 bool temp2
= False
;
9728 PyObject
* obj0
= 0 ;
9729 PyObject
* obj1
= 0 ;
9730 PyObject
* obj2
= 0 ;
9732 (char *) "self",(char *) "name",(char *) "type", NULL
9735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9739 arg2
= wxString_in_helper(obj1
);
9740 if (arg2
== NULL
) SWIG_fail
;
9743 arg3
= (int) SWIG_AsInt(obj2
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9769 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9770 PyObject
*resultobj
;
9771 wxImage
*arg1
= (wxImage
*) 0 ;
9772 wxString
*arg2
= 0 ;
9773 wxString
*arg3
= 0 ;
9775 bool temp2
= False
;
9776 bool temp3
= False
;
9777 PyObject
* obj0
= 0 ;
9778 PyObject
* obj1
= 0 ;
9779 PyObject
* obj2
= 0 ;
9781 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9788 arg2
= wxString_in_helper(obj1
);
9789 if (arg2
== NULL
) SWIG_fail
;
9793 arg3
= wxString_in_helper(obj2
);
9794 if (arg3
== NULL
) SWIG_fail
;
9798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9799 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9801 wxPyEndAllowThreads(__tstate
);
9802 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9829 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9830 PyObject
*resultobj
;
9831 wxInputStream
*arg1
= 0 ;
9833 wxPyInputStream
*temp1
;
9835 PyObject
* obj0
= 0 ;
9837 (char *) "stream", NULL
9840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9842 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9843 arg1
= temp1
->m_wxis
;
9846 PyErr_Clear(); // clear the failure of the wxPyConvert above
9847 arg1
= wxPyCBInputStream_create(obj0
, False
);
9849 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9857 result
= (bool)wxImage::CanRead(*arg1
);
9859 wxPyEndAllowThreads(__tstate
);
9860 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9879 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9880 PyObject
*resultobj
;
9881 wxImage
*arg1
= (wxImage
*) 0 ;
9882 wxInputStream
*arg2
= 0 ;
9883 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9884 int arg4
= (int) -1 ;
9886 wxPyInputStream
*temp2
;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9893 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9900 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9901 arg2
= temp2
->m_wxis
;
9904 PyErr_Clear(); // clear the failure of the wxPyConvert above
9905 arg2
= wxPyCBInputStream_create(obj1
, False
);
9907 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9914 arg3
= (long) SWIG_AsLong(obj2
);
9915 if (PyErr_Occurred()) SWIG_fail
;
9918 arg4
= (int) SWIG_AsInt(obj3
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9923 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9925 wxPyEndAllowThreads(__tstate
);
9926 if (PyErr_Occurred()) SWIG_fail
;
9929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9945 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9946 PyObject
*resultobj
;
9947 wxImage
*arg1
= (wxImage
*) 0 ;
9948 wxInputStream
*arg2
= 0 ;
9949 wxString
*arg3
= 0 ;
9950 int arg4
= (int) -1 ;
9952 wxPyInputStream
*temp2
;
9954 bool temp3
= False
;
9955 PyObject
* obj0
= 0 ;
9956 PyObject
* obj1
= 0 ;
9957 PyObject
* obj2
= 0 ;
9958 PyObject
* obj3
= 0 ;
9960 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9967 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9968 arg2
= temp2
->m_wxis
;
9971 PyErr_Clear(); // clear the failure of the wxPyConvert above
9972 arg2
= wxPyCBInputStream_create(obj1
, False
);
9974 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9981 arg3
= wxString_in_helper(obj2
);
9982 if (arg3
== NULL
) SWIG_fail
;
9986 arg4
= (int) SWIG_AsInt(obj3
);
9987 if (PyErr_Occurred()) SWIG_fail
;
9990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9991 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10021 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10022 PyObject
*resultobj
;
10023 wxImage
*arg1
= (wxImage
*) 0 ;
10025 PyObject
* obj0
= 0 ;
10026 char *kwnames
[] = {
10027 (char *) "self", NULL
10030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10035 result
= (bool)(arg1
)->Ok();
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10049 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10050 PyObject
*resultobj
;
10051 wxImage
*arg1
= (wxImage
*) 0 ;
10053 PyObject
* obj0
= 0 ;
10054 char *kwnames
[] = {
10055 (char *) "self", NULL
10058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10063 result
= (int)(arg1
)->GetWidth();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_FromInt((int)result
);
10075 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxImage
*arg1
= (wxImage
*) 0 ;
10079 PyObject
* obj0
= 0 ;
10080 char *kwnames
[] = {
10081 (char *) "self", NULL
10084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10089 result
= (int)(arg1
)->GetHeight();
10091 wxPyEndAllowThreads(__tstate
);
10092 if (PyErr_Occurred()) SWIG_fail
;
10094 resultobj
= SWIG_FromInt((int)result
);
10101 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10102 PyObject
*resultobj
;
10103 wxImage
*arg1
= (wxImage
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 char *kwnames
[] = {
10107 (char *) "self", NULL
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 result
= wxImage_GetSize(arg1
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10121 wxSize
* resultptr
;
10122 resultptr
= new wxSize((wxSize
&) result
);
10123 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10131 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10132 PyObject
*resultobj
;
10133 wxImage
*arg1
= (wxImage
*) 0 ;
10135 SwigValueWrapper
< wxImage
> result
;
10137 PyObject
* obj0
= 0 ;
10138 PyObject
* obj1
= 0 ;
10139 char *kwnames
[] = {
10140 (char *) "self",(char *) "rect", NULL
10143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10154 wxPyEndAllowThreads(__tstate
);
10155 if (PyErr_Occurred()) SWIG_fail
;
10158 wxImage
* resultptr
;
10159 resultptr
= new wxImage((wxImage
&) result
);
10160 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10168 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10169 PyObject
*resultobj
;
10170 wxImage
*arg1
= (wxImage
*) 0 ;
10171 SwigValueWrapper
< wxImage
> result
;
10172 PyObject
* obj0
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10182 result
= (arg1
)->Copy();
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10188 wxImage
* resultptr
;
10189 resultptr
= new wxImage((wxImage
&) result
);
10190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10198 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxImage
*arg1
= (wxImage
*) 0 ;
10201 wxImage
*arg2
= 0 ;
10204 PyObject
* obj0
= 0 ;
10205 PyObject
* obj1
= 0 ;
10206 PyObject
* obj2
= 0 ;
10207 PyObject
* obj3
= 0 ;
10208 char *kwnames
[] = {
10209 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10218 if (arg2
== NULL
) {
10219 PyErr_SetString(PyExc_TypeError
,"null reference");
10222 arg3
= (int) SWIG_AsInt(obj2
);
10223 if (PyErr_Occurred()) SWIG_fail
;
10224 arg4
= (int) SWIG_AsInt(obj3
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10228 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 Py_INCREF(Py_None
); resultobj
= Py_None
;
10240 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10241 PyObject
*resultobj
;
10242 wxImage
*arg1
= (wxImage
*) 0 ;
10244 PyObject
* obj0
= 0 ;
10245 char *kwnames
[] = {
10246 (char *) "self", NULL
10249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 result
= (PyObject
*)wxImage_GetData(arg1
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10259 resultobj
= result
;
10266 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10267 PyObject
*resultobj
;
10268 wxImage
*arg1
= (wxImage
*) 0 ;
10269 PyObject
*arg2
= (PyObject
*) 0 ;
10270 PyObject
* obj0
= 0 ;
10271 PyObject
* obj1
= 0 ;
10272 char *kwnames
[] = {
10273 (char *) "self",(char *) "data", NULL
10276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 wxImage_SetData(arg1
,arg2
);
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 Py_INCREF(Py_None
); resultobj
= Py_None
;
10294 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxImage
*arg1
= (wxImage
*) 0 ;
10298 PyObject
* obj0
= 0 ;
10299 char *kwnames
[] = {
10300 (char *) "self", NULL
10303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10308 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10310 wxPyEndAllowThreads(__tstate
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10313 resultobj
= result
;
10320 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10321 PyObject
*resultobj
;
10322 wxImage
*arg1
= (wxImage
*) 0 ;
10323 PyObject
*arg2
= (PyObject
*) 0 ;
10324 PyObject
* obj0
= 0 ;
10325 PyObject
* obj1
= 0 ;
10326 char *kwnames
[] = {
10327 (char *) "self",(char *) "data", NULL
10330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10336 wxImage_SetDataBuffer(arg1
,arg2
);
10338 wxPyEndAllowThreads(__tstate
);
10339 if (PyErr_Occurred()) SWIG_fail
;
10341 Py_INCREF(Py_None
); resultobj
= Py_None
;
10348 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10349 PyObject
*resultobj
;
10350 wxImage
*arg1
= (wxImage
*) 0 ;
10352 PyObject
* obj0
= 0 ;
10353 char *kwnames
[] = {
10354 (char *) "self", NULL
10357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10362 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10364 wxPyEndAllowThreads(__tstate
);
10365 if (PyErr_Occurred()) SWIG_fail
;
10367 resultobj
= result
;
10374 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10375 PyObject
*resultobj
;
10376 wxImage
*arg1
= (wxImage
*) 0 ;
10377 PyObject
*arg2
= (PyObject
*) 0 ;
10378 PyObject
* obj0
= 0 ;
10379 PyObject
* obj1
= 0 ;
10380 char *kwnames
[] = {
10381 (char *) "self",(char *) "data", NULL
10384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 wxImage_SetAlphaData(arg1
,arg2
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10395 Py_INCREF(Py_None
); resultobj
= Py_None
;
10402 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10403 PyObject
*resultobj
;
10404 wxImage
*arg1
= (wxImage
*) 0 ;
10406 PyObject
* obj0
= 0 ;
10407 char *kwnames
[] = {
10408 (char *) "self", NULL
10411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10416 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10418 wxPyEndAllowThreads(__tstate
);
10419 if (PyErr_Occurred()) SWIG_fail
;
10421 resultobj
= result
;
10428 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10429 PyObject
*resultobj
;
10430 wxImage
*arg1
= (wxImage
*) 0 ;
10431 PyObject
*arg2
= (PyObject
*) 0 ;
10432 PyObject
* obj0
= 0 ;
10433 PyObject
* obj1
= 0 ;
10434 char *kwnames
[] = {
10435 (char *) "self",(char *) "data", NULL
10438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10444 wxImage_SetAlphaBuffer(arg1
,arg2
);
10446 wxPyEndAllowThreads(__tstate
);
10447 if (PyErr_Occurred()) SWIG_fail
;
10449 Py_INCREF(Py_None
); resultobj
= Py_None
;
10456 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10457 PyObject
*resultobj
;
10458 wxImage
*arg1
= (wxImage
*) 0 ;
10459 unsigned char arg2
;
10460 unsigned char arg3
;
10461 unsigned char arg4
;
10462 PyObject
* obj0
= 0 ;
10463 PyObject
* obj1
= 0 ;
10464 PyObject
* obj2
= 0 ;
10465 PyObject
* obj3
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10473 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10474 if (PyErr_Occurred()) SWIG_fail
;
10475 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10477 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10481 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10483 wxPyEndAllowThreads(__tstate
);
10484 if (PyErr_Occurred()) SWIG_fail
;
10486 Py_INCREF(Py_None
); resultobj
= Py_None
;
10493 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10494 PyObject
*resultobj
;
10495 wxImage
*arg1
= (wxImage
*) 0 ;
10496 unsigned char result
;
10497 PyObject
* obj0
= 0 ;
10498 char *kwnames
[] = {
10499 (char *) "self", NULL
10502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10507 result
= (unsigned char)(arg1
)->GetMaskRed();
10509 wxPyEndAllowThreads(__tstate
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10519 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10520 PyObject
*resultobj
;
10521 wxImage
*arg1
= (wxImage
*) 0 ;
10522 unsigned char result
;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (unsigned char)(arg1
)->GetMaskGreen();
10535 wxPyEndAllowThreads(__tstate
);
10536 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10545 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10546 PyObject
*resultobj
;
10547 wxImage
*arg1
= (wxImage
*) 0 ;
10548 unsigned char result
;
10549 PyObject
* obj0
= 0 ;
10550 char *kwnames
[] = {
10551 (char *) "self", NULL
10554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10559 result
= (unsigned char)(arg1
)->GetMaskBlue();
10561 wxPyEndAllowThreads(__tstate
);
10562 if (PyErr_Occurred()) SWIG_fail
;
10564 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10571 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10572 PyObject
*resultobj
;
10573 wxImage
*arg1
= (wxImage
*) 0 ;
10574 bool arg2
= (bool) True
;
10575 PyObject
* obj0
= 0 ;
10576 PyObject
* obj1
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "mask", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= (bool) SWIG_AsBool(obj1
);
10586 if (PyErr_Occurred()) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 (arg1
)->SetMask(arg2
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 Py_INCREF(Py_None
); resultobj
= Py_None
;
10602 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxImage
*arg1
= (wxImage
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 char *kwnames
[] = {
10608 (char *) "self", NULL
10611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10616 result
= (bool)(arg1
)->HasMask();
10618 wxPyEndAllowThreads(__tstate
);
10619 if (PyErr_Occurred()) SWIG_fail
;
10622 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10630 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10631 PyObject
*resultobj
;
10632 wxImage
*arg1
= (wxImage
*) 0 ;
10634 wxPoint
*arg3
= 0 ;
10635 bool arg4
= (bool) True
;
10636 wxPoint
*arg5
= (wxPoint
*) NULL
;
10637 SwigValueWrapper
< wxImage
> result
;
10639 PyObject
* obj0
= 0 ;
10640 PyObject
* obj1
= 0 ;
10641 PyObject
* obj2
= 0 ;
10642 PyObject
* obj3
= 0 ;
10643 PyObject
* obj4
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10651 arg2
= (double) SWIG_AsDouble(obj1
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10658 arg4
= (bool) SWIG_AsBool(obj3
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10662 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10667 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10669 wxPyEndAllowThreads(__tstate
);
10670 if (PyErr_Occurred()) SWIG_fail
;
10673 wxImage
* resultptr
;
10674 resultptr
= new wxImage((wxImage
&) result
);
10675 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10683 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10684 PyObject
*resultobj
;
10685 wxImage
*arg1
= (wxImage
*) 0 ;
10686 bool arg2
= (bool) True
;
10687 SwigValueWrapper
< wxImage
> result
;
10688 PyObject
* obj0
= 0 ;
10689 PyObject
* obj1
= 0 ;
10690 char *kwnames
[] = {
10691 (char *) "self",(char *) "clockwise", NULL
10694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10698 arg2
= (bool) SWIG_AsBool(obj1
);
10699 if (PyErr_Occurred()) SWIG_fail
;
10702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10703 result
= (arg1
)->Rotate90(arg2
);
10705 wxPyEndAllowThreads(__tstate
);
10706 if (PyErr_Occurred()) SWIG_fail
;
10709 wxImage
* resultptr
;
10710 resultptr
= new wxImage((wxImage
&) result
);
10711 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10719 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxImage
*arg1
= (wxImage
*) 0 ;
10722 bool arg2
= (bool) True
;
10723 SwigValueWrapper
< wxImage
> result
;
10724 PyObject
* obj0
= 0 ;
10725 PyObject
* obj1
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self",(char *) "horizontally", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10734 arg2
= (bool) SWIG_AsBool(obj1
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (arg1
)->Mirror(arg2
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10745 wxImage
* resultptr
;
10746 resultptr
= new wxImage((wxImage
&) result
);
10747 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10755 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxImage
*arg1
= (wxImage
*) 0 ;
10758 unsigned char arg2
;
10759 unsigned char arg3
;
10760 unsigned char arg4
;
10761 unsigned char arg5
;
10762 unsigned char arg6
;
10763 unsigned char arg7
;
10764 PyObject
* obj0
= 0 ;
10765 PyObject
* obj1
= 0 ;
10766 PyObject
* obj2
= 0 ;
10767 PyObject
* obj3
= 0 ;
10768 PyObject
* obj4
= 0 ;
10769 PyObject
* obj5
= 0 ;
10770 PyObject
* obj6
= 0 ;
10771 char *kwnames
[] = {
10772 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10778 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10779 if (PyErr_Occurred()) SWIG_fail
;
10780 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10786 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10788 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10794 wxPyEndAllowThreads(__tstate
);
10795 if (PyErr_Occurred()) SWIG_fail
;
10797 Py_INCREF(Py_None
); resultobj
= Py_None
;
10804 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10805 PyObject
*resultobj
;
10806 wxImage
*arg1
= (wxImage
*) 0 ;
10807 unsigned char arg2
;
10808 unsigned char arg3
;
10809 unsigned char arg4
;
10810 SwigValueWrapper
< wxImage
> result
;
10811 PyObject
* obj0
= 0 ;
10812 PyObject
* obj1
= 0 ;
10813 PyObject
* obj2
= 0 ;
10814 PyObject
* obj3
= 0 ;
10815 char *kwnames
[] = {
10816 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10822 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10824 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10826 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10832 wxPyEndAllowThreads(__tstate
);
10833 if (PyErr_Occurred()) SWIG_fail
;
10836 wxImage
* resultptr
;
10837 resultptr
= new wxImage((wxImage
&) result
);
10838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10846 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
;
10848 wxImage
*arg1
= (wxImage
*) 0 ;
10849 wxString
*arg2
= 0 ;
10850 wxString
*arg3
= 0 ;
10851 bool temp2
= False
;
10852 bool temp3
= False
;
10853 PyObject
* obj0
= 0 ;
10854 PyObject
* obj1
= 0 ;
10855 PyObject
* obj2
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self",(char *) "name",(char *) "value", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10864 arg2
= wxString_in_helper(obj1
);
10865 if (arg2
== NULL
) SWIG_fail
;
10869 arg3
= wxString_in_helper(obj2
);
10870 if (arg3
== NULL
) SWIG_fail
;
10874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10875 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10877 wxPyEndAllowThreads(__tstate
);
10878 if (PyErr_Occurred()) SWIG_fail
;
10880 Py_INCREF(Py_None
); resultobj
= Py_None
;
10903 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10904 PyObject
*resultobj
;
10905 wxImage
*arg1
= (wxImage
*) 0 ;
10906 wxString
*arg2
= 0 ;
10908 bool temp2
= False
;
10909 PyObject
* obj0
= 0 ;
10910 PyObject
* obj1
= 0 ;
10911 PyObject
* obj2
= 0 ;
10912 char *kwnames
[] = {
10913 (char *) "self",(char *) "name",(char *) "value", NULL
10916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10920 arg2
= wxString_in_helper(obj1
);
10921 if (arg2
== NULL
) SWIG_fail
;
10924 arg3
= (int) SWIG_AsInt(obj2
);
10925 if (PyErr_Occurred()) SWIG_fail
;
10927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10928 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10930 wxPyEndAllowThreads(__tstate
);
10931 if (PyErr_Occurred()) SWIG_fail
;
10933 Py_INCREF(Py_None
); resultobj
= Py_None
;
10948 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10949 PyObject
*resultobj
;
10950 wxImage
*arg1
= (wxImage
*) 0 ;
10951 wxString
*arg2
= 0 ;
10953 bool temp2
= False
;
10954 PyObject
* obj0
= 0 ;
10955 PyObject
* obj1
= 0 ;
10956 char *kwnames
[] = {
10957 (char *) "self",(char *) "name", NULL
10960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10964 arg2
= wxString_in_helper(obj1
);
10965 if (arg2
== NULL
) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10996 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10997 PyObject
*resultobj
;
10998 wxImage
*arg1
= (wxImage
*) 0 ;
10999 wxString
*arg2
= 0 ;
11001 bool temp2
= False
;
11002 PyObject
* obj0
= 0 ;
11003 PyObject
* obj1
= 0 ;
11004 char *kwnames
[] = {
11005 (char *) "self",(char *) "name", NULL
11008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11012 arg2
= wxString_in_helper(obj1
);
11013 if (arg2
== NULL
) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= SWIG_FromInt((int)result
);
11038 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11039 PyObject
*resultobj
;
11040 wxImage
*arg1
= (wxImage
*) 0 ;
11041 wxString
*arg2
= 0 ;
11043 bool temp2
= False
;
11044 PyObject
* obj0
= 0 ;
11045 PyObject
* obj1
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self",(char *) "name", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11054 arg2
= wxString_in_helper(obj1
);
11055 if (arg2
== NULL
) SWIG_fail
;
11059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11060 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11062 wxPyEndAllowThreads(__tstate
);
11063 if (PyErr_Occurred()) SWIG_fail
;
11066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11082 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11083 PyObject
*resultobj
;
11084 wxImage
*arg1
= (wxImage
*) 0 ;
11085 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11086 unsigned long result
;
11087 PyObject
* obj0
= 0 ;
11088 PyObject
* obj1
= 0 ;
11089 char *kwnames
[] = {
11090 (char *) "self",(char *) "stopafter", NULL
11093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11097 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11114 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11115 PyObject
*resultobj
;
11116 wxImage
*arg1
= (wxImage
*) 0 ;
11117 wxImageHistogram
*arg2
= 0 ;
11118 unsigned long result
;
11119 PyObject
* obj0
= 0 ;
11120 PyObject
* obj1
= 0 ;
11121 char *kwnames
[] = {
11122 (char *) "self",(char *) "h", NULL
11125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11128 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11131 if (arg2
== NULL
) {
11132 PyErr_SetString(PyExc_TypeError
,"null reference");
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11149 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "handler", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11162 wxImage::AddHandler(arg1
);
11164 wxPyEndAllowThreads(__tstate
);
11165 if (PyErr_Occurred()) SWIG_fail
;
11167 Py_INCREF(Py_None
); resultobj
= Py_None
;
11174 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11175 PyObject
*resultobj
;
11176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11177 PyObject
* obj0
= 0 ;
11178 char *kwnames
[] = {
11179 (char *) "handler", NULL
11182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11187 wxImage::InsertHandler(arg1
);
11189 wxPyEndAllowThreads(__tstate
);
11190 if (PyErr_Occurred()) SWIG_fail
;
11192 Py_INCREF(Py_None
); resultobj
= Py_None
;
11199 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11200 PyObject
*resultobj
;
11201 wxString
*arg1
= 0 ;
11203 bool temp1
= False
;
11204 PyObject
* obj0
= 0 ;
11205 char *kwnames
[] = {
11206 (char *) "name", NULL
11209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11211 arg1
= wxString_in_helper(obj0
);
11212 if (arg1
== NULL
) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11223 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11239 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11240 PyObject
*resultobj
;
11242 char *kwnames
[] = {
11246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 result
= wxImage::GetImageExtWildcard();
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11256 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11258 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11267 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxImage
*arg1
= (wxImage
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11280 if (!wxPyCheckForApp()) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= wxImage_ConvertToBitmap(arg1
);
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11288 wxBitmap
* resultptr
;
11289 resultptr
= new wxBitmap((wxBitmap
&) result
);
11290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11298 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxImage
*arg1
= (wxImage
*) 0 ;
11301 unsigned char arg2
;
11302 unsigned char arg3
;
11303 unsigned char arg4
;
11305 PyObject
* obj0
= 0 ;
11306 PyObject
* obj1
= 0 ;
11307 PyObject
* obj2
= 0 ;
11308 PyObject
* obj3
= 0 ;
11309 char *kwnames
[] = {
11310 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11316 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11317 if (PyErr_Occurred()) SWIG_fail
;
11318 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11320 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11323 if (!wxPyCheckForApp()) SWIG_fail
;
11324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11325 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11327 wxPyEndAllowThreads(__tstate
);
11328 if (PyErr_Occurred()) SWIG_fail
;
11331 wxBitmap
* resultptr
;
11332 resultptr
= new wxBitmap((wxBitmap
&) result
);
11333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11341 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11344 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11346 return Py_BuildValue((char *)"");
11348 static int _wrap_NullImage_set(PyObject
*_val
) {
11349 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11354 static PyObject
*_wrap_NullImage_get() {
11357 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11362 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11363 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11368 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11373 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11375 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11382 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11383 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11388 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11393 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11395 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11402 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11403 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11408 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11413 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11415 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11422 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11423 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11428 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11433 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11435 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11442 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11443 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11448 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11453 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11455 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11462 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11463 PyObject
*resultobj
;
11464 wxBMPHandler
*result
;
11465 char *kwnames
[] = {
11469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11472 result
= (wxBMPHandler
*)new wxBMPHandler();
11474 wxPyEndAllowThreads(__tstate
);
11475 if (PyErr_Occurred()) SWIG_fail
;
11477 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11484 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11487 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11489 return Py_BuildValue((char *)"");
11491 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11492 PyObject
*resultobj
;
11493 wxICOHandler
*result
;
11494 char *kwnames
[] = {
11498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11501 result
= (wxICOHandler
*)new wxICOHandler();
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11513 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11516 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11518 return Py_BuildValue((char *)"");
11520 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11521 PyObject
*resultobj
;
11522 wxCURHandler
*result
;
11523 char *kwnames
[] = {
11527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11530 result
= (wxCURHandler
*)new wxCURHandler();
11532 wxPyEndAllowThreads(__tstate
);
11533 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11542 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11545 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11547 return Py_BuildValue((char *)"");
11549 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11550 PyObject
*resultobj
;
11551 wxANIHandler
*result
;
11552 char *kwnames
[] = {
11556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11559 result
= (wxANIHandler
*)new wxANIHandler();
11561 wxPyEndAllowThreads(__tstate
);
11562 if (PyErr_Occurred()) SWIG_fail
;
11564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11571 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11574 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11576 return Py_BuildValue((char *)"");
11578 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11579 PyObject
*resultobj
;
11580 wxPNGHandler
*result
;
11581 char *kwnames
[] = {
11585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11588 result
= (wxPNGHandler
*)new wxPNGHandler();
11590 wxPyEndAllowThreads(__tstate
);
11591 if (PyErr_Occurred()) SWIG_fail
;
11593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11600 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11603 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11605 return Py_BuildValue((char *)"");
11607 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
;
11609 wxGIFHandler
*result
;
11610 char *kwnames
[] = {
11614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11617 result
= (wxGIFHandler
*)new wxGIFHandler();
11619 wxPyEndAllowThreads(__tstate
);
11620 if (PyErr_Occurred()) SWIG_fail
;
11622 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11629 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11632 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11634 return Py_BuildValue((char *)"");
11636 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxPCXHandler
*result
;
11639 char *kwnames
[] = {
11643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11646 result
= (wxPCXHandler
*)new wxPCXHandler();
11648 wxPyEndAllowThreads(__tstate
);
11649 if (PyErr_Occurred()) SWIG_fail
;
11651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11658 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11660 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11661 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11663 return Py_BuildValue((char *)"");
11665 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11666 PyObject
*resultobj
;
11667 wxJPEGHandler
*result
;
11668 char *kwnames
[] = {
11672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11687 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11689 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11690 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11692 return Py_BuildValue((char *)"");
11694 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11695 PyObject
*resultobj
;
11696 wxPNMHandler
*result
;
11697 char *kwnames
[] = {
11701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11704 result
= (wxPNMHandler
*)new wxPNMHandler();
11706 wxPyEndAllowThreads(__tstate
);
11707 if (PyErr_Occurred()) SWIG_fail
;
11709 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11716 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11719 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11721 return Py_BuildValue((char *)"");
11723 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11724 PyObject
*resultobj
;
11725 wxXPMHandler
*result
;
11726 char *kwnames
[] = {
11730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (wxXPMHandler
*)new wxXPMHandler();
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11745 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11748 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11750 return Py_BuildValue((char *)"");
11752 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
;
11754 wxTIFFHandler
*result
;
11755 char *kwnames
[] = {
11759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11762 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11764 wxPyEndAllowThreads(__tstate
);
11765 if (PyErr_Occurred()) SWIG_fail
;
11767 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11774 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11777 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11779 return Py_BuildValue((char *)"");
11781 static PyObject
*_wrap_Quantize_Quantize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxImage
*arg1
= 0 ;
11784 wxImage
*arg2
= 0 ;
11785 int arg3
= (int) 236 ;
11786 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
11788 PyObject
* obj0
= 0 ;
11789 PyObject
* obj1
= 0 ;
11790 PyObject
* obj2
= 0 ;
11791 PyObject
* obj3
= 0 ;
11792 char *kwnames
[] = {
11793 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
11796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11800 if (arg1
== NULL
) {
11801 PyErr_SetString(PyExc_TypeError
,"null reference");
11804 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
11805 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11807 if (arg2
== NULL
) {
11808 PyErr_SetString(PyExc_TypeError
,"null reference");
11812 arg3
= (int) SWIG_AsInt(obj2
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11816 arg4
= (int) SWIG_AsInt(obj3
);
11817 if (PyErr_Occurred()) SWIG_fail
;
11820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11821 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
11823 wxPyEndAllowThreads(__tstate
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11835 static PyObject
* Quantize_swigregister(PyObject
*self
, PyObject
*args
) {
11837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11838 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
11840 return Py_BuildValue((char *)"");
11842 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11843 PyObject
*resultobj
;
11844 wxEvtHandler
*result
;
11845 char *kwnames
[] = {
11849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11852 result
= (wxEvtHandler
*)new wxEvtHandler();
11854 wxPyEndAllowThreads(__tstate
);
11855 if (PyErr_Occurred()) SWIG_fail
;
11857 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11864 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11865 PyObject
*resultobj
;
11866 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11867 wxEvtHandler
*result
;
11868 PyObject
* obj0
= 0 ;
11869 char *kwnames
[] = {
11870 (char *) "self", NULL
11873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11878 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11880 wxPyEndAllowThreads(__tstate
);
11881 if (PyErr_Occurred()) SWIG_fail
;
11884 resultobj
= wxPyMake_wxObject(result
, 0);
11892 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11893 PyObject
*resultobj
;
11894 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11895 wxEvtHandler
*result
;
11896 PyObject
* obj0
= 0 ;
11897 char *kwnames
[] = {
11898 (char *) "self", NULL
11901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11906 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11908 wxPyEndAllowThreads(__tstate
);
11909 if (PyErr_Occurred()) SWIG_fail
;
11912 resultobj
= wxPyMake_wxObject(result
, 0);
11920 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11921 PyObject
*resultobj
;
11922 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11923 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11924 PyObject
* obj0
= 0 ;
11925 PyObject
* obj1
= 0 ;
11926 char *kwnames
[] = {
11927 (char *) "self",(char *) "handler", NULL
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11933 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 (arg1
)->SetNextHandler(arg2
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 Py_INCREF(Py_None
); resultobj
= Py_None
;
11949 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11952 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 PyObject
* obj1
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "handler", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11966 (arg1
)->SetPreviousHandler(arg2
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 Py_INCREF(Py_None
); resultobj
= Py_None
;
11978 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11979 PyObject
*resultobj
;
11980 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12006 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 PyObject
* obj1
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self",(char *) "enabled", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12019 arg2
= (bool) SWIG_AsBool(obj1
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12023 (arg1
)->SetEvtHandlerEnabled(arg2
);
12025 wxPyEndAllowThreads(__tstate
);
12026 if (PyErr_Occurred()) SWIG_fail
;
12028 Py_INCREF(Py_None
); resultobj
= Py_None
;
12035 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12036 PyObject
*resultobj
;
12037 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12038 wxEvent
*arg2
= 0 ;
12040 PyObject
* obj0
= 0 ;
12041 PyObject
* obj1
= 0 ;
12042 char *kwnames
[] = {
12043 (char *) "self",(char *) "event", NULL
12046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12049 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12050 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12052 if (arg2
== NULL
) {
12053 PyErr_SetString(PyExc_TypeError
,"null reference");
12057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12058 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12060 wxPyEndAllowThreads(__tstate
);
12061 if (PyErr_Occurred()) SWIG_fail
;
12064 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12072 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12073 PyObject
*resultobj
;
12074 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12075 wxEvent
*arg2
= 0 ;
12076 PyObject
* obj0
= 0 ;
12077 PyObject
* obj1
= 0 ;
12078 char *kwnames
[] = {
12079 (char *) "self",(char *) "event", NULL
12082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12085 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12088 if (arg2
== NULL
) {
12089 PyErr_SetString(PyExc_TypeError
,"null reference");
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 (arg1
)->AddPendingEvent(*arg2
);
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 Py_INCREF(Py_None
); resultobj
= Py_None
;
12106 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12109 PyObject
* obj0
= 0 ;
12110 char *kwnames
[] = {
12111 (char *) "self", NULL
12114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 (arg1
)->ProcessPendingEvents();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 Py_INCREF(Py_None
); resultobj
= Py_None
;
12131 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12137 PyObject
*arg5
= (PyObject
*) 0 ;
12138 PyObject
* obj0
= 0 ;
12139 PyObject
* obj1
= 0 ;
12140 PyObject
* obj2
= 0 ;
12141 PyObject
* obj3
= 0 ;
12142 PyObject
* obj4
= 0 ;
12143 char *kwnames
[] = {
12144 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 arg2
= (int) SWIG_AsInt(obj1
);
12151 if (PyErr_Occurred()) SWIG_fail
;
12152 arg3
= (int) SWIG_AsInt(obj2
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12154 arg4
= (int) SWIG_AsInt(obj3
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12159 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12161 wxPyEndAllowThreads(__tstate
);
12162 if (PyErr_Occurred()) SWIG_fail
;
12164 Py_INCREF(Py_None
); resultobj
= Py_None
;
12171 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12172 PyObject
*resultobj
;
12173 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12175 int arg3
= (int) -1 ;
12176 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12178 PyObject
* obj0
= 0 ;
12179 PyObject
* obj1
= 0 ;
12180 PyObject
* obj2
= 0 ;
12181 PyObject
* obj3
= 0 ;
12182 char *kwnames
[] = {
12183 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12189 arg2
= (int) SWIG_AsInt(obj1
);
12190 if (PyErr_Occurred()) SWIG_fail
;
12192 arg3
= (int) SWIG_AsInt(obj2
);
12193 if (PyErr_Occurred()) SWIG_fail
;
12196 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12201 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12203 wxPyEndAllowThreads(__tstate
);
12204 if (PyErr_Occurred()) SWIG_fail
;
12207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12215 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12216 PyObject
*resultobj
;
12217 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12218 PyObject
*arg2
= (PyObject
*) 0 ;
12219 PyObject
* obj0
= 0 ;
12220 PyObject
* obj1
= 0 ;
12221 char *kwnames
[] = {
12222 (char *) "self",(char *) "_self", NULL
12225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12231 wxEvtHandler__setOORInfo(arg1
,arg2
);
12233 wxPyEndAllowThreads(__tstate
);
12234 if (PyErr_Occurred()) SWIG_fail
;
12236 Py_INCREF(Py_None
); resultobj
= Py_None
;
12243 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12246 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12248 return Py_BuildValue((char *)"");
12250 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12251 PyObject
*resultobj
;
12252 wxEventType result
;
12253 char *kwnames
[] = {
12257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12260 result
= (wxEventType
)wxNewEventType();
12262 wxPyEndAllowThreads(__tstate
);
12263 if (PyErr_Occurred()) SWIG_fail
;
12265 resultobj
= SWIG_FromInt((int)result
);
12272 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12273 PyObject
*resultobj
;
12274 wxEvent
*arg1
= (wxEvent
*) 0 ;
12275 PyObject
* obj0
= 0 ;
12276 char *kwnames
[] = {
12277 (char *) "self", NULL
12280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12287 wxPyEndAllowThreads(__tstate
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12290 Py_INCREF(Py_None
); resultobj
= Py_None
;
12297 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12298 PyObject
*resultobj
;
12299 wxEvent
*arg1
= (wxEvent
*) 0 ;
12301 PyObject
* obj0
= 0 ;
12302 PyObject
* obj1
= 0 ;
12303 char *kwnames
[] = {
12304 (char *) "self",(char *) "typ", NULL
12307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12310 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12311 if (PyErr_Occurred()) SWIG_fail
;
12313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12314 (arg1
)->SetEventType(arg2
);
12316 wxPyEndAllowThreads(__tstate
);
12317 if (PyErr_Occurred()) SWIG_fail
;
12319 Py_INCREF(Py_None
); resultobj
= Py_None
;
12326 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12327 PyObject
*resultobj
;
12328 wxEvent
*arg1
= (wxEvent
*) 0 ;
12329 wxEventType result
;
12330 PyObject
* obj0
= 0 ;
12331 char *kwnames
[] = {
12332 (char *) "self", NULL
12335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12340 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12342 wxPyEndAllowThreads(__tstate
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 resultobj
= SWIG_FromInt((int)result
);
12352 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12353 PyObject
*resultobj
;
12354 wxEvent
*arg1
= (wxEvent
*) 0 ;
12356 PyObject
* obj0
= 0 ;
12357 char *kwnames
[] = {
12358 (char *) "self", NULL
12361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12368 wxPyEndAllowThreads(__tstate
);
12369 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= wxPyMake_wxObject(result
, 0);
12380 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12381 PyObject
*resultobj
;
12382 wxEvent
*arg1
= (wxEvent
*) 0 ;
12383 wxObject
*arg2
= (wxObject
*) 0 ;
12384 PyObject
* obj0
= 0 ;
12385 PyObject
* obj1
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self",(char *) "obj", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12397 (arg1
)->SetEventObject(arg2
);
12399 wxPyEndAllowThreads(__tstate
);
12400 if (PyErr_Occurred()) SWIG_fail
;
12402 Py_INCREF(Py_None
); resultobj
= Py_None
;
12409 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12410 PyObject
*resultobj
;
12411 wxEvent
*arg1
= (wxEvent
*) 0 ;
12413 PyObject
* obj0
= 0 ;
12414 char *kwnames
[] = {
12415 (char *) "self", NULL
12418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12423 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12425 wxPyEndAllowThreads(__tstate
);
12426 if (PyErr_Occurred()) SWIG_fail
;
12428 resultobj
= SWIG_FromLong((long)result
);
12435 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12436 PyObject
*resultobj
;
12437 wxEvent
*arg1
= (wxEvent
*) 0 ;
12438 long arg2
= (long) 0 ;
12439 PyObject
* obj0
= 0 ;
12440 PyObject
* obj1
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self",(char *) "ts", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12449 arg2
= (long) SWIG_AsLong(obj1
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12454 (arg1
)->SetTimestamp(arg2
);
12456 wxPyEndAllowThreads(__tstate
);
12457 if (PyErr_Occurred()) SWIG_fail
;
12459 Py_INCREF(Py_None
); resultobj
= Py_None
;
12466 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12467 PyObject
*resultobj
;
12468 wxEvent
*arg1
= (wxEvent
*) 0 ;
12470 PyObject
* obj0
= 0 ;
12471 char *kwnames
[] = {
12472 (char *) "self", NULL
12475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (int)((wxEvent
const *)arg1
)->GetId();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= SWIG_FromInt((int)result
);
12492 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxEvent
*arg1
= (wxEvent
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 PyObject
* obj1
= 0 ;
12498 char *kwnames
[] = {
12499 (char *) "self",(char *) "Id", NULL
12502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12505 arg2
= (int) SWIG_AsInt(obj1
);
12506 if (PyErr_Occurred()) SWIG_fail
;
12508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12509 (arg1
)->SetId(arg2
);
12511 wxPyEndAllowThreads(__tstate
);
12512 if (PyErr_Occurred()) SWIG_fail
;
12514 Py_INCREF(Py_None
); resultobj
= Py_None
;
12521 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12522 PyObject
*resultobj
;
12523 wxEvent
*arg1
= (wxEvent
*) 0 ;
12525 PyObject
* obj0
= 0 ;
12526 char *kwnames
[] = {
12527 (char *) "self", NULL
12530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12535 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12537 wxPyEndAllowThreads(__tstate
);
12538 if (PyErr_Occurred()) SWIG_fail
;
12541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12549 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxEvent
*arg1
= (wxEvent
*) 0 ;
12552 bool arg2
= (bool) True
;
12553 PyObject
* obj0
= 0 ;
12554 PyObject
* obj1
= 0 ;
12555 char *kwnames
[] = {
12556 (char *) "self",(char *) "skip", NULL
12559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12563 arg2
= (bool) SWIG_AsBool(obj1
);
12564 if (PyErr_Occurred()) SWIG_fail
;
12567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12568 (arg1
)->Skip(arg2
);
12570 wxPyEndAllowThreads(__tstate
);
12571 if (PyErr_Occurred()) SWIG_fail
;
12573 Py_INCREF(Py_None
); resultobj
= Py_None
;
12580 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12581 PyObject
*resultobj
;
12582 wxEvent
*arg1
= (wxEvent
*) 0 ;
12584 PyObject
* obj0
= 0 ;
12585 char *kwnames
[] = {
12586 (char *) "self", NULL
12589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12594 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12596 wxPyEndAllowThreads(__tstate
);
12597 if (PyErr_Occurred()) SWIG_fail
;
12600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12608 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12609 PyObject
*resultobj
;
12610 wxEvent
*arg1
= (wxEvent
*) 0 ;
12612 PyObject
* obj0
= 0 ;
12613 char *kwnames
[] = {
12614 (char *) "self", NULL
12617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12622 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12624 wxPyEndAllowThreads(__tstate
);
12625 if (PyErr_Occurred()) SWIG_fail
;
12628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12636 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxEvent
*arg1
= (wxEvent
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (int)(arg1
)->StopPropagation();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= SWIG_FromInt((int)result
);
12662 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxEvent
*arg1
= (wxEvent
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 PyObject
* obj1
= 0 ;
12668 char *kwnames
[] = {
12669 (char *) "self",(char *) "propagationLevel", NULL
12672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12675 arg2
= (int) SWIG_AsInt(obj1
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12679 (arg1
)->ResumePropagation(arg2
);
12681 wxPyEndAllowThreads(__tstate
);
12682 if (PyErr_Occurred()) SWIG_fail
;
12684 Py_INCREF(Py_None
); resultobj
= Py_None
;
12691 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12692 PyObject
*resultobj
;
12693 wxEvent
*arg1
= (wxEvent
*) 0 ;
12695 PyObject
* obj0
= 0 ;
12696 char *kwnames
[] = {
12697 (char *) "self", NULL
12700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12705 result
= (wxEvent
*)(arg1
)->Clone();
12707 wxPyEndAllowThreads(__tstate
);
12708 if (PyErr_Occurred()) SWIG_fail
;
12710 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12717 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12720 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12722 return Py_BuildValue((char *)"");
12724 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12725 PyObject
*resultobj
;
12726 wxEvent
*arg1
= 0 ;
12727 wxPropagationDisabler
*result
;
12728 PyObject
* obj0
= 0 ;
12729 char *kwnames
[] = {
12730 (char *) "event", NULL
12733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12735 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12737 if (arg1
== NULL
) {
12738 PyErr_SetString(PyExc_TypeError
,"null reference");
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12755 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 char *kwnames
[] = {
12760 (char *) "self", NULL
12763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12770 wxPyEndAllowThreads(__tstate
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 Py_INCREF(Py_None
); resultobj
= Py_None
;
12780 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12783 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12785 return Py_BuildValue((char *)"");
12787 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12788 PyObject
*resultobj
;
12789 wxEvent
*arg1
= 0 ;
12790 wxPropagateOnce
*result
;
12791 PyObject
* obj0
= 0 ;
12792 char *kwnames
[] = {
12793 (char *) "event", NULL
12796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12798 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12800 if (arg1
== NULL
) {
12801 PyErr_SetString(PyExc_TypeError
,"null reference");
12805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12806 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12808 wxPyEndAllowThreads(__tstate
);
12809 if (PyErr_Occurred()) SWIG_fail
;
12811 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12818 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12819 PyObject
*resultobj
;
12820 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12821 PyObject
* obj0
= 0 ;
12822 char *kwnames
[] = {
12823 (char *) "self", NULL
12826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12833 wxPyEndAllowThreads(__tstate
);
12834 if (PyErr_Occurred()) SWIG_fail
;
12836 Py_INCREF(Py_None
); resultobj
= Py_None
;
12843 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12846 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12848 return Py_BuildValue((char *)"");
12850 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12853 int arg2
= (int) 0 ;
12854 wxCommandEvent
*result
;
12855 PyObject
* obj0
= 0 ;
12856 PyObject
* obj1
= 0 ;
12857 char *kwnames
[] = {
12858 (char *) "commandType",(char *) "winid", NULL
12861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12863 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12864 if (PyErr_Occurred()) SWIG_fail
;
12867 arg2
= (int) SWIG_AsInt(obj1
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12872 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12874 wxPyEndAllowThreads(__tstate
);
12875 if (PyErr_Occurred()) SWIG_fail
;
12877 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12884 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12888 PyObject
* obj0
= 0 ;
12889 char *kwnames
[] = {
12890 (char *) "self", NULL
12893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12898 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12900 wxPyEndAllowThreads(__tstate
);
12901 if (PyErr_Occurred()) SWIG_fail
;
12903 resultobj
= SWIG_FromInt((int)result
);
12910 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
;
12912 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12913 wxString
*arg2
= 0 ;
12914 bool temp2
= False
;
12915 PyObject
* obj0
= 0 ;
12916 PyObject
* obj1
= 0 ;
12917 char *kwnames
[] = {
12918 (char *) "self",(char *) "s", NULL
12921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12925 arg2
= wxString_in_helper(obj1
);
12926 if (arg2
== NULL
) SWIG_fail
;
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetString((wxString
const &)*arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 Py_INCREF(Py_None
); resultobj
= Py_None
;
12951 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12952 PyObject
*resultobj
;
12953 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12955 PyObject
* obj0
= 0 ;
12956 char *kwnames
[] = {
12957 (char *) "self", NULL
12960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12983 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12984 PyObject
*resultobj
;
12985 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12987 PyObject
* obj0
= 0 ;
12988 char *kwnames
[] = {
12989 (char *) "self", NULL
12992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12997 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12999 wxPyEndAllowThreads(__tstate
);
13000 if (PyErr_Occurred()) SWIG_fail
;
13003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13011 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13012 PyObject
*resultobj
;
13013 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13015 PyObject
* obj0
= 0 ;
13016 char *kwnames
[] = {
13017 (char *) "self", NULL
13020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13025 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13027 wxPyEndAllowThreads(__tstate
);
13028 if (PyErr_Occurred()) SWIG_fail
;
13031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13039 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13040 PyObject
*resultobj
;
13041 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13043 PyObject
* obj0
= 0 ;
13044 PyObject
* obj1
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self",(char *) "extraLong", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13052 arg2
= (long) SWIG_AsLong(obj1
);
13053 if (PyErr_Occurred()) SWIG_fail
;
13055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13056 (arg1
)->SetExtraLong(arg2
);
13058 wxPyEndAllowThreads(__tstate
);
13059 if (PyErr_Occurred()) SWIG_fail
;
13061 Py_INCREF(Py_None
); resultobj
= Py_None
;
13068 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
;
13070 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13072 PyObject
* obj0
= 0 ;
13073 char *kwnames
[] = {
13074 (char *) "self", NULL
13077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13082 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13084 wxPyEndAllowThreads(__tstate
);
13085 if (PyErr_Occurred()) SWIG_fail
;
13087 resultobj
= SWIG_FromLong((long)result
);
13094 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 PyObject
* obj1
= 0 ;
13100 char *kwnames
[] = {
13101 (char *) "self",(char *) "i", NULL
13104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13107 arg2
= (int) SWIG_AsInt(obj1
);
13108 if (PyErr_Occurred()) SWIG_fail
;
13110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13111 (arg1
)->SetInt(arg2
);
13113 wxPyEndAllowThreads(__tstate
);
13114 if (PyErr_Occurred()) SWIG_fail
;
13116 Py_INCREF(Py_None
); resultobj
= Py_None
;
13123 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13127 PyObject
* obj0
= 0 ;
13128 char *kwnames
[] = {
13129 (char *) "self", NULL
13132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13137 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13139 wxPyEndAllowThreads(__tstate
);
13140 if (PyErr_Occurred()) SWIG_fail
;
13142 resultobj
= SWIG_FromLong((long)result
);
13149 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13150 PyObject
*resultobj
;
13151 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13153 PyObject
* obj0
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13165 wxPyEndAllowThreads(__tstate
);
13166 if (PyErr_Occurred()) SWIG_fail
;
13168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13175 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13178 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13180 return Py_BuildValue((char *)"");
13182 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
;
13184 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13185 int arg2
= (int) 0 ;
13186 wxNotifyEvent
*result
;
13187 PyObject
* obj0
= 0 ;
13188 PyObject
* obj1
= 0 ;
13189 char *kwnames
[] = {
13190 (char *) "commandType",(char *) "winid", NULL
13193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13195 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13196 if (PyErr_Occurred()) SWIG_fail
;
13199 arg2
= (int) SWIG_AsInt(obj1
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13204 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13206 wxPyEndAllowThreads(__tstate
);
13207 if (PyErr_Occurred()) SWIG_fail
;
13209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13216 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 char *kwnames
[] = {
13221 (char *) "self", NULL
13224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13231 wxPyEndAllowThreads(__tstate
);
13232 if (PyErr_Occurred()) SWIG_fail
;
13234 Py_INCREF(Py_None
); resultobj
= Py_None
;
13241 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13242 PyObject
*resultobj
;
13243 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 Py_INCREF(Py_None
); resultobj
= Py_None
;
13266 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 char *kwnames
[] = {
13272 (char *) "self", NULL
13275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13280 result
= (bool)(arg1
)->IsAllowed();
13282 wxPyEndAllowThreads(__tstate
);
13283 if (PyErr_Occurred()) SWIG_fail
;
13286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13294 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13296 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13297 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13299 return Py_BuildValue((char *)"");
13301 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13302 PyObject
*resultobj
;
13303 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13304 int arg2
= (int) 0 ;
13305 int arg3
= (int) 0 ;
13306 int arg4
= (int) 0 ;
13307 wxScrollEvent
*result
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 PyObject
* obj2
= 0 ;
13311 PyObject
* obj3
= 0 ;
13312 char *kwnames
[] = {
13313 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13318 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13319 if (PyErr_Occurred()) SWIG_fail
;
13322 arg2
= (int) SWIG_AsInt(obj1
);
13323 if (PyErr_Occurred()) SWIG_fail
;
13326 arg3
= (int) SWIG_AsInt(obj2
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13330 arg4
= (int) SWIG_AsInt(obj3
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13335 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13347 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13348 PyObject
*resultobj
;
13349 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13351 PyObject
* obj0
= 0 ;
13352 char *kwnames
[] = {
13353 (char *) "self", NULL
13356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13361 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13363 wxPyEndAllowThreads(__tstate
);
13364 if (PyErr_Occurred()) SWIG_fail
;
13366 resultobj
= SWIG_FromInt((int)result
);
13373 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13374 PyObject
*resultobj
;
13375 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13377 PyObject
* obj0
= 0 ;
13378 char *kwnames
[] = {
13379 (char *) "self", NULL
13382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13387 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13389 wxPyEndAllowThreads(__tstate
);
13390 if (PyErr_Occurred()) SWIG_fail
;
13392 resultobj
= SWIG_FromInt((int)result
);
13399 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 PyObject
* obj1
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "orient", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13412 arg2
= (int) SWIG_AsInt(obj1
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13416 (arg1
)->SetOrientation(arg2
);
13418 wxPyEndAllowThreads(__tstate
);
13419 if (PyErr_Occurred()) SWIG_fail
;
13421 Py_INCREF(Py_None
); resultobj
= Py_None
;
13428 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13429 PyObject
*resultobj
;
13430 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13432 PyObject
* obj0
= 0 ;
13433 PyObject
* obj1
= 0 ;
13434 char *kwnames
[] = {
13435 (char *) "self",(char *) "pos", NULL
13438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13441 arg2
= (int) SWIG_AsInt(obj1
);
13442 if (PyErr_Occurred()) SWIG_fail
;
13444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 (arg1
)->SetPosition(arg2
);
13447 wxPyEndAllowThreads(__tstate
);
13448 if (PyErr_Occurred()) SWIG_fail
;
13450 Py_INCREF(Py_None
); resultobj
= Py_None
;
13457 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13460 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13462 return Py_BuildValue((char *)"");
13464 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13467 int arg2
= (int) 0 ;
13468 int arg3
= (int) 0 ;
13469 wxScrollWinEvent
*result
;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 char *kwnames
[] = {
13474 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13479 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13480 if (PyErr_Occurred()) SWIG_fail
;
13483 arg2
= (int) SWIG_AsInt(obj1
);
13484 if (PyErr_Occurred()) SWIG_fail
;
13487 arg3
= (int) SWIG_AsInt(obj2
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13492 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13494 wxPyEndAllowThreads(__tstate
);
13495 if (PyErr_Occurred()) SWIG_fail
;
13497 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13504 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
;
13506 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13508 PyObject
* obj0
= 0 ;
13509 char *kwnames
[] = {
13510 (char *) "self", NULL
13513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= SWIG_FromInt((int)result
);
13530 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13544 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13546 wxPyEndAllowThreads(__tstate
);
13547 if (PyErr_Occurred()) SWIG_fail
;
13549 resultobj
= SWIG_FromInt((int)result
);
13556 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13557 PyObject
*resultobj
;
13558 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13560 PyObject
* obj0
= 0 ;
13561 PyObject
* obj1
= 0 ;
13562 char *kwnames
[] = {
13563 (char *) "self",(char *) "orient", NULL
13566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13569 arg2
= (int) SWIG_AsInt(obj1
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13573 (arg1
)->SetOrientation(arg2
);
13575 wxPyEndAllowThreads(__tstate
);
13576 if (PyErr_Occurred()) SWIG_fail
;
13578 Py_INCREF(Py_None
); resultobj
= Py_None
;
13585 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13589 PyObject
* obj0
= 0 ;
13590 PyObject
* obj1
= 0 ;
13591 char *kwnames
[] = {
13592 (char *) "self",(char *) "pos", NULL
13595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13598 arg2
= (int) SWIG_AsInt(obj1
);
13599 if (PyErr_Occurred()) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 (arg1
)->SetPosition(arg2
);
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 Py_INCREF(Py_None
); resultobj
= Py_None
;
13614 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13617 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13619 return Py_BuildValue((char *)"");
13621 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
;
13623 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13624 wxMouseEvent
*result
;
13625 PyObject
* obj0
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "mouseType", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13632 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= wxPyMake_wxObject(result
, 1);
13651 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13665 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13667 wxPyEndAllowThreads(__tstate
);
13668 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13679 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13680 PyObject
*resultobj
;
13681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13682 int arg2
= (int) wxMOUSE_BTN_ANY
;
13684 PyObject
* obj0
= 0 ;
13685 PyObject
* obj1
= 0 ;
13686 char *kwnames
[] = {
13687 (char *) "self",(char *) "but", NULL
13690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13694 arg2
= (int) SWIG_AsInt(obj1
);
13695 if (PyErr_Occurred()) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13713 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
;
13715 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13716 int arg2
= (int) wxMOUSE_BTN_ANY
;
13718 PyObject
* obj0
= 0 ;
13719 PyObject
* obj1
= 0 ;
13720 char *kwnames
[] = {
13721 (char *) "self",(char *) "but", NULL
13724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13728 arg2
= (int) SWIG_AsInt(obj1
);
13729 if (PyErr_Occurred()) SWIG_fail
;
13732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13733 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13735 wxPyEndAllowThreads(__tstate
);
13736 if (PyErr_Occurred()) SWIG_fail
;
13739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13747 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13748 PyObject
*resultobj
;
13749 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13750 int arg2
= (int) wxMOUSE_BTN_ANY
;
13752 PyObject
* obj0
= 0 ;
13753 PyObject
* obj1
= 0 ;
13754 char *kwnames
[] = {
13755 (char *) "self",(char *) "but", NULL
13758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13762 arg2
= (int) SWIG_AsInt(obj1
);
13763 if (PyErr_Occurred()) SWIG_fail
;
13766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13767 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13769 wxPyEndAllowThreads(__tstate
);
13770 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13781 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "but", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13795 arg2
= (int) SWIG_AsInt(obj1
);
13796 if (PyErr_Occurred()) SWIG_fail
;
13798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13799 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13801 wxPyEndAllowThreads(__tstate
);
13802 if (PyErr_Occurred()) SWIG_fail
;
13805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13813 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13814 PyObject
*resultobj
;
13815 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13818 PyObject
* obj0
= 0 ;
13819 PyObject
* obj1
= 0 ;
13820 char *kwnames
[] = {
13821 (char *) "self",(char *) "but", NULL
13824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13827 arg2
= (int) SWIG_AsInt(obj1
);
13828 if (PyErr_Occurred()) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13845 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13859 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13861 wxPyEndAllowThreads(__tstate
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 resultobj
= SWIG_FromInt((int)result
);
13871 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13872 PyObject
*resultobj
;
13873 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13875 PyObject
* obj0
= 0 ;
13876 char *kwnames
[] = {
13877 (char *) "self", NULL
13880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13885 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13887 wxPyEndAllowThreads(__tstate
);
13888 if (PyErr_Occurred()) SWIG_fail
;
13891 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13899 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13900 PyObject
*resultobj
;
13901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13903 PyObject
* obj0
= 0 ;
13904 char *kwnames
[] = {
13905 (char *) "self", NULL
13908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13913 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13915 wxPyEndAllowThreads(__tstate
);
13916 if (PyErr_Occurred()) SWIG_fail
;
13919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13927 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13941 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13943 wxPyEndAllowThreads(__tstate
);
13944 if (PyErr_Occurred()) SWIG_fail
;
13947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13955 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13956 PyObject
*resultobj
;
13957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13959 PyObject
* obj0
= 0 ;
13960 char *kwnames
[] = {
13961 (char *) "self", NULL
13964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13969 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13971 wxPyEndAllowThreads(__tstate
);
13972 if (PyErr_Occurred()) SWIG_fail
;
13975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13983 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13984 PyObject
*resultobj
;
13985 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13987 PyObject
* obj0
= 0 ;
13988 char *kwnames
[] = {
13989 (char *) "self", NULL
13992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13997 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
13999 wxPyEndAllowThreads(__tstate
);
14000 if (PyErr_Occurred()) SWIG_fail
;
14003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14011 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
;
14013 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14015 PyObject
* obj0
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14025 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14027 wxPyEndAllowThreads(__tstate
);
14028 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14039 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14040 PyObject
*resultobj
;
14041 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14043 PyObject
* obj0
= 0 ;
14044 char *kwnames
[] = {
14045 (char *) "self", NULL
14048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14053 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14055 wxPyEndAllowThreads(__tstate
);
14056 if (PyErr_Occurred()) SWIG_fail
;
14059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14067 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14068 PyObject
*resultobj
;
14069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14071 PyObject
* obj0
= 0 ;
14072 char *kwnames
[] = {
14073 (char *) "self", NULL
14076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14081 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14083 wxPyEndAllowThreads(__tstate
);
14084 if (PyErr_Occurred()) SWIG_fail
;
14087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14095 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14109 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14111 wxPyEndAllowThreads(__tstate
);
14112 if (PyErr_Occurred()) SWIG_fail
;
14115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14123 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14124 PyObject
*resultobj
;
14125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14127 PyObject
* obj0
= 0 ;
14128 char *kwnames
[] = {
14129 (char *) "self", NULL
14132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14137 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14139 wxPyEndAllowThreads(__tstate
);
14140 if (PyErr_Occurred()) SWIG_fail
;
14143 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14151 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14152 PyObject
*resultobj
;
14153 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14155 PyObject
* obj0
= 0 ;
14156 char *kwnames
[] = {
14157 (char *) "self", NULL
14160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14165 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14167 wxPyEndAllowThreads(__tstate
);
14168 if (PyErr_Occurred()) SWIG_fail
;
14171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14179 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14180 PyObject
*resultobj
;
14181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14183 PyObject
* obj0
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14195 wxPyEndAllowThreads(__tstate
);
14196 if (PyErr_Occurred()) SWIG_fail
;
14199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14207 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14208 PyObject
*resultobj
;
14209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14211 PyObject
* obj0
= 0 ;
14212 char *kwnames
[] = {
14213 (char *) "self", NULL
14216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14221 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14223 wxPyEndAllowThreads(__tstate
);
14224 if (PyErr_Occurred()) SWIG_fail
;
14227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14235 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14236 PyObject
*resultobj
;
14237 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14239 PyObject
* obj0
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14249 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14251 wxPyEndAllowThreads(__tstate
);
14252 if (PyErr_Occurred()) SWIG_fail
;
14255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14263 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14264 PyObject
*resultobj
;
14265 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14267 PyObject
* obj0
= 0 ;
14268 char *kwnames
[] = {
14269 (char *) "self", NULL
14272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14277 result
= (bool)(arg1
)->LeftIsDown();
14279 wxPyEndAllowThreads(__tstate
);
14280 if (PyErr_Occurred()) SWIG_fail
;
14283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14291 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (bool)(arg1
)->MiddleIsDown();
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14319 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14320 PyObject
*resultobj
;
14321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14323 PyObject
* obj0
= 0 ;
14324 char *kwnames
[] = {
14325 (char *) "self", NULL
14328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14333 result
= (bool)(arg1
)->RightIsDown();
14335 wxPyEndAllowThreads(__tstate
);
14336 if (PyErr_Occurred()) SWIG_fail
;
14339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14347 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 char *kwnames
[] = {
14353 (char *) "self", NULL
14356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14375 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14379 PyObject
* obj0
= 0 ;
14380 char *kwnames
[] = {
14381 (char *) "self", NULL
14384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14389 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14391 wxPyEndAllowThreads(__tstate
);
14392 if (PyErr_Occurred()) SWIG_fail
;
14395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14403 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14423 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14431 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14432 PyObject
*resultobj
;
14433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14435 PyObject
* obj0
= 0 ;
14436 char *kwnames
[] = {
14437 (char *) "self", NULL
14440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14445 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14459 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14460 PyObject
*resultobj
;
14461 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14463 PyObject
* obj0
= 0 ;
14464 char *kwnames
[] = {
14465 (char *) "self", NULL
14468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14473 result
= (arg1
)->GetPosition();
14475 wxPyEndAllowThreads(__tstate
);
14476 if (PyErr_Occurred()) SWIG_fail
;
14479 wxPoint
* resultptr
;
14480 resultptr
= new wxPoint((wxPoint
&) result
);
14481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14489 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14490 PyObject
*resultobj
;
14491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14492 long *arg2
= (long *) 0 ;
14493 long *arg3
= (long *) 0 ;
14496 PyObject
* obj0
= 0 ;
14497 char *kwnames
[] = {
14498 (char *) "self", NULL
14503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14508 (arg1
)->GetPosition(arg2
,arg3
);
14510 wxPyEndAllowThreads(__tstate
);
14511 if (PyErr_Occurred()) SWIG_fail
;
14513 Py_INCREF(Py_None
); resultobj
= Py_None
;
14515 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14516 resultobj
= t_output_helper(resultobj
,o
);
14519 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14520 resultobj
= t_output_helper(resultobj
,o
);
14528 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14529 PyObject
*resultobj
;
14530 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self",(char *) "dc", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14545 if (arg2
== NULL
) {
14546 PyErr_SetString(PyExc_TypeError
,"null reference");
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14553 wxPyEndAllowThreads(__tstate
);
14554 if (PyErr_Occurred()) SWIG_fail
;
14557 wxPoint
* resultptr
;
14558 resultptr
= new wxPoint((wxPoint
&) result
);
14559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14567 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14568 PyObject
*resultobj
;
14569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14571 PyObject
* obj0
= 0 ;
14572 char *kwnames
[] = {
14573 (char *) "self", NULL
14576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= SWIG_FromInt((int)result
);
14593 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14594 PyObject
*resultobj
;
14595 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14597 PyObject
* obj0
= 0 ;
14598 char *kwnames
[] = {
14599 (char *) "self", NULL
14602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14607 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14609 wxPyEndAllowThreads(__tstate
);
14610 if (PyErr_Occurred()) SWIG_fail
;
14612 resultobj
= SWIG_FromInt((int)result
);
14619 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 char *kwnames
[] = {
14625 (char *) "self", NULL
14628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14633 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14635 wxPyEndAllowThreads(__tstate
);
14636 if (PyErr_Occurred()) SWIG_fail
;
14638 resultobj
= SWIG_FromInt((int)result
);
14645 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14646 PyObject
*resultobj
;
14647 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 char *kwnames
[] = {
14651 (char *) "self", NULL
14654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14659 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14661 wxPyEndAllowThreads(__tstate
);
14662 if (PyErr_Occurred()) SWIG_fail
;
14664 resultobj
= SWIG_FromInt((int)result
);
14671 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14672 PyObject
*resultobj
;
14673 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14675 PyObject
* obj0
= 0 ;
14676 char *kwnames
[] = {
14677 (char *) "self", NULL
14680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14685 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14690 resultobj
= SWIG_FromInt((int)result
);
14697 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14698 PyObject
*resultobj
;
14699 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14701 PyObject
* obj0
= 0 ;
14702 char *kwnames
[] = {
14703 (char *) "self", NULL
14706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14711 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14713 wxPyEndAllowThreads(__tstate
);
14714 if (PyErr_Occurred()) SWIG_fail
;
14717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14725 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
;
14727 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14729 PyObject
* obj0
= 0 ;
14730 PyObject
* obj1
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self",(char *) "m_x", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14738 arg2
= (int) SWIG_AsInt(obj1
);
14739 if (PyErr_Occurred()) SWIG_fail
;
14740 if (arg1
) (arg1
)->m_x
= arg2
;
14742 Py_INCREF(Py_None
); resultobj
= Py_None
;
14749 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14750 PyObject
*resultobj
;
14751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14753 PyObject
* obj0
= 0 ;
14754 char *kwnames
[] = {
14755 (char *) "self", NULL
14758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14761 result
= (int) ((arg1
)->m_x
);
14763 resultobj
= SWIG_FromInt((int)result
);
14770 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14771 PyObject
*resultobj
;
14772 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14774 PyObject
* obj0
= 0 ;
14775 PyObject
* obj1
= 0 ;
14776 char *kwnames
[] = {
14777 (char *) "self",(char *) "m_y", NULL
14780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14783 arg2
= (int) SWIG_AsInt(obj1
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14785 if (arg1
) (arg1
)->m_y
= arg2
;
14787 Py_INCREF(Py_None
); resultobj
= Py_None
;
14794 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14806 result
= (int) ((arg1
)->m_y
);
14808 resultobj
= SWIG_FromInt((int)result
);
14815 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 PyObject
* obj1
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "self",(char *) "m_leftDown", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14828 arg2
= (bool) SWIG_AsBool(obj1
);
14829 if (PyErr_Occurred()) SWIG_fail
;
14830 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14832 Py_INCREF(Py_None
); resultobj
= Py_None
;
14839 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14851 result
= (bool) ((arg1
)->m_leftDown
);
14854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14862 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14863 PyObject
*resultobj
;
14864 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14866 PyObject
* obj0
= 0 ;
14867 PyObject
* obj1
= 0 ;
14868 char *kwnames
[] = {
14869 (char *) "self",(char *) "m_middleDown", NULL
14872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14875 arg2
= (bool) SWIG_AsBool(obj1
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14877 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14879 Py_INCREF(Py_None
); resultobj
= Py_None
;
14886 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14890 PyObject
* obj0
= 0 ;
14891 char *kwnames
[] = {
14892 (char *) "self", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 result
= (bool) ((arg1
)->m_middleDown
);
14901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14909 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 PyObject
* obj1
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self",(char *) "m_rightDown", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 arg2
= (bool) SWIG_AsBool(obj1
);
14923 if (PyErr_Occurred()) SWIG_fail
;
14924 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14926 Py_INCREF(Py_None
); resultobj
= Py_None
;
14933 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14934 PyObject
*resultobj
;
14935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14937 PyObject
* obj0
= 0 ;
14938 char *kwnames
[] = {
14939 (char *) "self", NULL
14942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14945 result
= (bool) ((arg1
)->m_rightDown
);
14948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14956 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
;
14958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14960 PyObject
* obj0
= 0 ;
14961 PyObject
* obj1
= 0 ;
14962 char *kwnames
[] = {
14963 (char *) "self",(char *) "m_controlDown", NULL
14966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14969 arg2
= (bool) SWIG_AsBool(obj1
);
14970 if (PyErr_Occurred()) SWIG_fail
;
14971 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14973 Py_INCREF(Py_None
); resultobj
= Py_None
;
14980 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14981 PyObject
*resultobj
;
14982 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14984 PyObject
* obj0
= 0 ;
14985 char *kwnames
[] = {
14986 (char *) "self", NULL
14989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14992 result
= (bool) ((arg1
)->m_controlDown
);
14995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15003 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15004 PyObject
*resultobj
;
15005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15007 PyObject
* obj0
= 0 ;
15008 PyObject
* obj1
= 0 ;
15009 char *kwnames
[] = {
15010 (char *) "self",(char *) "m_shiftDown", NULL
15013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15016 arg2
= (bool) SWIG_AsBool(obj1
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15018 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15020 Py_INCREF(Py_None
); resultobj
= Py_None
;
15027 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15028 PyObject
*resultobj
;
15029 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15031 PyObject
* obj0
= 0 ;
15032 char *kwnames
[] = {
15033 (char *) "self", NULL
15036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15039 result
= (bool) ((arg1
)->m_shiftDown
);
15042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15050 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15051 PyObject
*resultobj
;
15052 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15054 PyObject
* obj0
= 0 ;
15055 PyObject
* obj1
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self",(char *) "m_altDown", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15063 arg2
= (bool) SWIG_AsBool(obj1
);
15064 if (PyErr_Occurred()) SWIG_fail
;
15065 if (arg1
) (arg1
)->m_altDown
= arg2
;
15067 Py_INCREF(Py_None
); resultobj
= Py_None
;
15074 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15075 PyObject
*resultobj
;
15076 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15078 PyObject
* obj0
= 0 ;
15079 char *kwnames
[] = {
15080 (char *) "self", NULL
15083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15086 result
= (bool) ((arg1
)->m_altDown
);
15089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15097 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15098 PyObject
*resultobj
;
15099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "self",(char *) "m_metaDown", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15110 arg2
= (bool) SWIG_AsBool(obj1
);
15111 if (PyErr_Occurred()) SWIG_fail
;
15112 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15114 Py_INCREF(Py_None
); resultobj
= Py_None
;
15121 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15122 PyObject
*resultobj
;
15123 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15125 PyObject
* obj0
= 0 ;
15126 char *kwnames
[] = {
15127 (char *) "self", NULL
15130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15133 result
= (bool) ((arg1
)->m_metaDown
);
15136 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15144 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 PyObject
* obj1
= 0 ;
15150 char *kwnames
[] = {
15151 (char *) "self",(char *) "m_wheelRotation", NULL
15154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15157 arg2
= (int) SWIG_AsInt(obj1
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15159 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15161 Py_INCREF(Py_None
); resultobj
= Py_None
;
15168 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15169 PyObject
*resultobj
;
15170 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15172 PyObject
* obj0
= 0 ;
15173 char *kwnames
[] = {
15174 (char *) "self", NULL
15177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15180 result
= (int) ((arg1
)->m_wheelRotation
);
15182 resultobj
= SWIG_FromInt((int)result
);
15189 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 PyObject
* obj1
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self",(char *) "m_wheelDelta", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 arg2
= (int) SWIG_AsInt(obj1
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15204 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15206 Py_INCREF(Py_None
); resultobj
= Py_None
;
15213 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15217 PyObject
* obj0
= 0 ;
15218 char *kwnames
[] = {
15219 (char *) "self", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15225 result
= (int) ((arg1
)->m_wheelDelta
);
15227 resultobj
= SWIG_FromInt((int)result
);
15234 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15235 PyObject
*resultobj
;
15236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15238 PyObject
* obj0
= 0 ;
15239 PyObject
* obj1
= 0 ;
15240 char *kwnames
[] = {
15241 (char *) "self",(char *) "m_linesPerAction", NULL
15244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15247 arg2
= (int) SWIG_AsInt(obj1
);
15248 if (PyErr_Occurred()) SWIG_fail
;
15249 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15251 Py_INCREF(Py_None
); resultobj
= Py_None
;
15258 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15259 PyObject
*resultobj
;
15260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15262 PyObject
* obj0
= 0 ;
15263 char *kwnames
[] = {
15264 (char *) "self", NULL
15267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15270 result
= (int) ((arg1
)->m_linesPerAction
);
15272 resultobj
= SWIG_FromInt((int)result
);
15279 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15281 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15282 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15284 return Py_BuildValue((char *)"");
15286 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15287 PyObject
*resultobj
;
15288 int arg1
= (int) 0 ;
15289 int arg2
= (int) 0 ;
15290 wxSetCursorEvent
*result
;
15291 PyObject
* obj0
= 0 ;
15292 PyObject
* obj1
= 0 ;
15293 char *kwnames
[] = {
15294 (char *) "x",(char *) "y", NULL
15297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15299 arg1
= (int) SWIG_AsInt(obj0
);
15300 if (PyErr_Occurred()) SWIG_fail
;
15303 arg2
= (int) SWIG_AsInt(obj1
);
15304 if (PyErr_Occurred()) SWIG_fail
;
15307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15308 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15310 wxPyEndAllowThreads(__tstate
);
15311 if (PyErr_Occurred()) SWIG_fail
;
15313 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15320 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15324 PyObject
* obj0
= 0 ;
15325 char *kwnames
[] = {
15326 (char *) "self", NULL
15329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15334 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15336 wxPyEndAllowThreads(__tstate
);
15337 if (PyErr_Occurred()) SWIG_fail
;
15339 resultobj
= SWIG_FromInt((int)result
);
15346 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15347 PyObject
*resultobj
;
15348 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15350 PyObject
* obj0
= 0 ;
15351 char *kwnames
[] = {
15352 (char *) "self", NULL
15355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 resultobj
= SWIG_FromInt((int)result
);
15372 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15375 wxCursor
*arg2
= 0 ;
15376 PyObject
* obj0
= 0 ;
15377 PyObject
* obj1
= 0 ;
15378 char *kwnames
[] = {
15379 (char *) "self",(char *) "cursor", NULL
15382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15385 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15388 if (arg2
== NULL
) {
15389 PyErr_SetString(PyExc_TypeError
,"null reference");
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 Py_INCREF(Py_None
); resultobj
= Py_None
;
15406 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15410 PyObject
* obj0
= 0 ;
15411 char *kwnames
[] = {
15412 (char *) "self", NULL
15415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15422 result
= (wxCursor
*) &_result_ref
;
15425 wxPyEndAllowThreads(__tstate
);
15426 if (PyErr_Occurred()) SWIG_fail
;
15429 wxCursor
* resultptr
= new wxCursor(*result
);
15430 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15438 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15458 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15466 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15468 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15469 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15471 return Py_BuildValue((char *)"");
15473 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15476 wxKeyEvent
*result
;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "keyType", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15484 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15485 if (PyErr_Occurred()) SWIG_fail
;
15488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15489 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15491 wxPyEndAllowThreads(__tstate
);
15492 if (PyErr_Occurred()) SWIG_fail
;
15494 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15501 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15502 PyObject
*resultobj
;
15503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15505 PyObject
* obj0
= 0 ;
15506 char *kwnames
[] = {
15507 (char *) "self", NULL
15510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15515 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15517 wxPyEndAllowThreads(__tstate
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15529 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15557 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15558 PyObject
*resultobj
;
15559 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15561 PyObject
* obj0
= 0 ;
15562 char *kwnames
[] = {
15563 (char *) "self", NULL
15566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15571 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15573 wxPyEndAllowThreads(__tstate
);
15574 if (PyErr_Occurred()) SWIG_fail
;
15577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15585 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15589 PyObject
* obj0
= 0 ;
15590 char *kwnames
[] = {
15591 (char *) "self", NULL
15594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15599 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15601 wxPyEndAllowThreads(__tstate
);
15602 if (PyErr_Occurred()) SWIG_fail
;
15605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15613 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15614 PyObject
*resultobj
;
15615 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15617 PyObject
* obj0
= 0 ;
15618 char *kwnames
[] = {
15619 (char *) "self", NULL
15622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15629 wxPyEndAllowThreads(__tstate
);
15630 if (PyErr_Occurred()) SWIG_fail
;
15633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 char *kwnames
[] = {
15647 (char *) "self", NULL
15650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15669 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15670 PyObject
*resultobj
;
15671 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15673 PyObject
* obj0
= 0 ;
15674 char *kwnames
[] = {
15675 (char *) "self", NULL
15678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15683 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15685 wxPyEndAllowThreads(__tstate
);
15686 if (PyErr_Occurred()) SWIG_fail
;
15688 resultobj
= SWIG_FromInt((int)result
);
15695 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15699 PyObject
* obj0
= 0 ;
15700 char *kwnames
[] = {
15701 (char *) "self", NULL
15704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_FromInt((int)result
);
15721 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15724 unsigned int result
;
15725 PyObject
* obj0
= 0 ;
15726 char *kwnames
[] = {
15727 (char *) "self", NULL
15730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15735 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15737 wxPyEndAllowThreads(__tstate
);
15738 if (PyErr_Occurred()) SWIG_fail
;
15740 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15747 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15748 PyObject
*resultobj
;
15749 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15750 unsigned int result
;
15751 PyObject
* obj0
= 0 ;
15752 char *kwnames
[] = {
15753 (char *) "self", NULL
15756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15761 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15763 wxPyEndAllowThreads(__tstate
);
15764 if (PyErr_Occurred()) SWIG_fail
;
15766 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15773 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15774 PyObject
*resultobj
;
15775 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15777 PyObject
* obj0
= 0 ;
15778 char *kwnames
[] = {
15779 (char *) "self", NULL
15782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15787 result
= (arg1
)->GetPosition();
15789 wxPyEndAllowThreads(__tstate
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15793 wxPoint
* resultptr
;
15794 resultptr
= new wxPoint((wxPoint
&) result
);
15795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15803 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15804 PyObject
*resultobj
;
15805 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15806 long *arg2
= (long *) 0 ;
15807 long *arg3
= (long *) 0 ;
15810 PyObject
* obj0
= 0 ;
15811 char *kwnames
[] = {
15812 (char *) "self", NULL
15817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15822 (arg1
)->GetPosition(arg2
,arg3
);
15824 wxPyEndAllowThreads(__tstate
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15827 Py_INCREF(Py_None
); resultobj
= Py_None
;
15829 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15830 resultobj
= t_output_helper(resultobj
,o
);
15833 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15834 resultobj
= t_output_helper(resultobj
,o
);
15842 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15843 PyObject
*resultobj
;
15844 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 PyObject
* obj0
= 0 ;
15847 char *kwnames
[] = {
15848 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15856 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 resultobj
= SWIG_FromInt((int)result
);
15868 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15869 PyObject
*resultobj
;
15870 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15872 PyObject
* obj0
= 0 ;
15873 char *kwnames
[] = {
15874 (char *) "self", NULL
15877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15882 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15884 wxPyEndAllowThreads(__tstate
);
15885 if (PyErr_Occurred()) SWIG_fail
;
15887 resultobj
= SWIG_FromInt((int)result
);
15894 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15895 PyObject
*resultobj
;
15896 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15898 PyObject
* obj0
= 0 ;
15899 PyObject
* obj1
= 0 ;
15900 char *kwnames
[] = {
15901 (char *) "self",(char *) "m_x", NULL
15904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15907 arg2
= (int) SWIG_AsInt(obj1
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15909 if (arg1
) (arg1
)->m_x
= arg2
;
15911 Py_INCREF(Py_None
); resultobj
= Py_None
;
15918 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15930 result
= (int) ((arg1
)->m_x
);
15932 resultobj
= SWIG_FromInt((int)result
);
15939 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 PyObject
* obj1
= 0 ;
15945 char *kwnames
[] = {
15946 (char *) "self",(char *) "m_y", NULL
15949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 arg2
= (int) SWIG_AsInt(obj1
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15954 if (arg1
) (arg1
)->m_y
= arg2
;
15956 Py_INCREF(Py_None
); resultobj
= Py_None
;
15963 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15964 PyObject
*resultobj
;
15965 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15967 PyObject
* obj0
= 0 ;
15968 char *kwnames
[] = {
15969 (char *) "self", NULL
15972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15975 result
= (int) ((arg1
)->m_y
);
15977 resultobj
= SWIG_FromInt((int)result
);
15984 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15985 PyObject
*resultobj
;
15986 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15988 PyObject
* obj0
= 0 ;
15989 PyObject
* obj1
= 0 ;
15990 char *kwnames
[] = {
15991 (char *) "self",(char *) "m_keyCode", NULL
15994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15997 arg2
= (long) SWIG_AsLong(obj1
);
15998 if (PyErr_Occurred()) SWIG_fail
;
15999 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16001 Py_INCREF(Py_None
); resultobj
= Py_None
;
16008 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16009 PyObject
*resultobj
;
16010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16012 PyObject
* obj0
= 0 ;
16013 char *kwnames
[] = {
16014 (char *) "self", NULL
16017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16020 result
= (long) ((arg1
)->m_keyCode
);
16022 resultobj
= SWIG_FromLong((long)result
);
16029 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16030 PyObject
*resultobj
;
16031 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16033 PyObject
* obj0
= 0 ;
16034 PyObject
* obj1
= 0 ;
16035 char *kwnames
[] = {
16036 (char *) "self",(char *) "m_controlDown", NULL
16039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16042 arg2
= (bool) SWIG_AsBool(obj1
);
16043 if (PyErr_Occurred()) SWIG_fail
;
16044 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16046 Py_INCREF(Py_None
); resultobj
= Py_None
;
16053 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16054 PyObject
*resultobj
;
16055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16057 PyObject
* obj0
= 0 ;
16058 char *kwnames
[] = {
16059 (char *) "self", NULL
16062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16065 result
= (bool) ((arg1
)->m_controlDown
);
16068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16076 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "m_shiftDown", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 arg2
= (bool) SWIG_AsBool(obj1
);
16090 if (PyErr_Occurred()) SWIG_fail
;
16091 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 result
= (bool) ((arg1
)->m_shiftDown
);
16115 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16123 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16124 PyObject
*resultobj
;
16125 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16127 PyObject
* obj0
= 0 ;
16128 PyObject
* obj1
= 0 ;
16129 char *kwnames
[] = {
16130 (char *) "self",(char *) "m_altDown", NULL
16133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16136 arg2
= (bool) SWIG_AsBool(obj1
);
16137 if (PyErr_Occurred()) SWIG_fail
;
16138 if (arg1
) (arg1
)->m_altDown
= arg2
;
16140 Py_INCREF(Py_None
); resultobj
= Py_None
;
16147 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
;
16149 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16151 PyObject
* obj0
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "self", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16159 result
= (bool) ((arg1
)->m_altDown
);
16162 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16170 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16171 PyObject
*resultobj
;
16172 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16174 PyObject
* obj0
= 0 ;
16175 PyObject
* obj1
= 0 ;
16176 char *kwnames
[] = {
16177 (char *) "self",(char *) "m_metaDown", NULL
16180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16183 arg2
= (bool) SWIG_AsBool(obj1
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16185 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16187 Py_INCREF(Py_None
); resultobj
= Py_None
;
16194 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16195 PyObject
*resultobj
;
16196 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16198 PyObject
* obj0
= 0 ;
16199 char *kwnames
[] = {
16200 (char *) "self", NULL
16203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16206 result
= (bool) ((arg1
)->m_metaDown
);
16209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16217 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16218 PyObject
*resultobj
;
16219 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16221 PyObject
* obj0
= 0 ;
16222 PyObject
* obj1
= 0 ;
16223 char *kwnames
[] = {
16224 (char *) "self",(char *) "m_scanCode", NULL
16227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16230 arg2
= (bool) SWIG_AsBool(obj1
);
16231 if (PyErr_Occurred()) SWIG_fail
;
16232 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16234 Py_INCREF(Py_None
); resultobj
= Py_None
;
16241 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 char *kwnames
[] = {
16247 (char *) "self", NULL
16250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16253 result
= (bool) ((arg1
)->m_scanCode
);
16256 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16264 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16265 PyObject
*resultobj
;
16266 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16267 unsigned int arg2
;
16268 PyObject
* obj0
= 0 ;
16269 PyObject
* obj1
= 0 ;
16270 char *kwnames
[] = {
16271 (char *) "self",(char *) "m_rawCode", NULL
16274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16277 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16279 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16281 Py_INCREF(Py_None
); resultobj
= Py_None
;
16288 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16291 unsigned int result
;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16300 result
= (unsigned int) ((arg1
)->m_rawCode
);
16302 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16309 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16310 PyObject
*resultobj
;
16311 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16312 unsigned int arg2
;
16313 PyObject
* obj0
= 0 ;
16314 PyObject
* obj1
= 0 ;
16315 char *kwnames
[] = {
16316 (char *) "self",(char *) "m_rawFlags", NULL
16319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16322 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16323 if (PyErr_Occurred()) SWIG_fail
;
16324 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16326 Py_INCREF(Py_None
); resultobj
= Py_None
;
16333 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16336 unsigned int result
;
16337 PyObject
* obj0
= 0 ;
16338 char *kwnames
[] = {
16339 (char *) "self", NULL
16342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16345 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16347 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16354 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16357 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16359 return Py_BuildValue((char *)"");
16361 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16362 PyObject
*resultobj
;
16363 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16364 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16365 int arg2
= (int) 0 ;
16366 wxSizeEvent
*result
;
16368 PyObject
* obj0
= 0 ;
16369 PyObject
* obj1
= 0 ;
16370 char *kwnames
[] = {
16371 (char *) "sz",(char *) "winid", NULL
16374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16378 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16382 arg2
= (int) SWIG_AsInt(obj1
);
16383 if (PyErr_Occurred()) SWIG_fail
;
16386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16387 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16389 wxPyEndAllowThreads(__tstate
);
16390 if (PyErr_Occurred()) SWIG_fail
;
16392 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16399 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
;
16401 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16403 PyObject
* obj0
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "self", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16419 wxSize
* resultptr
;
16420 resultptr
= new wxSize((wxSize
&) result
);
16421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16429 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16430 PyObject
*resultobj
;
16431 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16433 PyObject
* obj0
= 0 ;
16434 char *kwnames
[] = {
16435 (char *) "self", NULL
16438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16443 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16445 wxPyEndAllowThreads(__tstate
);
16446 if (PyErr_Occurred()) SWIG_fail
;
16449 wxRect
* resultptr
;
16450 resultptr
= new wxRect((wxRect
&) result
);
16451 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16459 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16460 PyObject
*resultobj
;
16461 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 PyObject
* obj1
= 0 ;
16466 char *kwnames
[] = {
16467 (char *) "self",(char *) "rect", NULL
16470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16473 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16474 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16478 (arg1
)->SetRect(arg2
);
16480 wxPyEndAllowThreads(__tstate
);
16481 if (PyErr_Occurred()) SWIG_fail
;
16483 Py_INCREF(Py_None
); resultobj
= Py_None
;
16490 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16491 PyObject
*resultobj
;
16492 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 PyObject
* obj1
= 0 ;
16497 char *kwnames
[] = {
16498 (char *) "self",(char *) "size", NULL
16501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16505 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16509 wxSizeEvent_SetSize(arg1
,arg2
);
16511 wxPyEndAllowThreads(__tstate
);
16512 if (PyErr_Occurred()) SWIG_fail
;
16514 Py_INCREF(Py_None
); resultobj
= Py_None
;
16521 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16522 PyObject
*resultobj
;
16523 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16524 wxSize
*arg2
= (wxSize
*) 0 ;
16525 PyObject
* obj0
= 0 ;
16526 PyObject
* obj1
= 0 ;
16527 char *kwnames
[] = {
16528 (char *) "self",(char *) "m_size", NULL
16531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16534 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 if (arg1
) (arg1
)->m_size
= *arg2
;
16538 Py_INCREF(Py_None
); resultobj
= Py_None
;
16545 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16546 PyObject
*resultobj
;
16547 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16549 PyObject
* obj0
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16557 result
= (wxSize
*)& ((arg1
)->m_size
);
16559 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16566 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16567 PyObject
*resultobj
;
16568 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16569 wxRect
*arg2
= (wxRect
*) 0 ;
16570 PyObject
* obj0
= 0 ;
16571 PyObject
* obj1
= 0 ;
16572 char *kwnames
[] = {
16573 (char *) "self",(char *) "m_rect", NULL
16576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 if (arg1
) (arg1
)->m_rect
= *arg2
;
16583 Py_INCREF(Py_None
); resultobj
= Py_None
;
16590 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16591 PyObject
*resultobj
;
16592 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16594 PyObject
* obj0
= 0 ;
16595 char *kwnames
[] = {
16596 (char *) "self", NULL
16599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 result
= (wxRect
*)& ((arg1
)->m_rect
);
16604 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16611 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16613 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16614 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16616 return Py_BuildValue((char *)"");
16618 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16621 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16622 int arg2
= (int) 0 ;
16623 wxMoveEvent
*result
;
16625 PyObject
* obj0
= 0 ;
16626 PyObject
* obj1
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "pos",(char *) "winid", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16635 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16639 arg2
= (int) SWIG_AsInt(obj1
);
16640 if (PyErr_Occurred()) SWIG_fail
;
16643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16644 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16646 wxPyEndAllowThreads(__tstate
);
16647 if (PyErr_Occurred()) SWIG_fail
;
16649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16656 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16657 PyObject
*resultobj
;
16658 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16660 PyObject
* obj0
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "self", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16672 wxPyEndAllowThreads(__tstate
);
16673 if (PyErr_Occurred()) SWIG_fail
;
16676 wxPoint
* resultptr
;
16677 resultptr
= new wxPoint((wxPoint
&) result
);
16678 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16686 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16687 PyObject
*resultobj
;
16688 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16690 PyObject
* obj0
= 0 ;
16691 char *kwnames
[] = {
16692 (char *) "self", NULL
16695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16700 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 wxRect
* resultptr
;
16707 resultptr
= new wxRect((wxRect
&) result
);
16708 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16716 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16717 PyObject
*resultobj
;
16718 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16721 PyObject
* obj0
= 0 ;
16722 PyObject
* obj1
= 0 ;
16723 char *kwnames
[] = {
16724 (char *) "self",(char *) "rect", NULL
16727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16730 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16731 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16735 (arg1
)->SetRect(arg2
);
16737 wxPyEndAllowThreads(__tstate
);
16738 if (PyErr_Occurred()) SWIG_fail
;
16740 Py_INCREF(Py_None
); resultobj
= Py_None
;
16747 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16748 PyObject
*resultobj
;
16749 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16752 PyObject
* obj0
= 0 ;
16753 PyObject
* obj1
= 0 ;
16754 char *kwnames
[] = {
16755 (char *) "self",(char *) "pos", NULL
16758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16761 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16762 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16766 wxMoveEvent_SetPosition(arg1
,arg2
);
16768 wxPyEndAllowThreads(__tstate
);
16769 if (PyErr_Occurred()) SWIG_fail
;
16771 Py_INCREF(Py_None
); resultobj
= Py_None
;
16778 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16779 PyObject
*resultobj
;
16780 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16781 wxPoint
*arg2
= (wxPoint
*) 0 ;
16782 PyObject
* obj0
= 0 ;
16783 PyObject
* obj1
= 0 ;
16784 char *kwnames
[] = {
16785 (char *) "self",(char *) "m_pos", NULL
16788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if (arg1
) (arg1
)->m_pos
= *arg2
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16803 PyObject
*resultobj
;
16804 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16806 PyObject
* obj0
= 0 ;
16807 char *kwnames
[] = {
16808 (char *) "self", NULL
16811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16814 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16823 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16824 PyObject
*resultobj
;
16825 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16826 wxRect
*arg2
= (wxRect
*) 0 ;
16827 PyObject
* obj0
= 0 ;
16828 PyObject
* obj1
= 0 ;
16829 char *kwnames
[] = {
16830 (char *) "self",(char *) "m_rect", NULL
16833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if (arg1
) (arg1
)->m_rect
= *arg2
;
16840 Py_INCREF(Py_None
); resultobj
= Py_None
;
16847 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16848 PyObject
*resultobj
;
16849 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16851 PyObject
* obj0
= 0 ;
16852 char *kwnames
[] = {
16853 (char *) "self", NULL
16856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16859 result
= (wxRect
*)& ((arg1
)->m_rect
);
16861 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16868 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16871 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16873 return Py_BuildValue((char *)"");
16875 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16877 int arg1
= (int) 0 ;
16878 wxPaintEvent
*result
;
16879 PyObject
* obj0
= 0 ;
16880 char *kwnames
[] = {
16881 (char *) "Id", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16886 arg1
= (int) SWIG_AsInt(obj0
);
16887 if (PyErr_Occurred()) SWIG_fail
;
16890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16891 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16893 wxPyEndAllowThreads(__tstate
);
16894 if (PyErr_Occurred()) SWIG_fail
;
16896 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16903 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16906 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16908 return Py_BuildValue((char *)"");
16910 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16911 PyObject
*resultobj
;
16912 int arg1
= (int) 0 ;
16913 wxNcPaintEvent
*result
;
16914 PyObject
* obj0
= 0 ;
16915 char *kwnames
[] = {
16916 (char *) "winid", NULL
16919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16921 arg1
= (int) SWIG_AsInt(obj0
);
16922 if (PyErr_Occurred()) SWIG_fail
;
16925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16926 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16928 wxPyEndAllowThreads(__tstate
);
16929 if (PyErr_Occurred()) SWIG_fail
;
16931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16938 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16940 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16941 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16943 return Py_BuildValue((char *)"");
16945 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16946 PyObject
*resultobj
;
16947 int arg1
= (int) 0 ;
16948 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16949 wxEraseEvent
*result
;
16950 PyObject
* obj0
= 0 ;
16951 PyObject
* obj1
= 0 ;
16952 char *kwnames
[] = {
16953 (char *) "Id",(char *) "dc", NULL
16956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16958 arg1
= (int) SWIG_AsInt(obj0
);
16959 if (PyErr_Occurred()) SWIG_fail
;
16962 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16967 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16979 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16983 PyObject
* obj0
= 0 ;
16984 char *kwnames
[] = {
16985 (char *) "self", NULL
16988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= wxPyMake_wxObject(result
, 0);
17007 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17009 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17010 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17012 return Py_BuildValue((char *)"");
17014 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17015 PyObject
*resultobj
;
17016 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17017 int arg2
= (int) 0 ;
17018 wxFocusEvent
*result
;
17019 PyObject
* obj0
= 0 ;
17020 PyObject
* obj1
= 0 ;
17021 char *kwnames
[] = {
17022 (char *) "type",(char *) "winid", NULL
17025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17027 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17031 arg2
= (int) SWIG_AsInt(obj1
);
17032 if (PyErr_Occurred()) SWIG_fail
;
17035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17036 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17038 wxPyEndAllowThreads(__tstate
);
17039 if (PyErr_Occurred()) SWIG_fail
;
17041 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17048 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17052 PyObject
* obj0
= 0 ;
17053 char *kwnames
[] = {
17054 (char *) "self", NULL
17057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= wxPyMake_wxObject(result
, 0);
17076 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17077 PyObject
*resultobj
;
17078 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17079 wxWindow
*arg2
= (wxWindow
*) 0 ;
17080 PyObject
* obj0
= 0 ;
17081 PyObject
* obj1
= 0 ;
17082 char *kwnames
[] = {
17083 (char *) "self",(char *) "win", NULL
17086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 (arg1
)->SetWindow(arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 Py_INCREF(Py_None
); resultobj
= Py_None
;
17105 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17108 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17110 return Py_BuildValue((char *)"");
17112 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17113 PyObject
*resultobj
;
17114 wxWindow
*arg1
= (wxWindow
*) NULL
;
17115 wxChildFocusEvent
*result
;
17116 PyObject
* obj0
= 0 ;
17117 char *kwnames
[] = {
17118 (char *) "win", NULL
17121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17128 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17130 wxPyEndAllowThreads(__tstate
);
17131 if (PyErr_Occurred()) SWIG_fail
;
17133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17140 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17141 PyObject
*resultobj
;
17142 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17144 PyObject
* obj0
= 0 ;
17145 char *kwnames
[] = {
17146 (char *) "self", NULL
17149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17154 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17156 wxPyEndAllowThreads(__tstate
);
17157 if (PyErr_Occurred()) SWIG_fail
;
17160 resultobj
= wxPyMake_wxObject(result
, 0);
17168 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17171 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17173 return Py_BuildValue((char *)"");
17175 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
;
17177 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17178 bool arg2
= (bool) True
;
17179 int arg3
= (int) 0 ;
17180 wxActivateEvent
*result
;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 PyObject
* obj2
= 0 ;
17184 char *kwnames
[] = {
17185 (char *) "type",(char *) "active",(char *) "Id", NULL
17188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17190 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 arg2
= (bool) SWIG_AsBool(obj1
);
17195 if (PyErr_Occurred()) SWIG_fail
;
17198 arg3
= (int) SWIG_AsInt(obj2
);
17199 if (PyErr_Occurred()) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17215 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17219 PyObject
* obj0
= 0 ;
17220 char *kwnames
[] = {
17221 (char *) "self", NULL
17224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17243 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17246 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17248 return Py_BuildValue((char *)"");
17250 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17251 PyObject
*resultobj
;
17252 int arg1
= (int) 0 ;
17253 wxInitDialogEvent
*result
;
17254 PyObject
* obj0
= 0 ;
17255 char *kwnames
[] = {
17256 (char *) "Id", NULL
17259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17261 arg1
= (int) SWIG_AsInt(obj0
);
17262 if (PyErr_Occurred()) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17268 wxPyEndAllowThreads(__tstate
);
17269 if (PyErr_Occurred()) SWIG_fail
;
17271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17278 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17281 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17283 return Py_BuildValue((char *)"");
17285 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17288 int arg2
= (int) 0 ;
17289 wxMenu
*arg3
= (wxMenu
*) NULL
;
17290 wxMenuEvent
*result
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 PyObject
* obj2
= 0 ;
17294 char *kwnames
[] = {
17295 (char *) "type",(char *) "winid",(char *) "menu", NULL
17298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17300 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17301 if (PyErr_Occurred()) SWIG_fail
;
17304 arg2
= (int) SWIG_AsInt(obj1
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17313 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17315 wxPyEndAllowThreads(__tstate
);
17316 if (PyErr_Occurred()) SWIG_fail
;
17318 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17325 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17339 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17341 wxPyEndAllowThreads(__tstate
);
17342 if (PyErr_Occurred()) SWIG_fail
;
17344 resultobj
= SWIG_FromInt((int)result
);
17351 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17352 PyObject
*resultobj
;
17353 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17355 PyObject
* obj0
= 0 ;
17356 char *kwnames
[] = {
17357 (char *) "self", NULL
17360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17379 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17380 PyObject
*resultobj
;
17381 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17383 PyObject
* obj0
= 0 ;
17384 char *kwnames
[] = {
17385 (char *) "self", NULL
17388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17395 wxPyEndAllowThreads(__tstate
);
17396 if (PyErr_Occurred()) SWIG_fail
;
17399 resultobj
= wxPyMake_wxObject(result
, 0);
17407 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17410 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17412 return Py_BuildValue((char *)"");
17414 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17415 PyObject
*resultobj
;
17416 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17417 int arg2
= (int) 0 ;
17418 wxCloseEvent
*result
;
17419 PyObject
* obj0
= 0 ;
17420 PyObject
* obj1
= 0 ;
17421 char *kwnames
[] = {
17422 (char *) "type",(char *) "winid", NULL
17425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 arg2
= (int) SWIG_AsInt(obj1
);
17432 if (PyErr_Occurred()) SWIG_fail
;
17435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17436 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17438 wxPyEndAllowThreads(__tstate
);
17439 if (PyErr_Occurred()) SWIG_fail
;
17441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17448 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17452 PyObject
* obj0
= 0 ;
17453 PyObject
* obj1
= 0 ;
17454 char *kwnames
[] = {
17455 (char *) "self",(char *) "logOff", NULL
17458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17461 arg2
= (bool) SWIG_AsBool(obj1
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17465 (arg1
)->SetLoggingOff(arg2
);
17467 wxPyEndAllowThreads(__tstate
);
17468 if (PyErr_Occurred()) SWIG_fail
;
17470 Py_INCREF(Py_None
); resultobj
= Py_None
;
17477 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17478 PyObject
*resultobj
;
17479 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17491 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17493 wxPyEndAllowThreads(__tstate
);
17494 if (PyErr_Occurred()) SWIG_fail
;
17497 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17505 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17506 PyObject
*resultobj
;
17507 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17508 bool arg2
= (bool) True
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self",(char *) "veto", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17519 arg2
= (bool) SWIG_AsBool(obj1
);
17520 if (PyErr_Occurred()) SWIG_fail
;
17523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17524 (arg1
)->Veto(arg2
);
17526 wxPyEndAllowThreads(__tstate
);
17527 if (PyErr_Occurred()) SWIG_fail
;
17529 Py_INCREF(Py_None
); resultobj
= Py_None
;
17536 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17537 PyObject
*resultobj
;
17538 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17540 PyObject
* obj0
= 0 ;
17541 PyObject
* obj1
= 0 ;
17542 char *kwnames
[] = {
17543 (char *) "self",(char *) "canVeto", NULL
17546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17549 arg2
= (bool) SWIG_AsBool(obj1
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17553 (arg1
)->SetCanVeto(arg2
);
17555 wxPyEndAllowThreads(__tstate
);
17556 if (PyErr_Occurred()) SWIG_fail
;
17558 Py_INCREF(Py_None
); resultobj
= Py_None
;
17565 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17566 PyObject
*resultobj
;
17567 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17569 PyObject
* obj0
= 0 ;
17570 char *kwnames
[] = {
17571 (char *) "self", NULL
17574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17579 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17581 wxPyEndAllowThreads(__tstate
);
17582 if (PyErr_Occurred()) SWIG_fail
;
17585 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17593 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17594 PyObject
*resultobj
;
17595 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17597 PyObject
* obj0
= 0 ;
17598 char *kwnames
[] = {
17599 (char *) "self", NULL
17602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17607 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17609 wxPyEndAllowThreads(__tstate
);
17610 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17621 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17623 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17624 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17626 return Py_BuildValue((char *)"");
17628 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 int arg1
= (int) 0 ;
17631 bool arg2
= (bool) False
;
17632 wxShowEvent
*result
;
17633 PyObject
* obj0
= 0 ;
17634 PyObject
* obj1
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "winid",(char *) "show", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17641 arg1
= (int) SWIG_AsInt(obj0
);
17642 if (PyErr_Occurred()) SWIG_fail
;
17645 arg2
= (bool) SWIG_AsBool(obj1
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17650 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17652 wxPyEndAllowThreads(__tstate
);
17653 if (PyErr_Occurred()) SWIG_fail
;
17655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17662 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17666 PyObject
* obj0
= 0 ;
17667 PyObject
* obj1
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self",(char *) "show", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17675 arg2
= (bool) SWIG_AsBool(obj1
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17679 (arg1
)->SetShow(arg2
);
17681 wxPyEndAllowThreads(__tstate
);
17682 if (PyErr_Occurred()) SWIG_fail
;
17684 Py_INCREF(Py_None
); resultobj
= Py_None
;
17691 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17692 PyObject
*resultobj
;
17693 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17695 PyObject
* obj0
= 0 ;
17696 char *kwnames
[] = {
17697 (char *) "self", NULL
17700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17705 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17707 wxPyEndAllowThreads(__tstate
);
17708 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17719 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17722 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17724 return Py_BuildValue((char *)"");
17726 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17727 PyObject
*resultobj
;
17728 int arg1
= (int) 0 ;
17729 bool arg2
= (bool) True
;
17730 wxIconizeEvent
*result
;
17731 PyObject
* obj0
= 0 ;
17732 PyObject
* obj1
= 0 ;
17733 char *kwnames
[] = {
17734 (char *) "id",(char *) "iconized", NULL
17737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17739 arg1
= (int) SWIG_AsInt(obj0
);
17740 if (PyErr_Occurred()) SWIG_fail
;
17743 arg2
= (bool) SWIG_AsBool(obj1
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17748 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17750 wxPyEndAllowThreads(__tstate
);
17751 if (PyErr_Occurred()) SWIG_fail
;
17753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17760 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17764 PyObject
* obj0
= 0 ;
17765 char *kwnames
[] = {
17766 (char *) "self", NULL
17769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->Iconized();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17788 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17791 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17793 return Py_BuildValue((char *)"");
17795 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17796 PyObject
*resultobj
;
17797 int arg1
= (int) 0 ;
17798 wxMaximizeEvent
*result
;
17799 PyObject
* obj0
= 0 ;
17800 char *kwnames
[] = {
17801 (char *) "id", NULL
17804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17806 arg1
= (int) SWIG_AsInt(obj0
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17823 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17825 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17826 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17828 return Py_BuildValue((char *)"");
17830 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17831 PyObject
*resultobj
;
17832 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17834 PyObject
* obj0
= 0 ;
17835 char *kwnames
[] = {
17836 (char *) "self", NULL
17839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17844 result
= (arg1
)->GetPosition();
17846 wxPyEndAllowThreads(__tstate
);
17847 if (PyErr_Occurred()) SWIG_fail
;
17850 wxPoint
* resultptr
;
17851 resultptr
= new wxPoint((wxPoint
&) result
);
17852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17860 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17861 PyObject
*resultobj
;
17862 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17864 PyObject
* obj0
= 0 ;
17865 char *kwnames
[] = {
17866 (char *) "self", NULL
17869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17874 result
= (int)(arg1
)->GetNumberOfFiles();
17876 wxPyEndAllowThreads(__tstate
);
17877 if (PyErr_Occurred()) SWIG_fail
;
17879 resultobj
= SWIG_FromInt((int)result
);
17886 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17887 PyObject
*resultobj
;
17888 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17890 PyObject
* obj0
= 0 ;
17891 char *kwnames
[] = {
17892 (char *) "self", NULL
17895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17900 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17902 wxPyEndAllowThreads(__tstate
);
17903 if (PyErr_Occurred()) SWIG_fail
;
17905 resultobj
= result
;
17912 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17915 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17917 return Py_BuildValue((char *)"");
17919 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17920 PyObject
*resultobj
;
17921 int arg1
= (int) 0 ;
17922 wxUpdateUIEvent
*result
;
17923 PyObject
* obj0
= 0 ;
17924 char *kwnames
[] = {
17925 (char *) "commandId", NULL
17928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17930 arg1
= (int) SWIG_AsInt(obj0
);
17931 if (PyErr_Occurred()) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17947 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17961 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17963 wxPyEndAllowThreads(__tstate
);
17964 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17975 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17976 PyObject
*resultobj
;
17977 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17979 PyObject
* obj0
= 0 ;
17980 char *kwnames
[] = {
17981 (char *) "self", NULL
17984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17989 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17991 wxPyEndAllowThreads(__tstate
);
17992 if (PyErr_Occurred()) SWIG_fail
;
17995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18003 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18004 PyObject
*resultobj
;
18005 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18007 PyObject
* obj0
= 0 ;
18008 char *kwnames
[] = {
18009 (char *) "self", NULL
18012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18017 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18019 wxPyEndAllowThreads(__tstate
);
18020 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18026 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18035 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18049 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18051 wxPyEndAllowThreads(__tstate
);
18052 if (PyErr_Occurred()) SWIG_fail
;
18055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18063 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18065 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18067 PyObject
* obj0
= 0 ;
18068 char *kwnames
[] = {
18069 (char *) "self", NULL
18072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18077 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18079 wxPyEndAllowThreads(__tstate
);
18080 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18091 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18092 PyObject
*resultobj
;
18093 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18095 PyObject
* obj0
= 0 ;
18096 char *kwnames
[] = {
18097 (char *) "self", NULL
18100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18105 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18119 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18120 PyObject
*resultobj
;
18121 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18123 PyObject
* obj0
= 0 ;
18124 PyObject
* obj1
= 0 ;
18125 char *kwnames
[] = {
18126 (char *) "self",(char *) "check", NULL
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18132 arg2
= (bool) SWIG_AsBool(obj1
);
18133 if (PyErr_Occurred()) SWIG_fail
;
18135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18136 (arg1
)->Check(arg2
);
18138 wxPyEndAllowThreads(__tstate
);
18139 if (PyErr_Occurred()) SWIG_fail
;
18141 Py_INCREF(Py_None
); resultobj
= Py_None
;
18148 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18149 PyObject
*resultobj
;
18150 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18152 PyObject
* obj0
= 0 ;
18153 PyObject
* obj1
= 0 ;
18154 char *kwnames
[] = {
18155 (char *) "self",(char *) "enable", NULL
18158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18161 arg2
= (bool) SWIG_AsBool(obj1
);
18162 if (PyErr_Occurred()) SWIG_fail
;
18164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18165 (arg1
)->Enable(arg2
);
18167 wxPyEndAllowThreads(__tstate
);
18168 if (PyErr_Occurred()) SWIG_fail
;
18170 Py_INCREF(Py_None
); resultobj
= Py_None
;
18177 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18178 PyObject
*resultobj
;
18179 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18180 wxString
*arg2
= 0 ;
18181 bool temp2
= False
;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char *kwnames
[] = {
18185 (char *) "self",(char *) "text", NULL
18188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18192 arg2
= wxString_in_helper(obj1
);
18193 if (arg2
== NULL
) SWIG_fail
;
18197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18198 (arg1
)->SetText((wxString
const &)*arg2
);
18200 wxPyEndAllowThreads(__tstate
);
18201 if (PyErr_Occurred()) SWIG_fail
;
18203 Py_INCREF(Py_None
); resultobj
= Py_None
;
18218 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18219 PyObject
*resultobj
;
18221 PyObject
* obj0
= 0 ;
18222 char *kwnames
[] = {
18223 (char *) "updateInterval", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18227 arg1
= (long) SWIG_AsLong(obj0
);
18228 if (PyErr_Occurred()) SWIG_fail
;
18230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18231 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18233 wxPyEndAllowThreads(__tstate
);
18234 if (PyErr_Occurred()) SWIG_fail
;
18236 Py_INCREF(Py_None
); resultobj
= Py_None
;
18243 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18244 PyObject
*resultobj
;
18246 char *kwnames
[] = {
18250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18253 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18255 wxPyEndAllowThreads(__tstate
);
18256 if (PyErr_Occurred()) SWIG_fail
;
18258 resultobj
= SWIG_FromLong((long)result
);
18265 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18266 PyObject
*resultobj
;
18267 wxWindow
*arg1
= (wxWindow
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "win", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18279 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18281 wxPyEndAllowThreads(__tstate
);
18282 if (PyErr_Occurred()) SWIG_fail
;
18285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18293 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 char *kwnames
[] = {
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 wxUpdateUIEvent::ResetUpdateTime();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 Py_INCREF(Py_None
); resultobj
= Py_None
;
18314 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18315 PyObject
*resultobj
;
18317 PyObject
* obj0
= 0 ;
18318 char *kwnames
[] = {
18319 (char *) "mode", NULL
18322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18323 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18324 if (PyErr_Occurred()) SWIG_fail
;
18326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18327 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18329 wxPyEndAllowThreads(__tstate
);
18330 if (PyErr_Occurred()) SWIG_fail
;
18332 Py_INCREF(Py_None
); resultobj
= Py_None
;
18339 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18340 PyObject
*resultobj
;
18342 char *kwnames
[] = {
18346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 result
= (int)wxUpdateUIEvent::GetMode();
18351 wxPyEndAllowThreads(__tstate
);
18352 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= SWIG_FromInt((int)result
);
18361 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18364 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18366 return Py_BuildValue((char *)"");
18368 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18369 PyObject
*resultobj
;
18370 wxSysColourChangedEvent
*result
;
18371 char *kwnames
[] = {
18375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18378 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18380 wxPyEndAllowThreads(__tstate
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18383 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18390 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18393 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18395 return Py_BuildValue((char *)"");
18397 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 int arg1
= (int) 0 ;
18400 wxWindow
*arg2
= (wxWindow
*) NULL
;
18401 wxMouseCaptureChangedEvent
*result
;
18402 PyObject
* obj0
= 0 ;
18403 PyObject
* obj1
= 0 ;
18404 char *kwnames
[] = {
18405 (char *) "winid",(char *) "gainedCapture", NULL
18408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18410 arg1
= (int) SWIG_AsInt(obj0
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18419 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18431 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18435 PyObject
* obj0
= 0 ;
18436 char *kwnames
[] = {
18437 (char *) "self", NULL
18440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18445 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18451 resultobj
= wxPyMake_wxObject(result
, 0);
18459 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18462 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18464 return Py_BuildValue((char *)"");
18466 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18467 PyObject
*resultobj
;
18468 wxDisplayChangedEvent
*result
;
18469 char *kwnames
[] = {
18473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18476 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18478 wxPyEndAllowThreads(__tstate
);
18479 if (PyErr_Occurred()) SWIG_fail
;
18481 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18488 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18491 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18493 return Py_BuildValue((char *)"");
18495 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18496 PyObject
*resultobj
;
18497 int arg1
= (int) 0 ;
18498 wxPaletteChangedEvent
*result
;
18499 PyObject
* obj0
= 0 ;
18500 char *kwnames
[] = {
18501 (char *) "id", NULL
18504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18506 arg1
= (int) SWIG_AsInt(obj0
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18511 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18523 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18525 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18526 wxWindow
*arg2
= (wxWindow
*) 0 ;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "self",(char *) "win", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18540 (arg1
)->SetChangedWindow(arg2
);
18542 wxPyEndAllowThreads(__tstate
);
18543 if (PyErr_Occurred()) SWIG_fail
;
18545 Py_INCREF(Py_None
); resultobj
= Py_None
;
18552 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18553 PyObject
*resultobj
;
18554 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18556 PyObject
* obj0
= 0 ;
18557 char *kwnames
[] = {
18558 (char *) "self", NULL
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18568 wxPyEndAllowThreads(__tstate
);
18569 if (PyErr_Occurred()) SWIG_fail
;
18572 resultobj
= wxPyMake_wxObject(result
, 0);
18580 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18583 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18585 return Py_BuildValue((char *)"");
18587 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18588 PyObject
*resultobj
;
18589 int arg1
= (int) 0 ;
18590 wxQueryNewPaletteEvent
*result
;
18591 PyObject
* obj0
= 0 ;
18592 char *kwnames
[] = {
18593 (char *) "winid", NULL
18596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18598 arg1
= (int) SWIG_AsInt(obj0
);
18599 if (PyErr_Occurred()) SWIG_fail
;
18602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18603 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18605 wxPyEndAllowThreads(__tstate
);
18606 if (PyErr_Occurred()) SWIG_fail
;
18608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18615 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18616 PyObject
*resultobj
;
18617 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18619 PyObject
* obj0
= 0 ;
18620 PyObject
* obj1
= 0 ;
18621 char *kwnames
[] = {
18622 (char *) "self",(char *) "realized", NULL
18625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18628 arg2
= (bool) SWIG_AsBool(obj1
);
18629 if (PyErr_Occurred()) SWIG_fail
;
18631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18632 (arg1
)->SetPaletteRealized(arg2
);
18634 wxPyEndAllowThreads(__tstate
);
18635 if (PyErr_Occurred()) SWIG_fail
;
18637 Py_INCREF(Py_None
); resultobj
= Py_None
;
18644 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18645 PyObject
*resultobj
;
18646 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18648 PyObject
* obj0
= 0 ;
18649 char *kwnames
[] = {
18650 (char *) "self", NULL
18653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18672 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18674 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18675 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18677 return Py_BuildValue((char *)"");
18679 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18680 PyObject
*resultobj
;
18681 wxNavigationKeyEvent
*result
;
18682 char *kwnames
[] = {
18686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18701 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18703 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18705 PyObject
* obj0
= 0 ;
18706 char *kwnames
[] = {
18707 (char *) "self", NULL
18710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18729 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18730 PyObject
*resultobj
;
18731 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "forward", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18742 arg2
= (bool) SWIG_AsBool(obj1
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18746 (arg1
)->SetDirection(arg2
);
18748 wxPyEndAllowThreads(__tstate
);
18749 if (PyErr_Occurred()) SWIG_fail
;
18751 Py_INCREF(Py_None
); resultobj
= Py_None
;
18758 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18759 PyObject
*resultobj
;
18760 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18762 PyObject
* obj0
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "self", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18786 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18787 PyObject
*resultobj
;
18788 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18790 PyObject
* obj0
= 0 ;
18791 PyObject
* obj1
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self",(char *) "ischange", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18799 arg2
= (bool) SWIG_AsBool(obj1
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 (arg1
)->SetWindowChange(arg2
);
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "flags", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 arg2
= (long) SWIG_AsLong(obj1
);
18829 if (PyErr_Occurred()) SWIG_fail
;
18831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18832 (arg1
)->SetFlags(arg2
);
18834 wxPyEndAllowThreads(__tstate
);
18835 if (PyErr_Occurred()) SWIG_fail
;
18837 Py_INCREF(Py_None
); resultobj
= Py_None
;
18844 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18845 PyObject
*resultobj
;
18846 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "self", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18858 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= wxPyMake_wxObject(result
, 0);
18872 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18873 PyObject
*resultobj
;
18874 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18875 wxWindow
*arg2
= (wxWindow
*) 0 ;
18876 PyObject
* obj0
= 0 ;
18877 PyObject
* obj1
= 0 ;
18878 char *kwnames
[] = {
18879 (char *) "self",(char *) "win", NULL
18882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18885 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18889 (arg1
)->SetCurrentFocus(arg2
);
18891 wxPyEndAllowThreads(__tstate
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18894 Py_INCREF(Py_None
); resultobj
= Py_None
;
18901 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18903 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18904 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18906 return Py_BuildValue((char *)"");
18908 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxWindow
*arg1
= (wxWindow
*) NULL
;
18911 wxWindowCreateEvent
*result
;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "win", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18924 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18936 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
;
18938 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18940 PyObject
* obj0
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18950 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18952 wxPyEndAllowThreads(__tstate
);
18953 if (PyErr_Occurred()) SWIG_fail
;
18956 resultobj
= wxPyMake_wxObject(result
, 0);
18964 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18967 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18969 return Py_BuildValue((char *)"");
18971 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18972 PyObject
*resultobj
;
18973 wxWindow
*arg1
= (wxWindow
*) NULL
;
18974 wxWindowDestroyEvent
*result
;
18975 PyObject
* obj0
= 0 ;
18976 char *kwnames
[] = {
18977 (char *) "win", NULL
18980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18987 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18989 wxPyEndAllowThreads(__tstate
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18999 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
;
19001 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19003 PyObject
* obj0
= 0 ;
19004 char *kwnames
[] = {
19005 (char *) "self", NULL
19008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19013 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19015 wxPyEndAllowThreads(__tstate
);
19016 if (PyErr_Occurred()) SWIG_fail
;
19019 resultobj
= wxPyMake_wxObject(result
, 0);
19027 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19029 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19030 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19032 return Py_BuildValue((char *)"");
19034 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19035 PyObject
*resultobj
;
19036 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19037 int arg2
= (int) 0 ;
19038 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19039 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19040 wxContextMenuEvent
*result
;
19042 PyObject
* obj0
= 0 ;
19043 PyObject
* obj1
= 0 ;
19044 PyObject
* obj2
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "type",(char *) "winid",(char *) "pt", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19051 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19052 if (PyErr_Occurred()) SWIG_fail
;
19055 arg2
= (int) SWIG_AsInt(obj1
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19061 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19066 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19068 wxPyEndAllowThreads(__tstate
);
19069 if (PyErr_Occurred()) SWIG_fail
;
19071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19078 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19079 PyObject
*resultobj
;
19080 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19082 PyObject
* obj0
= 0 ;
19083 char *kwnames
[] = {
19084 (char *) "self", NULL
19087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19094 result
= (wxPoint
*) &_result_ref
;
19097 wxPyEndAllowThreads(__tstate
);
19098 if (PyErr_Occurred()) SWIG_fail
;
19100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19107 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19108 PyObject
*resultobj
;
19109 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19110 wxPoint
*arg2
= 0 ;
19112 PyObject
* obj0
= 0 ;
19113 PyObject
* obj1
= 0 ;
19114 char *kwnames
[] = {
19115 (char *) "self",(char *) "pos", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 Py_INCREF(Py_None
); resultobj
= Py_None
;
19139 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19142 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19144 return Py_BuildValue((char *)"");
19146 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19147 PyObject
*resultobj
;
19148 wxIdleEvent
*result
;
19149 char *kwnames
[] = {
19153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (wxIdleEvent
*)new wxIdleEvent();
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19168 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19171 bool arg2
= (bool) True
;
19172 PyObject
* obj0
= 0 ;
19173 PyObject
* obj1
= 0 ;
19174 char *kwnames
[] = {
19175 (char *) "self",(char *) "needMore", NULL
19178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19182 arg2
= (bool) SWIG_AsBool(obj1
);
19183 if (PyErr_Occurred()) SWIG_fail
;
19186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19187 (arg1
)->RequestMore(arg2
);
19189 wxPyEndAllowThreads(__tstate
);
19190 if (PyErr_Occurred()) SWIG_fail
;
19192 Py_INCREF(Py_None
); resultobj
= Py_None
;
19199 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19200 PyObject
*resultobj
;
19201 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19203 PyObject
* obj0
= 0 ;
19204 char *kwnames
[] = {
19205 (char *) "self", NULL
19208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19219 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19227 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19228 PyObject
*resultobj
;
19230 PyObject
* obj0
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "mode", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19236 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19237 if (PyErr_Occurred()) SWIG_fail
;
19239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19240 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19242 wxPyEndAllowThreads(__tstate
);
19243 if (PyErr_Occurred()) SWIG_fail
;
19245 Py_INCREF(Py_None
); resultobj
= Py_None
;
19252 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19253 PyObject
*resultobj
;
19255 char *kwnames
[] = {
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (int)wxIdleEvent::GetMode();
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= SWIG_FromInt((int)result
);
19274 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxWindow
*arg1
= (wxWindow
*) 0 ;
19278 PyObject
* obj0
= 0 ;
19279 char *kwnames
[] = {
19280 (char *) "win", NULL
19283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19288 result
= (bool)wxIdleEvent::CanSend(arg1
);
19290 wxPyEndAllowThreads(__tstate
);
19291 if (PyErr_Occurred()) SWIG_fail
;
19294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19302 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19304 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19305 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19307 return Py_BuildValue((char *)"");
19309 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19310 PyObject
*resultobj
;
19311 int arg1
= (int) 0 ;
19312 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19314 PyObject
* obj0
= 0 ;
19315 PyObject
* obj1
= 0 ;
19316 char *kwnames
[] = {
19317 (char *) "winid",(char *) "commandType", NULL
19320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 arg1
= (int) SWIG_AsInt(obj0
);
19323 if (PyErr_Occurred()) SWIG_fail
;
19326 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19331 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19333 wxPyEndAllowThreads(__tstate
);
19334 if (PyErr_Occurred()) SWIG_fail
;
19336 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19343 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19346 PyObject
* obj0
= 0 ;
19347 char *kwnames
[] = {
19348 (char *) "self", NULL
19351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19358 wxPyEndAllowThreads(__tstate
);
19359 if (PyErr_Occurred()) SWIG_fail
;
19361 Py_INCREF(Py_None
); resultobj
= Py_None
;
19368 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
;
19370 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19371 PyObject
*arg2
= (PyObject
*) 0 ;
19372 PyObject
* obj0
= 0 ;
19373 PyObject
* obj1
= 0 ;
19374 char *kwnames
[] = {
19375 (char *) "self",(char *) "self", NULL
19378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19384 (arg1
)->SetSelf(arg2
);
19386 wxPyEndAllowThreads(__tstate
);
19387 if (PyErr_Occurred()) SWIG_fail
;
19389 Py_INCREF(Py_None
); resultobj
= Py_None
;
19396 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19397 PyObject
*resultobj
;
19398 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19400 PyObject
* obj0
= 0 ;
19401 char *kwnames
[] = {
19402 (char *) "self", NULL
19405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19410 result
= (PyObject
*)(arg1
)->GetSelf();
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19415 resultobj
= result
;
19422 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19425 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19427 return Py_BuildValue((char *)"");
19429 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19431 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19432 int arg2
= (int) 0 ;
19433 wxPyCommandEvent
*result
;
19434 PyObject
* obj0
= 0 ;
19435 PyObject
* obj1
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "commandType",(char *) "id", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19442 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19443 if (PyErr_Occurred()) SWIG_fail
;
19446 arg2
= (int) SWIG_AsInt(obj1
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19451 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19453 wxPyEndAllowThreads(__tstate
);
19454 if (PyErr_Occurred()) SWIG_fail
;
19456 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19463 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19466 PyObject
* obj0
= 0 ;
19467 char *kwnames
[] = {
19468 (char *) "self", NULL
19471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19478 wxPyEndAllowThreads(__tstate
);
19479 if (PyErr_Occurred()) SWIG_fail
;
19481 Py_INCREF(Py_None
); resultobj
= Py_None
;
19488 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19489 PyObject
*resultobj
;
19490 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19491 PyObject
*arg2
= (PyObject
*) 0 ;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "self", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 (arg1
)->SetSelf(arg2
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 Py_INCREF(Py_None
); resultobj
= Py_None
;
19516 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19520 PyObject
* obj0
= 0 ;
19521 char *kwnames
[] = {
19522 (char *) "self", NULL
19525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 result
= (PyObject
*)(arg1
)->GetSelf();
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 resultobj
= result
;
19542 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19545 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19547 return Py_BuildValue((char *)"");
19549 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19550 PyObject
*resultobj
;
19552 char *kwnames
[] = {
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19559 result
= (wxPyApp
*)new_wxPyApp();
19561 wxPyEndAllowThreads(__tstate
);
19562 if (PyErr_Occurred()) SWIG_fail
;
19564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19571 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19572 PyObject
*resultobj
;
19573 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19574 PyObject
* obj0
= 0 ;
19575 char *kwnames
[] = {
19576 (char *) "self", NULL
19579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19596 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19597 PyObject
*resultobj
;
19598 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19599 PyObject
*arg2
= (PyObject
*) 0 ;
19600 PyObject
*arg3
= (PyObject
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 PyObject
* obj1
= 0 ;
19603 PyObject
* obj2
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self",(char *) "self",(char *) "_class", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19615 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19617 wxPyEndAllowThreads(__tstate
);
19618 if (PyErr_Occurred()) SWIG_fail
;
19620 Py_INCREF(Py_None
); resultobj
= Py_None
;
19627 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19628 PyObject
*resultobj
;
19629 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19631 PyObject
* obj0
= 0 ;
19632 char *kwnames
[] = {
19633 (char *) "self", NULL
19636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19641 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19643 wxPyEndAllowThreads(__tstate
);
19644 if (PyErr_Occurred()) SWIG_fail
;
19648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19659 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19660 PyObject
*resultobj
;
19661 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19662 wxString
*arg2
= 0 ;
19663 bool temp2
= False
;
19664 PyObject
* obj0
= 0 ;
19665 PyObject
* obj1
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self",(char *) "name", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19674 arg2
= wxString_in_helper(obj1
);
19675 if (arg2
== NULL
) SWIG_fail
;
19679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19680 (arg1
)->SetAppName((wxString
const &)*arg2
);
19682 wxPyEndAllowThreads(__tstate
);
19683 if (PyErr_Occurred()) SWIG_fail
;
19685 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19704 PyObject
* obj0
= 0 ;
19705 char *kwnames
[] = {
19706 (char *) "self", NULL
19709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19732 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19733 PyObject
*resultobj
;
19734 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19735 wxString
*arg2
= 0 ;
19736 bool temp2
= False
;
19737 PyObject
* obj0
= 0 ;
19738 PyObject
* obj1
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self",(char *) "name", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 arg2
= wxString_in_helper(obj1
);
19748 if (arg2
== NULL
) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19753 (arg1
)->SetClassName((wxString
const &)*arg2
);
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19773 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19774 PyObject
*resultobj
;
19775 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19788 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19789 result
= (wxString
*) &_result_ref
;
19792 wxPyEndAllowThreads(__tstate
);
19793 if (PyErr_Occurred()) SWIG_fail
;
19797 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19799 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19808 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19809 PyObject
*resultobj
;
19810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 wxString
*arg2
= 0 ;
19812 bool temp2
= False
;
19813 PyObject
* obj0
= 0 ;
19814 PyObject
* obj1
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self",(char *) "name", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19823 arg2
= wxString_in_helper(obj1
);
19824 if (arg2
== NULL
) SWIG_fail
;
19828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19829 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19831 wxPyEndAllowThreads(__tstate
);
19832 if (PyErr_Occurred()) SWIG_fail
;
19834 Py_INCREF(Py_None
); resultobj
= Py_None
;
19849 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
;
19851 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19852 wxAppTraits
*result
;
19853 PyObject
* obj0
= 0 ;
19854 char *kwnames
[] = {
19855 (char *) "self", NULL
19858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19875 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 (arg1
)->ProcessPendingEvents();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 Py_INCREF(Py_None
); resultobj
= Py_None
;
19900 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19903 bool arg2
= (bool) False
;
19905 PyObject
* obj0
= 0 ;
19906 PyObject
* obj1
= 0 ;
19907 char *kwnames
[] = {
19908 (char *) "self",(char *) "onlyIfNeeded", NULL
19911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19915 arg2
= (bool) SWIG_AsBool(obj1
);
19916 if (PyErr_Occurred()) SWIG_fail
;
19919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19920 result
= (bool)(arg1
)->Yield(arg2
);
19922 wxPyEndAllowThreads(__tstate
);
19923 if (PyErr_Occurred()) SWIG_fail
;
19926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19934 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19937 PyObject
* obj0
= 0 ;
19938 char *kwnames
[] = {
19939 (char *) "self", NULL
19942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19947 (arg1
)->WakeUpIdle();
19949 wxPyEndAllowThreads(__tstate
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19952 Py_INCREF(Py_None
); resultobj
= Py_None
;
19959 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19960 PyObject
*resultobj
;
19961 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19963 PyObject
* obj0
= 0 ;
19964 char *kwnames
[] = {
19965 (char *) "self", NULL
19968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 result
= (int)(arg1
)->MainLoop();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 resultobj
= SWIG_FromInt((int)result
);
19985 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19988 PyObject
* obj0
= 0 ;
19989 char *kwnames
[] = {
19990 (char *) "self", NULL
19993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20003 Py_INCREF(Py_None
); resultobj
= Py_None
;
20010 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20011 PyObject
*resultobj
;
20012 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20013 PyObject
* obj0
= 0 ;
20014 char *kwnames
[] = {
20015 (char *) "self", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20023 (arg1
)->ExitMainLoop();
20025 wxPyEndAllowThreads(__tstate
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 Py_INCREF(Py_None
); resultobj
= Py_None
;
20035 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20036 PyObject
*resultobj
;
20037 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20039 PyObject
* obj0
= 0 ;
20040 char *kwnames
[] = {
20041 (char *) "self", NULL
20044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (bool)(arg1
)->Pending();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20063 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20064 PyObject
*resultobj
;
20065 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20067 PyObject
* obj0
= 0 ;
20068 char *kwnames
[] = {
20069 (char *) "self", NULL
20072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20077 result
= (bool)(arg1
)->Dispatch();
20079 wxPyEndAllowThreads(__tstate
);
20080 if (PyErr_Occurred()) SWIG_fail
;
20083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20091 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20093 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20095 PyObject
* obj0
= 0 ;
20096 char *kwnames
[] = {
20097 (char *) "self", NULL
20100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20105 result
= (bool)(arg1
)->ProcessIdle();
20107 wxPyEndAllowThreads(__tstate
);
20108 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20119 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20120 PyObject
*resultobj
;
20121 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20122 wxWindow
*arg2
= (wxWindow
*) 0 ;
20123 wxIdleEvent
*arg3
= 0 ;
20125 PyObject
* obj0
= 0 ;
20126 PyObject
* obj1
= 0 ;
20127 PyObject
* obj2
= 0 ;
20128 char *kwnames
[] = {
20129 (char *) "self",(char *) "win",(char *) "event", NULL
20132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20135 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20140 if (arg3
== NULL
) {
20141 PyErr_SetString(PyExc_TypeError
,"null reference");
20145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20146 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20148 wxPyEndAllowThreads(__tstate
);
20149 if (PyErr_Occurred()) SWIG_fail
;
20152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20160 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
;
20162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20164 PyObject
* obj0
= 0 ;
20165 char *kwnames
[] = {
20166 (char *) "self", NULL
20169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20174 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20176 wxPyEndAllowThreads(__tstate
);
20177 if (PyErr_Occurred()) SWIG_fail
;
20180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20188 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20189 PyObject
*resultobj
;
20190 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20191 wxWindow
*arg2
= (wxWindow
*) 0 ;
20192 PyObject
* obj0
= 0 ;
20193 PyObject
* obj1
= 0 ;
20194 char *kwnames
[] = {
20195 (char *) "self",(char *) "win", NULL
20198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20201 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20205 (arg1
)->SetTopWindow(arg2
);
20207 wxPyEndAllowThreads(__tstate
);
20208 if (PyErr_Occurred()) SWIG_fail
;
20210 Py_INCREF(Py_None
); resultobj
= Py_None
;
20217 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20218 PyObject
*resultobj
;
20219 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20221 PyObject
* obj0
= 0 ;
20222 char *kwnames
[] = {
20223 (char *) "self", NULL
20226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20231 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20233 wxPyEndAllowThreads(__tstate
);
20234 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= wxPyMake_wxObject(result
, 0);
20245 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20246 PyObject
*resultobj
;
20247 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20249 PyObject
* obj0
= 0 ;
20250 PyObject
* obj1
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self",(char *) "flag", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20258 arg2
= (bool) SWIG_AsBool(obj1
);
20259 if (PyErr_Occurred()) SWIG_fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 (arg1
)->SetExitOnFrameDelete(arg2
);
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 Py_INCREF(Py_None
); resultobj
= Py_None
;
20274 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20278 PyObject
* obj0
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "self", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20288 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20290 wxPyEndAllowThreads(__tstate
);
20291 if (PyErr_Occurred()) SWIG_fail
;
20294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20302 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20303 PyObject
*resultobj
;
20304 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20306 PyObject
* obj0
= 0 ;
20307 PyObject
* obj1
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self",(char *) "flag", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20315 arg2
= (bool) SWIG_AsBool(obj1
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 (arg1
)->SetUseBestVisual(arg2
);
20321 wxPyEndAllowThreads(__tstate
);
20322 if (PyErr_Occurred()) SWIG_fail
;
20324 Py_INCREF(Py_None
); resultobj
= Py_None
;
20331 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20332 PyObject
*resultobj
;
20333 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20335 PyObject
* obj0
= 0 ;
20336 char *kwnames
[] = {
20337 (char *) "self", NULL
20340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20359 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20360 PyObject
*resultobj
;
20361 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20363 PyObject
* obj0
= 0 ;
20364 PyObject
* obj1
= 0 ;
20365 char *kwnames
[] = {
20366 (char *) "self",(char *) "mode", NULL
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20372 arg2
= (int) SWIG_AsInt(obj1
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20376 (arg1
)->SetPrintMode(arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 Py_INCREF(Py_None
); resultobj
= Py_None
;
20388 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20389 PyObject
*resultobj
;
20390 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20392 PyObject
* obj0
= 0 ;
20393 char *kwnames
[] = {
20394 (char *) "self", NULL
20397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20402 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20404 wxPyEndAllowThreads(__tstate
);
20405 if (PyErr_Occurred()) SWIG_fail
;
20407 resultobj
= SWIG_FromInt((int)result
);
20414 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20415 PyObject
*resultobj
;
20416 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20418 PyObject
* obj0
= 0 ;
20419 PyObject
* obj1
= 0 ;
20420 char *kwnames
[] = {
20421 (char *) "self",(char *) "mode", NULL
20424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20427 arg2
= (int) SWIG_AsInt(obj1
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20431 (arg1
)->SetAssertMode(arg2
);
20433 wxPyEndAllowThreads(__tstate
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20436 Py_INCREF(Py_None
); resultobj
= Py_None
;
20443 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20444 PyObject
*resultobj
;
20445 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20447 PyObject
* obj0
= 0 ;
20448 char *kwnames
[] = {
20449 (char *) "self", NULL
20452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (int)(arg1
)->GetAssertMode();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= SWIG_FromInt((int)result
);
20469 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20472 char *kwnames
[] = {
20476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20479 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20481 wxPyEndAllowThreads(__tstate
);
20482 if (PyErr_Occurred()) SWIG_fail
;
20485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20493 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20494 PyObject
*resultobj
;
20496 char *kwnames
[] = {
20500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20503 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20505 wxPyEndAllowThreads(__tstate
);
20506 if (PyErr_Occurred()) SWIG_fail
;
20508 resultobj
= SWIG_FromLong((long)result
);
20515 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20516 PyObject
*resultobj
;
20518 char *kwnames
[] = {
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= SWIG_FromLong((long)result
);
20537 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20540 char *kwnames
[] = {
20544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20547 result
= (long)wxPyApp::GetMacExitMenuItemId();
20549 wxPyEndAllowThreads(__tstate
);
20550 if (PyErr_Occurred()) SWIG_fail
;
20552 resultobj
= SWIG_FromLong((long)result
);
20559 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20560 PyObject
*resultobj
;
20562 char *kwnames
[] = {
20566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= wxPyApp::GetMacHelpMenuTitleName();
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20587 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20590 PyObject
* obj0
= 0 ;
20591 char *kwnames
[] = {
20592 (char *) "val", NULL
20595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20596 arg1
= (bool) SWIG_AsBool(obj0
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20600 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20602 wxPyEndAllowThreads(__tstate
);
20603 if (PyErr_Occurred()) SWIG_fail
;
20605 Py_INCREF(Py_None
); resultobj
= Py_None
;
20612 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20613 PyObject
*resultobj
;
20615 PyObject
* obj0
= 0 ;
20616 char *kwnames
[] = {
20617 (char *) "val", NULL
20620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20621 arg1
= (long) SWIG_AsLong(obj0
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20625 wxPyApp::SetMacAboutMenuItemId(arg1
);
20627 wxPyEndAllowThreads(__tstate
);
20628 if (PyErr_Occurred()) SWIG_fail
;
20630 Py_INCREF(Py_None
); resultobj
= Py_None
;
20637 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20638 PyObject
*resultobj
;
20640 PyObject
* obj0
= 0 ;
20641 char *kwnames
[] = {
20642 (char *) "val", NULL
20645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20646 arg1
= (long) SWIG_AsLong(obj0
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20650 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20652 wxPyEndAllowThreads(__tstate
);
20653 if (PyErr_Occurred()) SWIG_fail
;
20655 Py_INCREF(Py_None
); resultobj
= Py_None
;
20662 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20665 PyObject
* obj0
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "val", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20671 arg1
= (long) SWIG_AsLong(obj0
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20675 wxPyApp::SetMacExitMenuItemId(arg1
);
20677 wxPyEndAllowThreads(__tstate
);
20678 if (PyErr_Occurred()) SWIG_fail
;
20680 Py_INCREF(Py_None
); resultobj
= Py_None
;
20687 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20688 PyObject
*resultobj
;
20689 wxString
*arg1
= 0 ;
20690 bool temp1
= False
;
20691 PyObject
* obj0
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "val", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20698 arg1
= wxString_in_helper(obj0
);
20699 if (arg1
== NULL
) SWIG_fail
;
20703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20706 wxPyEndAllowThreads(__tstate
);
20707 if (PyErr_Occurred()) SWIG_fail
;
20709 Py_INCREF(Py_None
); resultobj
= Py_None
;
20724 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20725 PyObject
*resultobj
;
20726 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 (arg1
)->_BootstrapApp();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 Py_INCREF(Py_None
); resultobj
= Py_None
;
20749 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20750 PyObject
*resultobj
;
20752 char *kwnames
[] = {
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (int)wxPyApp::GetComCtl32Version();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= SWIG_FromInt((int)result
);
20771 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20773 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20774 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20776 return Py_BuildValue((char *)"");
20778 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20779 PyObject
*resultobj
;
20780 char *kwnames
[] = {
20784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20789 wxPyEndAllowThreads(__tstate
);
20790 if (PyErr_Occurred()) SWIG_fail
;
20792 Py_INCREF(Py_None
); resultobj
= Py_None
;
20799 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20800 PyObject
*resultobj
;
20802 char *kwnames
[] = {
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (bool)wxYield();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20823 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20824 PyObject
*resultobj
;
20826 char *kwnames
[] = {
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20833 result
= (bool)wxYieldIfNeeded();
20835 wxPyEndAllowThreads(__tstate
);
20836 if (PyErr_Occurred()) SWIG_fail
;
20839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20847 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20848 PyObject
*resultobj
;
20849 wxWindow
*arg1
= (wxWindow
*) NULL
;
20850 bool arg2
= (bool) False
;
20852 PyObject
* obj0
= 0 ;
20853 PyObject
* obj1
= 0 ;
20854 char *kwnames
[] = {
20855 (char *) "win",(char *) "onlyIfNeeded", NULL
20858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20864 arg2
= (bool) SWIG_AsBool(obj1
);
20865 if (PyErr_Occurred()) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 result
= (bool)wxSafeYield(arg1
,arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20883 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20884 PyObject
*resultobj
;
20885 char *kwnames
[] = {
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20894 wxPyEndAllowThreads(__tstate
);
20895 if (PyErr_Occurred()) SWIG_fail
;
20897 Py_INCREF(Py_None
); resultobj
= Py_None
;
20904 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20905 PyObject
*resultobj
;
20906 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20907 wxEvent
*arg2
= 0 ;
20908 PyObject
* obj0
= 0 ;
20909 PyObject
* obj1
= 0 ;
20910 char *kwnames
[] = {
20911 (char *) "dest",(char *) "event", NULL
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20917 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20920 if (arg2
== NULL
) {
20921 PyErr_SetString(PyExc_TypeError
,"null reference");
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 wxPostEvent(arg1
,*arg2
);
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 Py_INCREF(Py_None
); resultobj
= Py_None
;
20938 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 char *kwnames
[] = {
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 wxPyEndAllowThreads(__tstate
);
20950 if (PyErr_Occurred()) SWIG_fail
;
20952 Py_INCREF(Py_None
); resultobj
= Py_None
;
20959 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20960 PyObject
*resultobj
;
20962 char *kwnames
[] = {
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20969 result
= (wxPyApp
*)wxPyGetApp();
20971 wxPyEndAllowThreads(__tstate
);
20972 if (PyErr_Occurred()) SWIG_fail
;
20975 resultobj
= wxPyMake_wxObject(result
, 0);
20983 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20984 PyObject
*resultobj
;
20985 int arg1
= (int) 0 ;
20986 int arg2
= (int) 0 ;
20987 int arg3
= (int) 0 ;
20988 wxAcceleratorEntry
*result
;
20989 PyObject
* obj0
= 0 ;
20990 PyObject
* obj1
= 0 ;
20991 PyObject
* obj2
= 0 ;
20992 char *kwnames
[] = {
20993 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20998 arg1
= (int) SWIG_AsInt(obj0
);
20999 if (PyErr_Occurred()) SWIG_fail
;
21002 arg2
= (int) SWIG_AsInt(obj1
);
21003 if (PyErr_Occurred()) SWIG_fail
;
21006 arg3
= (int) SWIG_AsInt(obj2
);
21007 if (PyErr_Occurred()) SWIG_fail
;
21010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21011 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21013 wxPyEndAllowThreads(__tstate
);
21014 if (PyErr_Occurred()) SWIG_fail
;
21016 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21023 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21024 PyObject
*resultobj
;
21025 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 wxPyEndAllowThreads(__tstate
);
21039 if (PyErr_Occurred()) SWIG_fail
;
21041 Py_INCREF(Py_None
); resultobj
= Py_None
;
21048 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21049 PyObject
*resultobj
;
21050 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 PyObject
* obj2
= 0 ;
21057 PyObject
* obj3
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21065 arg2
= (int) SWIG_AsInt(obj1
);
21066 if (PyErr_Occurred()) SWIG_fail
;
21067 arg3
= (int) SWIG_AsInt(obj2
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21069 arg4
= (int) SWIG_AsInt(obj3
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21073 (arg1
)->Set(arg2
,arg3
,arg4
);
21075 wxPyEndAllowThreads(__tstate
);
21076 if (PyErr_Occurred()) SWIG_fail
;
21078 Py_INCREF(Py_None
); resultobj
= Py_None
;
21085 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21086 PyObject
*resultobj
;
21087 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21089 PyObject
* obj0
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 result
= (int)(arg1
)->GetFlags();
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 resultobj
= SWIG_FromInt((int)result
);
21111 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21125 result
= (int)(arg1
)->GetKeyCode();
21127 wxPyEndAllowThreads(__tstate
);
21128 if (PyErr_Occurred()) SWIG_fail
;
21130 resultobj
= SWIG_FromInt((int)result
);
21137 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21138 PyObject
*resultobj
;
21139 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21141 PyObject
* obj0
= 0 ;
21142 char *kwnames
[] = {
21143 (char *) "self", NULL
21146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21151 result
= (int)(arg1
)->GetCommand();
21153 wxPyEndAllowThreads(__tstate
);
21154 if (PyErr_Occurred()) SWIG_fail
;
21156 resultobj
= SWIG_FromInt((int)result
);
21163 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21165 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21166 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21168 return Py_BuildValue((char *)"");
21170 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21171 PyObject
*resultobj
;
21173 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21174 wxAcceleratorTable
*result
;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21182 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21183 if (arg2
) arg1
= PyList_Size(obj0
);
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21206 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21207 PyObject
*resultobj
;
21208 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21209 PyObject
* obj0
= 0 ;
21210 char *kwnames
[] = {
21211 (char *) "self", NULL
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 wxPyEndAllowThreads(__tstate
);
21222 if (PyErr_Occurred()) SWIG_fail
;
21224 Py_INCREF(Py_None
); resultobj
= Py_None
;
21231 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21232 PyObject
*resultobj
;
21233 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21235 PyObject
* obj0
= 0 ;
21236 char *kwnames
[] = {
21237 (char *) "self", NULL
21240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21245 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21251 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21259 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21262 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21264 return Py_BuildValue((char *)"");
21266 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21267 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21272 static PyObject
*_wrap_NullAcceleratorTable_get() {
21275 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21280 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21281 PyObject
*resultobj
;
21282 wxString
*arg1
= 0 ;
21283 wxAcceleratorEntry
*result
;
21284 bool temp1
= False
;
21285 PyObject
* obj0
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "label", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21292 arg1
= wxString_in_helper(obj0
);
21293 if (arg1
== NULL
) SWIG_fail
;
21297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21298 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21300 wxPyEndAllowThreads(__tstate
);
21301 if (PyErr_Occurred()) SWIG_fail
;
21303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21318 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21319 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21324 static PyObject
*_wrap_PanelNameStr_get() {
21329 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21331 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21338 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxVisualAttributes
*result
;
21341 char *kwnames
[] = {
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21348 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21350 wxPyEndAllowThreads(__tstate
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21360 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21361 PyObject
*resultobj
;
21362 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 delete_wxVisualAttributes(arg1
);
21375 wxPyEndAllowThreads(__tstate
);
21376 if (PyErr_Occurred()) SWIG_fail
;
21378 Py_INCREF(Py_None
); resultobj
= Py_None
;
21385 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21386 PyObject
*resultobj
;
21387 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21388 wxFont
*arg2
= (wxFont
*) 0 ;
21389 PyObject
* obj0
= 0 ;
21390 PyObject
* obj1
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self",(char *) "font", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 if (arg1
) (arg1
)->font
= *arg2
;
21402 Py_INCREF(Py_None
); resultobj
= Py_None
;
21409 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21410 PyObject
*resultobj
;
21411 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21413 PyObject
* obj0
= 0 ;
21414 char *kwnames
[] = {
21415 (char *) "self", NULL
21418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21421 result
= (wxFont
*)& ((arg1
)->font
);
21423 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21430 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21432 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21433 wxColour
*arg2
= (wxColour
*) 0 ;
21434 PyObject
* obj0
= 0 ;
21435 PyObject
* obj1
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self",(char *) "colFg", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 if (arg1
) (arg1
)->colFg
= *arg2
;
21447 Py_INCREF(Py_None
); resultobj
= Py_None
;
21454 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21458 PyObject
* obj0
= 0 ;
21459 char *kwnames
[] = {
21460 (char *) "self", NULL
21463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21466 result
= (wxColour
*)& ((arg1
)->colFg
);
21468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21475 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21476 PyObject
*resultobj
;
21477 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21478 wxColour
*arg2
= (wxColour
*) 0 ;
21479 PyObject
* obj0
= 0 ;
21480 PyObject
* obj1
= 0 ;
21481 char *kwnames
[] = {
21482 (char *) "self",(char *) "colBg", NULL
21485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 if (arg1
) (arg1
)->colBg
= *arg2
;
21492 Py_INCREF(Py_None
); resultobj
= Py_None
;
21499 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21500 PyObject
*resultobj
;
21501 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21503 PyObject
* obj0
= 0 ;
21504 char *kwnames
[] = {
21505 (char *) "self", NULL
21508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21511 result
= (wxColour
*)& ((arg1
)->colBg
);
21513 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21520 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21522 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21523 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21525 return Py_BuildValue((char *)"");
21527 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21528 PyObject
*resultobj
;
21529 wxWindow
*arg1
= (wxWindow
*) 0 ;
21530 int arg2
= (int) (int)-1 ;
21531 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21532 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21533 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21534 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21535 long arg5
= (long) 0 ;
21536 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21537 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21541 bool temp6
= False
;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 PyObject
* obj2
= 0 ;
21545 PyObject
* obj3
= 0 ;
21546 PyObject
* obj4
= 0 ;
21547 PyObject
* obj5
= 0 ;
21548 char *kwnames
[] = {
21549 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21556 arg2
= (int const) SWIG_AsInt(obj1
);
21557 if (PyErr_Occurred()) SWIG_fail
;
21562 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21568 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21572 arg5
= (long) SWIG_AsLong(obj4
);
21573 if (PyErr_Occurred()) SWIG_fail
;
21577 arg6
= wxString_in_helper(obj5
);
21578 if (arg6
== NULL
) SWIG_fail
;
21583 if (!wxPyCheckForApp()) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21605 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21606 PyObject
*resultobj
;
21608 char *kwnames
[] = {
21612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21614 if (!wxPyCheckForApp()) SWIG_fail
;
21615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21616 result
= (wxWindow
*)new wxWindow();
21618 wxPyEndAllowThreads(__tstate
);
21619 if (PyErr_Occurred()) SWIG_fail
;
21621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21628 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21629 PyObject
*resultobj
;
21630 wxWindow
*arg1
= (wxWindow
*) 0 ;
21631 wxWindow
*arg2
= (wxWindow
*) 0 ;
21632 int arg3
= (int) (int)-1 ;
21633 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21634 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21635 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21636 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21637 long arg6
= (long) 0 ;
21638 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21639 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21643 bool temp7
= False
;
21644 PyObject
* obj0
= 0 ;
21645 PyObject
* obj1
= 0 ;
21646 PyObject
* obj2
= 0 ;
21647 PyObject
* obj3
= 0 ;
21648 PyObject
* obj4
= 0 ;
21649 PyObject
* obj5
= 0 ;
21650 PyObject
* obj6
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21661 arg3
= (int const) SWIG_AsInt(obj2
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21667 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21673 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21677 arg6
= (long) SWIG_AsLong(obj5
);
21678 if (PyErr_Occurred()) SWIG_fail
;
21682 arg7
= wxString_in_helper(obj6
);
21683 if (arg7
== NULL
) SWIG_fail
;
21688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21689 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21691 wxPyEndAllowThreads(__tstate
);
21692 if (PyErr_Occurred()) SWIG_fail
;
21695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21711 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxWindow
*arg1
= (wxWindow
*) 0 ;
21714 bool arg2
= (bool) False
;
21716 PyObject
* obj0
= 0 ;
21717 PyObject
* obj1
= 0 ;
21718 char *kwnames
[] = {
21719 (char *) "self",(char *) "force", NULL
21722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21726 arg2
= (bool) SWIG_AsBool(obj1
);
21727 if (PyErr_Occurred()) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (bool)(arg1
)->Close(arg2
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxWindow
*arg1
= (wxWindow
*) 0 ;
21749 PyObject
* obj0
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21759 result
= (bool)(arg1
)->Destroy();
21761 wxPyEndAllowThreads(__tstate
);
21762 if (PyErr_Occurred()) SWIG_fail
;
21765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21773 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21774 PyObject
*resultobj
;
21775 wxWindow
*arg1
= (wxWindow
*) 0 ;
21777 PyObject
* obj0
= 0 ;
21778 char *kwnames
[] = {
21779 (char *) "self", NULL
21782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21787 result
= (bool)(arg1
)->DestroyChildren();
21789 wxPyEndAllowThreads(__tstate
);
21790 if (PyErr_Occurred()) SWIG_fail
;
21793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21801 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxWindow
*arg1
= (wxWindow
*) 0 ;
21805 PyObject
* obj0
= 0 ;
21806 char *kwnames
[] = {
21807 (char *) "self", NULL
21810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21815 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21821 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21829 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21830 PyObject
*resultobj
;
21831 wxWindow
*arg1
= (wxWindow
*) 0 ;
21832 wxString
*arg2
= 0 ;
21833 bool temp2
= False
;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char *kwnames
[] = {
21837 (char *) "self",(char *) "title", NULL
21840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21844 arg2
= wxString_in_helper(obj1
);
21845 if (arg2
== NULL
) SWIG_fail
;
21849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21850 (arg1
)->SetTitle((wxString
const &)*arg2
);
21852 wxPyEndAllowThreads(__tstate
);
21853 if (PyErr_Occurred()) SWIG_fail
;
21855 Py_INCREF(Py_None
); resultobj
= Py_None
;
21870 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxWindow
*arg1
= (wxWindow
*) 0 ;
21874 PyObject
* obj0
= 0 ;
21875 char *kwnames
[] = {
21876 (char *) "self", NULL
21879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 result
= ((wxWindow
const *)arg1
)->GetTitle();
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21891 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21893 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21902 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21903 PyObject
*resultobj
;
21904 wxWindow
*arg1
= (wxWindow
*) 0 ;
21905 wxString
*arg2
= 0 ;
21906 bool temp2
= False
;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "label", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 arg2
= wxString_in_helper(obj1
);
21918 if (arg2
== NULL
) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 (arg1
)->SetLabel((wxString
const &)*arg2
);
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21928 Py_INCREF(Py_None
); resultobj
= Py_None
;
21943 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21944 PyObject
*resultobj
;
21945 wxWindow
*arg1
= (wxWindow
*) 0 ;
21947 PyObject
* obj0
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= ((wxWindow
const *)arg1
)->GetLabel();
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21964 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21966 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21975 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21976 PyObject
*resultobj
;
21977 wxWindow
*arg1
= (wxWindow
*) 0 ;
21978 wxString
*arg2
= 0 ;
21979 bool temp2
= False
;
21980 PyObject
* obj0
= 0 ;
21981 PyObject
* obj1
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self",(char *) "name", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 arg2
= wxString_in_helper(obj1
);
21991 if (arg2
== NULL
) SWIG_fail
;
21995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21996 (arg1
)->SetName((wxString
const &)*arg2
);
21998 wxPyEndAllowThreads(__tstate
);
21999 if (PyErr_Occurred()) SWIG_fail
;
22001 Py_INCREF(Py_None
); resultobj
= Py_None
;
22016 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22017 PyObject
*resultobj
;
22018 wxWindow
*arg1
= (wxWindow
*) 0 ;
22020 PyObject
* obj0
= 0 ;
22021 char *kwnames
[] = {
22022 (char *) "self", NULL
22025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",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 result
= ((wxWindow
const *)arg1
)->GetName();
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22048 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22049 PyObject
*resultobj
;
22050 wxWindow
*arg1
= (wxWindow
*) 0 ;
22052 PyObject
* obj0
= 0 ;
22053 PyObject
* obj1
= 0 ;
22054 char *kwnames
[] = {
22055 (char *) "self",(char *) "variant", NULL
22058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22061 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22070 Py_INCREF(Py_None
); resultobj
= Py_None
;
22077 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxWindow
*arg1
= (wxWindow
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22096 resultobj
= SWIG_FromInt((int)result
);
22103 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22104 PyObject
*resultobj
;
22105 wxWindow
*arg1
= (wxWindow
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self",(char *) "winid", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22116 arg2
= (int) SWIG_AsInt(obj1
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22120 (arg1
)->SetId(arg2
);
22122 wxPyEndAllowThreads(__tstate
);
22123 if (PyErr_Occurred()) SWIG_fail
;
22125 Py_INCREF(Py_None
); resultobj
= Py_None
;
22132 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22133 PyObject
*resultobj
;
22134 wxWindow
*arg1
= (wxWindow
*) 0 ;
22136 PyObject
* obj0
= 0 ;
22137 char *kwnames
[] = {
22138 (char *) "self", NULL
22141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22146 result
= (int)((wxWindow
const *)arg1
)->GetId();
22148 wxPyEndAllowThreads(__tstate
);
22149 if (PyErr_Occurred()) SWIG_fail
;
22151 resultobj
= SWIG_FromInt((int)result
);
22158 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22159 PyObject
*resultobj
;
22161 char *kwnames
[] = {
22165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22168 result
= (int)wxWindow::NewControlId();
22170 wxPyEndAllowThreads(__tstate
);
22171 if (PyErr_Occurred()) SWIG_fail
;
22173 resultobj
= SWIG_FromInt((int)result
);
22180 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22181 PyObject
*resultobj
;
22184 PyObject
* obj0
= 0 ;
22185 char *kwnames
[] = {
22186 (char *) "winid", NULL
22189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22190 arg1
= (int) SWIG_AsInt(obj0
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22194 result
= (int)wxWindow::NextControlId(arg1
);
22196 wxPyEndAllowThreads(__tstate
);
22197 if (PyErr_Occurred()) SWIG_fail
;
22199 resultobj
= SWIG_FromInt((int)result
);
22206 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "winid", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22216 arg1
= (int) SWIG_AsInt(obj0
);
22217 if (PyErr_Occurred()) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= (int)wxWindow::PrevControlId(arg1
);
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22225 resultobj
= SWIG_FromInt((int)result
);
22232 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxWindow
*arg1
= (wxWindow
*) 0 ;
22237 PyObject
* obj0
= 0 ;
22238 PyObject
* obj1
= 0 ;
22239 char *kwnames
[] = {
22240 (char *) "self",(char *) "size", NULL
22243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22248 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22252 (arg1
)->SetSize((wxSize
const &)*arg2
);
22254 wxPyEndAllowThreads(__tstate
);
22255 if (PyErr_Occurred()) SWIG_fail
;
22257 Py_INCREF(Py_None
); resultobj
= Py_None
;
22264 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxWindow
*arg1
= (wxWindow
*) 0 ;
22271 int arg6
= (int) wxSIZE_AUTO
;
22272 PyObject
* obj0
= 0 ;
22273 PyObject
* obj1
= 0 ;
22274 PyObject
* obj2
= 0 ;
22275 PyObject
* obj3
= 0 ;
22276 PyObject
* obj4
= 0 ;
22277 PyObject
* obj5
= 0 ;
22278 char *kwnames
[] = {
22279 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22285 arg2
= (int) SWIG_AsInt(obj1
);
22286 if (PyErr_Occurred()) SWIG_fail
;
22287 arg3
= (int) SWIG_AsInt(obj2
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22289 arg4
= (int) SWIG_AsInt(obj3
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22291 arg5
= (int) SWIG_AsInt(obj4
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22294 arg6
= (int) SWIG_AsInt(obj5
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22299 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22301 wxPyEndAllowThreads(__tstate
);
22302 if (PyErr_Occurred()) SWIG_fail
;
22304 Py_INCREF(Py_None
); resultobj
= Py_None
;
22311 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22312 PyObject
*resultobj
;
22313 wxWindow
*arg1
= (wxWindow
*) 0 ;
22315 int arg3
= (int) wxSIZE_AUTO
;
22317 PyObject
* obj0
= 0 ;
22318 PyObject
* obj1
= 0 ;
22319 PyObject
* obj2
= 0 ;
22320 char *kwnames
[] = {
22321 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22329 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22332 arg3
= (int) SWIG_AsInt(obj2
);
22333 if (PyErr_Occurred()) SWIG_fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22342 Py_INCREF(Py_None
); resultobj
= Py_None
;
22349 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22350 PyObject
*resultobj
;
22351 wxWindow
*arg1
= (wxWindow
*) 0 ;
22354 PyObject
* obj0
= 0 ;
22355 PyObject
* obj1
= 0 ;
22356 PyObject
* obj2
= 0 ;
22357 char *kwnames
[] = {
22358 (char *) "self",(char *) "width",(char *) "height", NULL
22361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22364 arg2
= (int) SWIG_AsInt(obj1
);
22365 if (PyErr_Occurred()) SWIG_fail
;
22366 arg3
= (int) SWIG_AsInt(obj2
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22370 (arg1
)->SetSize(arg2
,arg3
);
22372 wxPyEndAllowThreads(__tstate
);
22373 if (PyErr_Occurred()) SWIG_fail
;
22375 Py_INCREF(Py_None
); resultobj
= Py_None
;
22382 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22383 PyObject
*resultobj
;
22384 wxWindow
*arg1
= (wxWindow
*) 0 ;
22385 wxPoint
*arg2
= 0 ;
22386 int arg3
= (int) wxSIZE_USE_EXISTING
;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 PyObject
* obj2
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "pt",(char *) "flags", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22403 arg3
= (int) SWIG_AsInt(obj2
);
22404 if (PyErr_Occurred()) SWIG_fail
;
22407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22408 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22410 wxPyEndAllowThreads(__tstate
);
22411 if (PyErr_Occurred()) SWIG_fail
;
22413 Py_INCREF(Py_None
); resultobj
= Py_None
;
22420 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22421 PyObject
*resultobj
;
22422 wxWindow
*arg1
= (wxWindow
*) 0 ;
22425 int arg4
= (int) wxSIZE_USE_EXISTING
;
22426 PyObject
* obj0
= 0 ;
22427 PyObject
* obj1
= 0 ;
22428 PyObject
* obj2
= 0 ;
22429 PyObject
* obj3
= 0 ;
22430 char *kwnames
[] = {
22431 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22437 arg2
= (int) SWIG_AsInt(obj1
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22439 arg3
= (int) SWIG_AsInt(obj2
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 arg4
= (int) SWIG_AsInt(obj3
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22447 (arg1
)->Move(arg2
,arg3
,arg4
);
22449 wxPyEndAllowThreads(__tstate
);
22450 if (PyErr_Occurred()) SWIG_fail
;
22452 Py_INCREF(Py_None
); resultobj
= Py_None
;
22459 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22460 PyObject
*resultobj
;
22461 wxWindow
*arg1
= (wxWindow
*) 0 ;
22462 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22463 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22465 PyObject
* obj0
= 0 ;
22466 PyObject
* obj1
= 0 ;
22467 char *kwnames
[] = {
22468 (char *) "self",(char *) "size", NULL
22471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22482 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22484 wxPyEndAllowThreads(__tstate
);
22485 if (PyErr_Occurred()) SWIG_fail
;
22487 Py_INCREF(Py_None
); resultobj
= Py_None
;
22494 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22495 PyObject
*resultobj
;
22496 wxWindow
*arg1
= (wxWindow
*) 0 ;
22497 PyObject
* obj0
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22509 wxPyEndAllowThreads(__tstate
);
22510 if (PyErr_Occurred()) SWIG_fail
;
22512 Py_INCREF(Py_None
); resultobj
= Py_None
;
22519 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22520 PyObject
*resultobj
;
22521 wxWindow
*arg1
= (wxWindow
*) 0 ;
22522 PyObject
* obj0
= 0 ;
22523 char *kwnames
[] = {
22524 (char *) "self", NULL
22527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22534 wxPyEndAllowThreads(__tstate
);
22535 if (PyErr_Occurred()) SWIG_fail
;
22537 Py_INCREF(Py_None
); resultobj
= Py_None
;
22544 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22545 PyObject
*resultobj
;
22546 wxWindow
*arg1
= (wxWindow
*) 0 ;
22549 PyObject
* obj0
= 0 ;
22550 PyObject
* obj1
= 0 ;
22551 char *kwnames
[] = {
22552 (char *) "self",(char *) "size", NULL
22555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22564 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22566 wxPyEndAllowThreads(__tstate
);
22567 if (PyErr_Occurred()) SWIG_fail
;
22569 Py_INCREF(Py_None
); resultobj
= Py_None
;
22576 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22577 PyObject
*resultobj
;
22578 wxWindow
*arg1
= (wxWindow
*) 0 ;
22581 PyObject
* obj0
= 0 ;
22582 PyObject
* obj1
= 0 ;
22583 PyObject
* obj2
= 0 ;
22584 char *kwnames
[] = {
22585 (char *) "self",(char *) "width",(char *) "height", NULL
22588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22591 arg2
= (int) SWIG_AsInt(obj1
);
22592 if (PyErr_Occurred()) SWIG_fail
;
22593 arg3
= (int) SWIG_AsInt(obj2
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22597 (arg1
)->SetClientSize(arg2
,arg3
);
22599 wxPyEndAllowThreads(__tstate
);
22600 if (PyErr_Occurred()) SWIG_fail
;
22602 Py_INCREF(Py_None
); resultobj
= Py_None
;
22609 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22610 PyObject
*resultobj
;
22611 wxWindow
*arg1
= (wxWindow
*) 0 ;
22614 PyObject
* obj0
= 0 ;
22615 PyObject
* obj1
= 0 ;
22616 char *kwnames
[] = {
22617 (char *) "self",(char *) "rect", NULL
22620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22629 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22631 wxPyEndAllowThreads(__tstate
);
22632 if (PyErr_Occurred()) SWIG_fail
;
22634 Py_INCREF(Py_None
); resultobj
= Py_None
;
22641 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22642 PyObject
*resultobj
;
22643 wxWindow
*arg1
= (wxWindow
*) 0 ;
22645 PyObject
* obj0
= 0 ;
22646 char *kwnames
[] = {
22647 (char *) "self", NULL
22650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22655 result
= (arg1
)->GetPosition();
22657 wxPyEndAllowThreads(__tstate
);
22658 if (PyErr_Occurred()) SWIG_fail
;
22661 wxPoint
* resultptr
;
22662 resultptr
= new wxPoint((wxPoint
&) result
);
22663 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22671 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22672 PyObject
*resultobj
;
22673 wxWindow
*arg1
= (wxWindow
*) 0 ;
22674 int *arg2
= (int *) 0 ;
22675 int *arg3
= (int *) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self", NULL
22685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22690 (arg1
)->GetPosition(arg2
,arg3
);
22692 wxPyEndAllowThreads(__tstate
);
22693 if (PyErr_Occurred()) SWIG_fail
;
22695 Py_INCREF(Py_None
); resultobj
= Py_None
;
22697 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22698 resultobj
= t_output_helper(resultobj
,o
);
22701 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22702 resultobj
= t_output_helper(resultobj
,o
);
22710 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxWindow
*arg1
= (wxWindow
*) 0 ;
22714 PyObject
* obj0
= 0 ;
22715 char *kwnames
[] = {
22716 (char *) "self", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22724 result
= ((wxWindow
const *)arg1
)->GetSize();
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22730 wxSize
* resultptr
;
22731 resultptr
= new wxSize((wxSize
&) result
);
22732 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22740 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22741 PyObject
*resultobj
;
22742 wxWindow
*arg1
= (wxWindow
*) 0 ;
22743 int *arg2
= (int *) 0 ;
22744 int *arg3
= (int *) 0 ;
22747 PyObject
* obj0
= 0 ;
22748 char *kwnames
[] = {
22749 (char *) "self", NULL
22754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22759 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22761 wxPyEndAllowThreads(__tstate
);
22762 if (PyErr_Occurred()) SWIG_fail
;
22764 Py_INCREF(Py_None
); resultobj
= Py_None
;
22766 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22767 resultobj
= t_output_helper(resultobj
,o
);
22770 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22771 resultobj
= t_output_helper(resultobj
,o
);
22779 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxWindow
*arg1
= (wxWindow
*) 0 ;
22783 PyObject
* obj0
= 0 ;
22784 char *kwnames
[] = {
22785 (char *) "self", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 result
= ((wxWindow
const *)arg1
)->GetRect();
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22799 wxRect
* resultptr
;
22800 resultptr
= new wxRect((wxRect
&) result
);
22801 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22809 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22810 PyObject
*resultobj
;
22811 wxWindow
*arg1
= (wxWindow
*) 0 ;
22813 PyObject
* obj0
= 0 ;
22814 char *kwnames
[] = {
22815 (char *) "self", NULL
22818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22823 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22825 wxPyEndAllowThreads(__tstate
);
22826 if (PyErr_Occurred()) SWIG_fail
;
22829 wxSize
* resultptr
;
22830 resultptr
= new wxSize((wxSize
&) result
);
22831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22839 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 int *arg2
= (int *) 0 ;
22843 int *arg3
= (int *) 0 ;
22846 PyObject
* obj0
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self", NULL
22853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22858 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22860 wxPyEndAllowThreads(__tstate
);
22861 if (PyErr_Occurred()) SWIG_fail
;
22863 Py_INCREF(Py_None
); resultobj
= Py_None
;
22865 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22866 resultobj
= t_output_helper(resultobj
,o
);
22869 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22870 resultobj
= t_output_helper(resultobj
,o
);
22878 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22879 PyObject
*resultobj
;
22880 wxWindow
*arg1
= (wxWindow
*) 0 ;
22882 PyObject
* obj0
= 0 ;
22883 char *kwnames
[] = {
22884 (char *) "self", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22892 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22898 wxPoint
* resultptr
;
22899 resultptr
= new wxPoint((wxPoint
&) result
);
22900 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22908 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22909 PyObject
*resultobj
;
22910 wxWindow
*arg1
= (wxWindow
*) 0 ;
22912 PyObject
* obj0
= 0 ;
22913 char *kwnames
[] = {
22914 (char *) "self", NULL
22917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22922 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22928 wxRect
* resultptr
;
22929 resultptr
= new wxRect((wxRect
&) result
);
22930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22938 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxWindow
*arg1
= (wxWindow
*) 0 ;
22942 PyObject
* obj0
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22952 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22954 wxPyEndAllowThreads(__tstate
);
22955 if (PyErr_Occurred()) SWIG_fail
;
22958 wxSize
* resultptr
;
22959 resultptr
= new wxSize((wxSize
&) result
);
22960 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22968 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22969 PyObject
*resultobj
;
22970 wxWindow
*arg1
= (wxWindow
*) 0 ;
22971 int *arg2
= (int *) 0 ;
22972 int *arg3
= (int *) 0 ;
22975 PyObject
* obj0
= 0 ;
22976 char *kwnames
[] = {
22977 (char *) "self", NULL
22982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22987 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22989 wxPyEndAllowThreads(__tstate
);
22990 if (PyErr_Occurred()) SWIG_fail
;
22992 Py_INCREF(Py_None
); resultobj
= Py_None
;
22994 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22995 resultobj
= t_output_helper(resultobj
,o
);
22998 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22999 resultobj
= t_output_helper(resultobj
,o
);
23007 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23008 PyObject
*resultobj
;
23009 wxWindow
*arg1
= (wxWindow
*) 0 ;
23010 PyObject
* obj0
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 (arg1
)->InvalidateBestSize();
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 Py_INCREF(Py_None
); resultobj
= Py_None
;
23032 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxWindow
*arg1
= (wxWindow
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23052 wxSize
* resultptr
;
23053 resultptr
= new wxSize((wxSize
&) result
);
23054 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23062 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23063 PyObject
*resultobj
;
23064 wxWindow
*arg1
= (wxWindow
*) 0 ;
23066 PyObject
* obj0
= 0 ;
23067 char *kwnames
[] = {
23068 (char *) "self", NULL
23071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23076 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23078 wxPyEndAllowThreads(__tstate
);
23079 if (PyErr_Occurred()) SWIG_fail
;
23082 wxSize
* resultptr
;
23083 resultptr
= new wxSize((wxSize
&) result
);
23084 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23092 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23093 PyObject
*resultobj
;
23094 wxWindow
*arg1
= (wxWindow
*) 0 ;
23095 int arg2
= (int) wxBOTH
;
23096 PyObject
* obj0
= 0 ;
23097 PyObject
* obj1
= 0 ;
23098 char *kwnames
[] = {
23099 (char *) "self",(char *) "direction", NULL
23102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23106 arg2
= (int) SWIG_AsInt(obj1
);
23107 if (PyErr_Occurred()) SWIG_fail
;
23110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23111 (arg1
)->Center(arg2
);
23113 wxPyEndAllowThreads(__tstate
);
23114 if (PyErr_Occurred()) SWIG_fail
;
23116 Py_INCREF(Py_None
); resultobj
= Py_None
;
23123 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23124 PyObject
*resultobj
;
23125 wxWindow
*arg1
= (wxWindow
*) 0 ;
23126 int arg2
= (int) wxBOTH
;
23127 PyObject
* obj0
= 0 ;
23128 PyObject
* obj1
= 0 ;
23129 char *kwnames
[] = {
23130 (char *) "self",(char *) "dir", NULL
23133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23137 arg2
= (int) SWIG_AsInt(obj1
);
23138 if (PyErr_Occurred()) SWIG_fail
;
23141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23142 (arg1
)->CenterOnScreen(arg2
);
23144 wxPyEndAllowThreads(__tstate
);
23145 if (PyErr_Occurred()) SWIG_fail
;
23147 Py_INCREF(Py_None
); resultobj
= Py_None
;
23154 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23155 PyObject
*resultobj
;
23156 wxWindow
*arg1
= (wxWindow
*) 0 ;
23157 int arg2
= (int) wxBOTH
;
23158 PyObject
* obj0
= 0 ;
23159 PyObject
* obj1
= 0 ;
23160 char *kwnames
[] = {
23161 (char *) "self",(char *) "dir", NULL
23164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23168 arg2
= (int) SWIG_AsInt(obj1
);
23169 if (PyErr_Occurred()) SWIG_fail
;
23172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23173 (arg1
)->CenterOnParent(arg2
);
23175 wxPyEndAllowThreads(__tstate
);
23176 if (PyErr_Occurred()) SWIG_fail
;
23178 Py_INCREF(Py_None
); resultobj
= Py_None
;
23185 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23186 PyObject
*resultobj
;
23187 wxWindow
*arg1
= (wxWindow
*) 0 ;
23188 PyObject
* obj0
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 Py_INCREF(Py_None
); resultobj
= Py_None
;
23210 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23211 PyObject
*resultobj
;
23212 wxWindow
*arg1
= (wxWindow
*) 0 ;
23213 PyObject
* obj0
= 0 ;
23214 char *kwnames
[] = {
23215 (char *) "self", NULL
23218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23223 (arg1
)->FitInside();
23225 wxPyEndAllowThreads(__tstate
);
23226 if (PyErr_Occurred()) SWIG_fail
;
23228 Py_INCREF(Py_None
); resultobj
= Py_None
;
23235 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxWindow
*arg1
= (wxWindow
*) 0 ;
23240 int arg4
= (int) -1 ;
23241 int arg5
= (int) -1 ;
23242 int arg6
= (int) -1 ;
23243 int arg7
= (int) -1 ;
23244 PyObject
* obj0
= 0 ;
23245 PyObject
* obj1
= 0 ;
23246 PyObject
* obj2
= 0 ;
23247 PyObject
* obj3
= 0 ;
23248 PyObject
* obj4
= 0 ;
23249 PyObject
* obj5
= 0 ;
23250 PyObject
* obj6
= 0 ;
23251 char *kwnames
[] = {
23252 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23258 arg2
= (int) SWIG_AsInt(obj1
);
23259 if (PyErr_Occurred()) SWIG_fail
;
23260 arg3
= (int) SWIG_AsInt(obj2
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23263 arg4
= (int) SWIG_AsInt(obj3
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23267 arg5
= (int) SWIG_AsInt(obj4
);
23268 if (PyErr_Occurred()) SWIG_fail
;
23271 arg6
= (int) SWIG_AsInt(obj5
);
23272 if (PyErr_Occurred()) SWIG_fail
;
23275 arg7
= (int) SWIG_AsInt(obj6
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23280 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23282 wxPyEndAllowThreads(__tstate
);
23283 if (PyErr_Occurred()) SWIG_fail
;
23285 Py_INCREF(Py_None
); resultobj
= Py_None
;
23292 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23293 PyObject
*resultobj
;
23294 wxWindow
*arg1
= (wxWindow
*) 0 ;
23296 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23297 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23298 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23299 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23303 PyObject
* obj0
= 0 ;
23304 PyObject
* obj1
= 0 ;
23305 PyObject
* obj2
= 0 ;
23306 PyObject
* obj3
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23316 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23321 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23327 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23334 wxPyEndAllowThreads(__tstate
);
23335 if (PyErr_Occurred()) SWIG_fail
;
23337 Py_INCREF(Py_None
); resultobj
= Py_None
;
23344 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23345 PyObject
*resultobj
;
23346 wxWindow
*arg1
= (wxWindow
*) 0 ;
23349 int arg4
= (int) -1 ;
23350 int arg5
= (int) -1 ;
23351 PyObject
* obj0
= 0 ;
23352 PyObject
* obj1
= 0 ;
23353 PyObject
* obj2
= 0 ;
23354 PyObject
* obj3
= 0 ;
23355 PyObject
* obj4
= 0 ;
23356 char *kwnames
[] = {
23357 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23363 arg2
= (int) SWIG_AsInt(obj1
);
23364 if (PyErr_Occurred()) SWIG_fail
;
23365 arg3
= (int) SWIG_AsInt(obj2
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23368 arg4
= (int) SWIG_AsInt(obj3
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23372 arg5
= (int) SWIG_AsInt(obj4
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 Py_INCREF(Py_None
); resultobj
= Py_None
;
23389 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxWindow
*arg1
= (wxWindow
*) 0 ;
23393 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23394 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23397 PyObject
* obj0
= 0 ;
23398 PyObject
* obj1
= 0 ;
23399 PyObject
* obj2
= 0 ;
23400 char *kwnames
[] = {
23401 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23409 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23414 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 Py_INCREF(Py_None
); resultobj
= Py_None
;
23431 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 wxSize
* resultptr
;
23452 resultptr
= new wxSize((wxSize
&) result
);
23453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23461 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 wxSize
* resultptr
;
23482 resultptr
= new wxSize((wxSize
&) result
);
23483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23491 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxWindow
*arg1
= (wxWindow
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "minSize", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 Py_INCREF(Py_None
); resultobj
= Py_None
;
23523 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxWindow
*arg1
= (wxWindow
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "maxSize", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 Py_INCREF(Py_None
); resultobj
= Py_None
;
23555 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxWindow
*arg1
= (wxWindow
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 resultobj
= SWIG_FromInt((int)result
);
23581 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxWindow
*arg1
= (wxWindow
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23597 wxPyEndAllowThreads(__tstate
);
23598 if (PyErr_Occurred()) SWIG_fail
;
23600 resultobj
= SWIG_FromInt((int)result
);
23607 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23608 PyObject
*resultobj
;
23609 wxWindow
*arg1
= (wxWindow
*) 0 ;
23611 PyObject
* obj0
= 0 ;
23612 char *kwnames
[] = {
23613 (char *) "self", NULL
23616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23621 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23623 wxPyEndAllowThreads(__tstate
);
23624 if (PyErr_Occurred()) SWIG_fail
;
23626 resultobj
= SWIG_FromInt((int)result
);
23633 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23634 PyObject
*resultobj
;
23635 wxWindow
*arg1
= (wxWindow
*) 0 ;
23637 PyObject
* obj0
= 0 ;
23638 char *kwnames
[] = {
23639 (char *) "self", NULL
23642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23647 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23649 wxPyEndAllowThreads(__tstate
);
23650 if (PyErr_Occurred()) SWIG_fail
;
23652 resultobj
= SWIG_FromInt((int)result
);
23659 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23660 PyObject
*resultobj
;
23661 wxWindow
*arg1
= (wxWindow
*) 0 ;
23664 PyObject
* obj0
= 0 ;
23665 PyObject
* obj1
= 0 ;
23666 char *kwnames
[] = {
23667 (char *) "self",(char *) "size", NULL
23670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23675 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23679 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23681 wxPyEndAllowThreads(__tstate
);
23682 if (PyErr_Occurred()) SWIG_fail
;
23684 Py_INCREF(Py_None
); resultobj
= Py_None
;
23691 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23692 PyObject
*resultobj
;
23693 wxWindow
*arg1
= (wxWindow
*) 0 ;
23696 PyObject
* obj0
= 0 ;
23697 PyObject
* obj1
= 0 ;
23698 PyObject
* obj2
= 0 ;
23699 char *kwnames
[] = {
23700 (char *) "self",(char *) "w",(char *) "h", NULL
23703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23706 arg2
= (int) SWIG_AsInt(obj1
);
23707 if (PyErr_Occurred()) SWIG_fail
;
23708 arg3
= (int) SWIG_AsInt(obj2
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23712 (arg1
)->SetVirtualSize(arg2
,arg3
);
23714 wxPyEndAllowThreads(__tstate
);
23715 if (PyErr_Occurred()) SWIG_fail
;
23717 Py_INCREF(Py_None
); resultobj
= Py_None
;
23724 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23725 PyObject
*resultobj
;
23726 wxWindow
*arg1
= (wxWindow
*) 0 ;
23728 PyObject
* obj0
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23744 wxSize
* resultptr
;
23745 resultptr
= new wxSize((wxSize
&) result
);
23746 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23754 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxWindow
*arg1
= (wxWindow
*) 0 ;
23757 int *arg2
= (int *) 0 ;
23758 int *arg3
= (int *) 0 ;
23761 PyObject
* obj0
= 0 ;
23762 char *kwnames
[] = {
23763 (char *) "self", NULL
23768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23773 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23775 wxPyEndAllowThreads(__tstate
);
23776 if (PyErr_Occurred()) SWIG_fail
;
23778 Py_INCREF(Py_None
); resultobj
= Py_None
;
23780 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23781 resultobj
= t_output_helper(resultobj
,o
);
23784 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23785 resultobj
= t_output_helper(resultobj
,o
);
23793 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxWindow
*arg1
= (wxWindow
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23807 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23813 wxSize
* resultptr
;
23814 resultptr
= new wxSize((wxSize
&) result
);
23815 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23823 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23824 PyObject
*resultobj
;
23825 wxWindow
*arg1
= (wxWindow
*) 0 ;
23826 bool arg2
= (bool) True
;
23828 PyObject
* obj0
= 0 ;
23829 PyObject
* obj1
= 0 ;
23830 char *kwnames
[] = {
23831 (char *) "self",(char *) "show", NULL
23834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23838 arg2
= (bool) SWIG_AsBool(obj1
);
23839 if (PyErr_Occurred()) SWIG_fail
;
23842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23843 result
= (bool)(arg1
)->Show(arg2
);
23845 wxPyEndAllowThreads(__tstate
);
23846 if (PyErr_Occurred()) SWIG_fail
;
23849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23857 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxWindow
*arg1
= (wxWindow
*) 0 ;
23861 PyObject
* obj0
= 0 ;
23862 char *kwnames
[] = {
23863 (char *) "self", NULL
23866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (bool)(arg1
)->Hide();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23885 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23886 PyObject
*resultobj
;
23887 wxWindow
*arg1
= (wxWindow
*) 0 ;
23888 bool arg2
= (bool) True
;
23890 PyObject
* obj0
= 0 ;
23891 PyObject
* obj1
= 0 ;
23892 char *kwnames
[] = {
23893 (char *) "self",(char *) "enable", NULL
23896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23900 arg2
= (bool) SWIG_AsBool(obj1
);
23901 if (PyErr_Occurred()) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (bool)(arg1
)->Enable(arg2
);
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23919 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxWindow
*arg1
= (wxWindow
*) 0 ;
23923 PyObject
* obj0
= 0 ;
23924 char *kwnames
[] = {
23925 (char *) "self", NULL
23928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23933 result
= (bool)(arg1
)->Disable();
23935 wxPyEndAllowThreads(__tstate
);
23936 if (PyErr_Occurred()) SWIG_fail
;
23939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23947 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23948 PyObject
*resultobj
;
23949 wxWindow
*arg1
= (wxWindow
*) 0 ;
23951 PyObject
* obj0
= 0 ;
23952 char *kwnames
[] = {
23953 (char *) "self", NULL
23956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23961 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23963 wxPyEndAllowThreads(__tstate
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23967 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23975 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23991 wxPyEndAllowThreads(__tstate
);
23992 if (PyErr_Occurred()) SWIG_fail
;
23995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24003 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 PyObject
* obj1
= 0 ;
24009 char *kwnames
[] = {
24010 (char *) "self",(char *) "style", NULL
24013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24016 arg2
= (long) SWIG_AsLong(obj1
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24020 (arg1
)->SetWindowStyleFlag(arg2
);
24022 wxPyEndAllowThreads(__tstate
);
24023 if (PyErr_Occurred()) SWIG_fail
;
24025 Py_INCREF(Py_None
); resultobj
= Py_None
;
24032 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24033 PyObject
*resultobj
;
24034 wxWindow
*arg1
= (wxWindow
*) 0 ;
24036 PyObject
* obj0
= 0 ;
24037 char *kwnames
[] = {
24038 (char *) "self", NULL
24041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24046 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24048 wxPyEndAllowThreads(__tstate
);
24049 if (PyErr_Occurred()) SWIG_fail
;
24051 resultobj
= SWIG_FromLong((long)result
);
24058 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24059 PyObject
*resultobj
;
24060 wxWindow
*arg1
= (wxWindow
*) 0 ;
24063 PyObject
* obj0
= 0 ;
24064 PyObject
* obj1
= 0 ;
24065 char *kwnames
[] = {
24066 (char *) "self",(char *) "flag", NULL
24069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24072 arg2
= (int) SWIG_AsInt(obj1
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24076 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24078 wxPyEndAllowThreads(__tstate
);
24079 if (PyErr_Occurred()) SWIG_fail
;
24082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24090 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24091 PyObject
*resultobj
;
24092 wxWindow
*arg1
= (wxWindow
*) 0 ;
24094 PyObject
* obj0
= 0 ;
24095 char *kwnames
[] = {
24096 (char *) "self", NULL
24099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24104 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24106 wxPyEndAllowThreads(__tstate
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24118 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxWindow
*arg1
= (wxWindow
*) 0 ;
24122 PyObject
* obj0
= 0 ;
24123 PyObject
* obj1
= 0 ;
24124 char *kwnames
[] = {
24125 (char *) "self",(char *) "exStyle", NULL
24128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24131 arg2
= (long) SWIG_AsLong(obj1
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24135 (arg1
)->SetExtraStyle(arg2
);
24137 wxPyEndAllowThreads(__tstate
);
24138 if (PyErr_Occurred()) SWIG_fail
;
24140 Py_INCREF(Py_None
); resultobj
= Py_None
;
24147 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24148 PyObject
*resultobj
;
24149 wxWindow
*arg1
= (wxWindow
*) 0 ;
24151 PyObject
* obj0
= 0 ;
24152 char *kwnames
[] = {
24153 (char *) "self", NULL
24156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24161 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_FromLong((long)result
);
24173 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24174 PyObject
*resultobj
;
24175 wxWindow
*arg1
= (wxWindow
*) 0 ;
24176 bool arg2
= (bool) True
;
24177 PyObject
* obj0
= 0 ;
24178 PyObject
* obj1
= 0 ;
24179 char *kwnames
[] = {
24180 (char *) "self",(char *) "modal", NULL
24183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24187 arg2
= (bool) SWIG_AsBool(obj1
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24192 (arg1
)->MakeModal(arg2
);
24194 wxPyEndAllowThreads(__tstate
);
24195 if (PyErr_Occurred()) SWIG_fail
;
24197 Py_INCREF(Py_None
); resultobj
= Py_None
;
24204 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24205 PyObject
*resultobj
;
24206 wxWindow
*arg1
= (wxWindow
*) 0 ;
24208 PyObject
* obj0
= 0 ;
24209 PyObject
* obj1
= 0 ;
24210 char *kwnames
[] = {
24211 (char *) "self",(char *) "enableTheme", NULL
24214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24217 arg2
= (bool) SWIG_AsBool(obj1
);
24218 if (PyErr_Occurred()) SWIG_fail
;
24220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24221 (arg1
)->SetThemeEnabled(arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 Py_INCREF(Py_None
); resultobj
= Py_None
;
24233 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 wxWindow
*arg1
= (wxWindow
*) 0 ;
24237 PyObject
* obj0
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "self", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24261 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxWindow
*arg1
= (wxWindow
*) 0 ;
24264 PyObject
* obj0
= 0 ;
24265 char *kwnames
[] = {
24266 (char *) "self", NULL
24269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24274 (arg1
)->SetFocus();
24276 wxPyEndAllowThreads(__tstate
);
24277 if (PyErr_Occurred()) SWIG_fail
;
24279 Py_INCREF(Py_None
); resultobj
= Py_None
;
24286 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24287 PyObject
*resultobj
;
24288 wxWindow
*arg1
= (wxWindow
*) 0 ;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24299 (arg1
)->SetFocusFromKbd();
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 Py_INCREF(Py_None
); resultobj
= Py_None
;
24311 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24312 PyObject
*resultobj
;
24314 char *kwnames
[] = {
24318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24320 if (!wxPyCheckForApp()) SWIG_fail
;
24321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24322 result
= (wxWindow
*)wxWindow::FindFocus();
24324 wxPyEndAllowThreads(__tstate
);
24325 if (PyErr_Occurred()) SWIG_fail
;
24328 resultobj
= wxPyMake_wxObject(result
, 0);
24336 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24337 PyObject
*resultobj
;
24338 wxWindow
*arg1
= (wxWindow
*) 0 ;
24340 PyObject
* obj0
= 0 ;
24341 char *kwnames
[] = {
24342 (char *) "self", NULL
24345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24350 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24352 wxPyEndAllowThreads(__tstate
);
24353 if (PyErr_Occurred()) SWIG_fail
;
24356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24364 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24365 PyObject
*resultobj
;
24366 wxWindow
*arg1
= (wxWindow
*) 0 ;
24368 PyObject
* obj0
= 0 ;
24369 char *kwnames
[] = {
24370 (char *) "self", NULL
24373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24392 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24393 PyObject
*resultobj
;
24394 wxWindow
*arg1
= (wxWindow
*) 0 ;
24396 PyObject
* obj0
= 0 ;
24397 char *kwnames
[] = {
24398 (char *) "self", NULL
24401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24412 resultobj
= wxPyMake_wxObject(result
, 0);
24420 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxWindow
*arg1
= (wxWindow
*) 0 ;
24423 wxWindow
*arg2
= (wxWindow
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "child", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24444 resultobj
= wxPyMake_wxObject(result
, 0);
24452 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxWindow
*arg1
= (wxWindow
*) 0 ;
24455 wxWindow
*arg2
= (wxWindow
*) 0 ;
24456 PyObject
* obj0
= 0 ;
24457 PyObject
* obj1
= 0 ;
24458 char *kwnames
[] = {
24459 (char *) "self",(char *) "win", NULL
24462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24465 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24469 (arg1
)->SetTmpDefaultItem(arg2
);
24471 wxPyEndAllowThreads(__tstate
);
24472 if (PyErr_Occurred()) SWIG_fail
;
24474 Py_INCREF(Py_None
); resultobj
= Py_None
;
24481 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24482 PyObject
*resultobj
;
24483 wxWindow
*arg1
= (wxWindow
*) 0 ;
24484 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24486 PyObject
* obj0
= 0 ;
24487 PyObject
* obj1
= 0 ;
24488 char *kwnames
[] = {
24489 (char *) "self",(char *) "flags", NULL
24492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 arg2
= (int) SWIG_AsInt(obj1
);
24497 if (PyErr_Occurred()) SWIG_fail
;
24500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24501 result
= (bool)(arg1
)->Navigate(arg2
);
24503 wxPyEndAllowThreads(__tstate
);
24504 if (PyErr_Occurred()) SWIG_fail
;
24507 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24515 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxWindow
*arg1
= (wxWindow
*) 0 ;
24518 wxWindow
*arg2
= (wxWindow
*) 0 ;
24519 PyObject
* obj0
= 0 ;
24520 PyObject
* obj1
= 0 ;
24521 char *kwnames
[] = {
24522 (char *) "self",(char *) "win", NULL
24525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24528 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24532 (arg1
)->MoveAfterInTabOrder(arg2
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 Py_INCREF(Py_None
); resultobj
= Py_None
;
24544 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxWindow
*arg1
= (wxWindow
*) 0 ;
24547 wxWindow
*arg2
= (wxWindow
*) 0 ;
24548 PyObject
* obj0
= 0 ;
24549 PyObject
* obj1
= 0 ;
24550 char *kwnames
[] = {
24551 (char *) "self",(char *) "win", NULL
24554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24557 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24561 (arg1
)->MoveBeforeInTabOrder(arg2
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 Py_INCREF(Py_None
); resultobj
= Py_None
;
24573 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24574 PyObject
*resultobj
;
24575 wxWindow
*arg1
= (wxWindow
*) 0 ;
24577 PyObject
* obj0
= 0 ;
24578 char *kwnames
[] = {
24579 (char *) "self", NULL
24582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24587 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= result
;
24599 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
;
24601 wxWindow
*arg1
= (wxWindow
*) 0 ;
24603 PyObject
* obj0
= 0 ;
24604 char *kwnames
[] = {
24605 (char *) "self", NULL
24608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24613 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24615 wxPyEndAllowThreads(__tstate
);
24616 if (PyErr_Occurred()) SWIG_fail
;
24619 resultobj
= wxPyMake_wxObject(result
, 0);
24627 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24628 PyObject
*resultobj
;
24629 wxWindow
*arg1
= (wxWindow
*) 0 ;
24631 PyObject
* obj0
= 0 ;
24632 char *kwnames
[] = {
24633 (char *) "self", NULL
24636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24641 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24643 wxPyEndAllowThreads(__tstate
);
24644 if (PyErr_Occurred()) SWIG_fail
;
24647 resultobj
= wxPyMake_wxObject(result
, 0);
24655 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24656 PyObject
*resultobj
;
24657 wxWindow
*arg1
= (wxWindow
*) 0 ;
24659 PyObject
* obj0
= 0 ;
24660 char *kwnames
[] = {
24661 (char *) "self", NULL
24664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24669 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24671 wxPyEndAllowThreads(__tstate
);
24672 if (PyErr_Occurred()) SWIG_fail
;
24675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24683 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24684 PyObject
*resultobj
;
24685 wxWindow
*arg1
= (wxWindow
*) 0 ;
24686 wxWindow
*arg2
= (wxWindow
*) 0 ;
24688 PyObject
* obj0
= 0 ;
24689 PyObject
* obj1
= 0 ;
24690 char *kwnames
[] = {
24691 (char *) "self",(char *) "newParent", NULL
24694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24697 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 result
= (bool)(arg1
)->Reparent(arg2
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24715 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24716 PyObject
*resultobj
;
24717 wxWindow
*arg1
= (wxWindow
*) 0 ;
24718 wxWindow
*arg2
= (wxWindow
*) 0 ;
24719 PyObject
* obj0
= 0 ;
24720 PyObject
* obj1
= 0 ;
24721 char *kwnames
[] = {
24722 (char *) "self",(char *) "child", NULL
24725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24732 (arg1
)->AddChild(arg2
);
24734 wxPyEndAllowThreads(__tstate
);
24735 if (PyErr_Occurred()) SWIG_fail
;
24737 Py_INCREF(Py_None
); resultobj
= Py_None
;
24744 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24745 PyObject
*resultobj
;
24746 wxWindow
*arg1
= (wxWindow
*) 0 ;
24747 wxWindow
*arg2
= (wxWindow
*) 0 ;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 char *kwnames
[] = {
24751 (char *) "self",(char *) "child", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24757 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->RemoveChild(arg2
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24774 PyObject
*resultobj
;
24775 wxWindow
*arg1
= (wxWindow
*) 0 ;
24778 PyObject
* obj0
= 0 ;
24779 PyObject
* obj1
= 0 ;
24780 char *kwnames
[] = {
24781 (char *) "self",(char *) "winid", NULL
24784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 arg2
= (long) SWIG_AsLong(obj1
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24793 wxPyEndAllowThreads(__tstate
);
24794 if (PyErr_Occurred()) SWIG_fail
;
24797 resultobj
= wxPyMake_wxObject(result
, 0);
24805 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24806 PyObject
*resultobj
;
24807 wxWindow
*arg1
= (wxWindow
*) 0 ;
24808 wxString
*arg2
= 0 ;
24810 bool temp2
= False
;
24811 PyObject
* obj0
= 0 ;
24812 PyObject
* obj1
= 0 ;
24813 char *kwnames
[] = {
24814 (char *) "self",(char *) "name", NULL
24817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 arg2
= wxString_in_helper(obj1
);
24822 if (arg2
== NULL
) SWIG_fail
;
24826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24827 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24829 wxPyEndAllowThreads(__tstate
);
24830 if (PyErr_Occurred()) SWIG_fail
;
24833 resultobj
= wxPyMake_wxObject(result
, 0);
24849 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24850 PyObject
*resultobj
;
24851 wxWindow
*arg1
= (wxWindow
*) 0 ;
24852 wxEvtHandler
*result
;
24853 PyObject
* obj0
= 0 ;
24854 char *kwnames
[] = {
24855 (char *) "self", NULL
24858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24863 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24865 wxPyEndAllowThreads(__tstate
);
24866 if (PyErr_Occurred()) SWIG_fail
;
24869 resultobj
= wxPyMake_wxObject(result
, 0);
24877 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24878 PyObject
*resultobj
;
24879 wxWindow
*arg1
= (wxWindow
*) 0 ;
24880 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24881 PyObject
* obj0
= 0 ;
24882 PyObject
* obj1
= 0 ;
24883 char *kwnames
[] = {
24884 (char *) "self",(char *) "handler", NULL
24887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24894 (arg1
)->SetEventHandler(arg2
);
24896 wxPyEndAllowThreads(__tstate
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24899 Py_INCREF(Py_None
); resultobj
= Py_None
;
24906 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24907 PyObject
*resultobj
;
24908 wxWindow
*arg1
= (wxWindow
*) 0 ;
24909 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24910 PyObject
* obj0
= 0 ;
24911 PyObject
* obj1
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self",(char *) "handler", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24923 (arg1
)->PushEventHandler(arg2
);
24925 wxPyEndAllowThreads(__tstate
);
24926 if (PyErr_Occurred()) SWIG_fail
;
24928 Py_INCREF(Py_None
); resultobj
= Py_None
;
24935 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24936 PyObject
*resultobj
;
24937 wxWindow
*arg1
= (wxWindow
*) 0 ;
24938 bool arg2
= (bool) False
;
24939 wxEvtHandler
*result
;
24940 PyObject
* obj0
= 0 ;
24941 PyObject
* obj1
= 0 ;
24942 char *kwnames
[] = {
24943 (char *) "self",(char *) "deleteHandler", NULL
24946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24950 arg2
= (bool) SWIG_AsBool(obj1
);
24951 if (PyErr_Occurred()) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= wxPyMake_wxObject(result
, 0);
24969 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxWindow
*arg1
= (wxWindow
*) 0 ;
24972 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "handler", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24987 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25001 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25002 PyObject
*resultobj
;
25003 wxWindow
*arg1
= (wxWindow
*) 0 ;
25004 wxValidator
*arg2
= 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char *kwnames
[] = {
25008 (char *) "self",(char *) "validator", NULL
25011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25014 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25017 if (arg2
== NULL
) {
25018 PyErr_SetString(PyExc_TypeError
,"null reference");
25022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25023 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 Py_INCREF(Py_None
); resultobj
= Py_None
;
25035 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxWindow
*arg1
= (wxWindow
*) 0 ;
25038 wxValidator
*result
;
25039 PyObject
* obj0
= 0 ;
25040 char *kwnames
[] = {
25041 (char *) "self", NULL
25044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25049 result
= (wxValidator
*)(arg1
)->GetValidator();
25051 wxPyEndAllowThreads(__tstate
);
25052 if (PyErr_Occurred()) SWIG_fail
;
25055 resultobj
= wxPyMake_wxObject(result
, 0);
25063 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25064 PyObject
*resultobj
;
25065 wxWindow
*arg1
= (wxWindow
*) 0 ;
25067 PyObject
* obj0
= 0 ;
25068 char *kwnames
[] = {
25069 (char *) "self", NULL
25072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25077 result
= (bool)(arg1
)->Validate();
25079 wxPyEndAllowThreads(__tstate
);
25080 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25091 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25092 PyObject
*resultobj
;
25093 wxWindow
*arg1
= (wxWindow
*) 0 ;
25095 PyObject
* obj0
= 0 ;
25096 char *kwnames
[] = {
25097 (char *) "self", NULL
25100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 result
= (bool)(arg1
)->TransferDataToWindow();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25119 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25120 PyObject
*resultobj
;
25121 wxWindow
*arg1
= (wxWindow
*) 0 ;
25123 PyObject
* obj0
= 0 ;
25124 char *kwnames
[] = {
25125 (char *) "self", NULL
25128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25133 result
= (bool)(arg1
)->TransferDataFromWindow();
25135 wxPyEndAllowThreads(__tstate
);
25136 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25147 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25148 PyObject
*resultobj
;
25149 wxWindow
*arg1
= (wxWindow
*) 0 ;
25150 PyObject
* obj0
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 (arg1
)->InitDialog();
25162 wxPyEndAllowThreads(__tstate
);
25163 if (PyErr_Occurred()) SWIG_fail
;
25165 Py_INCREF(Py_None
); resultobj
= Py_None
;
25172 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25173 PyObject
*resultobj
;
25174 wxWindow
*arg1
= (wxWindow
*) 0 ;
25175 wxAcceleratorTable
*arg2
= 0 ;
25176 PyObject
* obj0
= 0 ;
25177 PyObject
* obj1
= 0 ;
25178 char *kwnames
[] = {
25179 (char *) "self",(char *) "accel", NULL
25182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25188 if (arg2
== NULL
) {
25189 PyErr_SetString(PyExc_TypeError
,"null reference");
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxWindow
*arg1
= (wxWindow
*) 0 ;
25209 wxAcceleratorTable
*result
;
25210 PyObject
* obj0
= 0 ;
25211 char *kwnames
[] = {
25212 (char *) "self", NULL
25215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25220 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25222 wxPyEndAllowThreads(__tstate
);
25223 if (PyErr_Occurred()) SWIG_fail
;
25225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25232 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25233 PyObject
*resultobj
;
25234 wxWindow
*arg1
= (wxWindow
*) 0 ;
25239 PyObject
* obj0
= 0 ;
25240 PyObject
* obj1
= 0 ;
25241 PyObject
* obj2
= 0 ;
25242 PyObject
* obj3
= 0 ;
25243 char *kwnames
[] = {
25244 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25250 arg2
= (int) SWIG_AsInt(obj1
);
25251 if (PyErr_Occurred()) SWIG_fail
;
25252 arg3
= (int) SWIG_AsInt(obj2
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25254 arg4
= (int) SWIG_AsInt(obj3
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25258 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25260 wxPyEndAllowThreads(__tstate
);
25261 if (PyErr_Occurred()) SWIG_fail
;
25264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25272 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25273 PyObject
*resultobj
;
25274 wxWindow
*arg1
= (wxWindow
*) 0 ;
25277 PyObject
* obj0
= 0 ;
25278 PyObject
* obj1
= 0 ;
25279 char *kwnames
[] = {
25280 (char *) "self",(char *) "hotkeyId", NULL
25283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25286 arg2
= (int) SWIG_AsInt(obj1
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25290 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25292 wxPyEndAllowThreads(__tstate
);
25293 if (PyErr_Occurred()) SWIG_fail
;
25296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25304 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25305 PyObject
*resultobj
;
25306 wxWindow
*arg1
= (wxWindow
*) 0 ;
25307 wxPoint
*arg2
= 0 ;
25310 PyObject
* obj0
= 0 ;
25311 PyObject
* obj1
= 0 ;
25312 char *kwnames
[] = {
25313 (char *) "self",(char *) "pt", NULL
25316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25321 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25327 wxPyEndAllowThreads(__tstate
);
25328 if (PyErr_Occurred()) SWIG_fail
;
25331 wxPoint
* resultptr
;
25332 resultptr
= new wxPoint((wxPoint
&) result
);
25333 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25341 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25342 PyObject
*resultobj
;
25343 wxWindow
*arg1
= (wxWindow
*) 0 ;
25347 PyObject
* obj0
= 0 ;
25348 PyObject
* obj1
= 0 ;
25349 char *kwnames
[] = {
25350 (char *) "self",(char *) "sz", NULL
25353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25358 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25362 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25364 wxPyEndAllowThreads(__tstate
);
25365 if (PyErr_Occurred()) SWIG_fail
;
25368 wxSize
* resultptr
;
25369 resultptr
= new wxSize((wxSize
&) result
);
25370 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25378 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25379 PyObject
*resultobj
;
25380 wxWindow
*arg1
= (wxWindow
*) 0 ;
25381 wxPoint
*arg2
= 0 ;
25384 PyObject
* obj0
= 0 ;
25385 PyObject
* obj1
= 0 ;
25386 char *kwnames
[] = {
25387 (char *) "self",(char *) "pt", NULL
25390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25395 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25405 wxPoint
* resultptr
;
25406 resultptr
= new wxPoint((wxPoint
&) result
);
25407 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25415 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25416 PyObject
*resultobj
;
25417 wxWindow
*arg1
= (wxWindow
*) 0 ;
25421 PyObject
* obj0
= 0 ;
25422 PyObject
* obj1
= 0 ;
25423 char *kwnames
[] = {
25424 (char *) "self",(char *) "sz", NULL
25427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25432 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25436 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25438 wxPyEndAllowThreads(__tstate
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25442 wxSize
* resultptr
;
25443 resultptr
= new wxSize((wxSize
&) result
);
25444 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25452 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxWindow
*arg1
= (wxWindow
*) 0 ;
25455 wxPoint
*arg2
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "pt", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25479 wxPoint
* resultptr
;
25480 resultptr
= new wxPoint((wxPoint
&) result
);
25481 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25489 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25490 PyObject
*resultobj
;
25491 wxWindow
*arg1
= (wxWindow
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "sz", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 wxSize
* resultptr
;
25517 resultptr
= new wxSize((wxSize
&) result
);
25518 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25526 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25527 PyObject
*resultobj
;
25528 wxWindow
*arg1
= (wxWindow
*) 0 ;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj1
= 0 ;
25533 PyObject
* obj2
= 0 ;
25534 char *kwnames
[] = {
25535 (char *) "self",(char *) "x",(char *) "y", NULL
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25541 arg2
= (int) SWIG_AsInt(obj1
);
25542 if (PyErr_Occurred()) SWIG_fail
;
25543 arg3
= (int) SWIG_AsInt(obj2
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25547 (arg1
)->WarpPointer(arg2
,arg3
);
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 Py_INCREF(Py_None
); resultobj
= Py_None
;
25559 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25560 PyObject
*resultobj
;
25561 wxWindow
*arg1
= (wxWindow
*) 0 ;
25562 PyObject
* obj0
= 0 ;
25563 char *kwnames
[] = {
25564 (char *) "self", NULL
25567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25572 (arg1
)->CaptureMouse();
25574 wxPyEndAllowThreads(__tstate
);
25575 if (PyErr_Occurred()) SWIG_fail
;
25577 Py_INCREF(Py_None
); resultobj
= Py_None
;
25584 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25585 PyObject
*resultobj
;
25586 wxWindow
*arg1
= (wxWindow
*) 0 ;
25587 PyObject
* obj0
= 0 ;
25588 char *kwnames
[] = {
25589 (char *) "self", NULL
25592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25597 (arg1
)->ReleaseMouse();
25599 wxPyEndAllowThreads(__tstate
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25602 Py_INCREF(Py_None
); resultobj
= Py_None
;
25609 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25610 PyObject
*resultobj
;
25612 char *kwnames
[] = {
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25618 if (!wxPyCheckForApp()) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 result
= (wxWindow
*)wxWindow::GetCapture();
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25626 resultobj
= wxPyMake_wxObject(result
, 0);
25634 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25635 PyObject
*resultobj
;
25636 wxWindow
*arg1
= (wxWindow
*) 0 ;
25638 PyObject
* obj0
= 0 ;
25639 char *kwnames
[] = {
25640 (char *) "self", NULL
25643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25648 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25650 wxPyEndAllowThreads(__tstate
);
25651 if (PyErr_Occurred()) SWIG_fail
;
25654 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25662 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25665 bool arg2
= (bool) True
;
25666 wxRect
*arg3
= (wxRect
*) NULL
;
25667 PyObject
* obj0
= 0 ;
25668 PyObject
* obj1
= 0 ;
25669 PyObject
* obj2
= 0 ;
25670 char *kwnames
[] = {
25671 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25678 arg2
= (bool) SWIG_AsBool(obj1
);
25679 if (PyErr_Occurred()) SWIG_fail
;
25682 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25687 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25689 wxPyEndAllowThreads(__tstate
);
25690 if (PyErr_Occurred()) SWIG_fail
;
25692 Py_INCREF(Py_None
); resultobj
= Py_None
;
25699 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25700 PyObject
*resultobj
;
25701 wxWindow
*arg1
= (wxWindow
*) 0 ;
25704 PyObject
* obj0
= 0 ;
25705 PyObject
* obj1
= 0 ;
25706 char *kwnames
[] = {
25707 (char *) "self",(char *) "rect", NULL
25710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25715 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25719 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 Py_INCREF(Py_None
); resultobj
= Py_None
;
25731 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25732 PyObject
*resultobj
;
25733 wxWindow
*arg1
= (wxWindow
*) 0 ;
25734 PyObject
* obj0
= 0 ;
25735 char *kwnames
[] = {
25736 (char *) "self", NULL
25739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 Py_INCREF(Py_None
); resultobj
= Py_None
;
25756 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25757 PyObject
*resultobj
;
25758 wxWindow
*arg1
= (wxWindow
*) 0 ;
25759 PyObject
* obj0
= 0 ;
25760 char *kwnames
[] = {
25761 (char *) "self", NULL
25764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25769 (arg1
)->ClearBackground();
25771 wxPyEndAllowThreads(__tstate
);
25772 if (PyErr_Occurred()) SWIG_fail
;
25774 Py_INCREF(Py_None
); resultobj
= Py_None
;
25781 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25782 PyObject
*resultobj
;
25783 wxWindow
*arg1
= (wxWindow
*) 0 ;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25799 Py_INCREF(Py_None
); resultobj
= Py_None
;
25806 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25807 PyObject
*resultobj
;
25808 wxWindow
*arg1
= (wxWindow
*) 0 ;
25809 PyObject
* obj0
= 0 ;
25810 char *kwnames
[] = {
25811 (char *) "self", NULL
25814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 wxPyEndAllowThreads(__tstate
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25824 Py_INCREF(Py_None
); resultobj
= Py_None
;
25831 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25832 PyObject
*resultobj
;
25833 wxWindow
*arg1
= (wxWindow
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 PyObject
* obj1
= 0 ;
25837 char *kwnames
[] = {
25838 (char *) "self",(char *) "dc", NULL
25841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25844 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25847 if (arg2
== NULL
) {
25848 PyErr_SetString(PyExc_TypeError
,"null reference");
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->PrepareDC(*arg2
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25880 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25881 result
= (wxRegion
*) &_result_ref
;
25884 wxPyEndAllowThreads(__tstate
);
25885 if (PyErr_Occurred()) SWIG_fail
;
25887 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25894 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25895 PyObject
*resultobj
;
25896 wxWindow
*arg1
= (wxWindow
*) 0 ;
25898 PyObject
* obj0
= 0 ;
25899 char *kwnames
[] = {
25900 (char *) "self", NULL
25903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25914 wxRect
* resultptr
;
25915 resultptr
= new wxRect((wxRect
&) result
);
25916 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25924 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25925 PyObject
*resultobj
;
25926 wxWindow
*arg1
= (wxWindow
*) 0 ;
25929 int arg4
= (int) 1 ;
25930 int arg5
= (int) 1 ;
25932 PyObject
* obj0
= 0 ;
25933 PyObject
* obj1
= 0 ;
25934 PyObject
* obj2
= 0 ;
25935 PyObject
* obj3
= 0 ;
25936 PyObject
* obj4
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25944 arg2
= (int) SWIG_AsInt(obj1
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25946 arg3
= (int) SWIG_AsInt(obj2
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25949 arg4
= (int) SWIG_AsInt(obj3
);
25950 if (PyErr_Occurred()) SWIG_fail
;
25953 arg5
= (int) SWIG_AsInt(obj4
);
25954 if (PyErr_Occurred()) SWIG_fail
;
25957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25958 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25960 wxPyEndAllowThreads(__tstate
);
25961 if (PyErr_Occurred()) SWIG_fail
;
25964 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25972 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxWindow
*arg1
= (wxWindow
*) 0 ;
25975 wxPoint
*arg2
= 0 ;
25978 PyObject
* obj0
= 0 ;
25979 PyObject
* obj1
= 0 ;
25980 char *kwnames
[] = {
25981 (char *) "self",(char *) "pt", NULL
25984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25993 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25995 wxPyEndAllowThreads(__tstate
);
25996 if (PyErr_Occurred()) SWIG_fail
;
25999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26007 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26008 PyObject
*resultobj
;
26009 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 PyObject
* obj1
= 0 ;
26015 char *kwnames
[] = {
26016 (char *) "self",(char *) "rect", NULL
26019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26024 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26028 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26030 wxPyEndAllowThreads(__tstate
);
26031 if (PyErr_Occurred()) SWIG_fail
;
26034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26042 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxWindow
*arg1
= (wxWindow
*) 0 ;
26045 wxVisualAttributes result
;
26046 PyObject
* obj0
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26062 wxVisualAttributes
* resultptr
;
26063 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26064 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26072 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26073 PyObject
*resultobj
;
26074 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26075 wxVisualAttributes result
;
26076 PyObject
* obj0
= 0 ;
26077 char *kwnames
[] = {
26078 (char *) "variant", NULL
26081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26083 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26084 if (PyErr_Occurred()) SWIG_fail
;
26087 if (!wxPyCheckForApp()) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26095 wxVisualAttributes
* resultptr
;
26096 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26105 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26106 PyObject
*resultobj
;
26107 wxWindow
*arg1
= (wxWindow
*) 0 ;
26108 wxColour
*arg2
= 0 ;
26111 PyObject
* obj0
= 0 ;
26112 PyObject
* obj1
= 0 ;
26113 char *kwnames
[] = {
26114 (char *) "self",(char *) "colour", NULL
26117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26122 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26126 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26128 wxPyEndAllowThreads(__tstate
);
26129 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26140 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26141 PyObject
*resultobj
;
26142 wxWindow
*arg1
= (wxWindow
*) 0 ;
26143 wxColour
*arg2
= 0 ;
26145 PyObject
* obj0
= 0 ;
26146 PyObject
* obj1
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "colour", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26156 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26160 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26165 Py_INCREF(Py_None
); resultobj
= Py_None
;
26172 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26173 PyObject
*resultobj
;
26174 wxWindow
*arg1
= (wxWindow
*) 0 ;
26175 wxColour
*arg2
= 0 ;
26178 PyObject
* obj0
= 0 ;
26179 PyObject
* obj1
= 0 ;
26180 char *kwnames
[] = {
26181 (char *) "self",(char *) "colour", NULL
26184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26189 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26193 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26195 wxPyEndAllowThreads(__tstate
);
26196 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26207 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26208 PyObject
*resultobj
;
26209 wxWindow
*arg1
= (wxWindow
*) 0 ;
26210 wxColour
*arg2
= 0 ;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self",(char *) "colour", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26223 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 Py_INCREF(Py_None
); resultobj
= Py_None
;
26239 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxWindow
*arg1
= (wxWindow
*) 0 ;
26243 PyObject
* obj0
= 0 ;
26244 char *kwnames
[] = {
26245 (char *) "self", NULL
26248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26255 wxPyEndAllowThreads(__tstate
);
26256 if (PyErr_Occurred()) SWIG_fail
;
26259 wxColour
* resultptr
;
26260 resultptr
= new wxColour((wxColour
&) result
);
26261 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26269 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26270 PyObject
*resultobj
;
26271 wxWindow
*arg1
= (wxWindow
*) 0 ;
26273 PyObject
* obj0
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26289 wxColour
* resultptr
;
26290 resultptr
= new wxColour((wxColour
&) result
);
26291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26299 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26300 PyObject
*resultobj
;
26301 wxWindow
*arg1
= (wxWindow
*) 0 ;
26302 wxCursor
*arg2
= 0 ;
26304 PyObject
* obj0
= 0 ;
26305 PyObject
* obj1
= 0 ;
26306 char *kwnames
[] = {
26307 (char *) "self",(char *) "cursor", NULL
26310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26313 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26316 if (arg2
== NULL
) {
26317 PyErr_SetString(PyExc_TypeError
,"null reference");
26321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26322 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26324 wxPyEndAllowThreads(__tstate
);
26325 if (PyErr_Occurred()) SWIG_fail
;
26328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26336 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxWindow
*arg1
= (wxWindow
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= (arg1
)->GetCursor();
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26356 wxCursor
* resultptr
;
26357 resultptr
= new wxCursor((wxCursor
&) result
);
26358 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26366 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26367 PyObject
*resultobj
;
26368 wxWindow
*arg1
= (wxWindow
*) 0 ;
26371 PyObject
* obj0
= 0 ;
26372 PyObject
* obj1
= 0 ;
26373 char *kwnames
[] = {
26374 (char *) "self",(char *) "font", NULL
26377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26383 if (arg2
== NULL
) {
26384 PyErr_SetString(PyExc_TypeError
,"null reference");
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26403 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxWindow
*arg1
= (wxWindow
*) 0 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "font", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26419 if (arg2
== NULL
) {
26420 PyErr_SetString(PyExc_TypeError
,"null reference");
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26437 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 char *kwnames
[] = {
26443 (char *) "self", NULL
26446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26451 result
= (arg1
)->GetFont();
26453 wxPyEndAllowThreads(__tstate
);
26454 if (PyErr_Occurred()) SWIG_fail
;
26457 wxFont
* resultptr
;
26458 resultptr
= new wxFont((wxFont
&) result
);
26459 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26467 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26468 PyObject
*resultobj
;
26469 wxWindow
*arg1
= (wxWindow
*) 0 ;
26470 wxCaret
*arg2
= (wxCaret
*) 0 ;
26471 PyObject
* obj0
= 0 ;
26472 PyObject
* obj1
= 0 ;
26473 char *kwnames
[] = {
26474 (char *) "self",(char *) "caret", NULL
26477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26480 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26484 (arg1
)->SetCaret(arg2
);
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26489 Py_INCREF(Py_None
); resultobj
= Py_None
;
26496 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26497 PyObject
*resultobj
;
26498 wxWindow
*arg1
= (wxWindow
*) 0 ;
26500 PyObject
* obj0
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26522 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxWindow
*arg1
= (wxWindow
*) 0 ;
26526 PyObject
* obj0
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26538 wxPyEndAllowThreads(__tstate
);
26539 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= SWIG_FromInt((int)result
);
26548 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26549 PyObject
*resultobj
;
26550 wxWindow
*arg1
= (wxWindow
*) 0 ;
26552 PyObject
* obj0
= 0 ;
26553 char *kwnames
[] = {
26554 (char *) "self", NULL
26557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26562 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26564 wxPyEndAllowThreads(__tstate
);
26565 if (PyErr_Occurred()) SWIG_fail
;
26567 resultobj
= SWIG_FromInt((int)result
);
26574 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26575 PyObject
*resultobj
;
26576 wxWindow
*arg1
= (wxWindow
*) 0 ;
26577 wxString
*arg2
= 0 ;
26578 int *arg3
= (int *) 0 ;
26579 int *arg4
= (int *) 0 ;
26580 bool temp2
= False
;
26583 PyObject
* obj0
= 0 ;
26584 PyObject
* obj1
= 0 ;
26585 char *kwnames
[] = {
26586 (char *) "self",(char *) "string", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 arg2
= wxString_in_helper(obj1
);
26596 if (arg2
== NULL
) SWIG_fail
;
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 Py_INCREF(Py_None
); resultobj
= Py_None
;
26608 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26609 resultobj
= t_output_helper(resultobj
,o
);
26612 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26613 resultobj
= t_output_helper(resultobj
,o
);
26629 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
;
26631 wxWindow
*arg1
= (wxWindow
*) 0 ;
26632 wxString
*arg2
= 0 ;
26633 int *arg3
= (int *) 0 ;
26634 int *arg4
= (int *) 0 ;
26635 int *arg5
= (int *) 0 ;
26636 int *arg6
= (int *) 0 ;
26637 wxFont
*arg7
= (wxFont
*) NULL
;
26638 bool temp2
= False
;
26643 PyObject
* obj0
= 0 ;
26644 PyObject
* obj1
= 0 ;
26645 PyObject
* obj2
= 0 ;
26646 char *kwnames
[] = {
26647 (char *) "self",(char *) "string",(char *) "font", NULL
26654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26658 arg2
= wxString_in_helper(obj1
);
26659 if (arg2
== NULL
) SWIG_fail
;
26663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26668 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26670 wxPyEndAllowThreads(__tstate
);
26671 if (PyErr_Occurred()) SWIG_fail
;
26673 Py_INCREF(Py_None
); resultobj
= Py_None
;
26675 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26676 resultobj
= t_output_helper(resultobj
,o
);
26679 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26680 resultobj
= t_output_helper(resultobj
,o
);
26683 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26684 resultobj
= t_output_helper(resultobj
,o
);
26687 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26688 resultobj
= t_output_helper(resultobj
,o
);
26704 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
;
26706 wxWindow
*arg1
= (wxWindow
*) 0 ;
26707 int *arg2
= (int *) 0 ;
26708 int *arg3
= (int *) 0 ;
26711 PyObject
* obj0
= 0 ;
26712 PyObject
* obj1
= 0 ;
26713 PyObject
* obj2
= 0 ;
26714 char *kwnames
[] = {
26715 (char *) "self",(char *) "x",(char *) "y", NULL
26718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26722 temp2
= PyInt_AsLong(obj1
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26727 temp3
= PyInt_AsLong(obj2
);
26728 if (PyErr_Occurred()) SWIG_fail
;
26732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26733 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26735 wxPyEndAllowThreads(__tstate
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26738 Py_INCREF(Py_None
); resultobj
= Py_None
;
26740 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26741 resultobj
= t_output_helper(resultobj
,o
);
26744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26745 resultobj
= t_output_helper(resultobj
,o
);
26753 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26754 PyObject
*resultobj
;
26755 wxWindow
*arg1
= (wxWindow
*) 0 ;
26756 int *arg2
= (int *) 0 ;
26757 int *arg3
= (int *) 0 ;
26760 PyObject
* obj0
= 0 ;
26761 PyObject
* obj1
= 0 ;
26762 PyObject
* obj2
= 0 ;
26763 char *kwnames
[] = {
26764 (char *) "self",(char *) "x",(char *) "y", NULL
26767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 temp2
= PyInt_AsLong(obj1
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26776 temp3
= PyInt_AsLong(obj2
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26782 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 Py_INCREF(Py_None
); resultobj
= Py_None
;
26789 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26790 resultobj
= t_output_helper(resultobj
,o
);
26793 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26794 resultobj
= t_output_helper(resultobj
,o
);
26802 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26803 PyObject
*resultobj
;
26804 wxWindow
*arg1
= (wxWindow
*) 0 ;
26805 wxPoint
*arg2
= 0 ;
26808 PyObject
* obj0
= 0 ;
26809 PyObject
* obj1
= 0 ;
26810 char *kwnames
[] = {
26811 (char *) "self",(char *) "pt", NULL
26814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26823 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26825 wxPyEndAllowThreads(__tstate
);
26826 if (PyErr_Occurred()) SWIG_fail
;
26829 wxPoint
* resultptr
;
26830 resultptr
= new wxPoint((wxPoint
&) result
);
26831 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26839 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26840 PyObject
*resultobj
;
26841 wxWindow
*arg1
= (wxWindow
*) 0 ;
26842 wxPoint
*arg2
= 0 ;
26845 PyObject
* obj0
= 0 ;
26846 PyObject
* obj1
= 0 ;
26847 char *kwnames
[] = {
26848 (char *) "self",(char *) "pt", NULL
26851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26856 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26860 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26862 wxPyEndAllowThreads(__tstate
);
26863 if (PyErr_Occurred()) SWIG_fail
;
26866 wxPoint
* resultptr
;
26867 resultptr
= new wxPoint((wxPoint
&) result
);
26868 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26876 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26877 PyObject
*resultobj
;
26878 wxWindow
*arg1
= (wxWindow
*) 0 ;
26882 PyObject
* obj0
= 0 ;
26883 PyObject
* obj1
= 0 ;
26884 PyObject
* obj2
= 0 ;
26885 char *kwnames
[] = {
26886 (char *) "self",(char *) "x",(char *) "y", NULL
26889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26892 arg2
= (int) SWIG_AsInt(obj1
);
26893 if (PyErr_Occurred()) SWIG_fail
;
26894 arg3
= (int) SWIG_AsInt(obj2
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26898 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26900 wxPyEndAllowThreads(__tstate
);
26901 if (PyErr_Occurred()) SWIG_fail
;
26903 resultobj
= SWIG_FromInt((int)result
);
26910 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxWindow
*arg1
= (wxWindow
*) 0 ;
26913 wxPoint
*arg2
= 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 char *kwnames
[] = {
26919 (char *) "self",(char *) "pt", NULL
26922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26927 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26931 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26933 wxPyEndAllowThreads(__tstate
);
26934 if (PyErr_Occurred()) SWIG_fail
;
26936 resultobj
= SWIG_FromInt((int)result
);
26943 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26944 PyObject
*resultobj
;
26945 wxWindow
*arg1
= (wxWindow
*) 0 ;
26948 PyObject
* obj0
= 0 ;
26949 PyObject
* obj1
= 0 ;
26951 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26954 arg2
= (long) SWIG_AsLong(obj1
);
26955 if (PyErr_Occurred()) SWIG_fail
;
26957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26958 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26960 wxPyEndAllowThreads(__tstate
);
26961 if (PyErr_Occurred()) SWIG_fail
;
26963 resultobj
= SWIG_FromInt((int)result
);
26970 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26971 PyObject
*resultobj
;
26972 wxWindow
*arg1
= (wxWindow
*) 0 ;
26974 PyObject
* obj0
= 0 ;
26976 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26981 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26983 wxPyEndAllowThreads(__tstate
);
26984 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= SWIG_FromInt((int)result
);
26993 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26998 argc
= PyObject_Length(args
);
26999 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27000 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27006 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27014 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27021 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27029 _v
= SWIG_CheckLong(argv
[1]);
27031 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27036 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27041 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27042 PyObject
*resultobj
;
27043 wxWindow
*arg1
= (wxWindow
*) 0 ;
27044 long arg2
= (long) wxUPDATE_UI_NONE
;
27045 PyObject
* obj0
= 0 ;
27046 PyObject
* obj1
= 0 ;
27047 char *kwnames
[] = {
27048 (char *) "self",(char *) "flags", NULL
27051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27055 arg2
= (long) SWIG_AsLong(obj1
);
27056 if (PyErr_Occurred()) SWIG_fail
;
27059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27060 (arg1
)->UpdateWindowUI(arg2
);
27062 wxPyEndAllowThreads(__tstate
);
27063 if (PyErr_Occurred()) SWIG_fail
;
27065 Py_INCREF(Py_None
); resultobj
= Py_None
;
27072 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27073 PyObject
*resultobj
;
27074 wxWindow
*arg1
= (wxWindow
*) 0 ;
27075 wxMenu
*arg2
= (wxMenu
*) 0 ;
27076 int arg3
= (int) -1 ;
27077 int arg4
= (int) -1 ;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 PyObject
* obj2
= 0 ;
27082 PyObject
* obj3
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27090 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27093 arg3
= (int) SWIG_AsInt(obj2
);
27094 if (PyErr_Occurred()) SWIG_fail
;
27097 arg4
= (int) SWIG_AsInt(obj3
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27116 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27117 PyObject
*resultobj
;
27118 wxWindow
*arg1
= (wxWindow
*) 0 ;
27119 wxMenu
*arg2
= (wxMenu
*) 0 ;
27120 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27121 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27124 PyObject
* obj0
= 0 ;
27125 PyObject
* obj1
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "menu",(char *) "pos", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27139 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27144 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27146 wxPyEndAllowThreads(__tstate
);
27147 if (PyErr_Occurred()) SWIG_fail
;
27150 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27158 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27159 PyObject
*resultobj
;
27160 wxWindow
*arg1
= (wxWindow
*) 0 ;
27162 PyObject
* obj0
= 0 ;
27163 char *kwnames
[] = {
27164 (char *) "self", NULL
27167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27172 result
= (long)wxWindow_GetHandle(arg1
);
27174 wxPyEndAllowThreads(__tstate
);
27175 if (PyErr_Occurred()) SWIG_fail
;
27177 resultobj
= SWIG_FromLong((long)result
);
27184 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27185 PyObject
*resultobj
;
27186 wxWindow
*arg1
= (wxWindow
*) 0 ;
27187 wxPaintEvent
*arg2
= 0 ;
27188 PyObject
* obj0
= 0 ;
27189 PyObject
* obj1
= 0 ;
27190 char *kwnames
[] = {
27191 (char *) "self",(char *) "event", NULL
27194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27197 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27198 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27200 if (arg2
== NULL
) {
27201 PyErr_SetString(PyExc_TypeError
,"null reference");
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 (arg1
)->OnPaint(*arg2
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 Py_INCREF(Py_None
); resultobj
= Py_None
;
27218 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxWindow
*arg1
= (wxWindow
*) 0 ;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 char *kwnames
[] = {
27226 (char *) "self",(char *) "orient", NULL
27229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27232 arg2
= (int) SWIG_AsInt(obj1
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27236 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27238 wxPyEndAllowThreads(__tstate
);
27239 if (PyErr_Occurred()) SWIG_fail
;
27242 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27250 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27251 PyObject
*resultobj
;
27252 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 bool arg6
= (bool) True
;
27258 PyObject
* obj0
= 0 ;
27259 PyObject
* obj1
= 0 ;
27260 PyObject
* obj2
= 0 ;
27261 PyObject
* obj3
= 0 ;
27262 PyObject
* obj4
= 0 ;
27263 PyObject
* obj5
= 0 ;
27264 char *kwnames
[] = {
27265 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27271 arg2
= (int) SWIG_AsInt(obj1
);
27272 if (PyErr_Occurred()) SWIG_fail
;
27273 arg3
= (int) SWIG_AsInt(obj2
);
27274 if (PyErr_Occurred()) SWIG_fail
;
27275 arg4
= (int) SWIG_AsInt(obj3
);
27276 if (PyErr_Occurred()) SWIG_fail
;
27277 arg5
= (int) SWIG_AsInt(obj4
);
27278 if (PyErr_Occurred()) SWIG_fail
;
27280 arg6
= (bool) SWIG_AsBool(obj5
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27285 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27287 wxPyEndAllowThreads(__tstate
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27290 Py_INCREF(Py_None
); resultobj
= Py_None
;
27297 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27298 PyObject
*resultobj
;
27299 wxWindow
*arg1
= (wxWindow
*) 0 ;
27302 bool arg4
= (bool) True
;
27303 PyObject
* obj0
= 0 ;
27304 PyObject
* obj1
= 0 ;
27305 PyObject
* obj2
= 0 ;
27306 PyObject
* obj3
= 0 ;
27307 char *kwnames
[] = {
27308 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27314 arg2
= (int) SWIG_AsInt(obj1
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27316 arg3
= (int) SWIG_AsInt(obj2
);
27317 if (PyErr_Occurred()) SWIG_fail
;
27319 arg4
= (bool) SWIG_AsBool(obj3
);
27320 if (PyErr_Occurred()) SWIG_fail
;
27323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27324 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27326 wxPyEndAllowThreads(__tstate
);
27327 if (PyErr_Occurred()) SWIG_fail
;
27329 Py_INCREF(Py_None
); resultobj
= Py_None
;
27336 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27337 PyObject
*resultobj
;
27338 wxWindow
*arg1
= (wxWindow
*) 0 ;
27341 PyObject
* obj0
= 0 ;
27342 PyObject
* obj1
= 0 ;
27343 char *kwnames
[] = {
27344 (char *) "self",(char *) "orientation", NULL
27347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27350 arg2
= (int) SWIG_AsInt(obj1
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27354 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27359 resultobj
= SWIG_FromInt((int)result
);
27366 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27367 PyObject
*resultobj
;
27368 wxWindow
*arg1
= (wxWindow
*) 0 ;
27371 PyObject
* obj0
= 0 ;
27372 PyObject
* obj1
= 0 ;
27373 char *kwnames
[] = {
27374 (char *) "self",(char *) "orientation", NULL
27377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27380 arg2
= (int) SWIG_AsInt(obj1
);
27381 if (PyErr_Occurred()) SWIG_fail
;
27383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27384 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27386 wxPyEndAllowThreads(__tstate
);
27387 if (PyErr_Occurred()) SWIG_fail
;
27389 resultobj
= SWIG_FromInt((int)result
);
27396 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27397 PyObject
*resultobj
;
27398 wxWindow
*arg1
= (wxWindow
*) 0 ;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj1
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "orientation", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 arg2
= (int) SWIG_AsInt(obj1
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27414 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27416 wxPyEndAllowThreads(__tstate
);
27417 if (PyErr_Occurred()) SWIG_fail
;
27419 resultobj
= SWIG_FromInt((int)result
);
27426 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxWindow
*arg1
= (wxWindow
*) 0 ;
27431 wxRect
*arg4
= (wxRect
*) NULL
;
27432 PyObject
* obj0
= 0 ;
27433 PyObject
* obj1
= 0 ;
27434 PyObject
* obj2
= 0 ;
27435 PyObject
* obj3
= 0 ;
27436 char *kwnames
[] = {
27437 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27443 arg2
= (int) SWIG_AsInt(obj1
);
27444 if (PyErr_Occurred()) SWIG_fail
;
27445 arg3
= (int) SWIG_AsInt(obj2
);
27446 if (PyErr_Occurred()) SWIG_fail
;
27448 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27453 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27455 wxPyEndAllowThreads(__tstate
);
27456 if (PyErr_Occurred()) SWIG_fail
;
27458 Py_INCREF(Py_None
); resultobj
= Py_None
;
27465 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 PyObject
* obj1
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self",(char *) "lines", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27479 arg2
= (int) SWIG_AsInt(obj1
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= (bool)(arg1
)->ScrollLines(arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27497 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxWindow
*arg1
= (wxWindow
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 char *kwnames
[] = {
27505 (char *) "self",(char *) "pages", NULL
27508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27511 arg2
= (int) SWIG_AsInt(obj1
);
27512 if (PyErr_Occurred()) SWIG_fail
;
27514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27515 result
= (bool)(arg1
)->ScrollPages(arg2
);
27517 wxPyEndAllowThreads(__tstate
);
27518 if (PyErr_Occurred()) SWIG_fail
;
27521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27529 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27530 PyObject
*resultobj
;
27531 wxWindow
*arg1
= (wxWindow
*) 0 ;
27533 PyObject
* obj0
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27543 result
= (bool)(arg1
)->LineUp();
27545 wxPyEndAllowThreads(__tstate
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27549 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27557 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27558 PyObject
*resultobj
;
27559 wxWindow
*arg1
= (wxWindow
*) 0 ;
27561 PyObject
* obj0
= 0 ;
27562 char *kwnames
[] = {
27563 (char *) "self", NULL
27566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (bool)(arg1
)->LineDown();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27585 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxWindow
*arg1
= (wxWindow
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27599 result
= (bool)(arg1
)->PageUp();
27601 wxPyEndAllowThreads(__tstate
);
27602 if (PyErr_Occurred()) SWIG_fail
;
27605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27613 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27614 PyObject
*resultobj
;
27615 wxWindow
*arg1
= (wxWindow
*) 0 ;
27617 PyObject
* obj0
= 0 ;
27618 char *kwnames
[] = {
27619 (char *) "self", NULL
27622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27627 result
= (bool)(arg1
)->PageDown();
27629 wxPyEndAllowThreads(__tstate
);
27630 if (PyErr_Occurred()) SWIG_fail
;
27633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27641 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27642 PyObject
*resultobj
;
27643 wxWindow
*arg1
= (wxWindow
*) 0 ;
27644 wxString
*arg2
= 0 ;
27645 bool temp2
= False
;
27646 PyObject
* obj0
= 0 ;
27647 PyObject
* obj1
= 0 ;
27648 char *kwnames
[] = {
27649 (char *) "self",(char *) "text", NULL
27652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27656 arg2
= wxString_in_helper(obj1
);
27657 if (arg2
== NULL
) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27662 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27664 wxPyEndAllowThreads(__tstate
);
27665 if (PyErr_Occurred()) SWIG_fail
;
27667 Py_INCREF(Py_None
); resultobj
= Py_None
;
27682 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27683 PyObject
*resultobj
;
27684 wxWindow
*arg1
= (wxWindow
*) 0 ;
27685 wxString
*arg2
= 0 ;
27686 bool temp2
= False
;
27687 PyObject
* obj0
= 0 ;
27688 PyObject
* obj1
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self",(char *) "text", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27697 arg2
= wxString_in_helper(obj1
);
27698 if (arg2
== NULL
) SWIG_fail
;
27702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27703 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27705 wxPyEndAllowThreads(__tstate
);
27706 if (PyErr_Occurred()) SWIG_fail
;
27708 Py_INCREF(Py_None
); resultobj
= Py_None
;
27723 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxWindow
*arg1
= (wxWindow
*) 0 ;
27727 PyObject
* obj0
= 0 ;
27728 char *kwnames
[] = {
27729 (char *) "self", NULL
27732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27755 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27756 PyObject
*resultobj
;
27757 wxWindow
*arg1
= (wxWindow
*) 0 ;
27758 wxString
*arg2
= 0 ;
27759 bool temp2
= False
;
27760 PyObject
* obj0
= 0 ;
27761 PyObject
* obj1
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self",(char *) "tip", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 arg2
= wxString_in_helper(obj1
);
27771 if (arg2
== NULL
) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27781 Py_INCREF(Py_None
); resultobj
= Py_None
;
27796 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxWindow
*arg1
= (wxWindow
*) 0 ;
27799 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 PyObject
* obj1
= 0 ;
27802 char *kwnames
[] = {
27803 (char *) "self",(char *) "tip", NULL
27806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 (arg1
)->SetToolTip(arg2
);
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 Py_INCREF(Py_None
); resultobj
= Py_None
;
27825 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxWindow
*arg1
= (wxWindow
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27845 resultobj
= wxPyMake_wxObject(result
, 0);
27853 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27854 PyObject
*resultobj
;
27855 wxWindow
*arg1
= (wxWindow
*) 0 ;
27856 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27857 PyObject
* obj0
= 0 ;
27858 PyObject
* obj1
= 0 ;
27859 char *kwnames
[] = {
27860 (char *) "self",(char *) "dropTarget", NULL
27863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27866 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27867 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27870 (arg1
)->SetDropTarget(arg2
);
27872 wxPyEndAllowThreads(__tstate
);
27873 if (PyErr_Occurred()) SWIG_fail
;
27875 Py_INCREF(Py_None
); resultobj
= Py_None
;
27882 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27883 PyObject
*resultobj
;
27884 wxWindow
*arg1
= (wxWindow
*) 0 ;
27885 wxPyDropTarget
*result
;
27886 PyObject
* obj0
= 0 ;
27887 char *kwnames
[] = {
27888 (char *) "self", NULL
27891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27908 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxWindow
*arg1
= (wxWindow
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 PyObject
* obj1
= 0 ;
27914 char *kwnames
[] = {
27915 (char *) "self",(char *) "accept", NULL
27918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27921 arg2
= (bool) SWIG_AsBool(obj1
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27925 (arg1
)->DragAcceptFiles(arg2
);
27927 wxPyEndAllowThreads(__tstate
);
27928 if (PyErr_Occurred()) SWIG_fail
;
27930 Py_INCREF(Py_None
); resultobj
= Py_None
;
27937 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27938 PyObject
*resultobj
;
27939 wxWindow
*arg1
= (wxWindow
*) 0 ;
27940 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27941 PyObject
* obj0
= 0 ;
27942 PyObject
* obj1
= 0 ;
27943 char *kwnames
[] = {
27944 (char *) "self",(char *) "constraints", NULL
27947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27954 (arg1
)->SetConstraints(arg2
);
27956 wxPyEndAllowThreads(__tstate
);
27957 if (PyErr_Occurred()) SWIG_fail
;
27959 Py_INCREF(Py_None
); resultobj
= Py_None
;
27966 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27967 PyObject
*resultobj
;
27968 wxWindow
*arg1
= (wxWindow
*) 0 ;
27969 wxLayoutConstraints
*result
;
27970 PyObject
* obj0
= 0 ;
27971 char *kwnames
[] = {
27972 (char *) "self", NULL
27975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27980 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27992 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27993 PyObject
*resultobj
;
27994 wxWindow
*arg1
= (wxWindow
*) 0 ;
27996 PyObject
* obj0
= 0 ;
27997 PyObject
* obj1
= 0 ;
27998 char *kwnames
[] = {
27999 (char *) "self",(char *) "autoLayout", NULL
28002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28005 arg2
= (bool) SWIG_AsBool(obj1
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 (arg1
)->SetAutoLayout(arg2
);
28011 wxPyEndAllowThreads(__tstate
);
28012 if (PyErr_Occurred()) SWIG_fail
;
28014 Py_INCREF(Py_None
); resultobj
= Py_None
;
28021 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28022 PyObject
*resultobj
;
28023 wxWindow
*arg1
= (wxWindow
*) 0 ;
28025 PyObject
* obj0
= 0 ;
28026 char *kwnames
[] = {
28027 (char *) "self", NULL
28030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28031 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28035 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28037 wxPyEndAllowThreads(__tstate
);
28038 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28049 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28050 PyObject
*resultobj
;
28051 wxWindow
*arg1
= (wxWindow
*) 0 ;
28053 PyObject
* obj0
= 0 ;
28054 char *kwnames
[] = {
28055 (char *) "self", NULL
28058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (bool)(arg1
)->Layout();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28077 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28078 PyObject
*resultobj
;
28079 wxWindow
*arg1
= (wxWindow
*) 0 ;
28080 wxSizer
*arg2
= (wxSizer
*) 0 ;
28081 bool arg3
= (bool) True
;
28082 PyObject
* obj0
= 0 ;
28083 PyObject
* obj1
= 0 ;
28084 PyObject
* obj2
= 0 ;
28085 char *kwnames
[] = {
28086 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28095 arg3
= (bool) SWIG_AsBool(obj2
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 (arg1
)->SetSizer(arg2
,arg3
);
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28105 Py_INCREF(Py_None
); resultobj
= Py_None
;
28112 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
;
28114 wxWindow
*arg1
= (wxWindow
*) 0 ;
28115 wxSizer
*arg2
= (wxSizer
*) 0 ;
28116 bool arg3
= (bool) True
;
28117 PyObject
* obj0
= 0 ;
28118 PyObject
* obj1
= 0 ;
28119 PyObject
* obj2
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 arg3
= (bool) SWIG_AsBool(obj2
);
28131 if (PyErr_Occurred()) SWIG_fail
;
28134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28135 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28140 Py_INCREF(Py_None
); resultobj
= Py_None
;
28147 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28148 PyObject
*resultobj
;
28149 wxWindow
*arg1
= (wxWindow
*) 0 ;
28151 PyObject
* obj0
= 0 ;
28152 char *kwnames
[] = {
28153 (char *) "self", NULL
28156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28161 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28163 wxPyEndAllowThreads(__tstate
);
28164 if (PyErr_Occurred()) SWIG_fail
;
28167 resultobj
= wxPyMake_wxSizer(result
, 0);
28175 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28176 PyObject
*resultobj
;
28177 wxWindow
*arg1
= (wxWindow
*) 0 ;
28178 wxSizer
*arg2
= (wxSizer
*) 0 ;
28179 PyObject
* obj0
= 0 ;
28180 PyObject
* obj1
= 0 ;
28181 char *kwnames
[] = {
28182 (char *) "self",(char *) "sizer", NULL
28185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28192 (arg1
)->SetContainingSizer(arg2
);
28194 wxPyEndAllowThreads(__tstate
);
28195 if (PyErr_Occurred()) SWIG_fail
;
28197 Py_INCREF(Py_None
); resultobj
= Py_None
;
28204 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28205 PyObject
*resultobj
;
28206 wxWindow
*arg1
= (wxWindow
*) 0 ;
28208 PyObject
* obj0
= 0 ;
28209 char *kwnames
[] = {
28210 (char *) "self", NULL
28213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28224 resultobj
= wxPyMake_wxSizer(result
, 0);
28232 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxWindow
*arg1
= (wxWindow
*) 0 ;
28235 PyObject
* obj0
= 0 ;
28236 char *kwnames
[] = {
28237 (char *) "self", NULL
28240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28245 (arg1
)->InheritAttributes();
28247 wxPyEndAllowThreads(__tstate
);
28248 if (PyErr_Occurred()) SWIG_fail
;
28250 Py_INCREF(Py_None
); resultobj
= Py_None
;
28257 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28258 PyObject
*resultobj
;
28259 wxWindow
*arg1
= (wxWindow
*) 0 ;
28261 PyObject
* obj0
= 0 ;
28262 char *kwnames
[] = {
28263 (char *) "self", NULL
28266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28271 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28273 wxPyEndAllowThreads(__tstate
);
28274 if (PyErr_Occurred()) SWIG_fail
;
28277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28285 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28287 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28288 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28290 return Py_BuildValue((char *)"");
28292 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28293 PyObject
*resultobj
;
28295 wxWindow
*arg2
= (wxWindow
*) NULL
;
28297 PyObject
* obj0
= 0 ;
28298 PyObject
* obj1
= 0 ;
28299 char *kwnames
[] = {
28300 (char *) "id",(char *) "parent", NULL
28303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28304 arg1
= (long) SWIG_AsLong(obj0
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28311 if (!wxPyCheckForApp()) SWIG_fail
;
28312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28313 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28315 wxPyEndAllowThreads(__tstate
);
28316 if (PyErr_Occurred()) SWIG_fail
;
28319 resultobj
= wxPyMake_wxObject(result
, 0);
28327 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxString
*arg1
= 0 ;
28330 wxWindow
*arg2
= (wxWindow
*) NULL
;
28332 bool temp1
= False
;
28333 PyObject
* obj0
= 0 ;
28334 PyObject
* obj1
= 0 ;
28335 char *kwnames
[] = {
28336 (char *) "name",(char *) "parent", NULL
28339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28341 arg1
= wxString_in_helper(obj0
);
28342 if (arg1
== NULL
) SWIG_fail
;
28346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28350 if (!wxPyCheckForApp()) SWIG_fail
;
28351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28352 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= wxPyMake_wxObject(result
, 0);
28374 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28375 PyObject
*resultobj
;
28376 wxString
*arg1
= 0 ;
28377 wxWindow
*arg2
= (wxWindow
*) NULL
;
28379 bool temp1
= False
;
28380 PyObject
* obj0
= 0 ;
28381 PyObject
* obj1
= 0 ;
28382 char *kwnames
[] = {
28383 (char *) "label",(char *) "parent", NULL
28386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28388 arg1
= wxString_in_helper(obj0
);
28389 if (arg1
== NULL
) SWIG_fail
;
28393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28397 if (!wxPyCheckForApp()) SWIG_fail
;
28398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28399 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28401 wxPyEndAllowThreads(__tstate
);
28402 if (PyErr_Occurred()) SWIG_fail
;
28405 resultobj
= wxPyMake_wxObject(result
, 0);
28421 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28422 PyObject
*resultobj
;
28423 wxWindow
*arg1
= (wxWindow
*) 0 ;
28424 unsigned long arg2
;
28426 PyObject
* obj0
= 0 ;
28427 PyObject
* obj1
= 0 ;
28428 char *kwnames
[] = {
28429 (char *) "parent",(char *) "_hWnd", NULL
28432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28435 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28439 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28441 wxPyEndAllowThreads(__tstate
);
28442 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= wxPyMake_wxObject(result
, 0);
28453 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28454 PyObject
*resultobj
;
28455 wxValidator
*result
;
28456 char *kwnames
[] = {
28460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28463 result
= (wxValidator
*)new wxValidator();
28465 wxPyEndAllowThreads(__tstate
);
28466 if (PyErr_Occurred()) SWIG_fail
;
28468 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28475 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28476 PyObject
*resultobj
;
28477 wxValidator
*arg1
= (wxValidator
*) 0 ;
28478 wxValidator
*result
;
28479 PyObject
* obj0
= 0 ;
28480 char *kwnames
[] = {
28481 (char *) "self", NULL
28484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28489 result
= (wxValidator
*)(arg1
)->Clone();
28491 wxPyEndAllowThreads(__tstate
);
28492 if (PyErr_Occurred()) SWIG_fail
;
28495 resultobj
= wxPyMake_wxObject(result
, 0);
28503 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28504 PyObject
*resultobj
;
28505 wxValidator
*arg1
= (wxValidator
*) 0 ;
28506 wxWindow
*arg2
= (wxWindow
*) 0 ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 char *kwnames
[] = {
28511 (char *) "self",(char *) "parent", NULL
28514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28521 result
= (bool)(arg1
)->Validate(arg2
);
28523 wxPyEndAllowThreads(__tstate
);
28524 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28535 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxValidator
*arg1
= (wxValidator
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 char *kwnames
[] = {
28541 (char *) "self", NULL
28544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28549 result
= (bool)(arg1
)->TransferToWindow();
28551 wxPyEndAllowThreads(__tstate
);
28552 if (PyErr_Occurred()) SWIG_fail
;
28555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28563 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28564 PyObject
*resultobj
;
28565 wxValidator
*arg1
= (wxValidator
*) 0 ;
28567 PyObject
* obj0
= 0 ;
28568 char *kwnames
[] = {
28569 (char *) "self", NULL
28572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 result
= (bool)(arg1
)->TransferFromWindow();
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28591 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28592 PyObject
*resultobj
;
28593 wxValidator
*arg1
= (wxValidator
*) 0 ;
28595 PyObject
* obj0
= 0 ;
28596 char *kwnames
[] = {
28597 (char *) "self", NULL
28600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (wxWindow
*)(arg1
)->GetWindow();
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= wxPyMake_wxObject(result
, 0);
28619 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxValidator
*arg1
= (wxValidator
*) 0 ;
28622 wxWindow
*arg2
= (wxWindow
*) 0 ;
28623 PyObject
* obj0
= 0 ;
28624 PyObject
* obj1
= 0 ;
28625 char *kwnames
[] = {
28626 (char *) "self",(char *) "window", NULL
28629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 (arg1
)->SetWindow(arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 Py_INCREF(Py_None
); resultobj
= Py_None
;
28648 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28651 char *kwnames
[] = {
28655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 result
= (bool)wxValidator::IsSilent();
28660 wxPyEndAllowThreads(__tstate
);
28661 if (PyErr_Occurred()) SWIG_fail
;
28664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28672 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28673 PyObject
*resultobj
;
28674 int arg1
= (int) True
;
28675 PyObject
* obj0
= 0 ;
28676 char *kwnames
[] = {
28677 (char *) "doIt", NULL
28680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28682 arg1
= (int) SWIG_AsInt(obj0
);
28683 if (PyErr_Occurred()) SWIG_fail
;
28686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28687 wxValidator::SetBellOnError(arg1
);
28689 wxPyEndAllowThreads(__tstate
);
28690 if (PyErr_Occurred()) SWIG_fail
;
28692 Py_INCREF(Py_None
); resultobj
= Py_None
;
28699 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28702 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28704 return Py_BuildValue((char *)"");
28706 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 wxPyValidator
*result
;
28709 char *kwnames
[] = {
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28716 result
= (wxPyValidator
*)new wxPyValidator();
28718 wxPyEndAllowThreads(__tstate
);
28719 if (PyErr_Occurred()) SWIG_fail
;
28721 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28728 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28729 PyObject
*resultobj
;
28730 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28731 PyObject
*arg2
= (PyObject
*) 0 ;
28732 PyObject
*arg3
= (PyObject
*) 0 ;
28733 int arg4
= (int) True
;
28734 PyObject
* obj0
= 0 ;
28735 PyObject
* obj1
= 0 ;
28736 PyObject
* obj2
= 0 ;
28737 PyObject
* obj3
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28748 arg4
= (int) SWIG_AsInt(obj3
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28767 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28768 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28770 return Py_BuildValue((char *)"");
28772 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28773 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28778 static PyObject
*_wrap_DefaultValidator_get() {
28781 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28786 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28787 PyObject
*resultobj
;
28788 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28789 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28790 long arg2
= (long) 0 ;
28792 bool temp1
= False
;
28793 PyObject
* obj0
= 0 ;
28794 PyObject
* obj1
= 0 ;
28795 char *kwnames
[] = {
28796 (char *) "title",(char *) "style", NULL
28799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28802 arg1
= wxString_in_helper(obj0
);
28803 if (arg1
== NULL
) SWIG_fail
;
28808 arg2
= (long) SWIG_AsLong(obj1
);
28809 if (PyErr_Occurred()) SWIG_fail
;
28812 if (!wxPyCheckForApp()) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28834 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28835 PyObject
*resultobj
;
28836 wxMenu
*arg1
= (wxMenu
*) 0 ;
28838 wxString
*arg3
= 0 ;
28839 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28840 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28841 int arg5
= (int) wxITEM_NORMAL
;
28842 wxMenuItem
*result
;
28843 bool temp3
= False
;
28844 bool temp4
= False
;
28845 PyObject
* obj0
= 0 ;
28846 PyObject
* obj1
= 0 ;
28847 PyObject
* obj2
= 0 ;
28848 PyObject
* obj3
= 0 ;
28849 PyObject
* obj4
= 0 ;
28850 char *kwnames
[] = {
28851 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28857 arg2
= (int) SWIG_AsInt(obj1
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 arg3
= wxString_in_helper(obj2
);
28861 if (arg3
== NULL
) SWIG_fail
;
28866 arg4
= wxString_in_helper(obj3
);
28867 if (arg4
== NULL
) SWIG_fail
;
28872 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28873 if (PyErr_Occurred()) SWIG_fail
;
28876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28877 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28879 wxPyEndAllowThreads(__tstate
);
28880 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= wxPyMake_wxObject(result
, 0);
28907 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxMenu
*arg1
= (wxMenu
*) 0 ;
28910 wxMenuItem
*result
;
28911 PyObject
* obj0
= 0 ;
28912 char *kwnames
[] = {
28913 (char *) "self", NULL
28916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28927 resultobj
= wxPyMake_wxObject(result
, 0);
28935 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28936 PyObject
*resultobj
;
28937 wxMenu
*arg1
= (wxMenu
*) 0 ;
28939 wxString
*arg3
= 0 ;
28940 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28941 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28942 wxMenuItem
*result
;
28943 bool temp3
= False
;
28944 bool temp4
= False
;
28945 PyObject
* obj0
= 0 ;
28946 PyObject
* obj1
= 0 ;
28947 PyObject
* obj2
= 0 ;
28948 PyObject
* obj3
= 0 ;
28949 char *kwnames
[] = {
28950 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28956 arg2
= (int) SWIG_AsInt(obj1
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 arg3
= wxString_in_helper(obj2
);
28960 if (arg3
== NULL
) SWIG_fail
;
28965 arg4
= wxString_in_helper(obj3
);
28966 if (arg4
== NULL
) SWIG_fail
;
28971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28972 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28974 wxPyEndAllowThreads(__tstate
);
28975 if (PyErr_Occurred()) SWIG_fail
;
28978 resultobj
= wxPyMake_wxObject(result
, 0);
29002 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29003 PyObject
*resultobj
;
29004 wxMenu
*arg1
= (wxMenu
*) 0 ;
29006 wxString
*arg3
= 0 ;
29007 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29008 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29009 wxMenuItem
*result
;
29010 bool temp3
= False
;
29011 bool temp4
= False
;
29012 PyObject
* obj0
= 0 ;
29013 PyObject
* obj1
= 0 ;
29014 PyObject
* obj2
= 0 ;
29015 PyObject
* obj3
= 0 ;
29016 char *kwnames
[] = {
29017 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29023 arg2
= (int) SWIG_AsInt(obj1
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 arg3
= wxString_in_helper(obj2
);
29027 if (arg3
== NULL
) SWIG_fail
;
29032 arg4
= wxString_in_helper(obj3
);
29033 if (arg4
== NULL
) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29045 resultobj
= wxPyMake_wxObject(result
, 0);
29069 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxMenu
*arg1
= (wxMenu
*) 0 ;
29073 wxString
*arg3
= 0 ;
29074 wxMenu
*arg4
= (wxMenu
*) 0 ;
29075 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29076 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29077 wxMenuItem
*result
;
29078 bool temp3
= False
;
29079 bool temp5
= False
;
29080 PyObject
* obj0
= 0 ;
29081 PyObject
* obj1
= 0 ;
29082 PyObject
* obj2
= 0 ;
29083 PyObject
* obj3
= 0 ;
29084 PyObject
* obj4
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 arg2
= (int) SWIG_AsInt(obj1
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 arg3
= wxString_in_helper(obj2
);
29096 if (arg3
== NULL
) SWIG_fail
;
29099 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29103 arg5
= wxString_in_helper(obj4
);
29104 if (arg5
== NULL
) SWIG_fail
;
29109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29110 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29112 wxPyEndAllowThreads(__tstate
);
29113 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= wxPyMake_wxObject(result
, 0);
29140 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
;
29142 wxMenu
*arg1
= (wxMenu
*) 0 ;
29143 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29144 wxMenuItem
*result
;
29145 PyObject
* obj0
= 0 ;
29146 PyObject
* obj1
= 0 ;
29147 char *kwnames
[] = {
29148 (char *) "self",(char *) "item", NULL
29151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29154 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= wxPyMake_wxObject(result
, 0);
29172 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxMenu
*arg1
= (wxMenu
*) 0 ;
29175 PyObject
* obj0
= 0 ;
29176 char *kwnames
[] = {
29177 (char *) "self", NULL
29180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29187 wxPyEndAllowThreads(__tstate
);
29188 if (PyErr_Occurred()) SWIG_fail
;
29190 Py_INCREF(Py_None
); resultobj
= Py_None
;
29197 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29198 PyObject
*resultobj
;
29199 wxMenu
*arg1
= (wxMenu
*) 0 ;
29201 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29202 wxMenuItem
*result
;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 PyObject
* obj2
= 0 ;
29206 char *kwnames
[] = {
29207 (char *) "self",(char *) "pos",(char *) "item", NULL
29210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29213 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29214 if (PyErr_Occurred()) SWIG_fail
;
29215 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= wxPyMake_wxObject(result
, 0);
29233 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29234 PyObject
*resultobj
;
29235 wxMenu
*arg1
= (wxMenu
*) 0 ;
29238 wxString
*arg4
= 0 ;
29239 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29240 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29241 int arg6
= (int) wxITEM_NORMAL
;
29242 wxMenuItem
*result
;
29243 bool temp4
= False
;
29244 bool temp5
= False
;
29245 PyObject
* obj0
= 0 ;
29246 PyObject
* obj1
= 0 ;
29247 PyObject
* obj2
= 0 ;
29248 PyObject
* obj3
= 0 ;
29249 PyObject
* obj4
= 0 ;
29250 PyObject
* obj5
= 0 ;
29251 char *kwnames
[] = {
29252 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29258 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29259 if (PyErr_Occurred()) SWIG_fail
;
29260 arg3
= (int) SWIG_AsInt(obj2
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 arg4
= wxString_in_helper(obj3
);
29264 if (arg4
== NULL
) SWIG_fail
;
29269 arg5
= wxString_in_helper(obj4
);
29270 if (arg5
== NULL
) SWIG_fail
;
29275 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29276 if (PyErr_Occurred()) SWIG_fail
;
29279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29280 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29282 wxPyEndAllowThreads(__tstate
);
29283 if (PyErr_Occurred()) SWIG_fail
;
29286 resultobj
= wxPyMake_wxObject(result
, 0);
29310 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxMenu
*arg1
= (wxMenu
*) 0 ;
29314 wxMenuItem
*result
;
29315 PyObject
* obj0
= 0 ;
29316 PyObject
* obj1
= 0 ;
29317 char *kwnames
[] = {
29318 (char *) "self",(char *) "pos", NULL
29321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29324 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29334 resultobj
= wxPyMake_wxObject(result
, 0);
29342 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxMenu
*arg1
= (wxMenu
*) 0 ;
29347 wxString
*arg4
= 0 ;
29348 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29349 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29350 wxMenuItem
*result
;
29351 bool temp4
= False
;
29352 bool temp5
= False
;
29353 PyObject
* obj0
= 0 ;
29354 PyObject
* obj1
= 0 ;
29355 PyObject
* obj2
= 0 ;
29356 PyObject
* obj3
= 0 ;
29357 PyObject
* obj4
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29366 if (PyErr_Occurred()) SWIG_fail
;
29367 arg3
= (int) SWIG_AsInt(obj2
);
29368 if (PyErr_Occurred()) SWIG_fail
;
29370 arg4
= wxString_in_helper(obj3
);
29371 if (arg4
== NULL
) SWIG_fail
;
29376 arg5
= wxString_in_helper(obj4
);
29377 if (arg5
== NULL
) SWIG_fail
;
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29385 wxPyEndAllowThreads(__tstate
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29389 resultobj
= wxPyMake_wxObject(result
, 0);
29413 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxMenu
*arg1
= (wxMenu
*) 0 ;
29418 wxString
*arg4
= 0 ;
29419 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29420 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29421 wxMenuItem
*result
;
29422 bool temp4
= False
;
29423 bool temp5
= False
;
29424 PyObject
* obj0
= 0 ;
29425 PyObject
* obj1
= 0 ;
29426 PyObject
* obj2
= 0 ;
29427 PyObject
* obj3
= 0 ;
29428 PyObject
* obj4
= 0 ;
29429 char *kwnames
[] = {
29430 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29436 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29437 if (PyErr_Occurred()) SWIG_fail
;
29438 arg3
= (int) SWIG_AsInt(obj2
);
29439 if (PyErr_Occurred()) SWIG_fail
;
29441 arg4
= wxString_in_helper(obj3
);
29442 if (arg4
== NULL
) SWIG_fail
;
29447 arg5
= wxString_in_helper(obj4
);
29448 if (arg5
== NULL
) SWIG_fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29460 resultobj
= wxPyMake_wxObject(result
, 0);
29484 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29485 PyObject
*resultobj
;
29486 wxMenu
*arg1
= (wxMenu
*) 0 ;
29489 wxString
*arg4
= 0 ;
29490 wxMenu
*arg5
= (wxMenu
*) 0 ;
29491 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29492 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29493 wxMenuItem
*result
;
29494 bool temp4
= False
;
29495 bool temp6
= False
;
29496 PyObject
* obj0
= 0 ;
29497 PyObject
* obj1
= 0 ;
29498 PyObject
* obj2
= 0 ;
29499 PyObject
* obj3
= 0 ;
29500 PyObject
* obj4
= 0 ;
29501 PyObject
* obj5
= 0 ;
29502 char *kwnames
[] = {
29503 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29509 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29510 if (PyErr_Occurred()) SWIG_fail
;
29511 arg3
= (int) SWIG_AsInt(obj2
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29514 arg4
= wxString_in_helper(obj3
);
29515 if (arg4
== NULL
) SWIG_fail
;
29518 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29522 arg6
= wxString_in_helper(obj5
);
29523 if (arg6
== NULL
) SWIG_fail
;
29528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29529 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29531 wxPyEndAllowThreads(__tstate
);
29532 if (PyErr_Occurred()) SWIG_fail
;
29535 resultobj
= wxPyMake_wxObject(result
, 0);
29559 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29560 PyObject
*resultobj
;
29561 wxMenu
*arg1
= (wxMenu
*) 0 ;
29562 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29563 wxMenuItem
*result
;
29564 PyObject
* obj0
= 0 ;
29565 PyObject
* obj1
= 0 ;
29566 char *kwnames
[] = {
29567 (char *) "self",(char *) "item", NULL
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29579 wxPyEndAllowThreads(__tstate
);
29580 if (PyErr_Occurred()) SWIG_fail
;
29583 resultobj
= wxPyMake_wxObject(result
, 0);
29591 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29592 PyObject
*resultobj
;
29593 wxMenu
*arg1
= (wxMenu
*) 0 ;
29595 wxString
*arg3
= 0 ;
29596 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29597 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29598 int arg5
= (int) wxITEM_NORMAL
;
29599 wxMenuItem
*result
;
29600 bool temp3
= False
;
29601 bool temp4
= False
;
29602 PyObject
* obj0
= 0 ;
29603 PyObject
* obj1
= 0 ;
29604 PyObject
* obj2
= 0 ;
29605 PyObject
* obj3
= 0 ;
29606 PyObject
* obj4
= 0 ;
29607 char *kwnames
[] = {
29608 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29614 arg2
= (int) SWIG_AsInt(obj1
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 arg3
= wxString_in_helper(obj2
);
29618 if (arg3
== NULL
) SWIG_fail
;
29623 arg4
= wxString_in_helper(obj3
);
29624 if (arg4
== NULL
) SWIG_fail
;
29629 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29634 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29636 wxPyEndAllowThreads(__tstate
);
29637 if (PyErr_Occurred()) SWIG_fail
;
29640 resultobj
= wxPyMake_wxObject(result
, 0);
29664 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxMenu
*arg1
= (wxMenu
*) 0 ;
29667 wxMenuItem
*result
;
29668 PyObject
* obj0
= 0 ;
29669 char *kwnames
[] = {
29670 (char *) "self", NULL
29673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29678 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29680 wxPyEndAllowThreads(__tstate
);
29681 if (PyErr_Occurred()) SWIG_fail
;
29684 resultobj
= wxPyMake_wxObject(result
, 0);
29692 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29693 PyObject
*resultobj
;
29694 wxMenu
*arg1
= (wxMenu
*) 0 ;
29696 wxString
*arg3
= 0 ;
29697 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29698 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29699 wxMenuItem
*result
;
29700 bool temp3
= False
;
29701 bool temp4
= False
;
29702 PyObject
* obj0
= 0 ;
29703 PyObject
* obj1
= 0 ;
29704 PyObject
* obj2
= 0 ;
29705 PyObject
* obj3
= 0 ;
29706 char *kwnames
[] = {
29707 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29713 arg2
= (int) SWIG_AsInt(obj1
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 arg3
= wxString_in_helper(obj2
);
29717 if (arg3
== NULL
) SWIG_fail
;
29722 arg4
= wxString_in_helper(obj3
);
29723 if (arg4
== NULL
) SWIG_fail
;
29728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29729 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29731 wxPyEndAllowThreads(__tstate
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29735 resultobj
= wxPyMake_wxObject(result
, 0);
29759 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29760 PyObject
*resultobj
;
29761 wxMenu
*arg1
= (wxMenu
*) 0 ;
29763 wxString
*arg3
= 0 ;
29764 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29765 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29766 wxMenuItem
*result
;
29767 bool temp3
= False
;
29768 bool temp4
= False
;
29769 PyObject
* obj0
= 0 ;
29770 PyObject
* obj1
= 0 ;
29771 PyObject
* obj2
= 0 ;
29772 PyObject
* obj3
= 0 ;
29773 char *kwnames
[] = {
29774 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29780 arg2
= (int) SWIG_AsInt(obj1
);
29781 if (PyErr_Occurred()) SWIG_fail
;
29783 arg3
= wxString_in_helper(obj2
);
29784 if (arg3
== NULL
) SWIG_fail
;
29789 arg4
= wxString_in_helper(obj3
);
29790 if (arg4
== NULL
) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= wxPyMake_wxObject(result
, 0);
29826 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29827 PyObject
*resultobj
;
29828 wxMenu
*arg1
= (wxMenu
*) 0 ;
29830 wxString
*arg3
= 0 ;
29831 wxMenu
*arg4
= (wxMenu
*) 0 ;
29832 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29833 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29834 wxMenuItem
*result
;
29835 bool temp3
= False
;
29836 bool temp5
= False
;
29837 PyObject
* obj0
= 0 ;
29838 PyObject
* obj1
= 0 ;
29839 PyObject
* obj2
= 0 ;
29840 PyObject
* obj3
= 0 ;
29841 PyObject
* obj4
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29849 arg2
= (int) SWIG_AsInt(obj1
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 arg3
= wxString_in_helper(obj2
);
29853 if (arg3
== NULL
) SWIG_fail
;
29856 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29860 arg5
= wxString_in_helper(obj4
);
29861 if (arg5
== NULL
) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29873 resultobj
= wxPyMake_wxObject(result
, 0);
29897 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29898 PyObject
*resultobj
;
29899 wxMenu
*arg1
= (wxMenu
*) 0 ;
29901 wxMenuItem
*result
;
29902 PyObject
* obj0
= 0 ;
29903 PyObject
* obj1
= 0 ;
29904 char *kwnames
[] = {
29905 (char *) "self",(char *) "id", NULL
29908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29911 arg2
= (int) SWIG_AsInt(obj1
);
29912 if (PyErr_Occurred()) SWIG_fail
;
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29917 wxPyEndAllowThreads(__tstate
);
29918 if (PyErr_Occurred()) SWIG_fail
;
29921 resultobj
= wxPyMake_wxObject(result
, 0);
29929 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxMenu
*arg1
= (wxMenu
*) 0 ;
29932 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29933 wxMenuItem
*result
;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 char *kwnames
[] = {
29937 (char *) "self",(char *) "item", NULL
29940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29943 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29947 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29949 wxPyEndAllowThreads(__tstate
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29953 resultobj
= wxPyMake_wxObject(result
, 0);
29961 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29962 PyObject
*resultobj
;
29963 wxMenu
*arg1
= (wxMenu
*) 0 ;
29966 PyObject
* obj0
= 0 ;
29967 PyObject
* obj1
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "id", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29975 arg2
= (int) SWIG_AsInt(obj1
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29979 result
= (bool)(arg1
)->Delete(arg2
);
29981 wxPyEndAllowThreads(__tstate
);
29982 if (PyErr_Occurred()) SWIG_fail
;
29985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29993 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxMenu
*arg1
= (wxMenu
*) 0 ;
29996 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 char *kwnames
[] = {
30001 (char *) "self",(char *) "item", NULL
30004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30007 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30011 result
= (bool)(arg1
)->Delete(arg2
);
30013 wxPyEndAllowThreads(__tstate
);
30014 if (PyErr_Occurred()) SWIG_fail
;
30017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30025 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxMenu
*arg1
= (wxMenu
*) 0 ;
30028 PyObject
* obj0
= 0 ;
30029 char *kwnames
[] = {
30030 (char *) "self", NULL
30033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30038 wxMenu_Destroy(arg1
);
30040 wxPyEndAllowThreads(__tstate
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 Py_INCREF(Py_None
); resultobj
= Py_None
;
30050 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30051 PyObject
*resultobj
;
30052 wxMenu
*arg1
= (wxMenu
*) 0 ;
30055 PyObject
* obj0
= 0 ;
30056 PyObject
* obj1
= 0 ;
30057 char *kwnames
[] = {
30058 (char *) "self",(char *) "id", NULL
30061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30064 arg2
= (int) SWIG_AsInt(obj1
);
30065 if (PyErr_Occurred()) SWIG_fail
;
30067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30068 result
= (bool)(arg1
)->Destroy(arg2
);
30070 wxPyEndAllowThreads(__tstate
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30082 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30083 PyObject
*resultobj
;
30084 wxMenu
*arg1
= (wxMenu
*) 0 ;
30085 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 PyObject
* obj1
= 0 ;
30089 char *kwnames
[] = {
30090 (char *) "self",(char *) "item", NULL
30093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30100 result
= (bool)(arg1
)->Destroy(arg2
);
30102 wxPyEndAllowThreads(__tstate
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30114 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30115 PyObject
*resultobj
;
30116 wxMenu
*arg1
= (wxMenu
*) 0 ;
30118 PyObject
* obj0
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30140 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxMenu
*arg1
= (wxMenu
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30154 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30156 wxPyEndAllowThreads(__tstate
);
30157 if (PyErr_Occurred()) SWIG_fail
;
30159 resultobj
= result
;
30166 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30167 PyObject
*resultobj
;
30168 wxMenu
*arg1
= (wxMenu
*) 0 ;
30169 wxString
*arg2
= 0 ;
30171 bool temp2
= False
;
30172 PyObject
* obj0
= 0 ;
30173 PyObject
* obj1
= 0 ;
30174 char *kwnames
[] = {
30175 (char *) "self",(char *) "item", NULL
30178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30182 arg2
= wxString_in_helper(obj1
);
30183 if (arg2
== NULL
) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= SWIG_FromInt((int)result
);
30208 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxMenu
*arg1
= (wxMenu
*) 0 ;
30212 wxMenuItem
*result
;
30213 PyObject
* obj0
= 0 ;
30214 PyObject
* obj1
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self",(char *) "id", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30222 arg2
= (int) SWIG_AsInt(obj1
);
30223 if (PyErr_Occurred()) SWIG_fail
;
30225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30226 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30228 wxPyEndAllowThreads(__tstate
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30232 resultobj
= wxPyMake_wxObject(result
, 0);
30240 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxMenu
*arg1
= (wxMenu
*) 0 ;
30244 wxMenuItem
*result
;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "self",(char *) "position", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30254 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30255 if (PyErr_Occurred()) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30264 resultobj
= wxPyMake_wxObject(result
, 0);
30272 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30273 PyObject
*resultobj
;
30274 wxMenu
*arg1
= (wxMenu
*) 0 ;
30277 PyObject
* obj0
= 0 ;
30278 PyObject
* obj1
= 0 ;
30279 PyObject
* obj2
= 0 ;
30280 char *kwnames
[] = {
30281 (char *) "self",(char *) "id",(char *) "enable", NULL
30284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30287 arg2
= (int) SWIG_AsInt(obj1
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30289 arg3
= (bool) SWIG_AsBool(obj2
);
30290 if (PyErr_Occurred()) SWIG_fail
;
30292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30293 (arg1
)->Enable(arg2
,arg3
);
30295 wxPyEndAllowThreads(__tstate
);
30296 if (PyErr_Occurred()) SWIG_fail
;
30298 Py_INCREF(Py_None
); resultobj
= Py_None
;
30305 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30306 PyObject
*resultobj
;
30307 wxMenu
*arg1
= (wxMenu
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 PyObject
* obj1
= 0 ;
30312 char *kwnames
[] = {
30313 (char *) "self",(char *) "id", NULL
30316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30319 arg2
= (int) SWIG_AsInt(obj1
);
30320 if (PyErr_Occurred()) SWIG_fail
;
30322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30323 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30325 wxPyEndAllowThreads(__tstate
);
30326 if (PyErr_Occurred()) SWIG_fail
;
30329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30337 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30338 PyObject
*resultobj
;
30339 wxMenu
*arg1
= (wxMenu
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self",(char *) "id",(char *) "check", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30352 arg2
= (int) SWIG_AsInt(obj1
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30354 arg3
= (bool) SWIG_AsBool(obj2
);
30355 if (PyErr_Occurred()) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 (arg1
)->Check(arg2
,arg3
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 Py_INCREF(Py_None
); resultobj
= Py_None
;
30370 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
;
30372 wxMenu
*arg1
= (wxMenu
*) 0 ;
30375 PyObject
* obj0
= 0 ;
30376 PyObject
* obj1
= 0 ;
30377 char *kwnames
[] = {
30378 (char *) "self",(char *) "id", NULL
30381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30384 arg2
= (int) SWIG_AsInt(obj1
);
30385 if (PyErr_Occurred()) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30402 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30403 PyObject
*resultobj
;
30404 wxMenu
*arg1
= (wxMenu
*) 0 ;
30406 wxString
*arg3
= 0 ;
30407 bool temp3
= False
;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 PyObject
* obj2
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "id",(char *) "label", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 arg2
= (int) SWIG_AsInt(obj1
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30421 arg3
= wxString_in_helper(obj2
);
30422 if (arg3
== NULL
) SWIG_fail
;
30426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30427 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30429 wxPyEndAllowThreads(__tstate
);
30430 if (PyErr_Occurred()) SWIG_fail
;
30432 Py_INCREF(Py_None
); resultobj
= Py_None
;
30447 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30448 PyObject
*resultobj
;
30449 wxMenu
*arg1
= (wxMenu
*) 0 ;
30452 PyObject
* obj0
= 0 ;
30453 PyObject
* obj1
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self",(char *) "id", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30461 arg2
= (int) SWIG_AsInt(obj1
);
30462 if (PyErr_Occurred()) SWIG_fail
;
30464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30465 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30467 wxPyEndAllowThreads(__tstate
);
30468 if (PyErr_Occurred()) SWIG_fail
;
30472 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30474 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30483 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30484 PyObject
*resultobj
;
30485 wxMenu
*arg1
= (wxMenu
*) 0 ;
30487 wxString
*arg3
= 0 ;
30488 bool temp3
= False
;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 PyObject
* obj2
= 0 ;
30492 char *kwnames
[] = {
30493 (char *) "self",(char *) "id",(char *) "helpString", NULL
30496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30499 arg2
= (int) SWIG_AsInt(obj1
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 arg3
= wxString_in_helper(obj2
);
30503 if (arg3
== NULL
) SWIG_fail
;
30507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30508 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30510 wxPyEndAllowThreads(__tstate
);
30511 if (PyErr_Occurred()) SWIG_fail
;
30513 Py_INCREF(Py_None
); resultobj
= Py_None
;
30528 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30529 PyObject
*resultobj
;
30530 wxMenu
*arg1
= (wxMenu
*) 0 ;
30533 PyObject
* obj0
= 0 ;
30534 PyObject
* obj1
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self",(char *) "id", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30542 arg2
= (int) SWIG_AsInt(obj1
);
30543 if (PyErr_Occurred()) SWIG_fail
;
30545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30546 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30548 wxPyEndAllowThreads(__tstate
);
30549 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30555 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30564 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxMenu
*arg1
= (wxMenu
*) 0 ;
30567 wxString
*arg2
= 0 ;
30568 bool temp2
= False
;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char *kwnames
[] = {
30572 (char *) "self",(char *) "title", NULL
30575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30579 arg2
= wxString_in_helper(obj1
);
30580 if (arg2
== NULL
) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 (arg1
)->SetTitle((wxString
const &)*arg2
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 Py_INCREF(Py_None
); resultobj
= Py_None
;
30605 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxMenu
*arg1
= (wxMenu
*) 0 ;
30609 PyObject
* obj0
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= ((wxMenu
const *)arg1
)->GetTitle();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30626 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30628 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30637 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
;
30639 wxMenu
*arg1
= (wxMenu
*) 0 ;
30640 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30641 PyObject
* obj0
= 0 ;
30642 PyObject
* obj1
= 0 ;
30643 char *kwnames
[] = {
30644 (char *) "self",(char *) "handler", NULL
30647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30654 (arg1
)->SetEventHandler(arg2
);
30656 wxPyEndAllowThreads(__tstate
);
30657 if (PyErr_Occurred()) SWIG_fail
;
30659 Py_INCREF(Py_None
); resultobj
= Py_None
;
30666 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30667 PyObject
*resultobj
;
30668 wxMenu
*arg1
= (wxMenu
*) 0 ;
30669 wxEvtHandler
*result
;
30670 PyObject
* obj0
= 0 ;
30671 char *kwnames
[] = {
30672 (char *) "self", NULL
30675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30680 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30682 wxPyEndAllowThreads(__tstate
);
30683 if (PyErr_Occurred()) SWIG_fail
;
30686 resultobj
= wxPyMake_wxObject(result
, 0);
30694 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30695 PyObject
*resultobj
;
30696 wxMenu
*arg1
= (wxMenu
*) 0 ;
30697 wxWindow
*arg2
= (wxWindow
*) 0 ;
30698 PyObject
* obj0
= 0 ;
30699 PyObject
* obj1
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self",(char *) "win", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30707 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 (arg1
)->SetInvokingWindow(arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30723 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
;
30725 wxMenu
*arg1
= (wxMenu
*) 0 ;
30727 PyObject
* obj0
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30737 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30739 wxPyEndAllowThreads(__tstate
);
30740 if (PyErr_Occurred()) SWIG_fail
;
30743 resultobj
= wxPyMake_wxObject(result
, 0);
30751 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30752 PyObject
*resultobj
;
30753 wxMenu
*arg1
= (wxMenu
*) 0 ;
30755 PyObject
* obj0
= 0 ;
30756 char *kwnames
[] = {
30757 (char *) "self", NULL
30760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30765 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30767 wxPyEndAllowThreads(__tstate
);
30768 if (PyErr_Occurred()) SWIG_fail
;
30770 resultobj
= SWIG_FromLong((long)result
);
30777 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30778 PyObject
*resultobj
;
30779 wxMenu
*arg1
= (wxMenu
*) 0 ;
30780 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30781 PyObject
* obj0
= 0 ;
30782 PyObject
* obj1
= 0 ;
30783 char *kwnames
[] = {
30784 (char *) "self",(char *) "source", NULL
30787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30796 (arg1
)->UpdateUI(arg2
);
30798 wxPyEndAllowThreads(__tstate
);
30799 if (PyErr_Occurred()) SWIG_fail
;
30801 Py_INCREF(Py_None
); resultobj
= Py_None
;
30808 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30809 PyObject
*resultobj
;
30810 wxMenu
*arg1
= (wxMenu
*) 0 ;
30812 PyObject
* obj0
= 0 ;
30813 char *kwnames
[] = {
30814 (char *) "self", NULL
30817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30822 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30824 wxPyEndAllowThreads(__tstate
);
30825 if (PyErr_Occurred()) SWIG_fail
;
30828 resultobj
= wxPyMake_wxObject(result
, 0);
30836 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30837 PyObject
*resultobj
;
30838 wxMenu
*arg1
= (wxMenu
*) 0 ;
30839 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30840 PyObject
* obj0
= 0 ;
30841 PyObject
* obj1
= 0 ;
30842 char *kwnames
[] = {
30843 (char *) "self",(char *) "menubar", NULL
30846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30853 (arg1
)->Attach(arg2
);
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 Py_INCREF(Py_None
); resultobj
= Py_None
;
30865 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxMenu
*arg1
= (wxMenu
*) 0 ;
30868 PyObject
* obj0
= 0 ;
30869 char *kwnames
[] = {
30870 (char *) "self", NULL
30873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30880 wxPyEndAllowThreads(__tstate
);
30881 if (PyErr_Occurred()) SWIG_fail
;
30883 Py_INCREF(Py_None
); resultobj
= Py_None
;
30890 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30891 PyObject
*resultobj
;
30892 wxMenu
*arg1
= (wxMenu
*) 0 ;
30894 PyObject
* obj0
= 0 ;
30895 char *kwnames
[] = {
30896 (char *) "self", NULL
30899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30904 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30906 wxPyEndAllowThreads(__tstate
);
30907 if (PyErr_Occurred()) SWIG_fail
;
30910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30918 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
;
30920 wxMenu
*arg1
= (wxMenu
*) 0 ;
30921 wxMenu
*arg2
= (wxMenu
*) 0 ;
30922 PyObject
* obj0
= 0 ;
30923 PyObject
* obj1
= 0 ;
30924 char *kwnames
[] = {
30925 (char *) "self",(char *) "parent", NULL
30928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30931 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30935 (arg1
)->SetParent(arg2
);
30937 wxPyEndAllowThreads(__tstate
);
30938 if (PyErr_Occurred()) SWIG_fail
;
30940 Py_INCREF(Py_None
); resultobj
= Py_None
;
30947 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxMenu
*arg1
= (wxMenu
*) 0 ;
30951 PyObject
* obj0
= 0 ;
30952 char *kwnames
[] = {
30953 (char *) "self", NULL
30956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30961 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30963 wxPyEndAllowThreads(__tstate
);
30964 if (PyErr_Occurred()) SWIG_fail
;
30967 resultobj
= wxPyMake_wxObject(result
, 0);
30975 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30978 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30980 return Py_BuildValue((char *)"");
30982 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30983 PyObject
*resultobj
;
30984 long arg1
= (long) 0 ;
30986 PyObject
* obj0
= 0 ;
30987 char *kwnames
[] = {
30988 (char *) "style", NULL
30991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30993 arg1
= (long) SWIG_AsLong(obj0
);
30994 if (PyErr_Occurred()) SWIG_fail
;
30997 if (!wxPyCheckForApp()) SWIG_fail
;
30998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30999 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31001 wxPyEndAllowThreads(__tstate
);
31002 if (PyErr_Occurred()) SWIG_fail
;
31004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31011 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31012 PyObject
*resultobj
;
31013 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31014 wxMenu
*arg2
= (wxMenu
*) 0 ;
31015 wxString
*arg3
= 0 ;
31017 bool temp3
= False
;
31018 PyObject
* obj0
= 0 ;
31019 PyObject
* obj1
= 0 ;
31020 PyObject
* obj2
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self",(char *) "menu",(char *) "title", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31031 arg3
= wxString_in_helper(obj2
);
31032 if (arg3
== NULL
) SWIG_fail
;
31036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31039 wxPyEndAllowThreads(__tstate
);
31040 if (PyErr_Occurred()) SWIG_fail
;
31043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31059 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31060 PyObject
*resultobj
;
31061 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31063 wxMenu
*arg3
= (wxMenu
*) 0 ;
31064 wxString
*arg4
= 0 ;
31066 bool temp4
= False
;
31067 PyObject
* obj0
= 0 ;
31068 PyObject
* obj1
= 0 ;
31069 PyObject
* obj2
= 0 ;
31070 PyObject
* obj3
= 0 ;
31071 char *kwnames
[] = {
31072 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31078 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31079 if (PyErr_Occurred()) SWIG_fail
;
31080 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31083 arg4
= wxString_in_helper(obj3
);
31084 if (arg4
== NULL
) SWIG_fail
;
31088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31089 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31091 wxPyEndAllowThreads(__tstate
);
31092 if (PyErr_Occurred()) SWIG_fail
;
31095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31111 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31112 PyObject
*resultobj
;
31113 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31115 PyObject
* obj0
= 0 ;
31116 char *kwnames
[] = {
31117 (char *) "self", NULL
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31125 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31127 wxPyEndAllowThreads(__tstate
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31130 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31137 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31138 PyObject
*resultobj
;
31139 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31142 PyObject
* obj0
= 0 ;
31143 PyObject
* obj1
= 0 ;
31144 char *kwnames
[] = {
31145 (char *) "self",(char *) "pos", NULL
31148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31151 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31152 if (PyErr_Occurred()) SWIG_fail
;
31154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31155 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31157 wxPyEndAllowThreads(__tstate
);
31158 if (PyErr_Occurred()) SWIG_fail
;
31161 resultobj
= wxPyMake_wxObject(result
, 0);
31169 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31170 PyObject
*resultobj
;
31171 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31173 wxMenu
*arg3
= (wxMenu
*) 0 ;
31174 wxString
*arg4
= 0 ;
31176 bool temp4
= False
;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 PyObject
* obj2
= 0 ;
31180 PyObject
* obj3
= 0 ;
31181 char *kwnames
[] = {
31182 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31188 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31189 if (PyErr_Occurred()) SWIG_fail
;
31190 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31193 arg4
= wxString_in_helper(obj3
);
31194 if (arg4
== NULL
) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= wxPyMake_wxObject(result
, 0);
31221 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31226 PyObject
* obj0
= 0 ;
31227 PyObject
* obj1
= 0 ;
31228 char *kwnames
[] = {
31229 (char *) "self",(char *) "pos", NULL
31232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31235 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31239 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31241 wxPyEndAllowThreads(__tstate
);
31242 if (PyErr_Occurred()) SWIG_fail
;
31245 resultobj
= wxPyMake_wxObject(result
, 0);
31253 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31254 PyObject
*resultobj
;
31255 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31258 PyObject
* obj0
= 0 ;
31259 PyObject
* obj1
= 0 ;
31260 PyObject
* obj2
= 0 ;
31261 char *kwnames
[] = {
31262 (char *) "self",(char *) "pos",(char *) "enable", NULL
31265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31268 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31269 if (PyErr_Occurred()) SWIG_fail
;
31270 arg3
= (bool) SWIG_AsBool(obj2
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31274 (arg1
)->EnableTop(arg2
,arg3
);
31276 wxPyEndAllowThreads(__tstate
);
31277 if (PyErr_Occurred()) SWIG_fail
;
31279 Py_INCREF(Py_None
); resultobj
= Py_None
;
31286 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31287 PyObject
*resultobj
;
31288 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 PyObject
* obj1
= 0 ;
31293 char *kwnames
[] = {
31294 (char *) "self",(char *) "pos", NULL
31297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31300 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31301 if (PyErr_Occurred()) SWIG_fail
;
31303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31304 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31306 wxPyEndAllowThreads(__tstate
);
31307 if (PyErr_Occurred()) SWIG_fail
;
31310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31318 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31319 PyObject
*resultobj
;
31320 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31322 wxString
*arg3
= 0 ;
31323 bool temp3
= False
;
31324 PyObject
* obj0
= 0 ;
31325 PyObject
* obj1
= 0 ;
31326 PyObject
* obj2
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "pos",(char *) "label", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31334 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31335 if (PyErr_Occurred()) SWIG_fail
;
31337 arg3
= wxString_in_helper(obj2
);
31338 if (arg3
== NULL
) SWIG_fail
;
31342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31343 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31345 wxPyEndAllowThreads(__tstate
);
31346 if (PyErr_Occurred()) SWIG_fail
;
31348 Py_INCREF(Py_None
); resultobj
= Py_None
;
31363 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31364 PyObject
*resultobj
;
31365 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31368 PyObject
* obj0
= 0 ;
31369 PyObject
* obj1
= 0 ;
31370 char *kwnames
[] = {
31371 (char *) "self",(char *) "pos", NULL
31374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31377 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31378 if (PyErr_Occurred()) SWIG_fail
;
31380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31381 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31383 wxPyEndAllowThreads(__tstate
);
31384 if (PyErr_Occurred()) SWIG_fail
;
31388 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31390 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31399 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31400 PyObject
*resultobj
;
31401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31402 wxString
*arg2
= 0 ;
31403 wxString
*arg3
= 0 ;
31405 bool temp2
= False
;
31406 bool temp3
= False
;
31407 PyObject
* obj0
= 0 ;
31408 PyObject
* obj1
= 0 ;
31409 PyObject
* obj2
= 0 ;
31410 char *kwnames
[] = {
31411 (char *) "self",(char *) "menu",(char *) "item", NULL
31414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31418 arg2
= wxString_in_helper(obj1
);
31419 if (arg2
== NULL
) SWIG_fail
;
31423 arg3
= wxString_in_helper(obj2
);
31424 if (arg3
== NULL
) SWIG_fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= SWIG_FromInt((int)result
);
31457 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31458 PyObject
*resultobj
;
31459 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31461 wxMenuItem
*result
;
31462 PyObject
* obj0
= 0 ;
31463 PyObject
* obj1
= 0 ;
31464 char *kwnames
[] = {
31465 (char *) "self",(char *) "id", NULL
31468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31471 arg2
= (int) SWIG_AsInt(obj1
);
31472 if (PyErr_Occurred()) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31481 resultobj
= wxPyMake_wxObject(result
, 0);
31489 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31490 PyObject
*resultobj
;
31491 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31492 wxString
*arg2
= 0 ;
31494 bool temp2
= False
;
31495 PyObject
* obj0
= 0 ;
31496 PyObject
* obj1
= 0 ;
31497 char *kwnames
[] = {
31498 (char *) "self",(char *) "title", NULL
31501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31505 arg2
= wxString_in_helper(obj1
);
31506 if (arg2
== NULL
) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 resultobj
= SWIG_FromInt((int)result
);
31531 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31532 PyObject
*resultobj
;
31533 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31536 PyObject
* obj0
= 0 ;
31537 PyObject
* obj1
= 0 ;
31538 PyObject
* obj2
= 0 ;
31539 char *kwnames
[] = {
31540 (char *) "self",(char *) "id",(char *) "enable", NULL
31543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31546 arg2
= (int) SWIG_AsInt(obj1
);
31547 if (PyErr_Occurred()) SWIG_fail
;
31548 arg3
= (bool) SWIG_AsBool(obj2
);
31549 if (PyErr_Occurred()) SWIG_fail
;
31551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31552 (arg1
)->Enable(arg2
,arg3
);
31554 wxPyEndAllowThreads(__tstate
);
31555 if (PyErr_Occurred()) SWIG_fail
;
31557 Py_INCREF(Py_None
); resultobj
= Py_None
;
31564 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31565 PyObject
*resultobj
;
31566 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31569 PyObject
* obj0
= 0 ;
31570 PyObject
* obj1
= 0 ;
31571 PyObject
* obj2
= 0 ;
31572 char *kwnames
[] = {
31573 (char *) "self",(char *) "id",(char *) "check", NULL
31576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31579 arg2
= (int) SWIG_AsInt(obj1
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31581 arg3
= (bool) SWIG_AsBool(obj2
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 (arg1
)->Check(arg2
,arg3
);
31587 wxPyEndAllowThreads(__tstate
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31590 Py_INCREF(Py_None
); resultobj
= Py_None
;
31597 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31598 PyObject
*resultobj
;
31599 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31602 PyObject
* obj0
= 0 ;
31603 PyObject
* obj1
= 0 ;
31604 char *kwnames
[] = {
31605 (char *) "self",(char *) "id", NULL
31608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31611 arg2
= (int) SWIG_AsInt(obj1
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31615 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31617 wxPyEndAllowThreads(__tstate
);
31618 if (PyErr_Occurred()) SWIG_fail
;
31621 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31629 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31634 PyObject
* obj0
= 0 ;
31635 PyObject
* obj1
= 0 ;
31636 char *kwnames
[] = {
31637 (char *) "self",(char *) "id", NULL
31640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31643 arg2
= (int) SWIG_AsInt(obj1
);
31644 if (PyErr_Occurred()) SWIG_fail
;
31646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31647 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31649 wxPyEndAllowThreads(__tstate
);
31650 if (PyErr_Occurred()) SWIG_fail
;
31653 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31661 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31662 PyObject
*resultobj
;
31663 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31665 wxString
*arg3
= 0 ;
31666 bool temp3
= False
;
31667 PyObject
* obj0
= 0 ;
31668 PyObject
* obj1
= 0 ;
31669 PyObject
* obj2
= 0 ;
31670 char *kwnames
[] = {
31671 (char *) "self",(char *) "id",(char *) "label", NULL
31674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31677 arg2
= (int) SWIG_AsInt(obj1
);
31678 if (PyErr_Occurred()) SWIG_fail
;
31680 arg3
= wxString_in_helper(obj2
);
31681 if (arg3
== NULL
) SWIG_fail
;
31685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31686 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31688 wxPyEndAllowThreads(__tstate
);
31689 if (PyErr_Occurred()) SWIG_fail
;
31691 Py_INCREF(Py_None
); resultobj
= Py_None
;
31706 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
;
31708 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31711 PyObject
* obj0
= 0 ;
31712 PyObject
* obj1
= 0 ;
31713 char *kwnames
[] = {
31714 (char *) "self",(char *) "id", NULL
31717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31720 arg2
= (int) SWIG_AsInt(obj1
);
31721 if (PyErr_Occurred()) SWIG_fail
;
31723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31724 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31726 wxPyEndAllowThreads(__tstate
);
31727 if (PyErr_Occurred()) SWIG_fail
;
31731 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31733 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31742 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31743 PyObject
*resultobj
;
31744 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31746 wxString
*arg3
= 0 ;
31747 bool temp3
= False
;
31748 PyObject
* obj0
= 0 ;
31749 PyObject
* obj1
= 0 ;
31750 PyObject
* obj2
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self",(char *) "id",(char *) "helpString", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31758 arg2
= (int) SWIG_AsInt(obj1
);
31759 if (PyErr_Occurred()) SWIG_fail
;
31761 arg3
= wxString_in_helper(obj2
);
31762 if (arg3
== NULL
) SWIG_fail
;
31766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31767 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31769 wxPyEndAllowThreads(__tstate
);
31770 if (PyErr_Occurred()) SWIG_fail
;
31772 Py_INCREF(Py_None
); resultobj
= Py_None
;
31787 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31788 PyObject
*resultobj
;
31789 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31792 PyObject
* obj0
= 0 ;
31793 PyObject
* obj1
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "id", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31801 arg2
= (int) SWIG_AsInt(obj1
);
31802 if (PyErr_Occurred()) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31823 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
;
31825 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31837 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31839 wxPyEndAllowThreads(__tstate
);
31840 if (PyErr_Occurred()) SWIG_fail
;
31843 resultobj
= wxPyMake_wxObject(result
, 0);
31851 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31852 PyObject
*resultobj
;
31853 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 char *kwnames
[] = {
31857 (char *) "self", NULL
31860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31865 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31867 wxPyEndAllowThreads(__tstate
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31879 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31882 wxFrame
*arg2
= (wxFrame
*) 0 ;
31883 PyObject
* obj0
= 0 ;
31884 PyObject
* obj1
= 0 ;
31885 char *kwnames
[] = {
31886 (char *) "self",(char *) "frame", NULL
31889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31896 (arg1
)->Attach(arg2
);
31898 wxPyEndAllowThreads(__tstate
);
31899 if (PyErr_Occurred()) SWIG_fail
;
31901 Py_INCREF(Py_None
); resultobj
= Py_None
;
31908 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31909 PyObject
*resultobj
;
31910 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31911 PyObject
* obj0
= 0 ;
31912 char *kwnames
[] = {
31913 (char *) "self", NULL
31916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 Py_INCREF(Py_None
); resultobj
= Py_None
;
31933 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31936 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31938 return Py_BuildValue((char *)"");
31940 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31941 PyObject
*resultobj
;
31942 wxMenu
*arg1
= (wxMenu
*) NULL
;
31943 int arg2
= (int) wxID_ANY
;
31944 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31945 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31946 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31948 int arg5
= (int) wxITEM_NORMAL
;
31949 wxMenu
*arg6
= (wxMenu
*) NULL
;
31950 wxMenuItem
*result
;
31951 bool temp3
= False
;
31952 bool temp4
= False
;
31953 PyObject
* obj0
= 0 ;
31954 PyObject
* obj1
= 0 ;
31955 PyObject
* obj2
= 0 ;
31956 PyObject
* obj3
= 0 ;
31957 PyObject
* obj4
= 0 ;
31958 PyObject
* obj5
= 0 ;
31959 char *kwnames
[] = {
31960 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31969 arg2
= (int) SWIG_AsInt(obj1
);
31970 if (PyErr_Occurred()) SWIG_fail
;
31974 arg3
= wxString_in_helper(obj2
);
31975 if (arg3
== NULL
) SWIG_fail
;
31981 arg4
= wxString_in_helper(obj3
);
31982 if (arg4
== NULL
) SWIG_fail
;
31987 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31988 if (PyErr_Occurred()) SWIG_fail
;
31991 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31996 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31998 wxPyEndAllowThreads(__tstate
);
31999 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= wxPyMake_wxObject(result
, 1);
32026 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32027 PyObject
*resultobj
;
32028 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32030 PyObject
* obj0
= 0 ;
32031 char *kwnames
[] = {
32032 (char *) "self", NULL
32035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32046 resultobj
= wxPyMake_wxObject(result
, 0);
32054 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32055 PyObject
*resultobj
;
32056 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32057 wxMenu
*arg2
= (wxMenu
*) 0 ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 char *kwnames
[] = {
32061 (char *) "self",(char *) "menu", NULL
32064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32067 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32071 (arg1
)->SetMenu(arg2
);
32073 wxPyEndAllowThreads(__tstate
);
32074 if (PyErr_Occurred()) SWIG_fail
;
32076 Py_INCREF(Py_None
); resultobj
= Py_None
;
32083 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32084 PyObject
*resultobj
;
32085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32087 PyObject
* obj0
= 0 ;
32088 PyObject
* obj1
= 0 ;
32089 char *kwnames
[] = {
32090 (char *) "self",(char *) "id", NULL
32093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32096 arg2
= (int) SWIG_AsInt(obj1
);
32097 if (PyErr_Occurred()) SWIG_fail
;
32099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32100 (arg1
)->SetId(arg2
);
32102 wxPyEndAllowThreads(__tstate
);
32103 if (PyErr_Occurred()) SWIG_fail
;
32105 Py_INCREF(Py_None
); resultobj
= Py_None
;
32112 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32113 PyObject
*resultobj
;
32114 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32116 PyObject
* obj0
= 0 ;
32117 char *kwnames
[] = {
32118 (char *) "self", NULL
32121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32131 resultobj
= SWIG_FromInt((int)result
);
32138 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
;
32140 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32142 PyObject
* obj0
= 0 ;
32143 char *kwnames
[] = {
32144 (char *) "self", NULL
32147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32152 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32154 wxPyEndAllowThreads(__tstate
);
32155 if (PyErr_Occurred()) SWIG_fail
;
32158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32166 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32167 PyObject
*resultobj
;
32168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32169 wxString
*arg2
= 0 ;
32170 bool temp2
= False
;
32171 PyObject
* obj0
= 0 ;
32172 PyObject
* obj1
= 0 ;
32173 char *kwnames
[] = {
32174 (char *) "self",(char *) "str", NULL
32177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32181 arg2
= wxString_in_helper(obj1
);
32182 if (arg2
== NULL
) SWIG_fail
;
32186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32187 (arg1
)->SetText((wxString
const &)*arg2
);
32189 wxPyEndAllowThreads(__tstate
);
32190 if (PyErr_Occurred()) SWIG_fail
;
32192 Py_INCREF(Py_None
); resultobj
= Py_None
;
32207 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32208 PyObject
*resultobj
;
32209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32211 PyObject
* obj0
= 0 ;
32212 char *kwnames
[] = {
32213 (char *) "self", NULL
32216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32239 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32240 PyObject
*resultobj
;
32241 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32243 PyObject
* obj0
= 0 ;
32244 char *kwnames
[] = {
32245 (char *) "self", NULL
32248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32255 result
= (wxString
*) &_result_ref
;
32258 wxPyEndAllowThreads(__tstate
);
32259 if (PyErr_Occurred()) SWIG_fail
;
32263 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32265 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32274 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32275 PyObject
*resultobj
;
32276 wxString
*arg1
= 0 ;
32278 bool temp1
= False
;
32279 PyObject
* obj0
= 0 ;
32280 char *kwnames
[] = {
32281 (char *) "text", NULL
32284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32286 arg1
= wxString_in_helper(obj0
);
32287 if (arg1
== NULL
) SWIG_fail
;
32291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32292 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32294 wxPyEndAllowThreads(__tstate
);
32295 if (PyErr_Occurred()) SWIG_fail
;
32299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32318 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32319 PyObject
*resultobj
;
32320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32322 PyObject
* obj0
= 0 ;
32323 char *kwnames
[] = {
32324 (char *) "self", NULL
32327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 resultobj
= SWIG_FromInt((int)result
);
32344 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
;
32346 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self",(char *) "kind", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32357 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->SetKind((wxItemKind
)arg2
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 Py_INCREF(Py_None
); resultobj
= Py_None
;
32373 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
;
32375 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32377 PyObject
* obj0
= 0 ;
32378 PyObject
* obj1
= 0 ;
32379 char *kwnames
[] = {
32380 (char *) "self",(char *) "checkable", NULL
32383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32386 arg2
= (bool) SWIG_AsBool(obj1
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32390 (arg1
)->SetCheckable(arg2
);
32392 wxPyEndAllowThreads(__tstate
);
32393 if (PyErr_Occurred()) SWIG_fail
;
32395 Py_INCREF(Py_None
); resultobj
= Py_None
;
32402 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32403 PyObject
*resultobj
;
32404 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32406 PyObject
* obj0
= 0 ;
32407 char *kwnames
[] = {
32408 (char *) "self", NULL
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32416 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32418 wxPyEndAllowThreads(__tstate
);
32419 if (PyErr_Occurred()) SWIG_fail
;
32422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32430 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32431 PyObject
*resultobj
;
32432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32434 PyObject
* obj0
= 0 ;
32435 char *kwnames
[] = {
32436 (char *) "self", NULL
32439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32444 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32446 wxPyEndAllowThreads(__tstate
);
32447 if (PyErr_Occurred()) SWIG_fail
;
32450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32458 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32459 PyObject
*resultobj
;
32460 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32461 wxMenu
*arg2
= (wxMenu
*) 0 ;
32462 PyObject
* obj0
= 0 ;
32463 PyObject
* obj1
= 0 ;
32464 char *kwnames
[] = {
32465 (char *) "self",(char *) "menu", NULL
32468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32471 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32475 (arg1
)->SetSubMenu(arg2
);
32477 wxPyEndAllowThreads(__tstate
);
32478 if (PyErr_Occurred()) SWIG_fail
;
32480 Py_INCREF(Py_None
); resultobj
= Py_None
;
32487 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32488 PyObject
*resultobj
;
32489 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32491 PyObject
* obj0
= 0 ;
32492 char *kwnames
[] = {
32493 (char *) "self", NULL
32496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32507 resultobj
= wxPyMake_wxObject(result
, 0);
32515 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32516 PyObject
*resultobj
;
32517 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32518 bool arg2
= (bool) True
;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 char *kwnames
[] = {
32522 (char *) "self",(char *) "enable", NULL
32525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32526 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32529 arg2
= (bool) SWIG_AsBool(obj1
);
32530 if (PyErr_Occurred()) SWIG_fail
;
32533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32534 (arg1
)->Enable(arg2
);
32536 wxPyEndAllowThreads(__tstate
);
32537 if (PyErr_Occurred()) SWIG_fail
;
32539 Py_INCREF(Py_None
); resultobj
= Py_None
;
32546 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32547 PyObject
*resultobj
;
32548 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32550 PyObject
* obj0
= 0 ;
32551 char *kwnames
[] = {
32552 (char *) "self", NULL
32555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32560 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32562 wxPyEndAllowThreads(__tstate
);
32563 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32574 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32577 bool arg2
= (bool) True
;
32578 PyObject
* obj0
= 0 ;
32579 PyObject
* obj1
= 0 ;
32580 char *kwnames
[] = {
32581 (char *) "self",(char *) "check", NULL
32584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32588 arg2
= (bool) SWIG_AsBool(obj1
);
32589 if (PyErr_Occurred()) SWIG_fail
;
32592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32593 (arg1
)->Check(arg2
);
32595 wxPyEndAllowThreads(__tstate
);
32596 if (PyErr_Occurred()) SWIG_fail
;
32598 Py_INCREF(Py_None
); resultobj
= Py_None
;
32605 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32606 PyObject
*resultobj
;
32607 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32609 PyObject
* obj0
= 0 ;
32610 char *kwnames
[] = {
32611 (char *) "self", NULL
32614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32633 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32635 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32636 PyObject
* obj0
= 0 ;
32637 char *kwnames
[] = {
32638 (char *) "self", NULL
32641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32648 wxPyEndAllowThreads(__tstate
);
32649 if (PyErr_Occurred()) SWIG_fail
;
32651 Py_INCREF(Py_None
); resultobj
= Py_None
;
32658 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32659 PyObject
*resultobj
;
32660 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32661 wxString
*arg2
= 0 ;
32662 bool temp2
= False
;
32663 PyObject
* obj0
= 0 ;
32664 PyObject
* obj1
= 0 ;
32665 char *kwnames
[] = {
32666 (char *) "self",(char *) "str", NULL
32669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32673 arg2
= wxString_in_helper(obj1
);
32674 if (arg2
== NULL
) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 (arg1
)->SetHelp((wxString
const &)*arg2
);
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 Py_INCREF(Py_None
); resultobj
= Py_None
;
32699 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
;
32701 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32703 PyObject
* obj0
= 0 ;
32704 char *kwnames
[] = {
32705 (char *) "self", NULL
32708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32715 result
= (wxString
*) &_result_ref
;
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32723 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32725 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32734 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32735 PyObject
*resultobj
;
32736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32737 wxAcceleratorEntry
*result
;
32738 PyObject
* obj0
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32750 wxPyEndAllowThreads(__tstate
);
32751 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32760 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32761 PyObject
*resultobj
;
32762 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32763 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 PyObject
* obj1
= 0 ;
32766 char *kwnames
[] = {
32767 (char *) "self",(char *) "accel", NULL
32770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32773 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32777 (arg1
)->SetAccel(arg2
);
32779 wxPyEndAllowThreads(__tstate
);
32780 if (PyErr_Occurred()) SWIG_fail
;
32782 Py_INCREF(Py_None
); resultobj
= Py_None
;
32789 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
;
32791 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32793 PyObject
* obj0
= 0 ;
32794 PyObject
* obj1
= 0 ;
32795 char *kwnames
[] = {
32796 (char *) "self",(char *) "font", NULL
32799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32803 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32805 if (arg2
== NULL
) {
32806 PyErr_SetString(PyExc_TypeError
,"null reference");
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->SetFont((wxFont
const &)*arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 char *kwnames
[] = {
32829 (char *) "self", NULL
32832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32837 result
= (arg1
)->GetFont();
32839 wxPyEndAllowThreads(__tstate
);
32840 if (PyErr_Occurred()) SWIG_fail
;
32843 wxFont
* resultptr
;
32844 resultptr
= new wxFont((wxFont
&) result
);
32845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32853 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32854 PyObject
*resultobj
;
32855 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32856 wxColour
*arg2
= 0 ;
32858 PyObject
* obj0
= 0 ;
32859 PyObject
* obj1
= 0 ;
32860 char *kwnames
[] = {
32861 (char *) "self",(char *) "colText", NULL
32864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32869 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32873 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32875 wxPyEndAllowThreads(__tstate
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32878 Py_INCREF(Py_None
); resultobj
= Py_None
;
32885 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32886 PyObject
*resultobj
;
32887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32889 PyObject
* obj0
= 0 ;
32890 char *kwnames
[] = {
32891 (char *) "self", NULL
32894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 result
= (arg1
)->GetTextColour();
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32905 wxColour
* resultptr
;
32906 resultptr
= new wxColour((wxColour
&) result
);
32907 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32915 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32916 PyObject
*resultobj
;
32917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32918 wxColour
*arg2
= 0 ;
32920 PyObject
* obj0
= 0 ;
32921 PyObject
* obj1
= 0 ;
32922 char *kwnames
[] = {
32923 (char *) "self",(char *) "colBack", NULL
32926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32931 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 Py_INCREF(Py_None
); resultobj
= Py_None
;
32947 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 char *kwnames
[] = {
32953 (char *) "self", NULL
32956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32961 result
= (arg1
)->GetBackgroundColour();
32963 wxPyEndAllowThreads(__tstate
);
32964 if (PyErr_Occurred()) SWIG_fail
;
32967 wxColour
* resultptr
;
32968 resultptr
= new wxColour((wxColour
&) result
);
32969 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32977 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32978 PyObject
*resultobj
;
32979 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32980 wxBitmap
*arg2
= 0 ;
32981 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32982 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32983 PyObject
* obj0
= 0 ;
32984 PyObject
* obj1
= 0 ;
32985 PyObject
* obj2
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32993 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32994 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32996 if (arg2
== NULL
) {
32997 PyErr_SetString(PyExc_TypeError
,"null reference");
33001 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33002 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33004 if (arg3
== NULL
) {
33005 PyErr_SetString(PyExc_TypeError
,"null reference");
33010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33011 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33013 wxPyEndAllowThreads(__tstate
);
33014 if (PyErr_Occurred()) SWIG_fail
;
33016 Py_INCREF(Py_None
); resultobj
= Py_None
;
33023 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33024 PyObject
*resultobj
;
33025 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33026 wxBitmap
*arg2
= 0 ;
33027 PyObject
* obj0
= 0 ;
33028 PyObject
* obj1
= 0 ;
33029 char *kwnames
[] = {
33030 (char *) "self",(char *) "bmpDisabled", NULL
33033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33036 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33037 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33039 if (arg2
== NULL
) {
33040 PyErr_SetString(PyExc_TypeError
,"null reference");
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 Py_INCREF(Py_None
); resultobj
= Py_None
;
33057 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33061 PyObject
* obj0
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33072 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33073 result
= (wxBitmap
*) &_result_ref
;
33076 wxPyEndAllowThreads(__tstate
);
33077 if (PyErr_Occurred()) SWIG_fail
;
33080 wxBitmap
* resultptr
= new wxBitmap(*result
);
33081 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33089 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33090 PyObject
*resultobj
;
33091 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33093 PyObject
* obj0
= 0 ;
33094 PyObject
* obj1
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self",(char *) "nWidth", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33102 arg2
= (int) SWIG_AsInt(obj1
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 (arg1
)->SetMarginWidth(arg2
);
33108 wxPyEndAllowThreads(__tstate
);
33109 if (PyErr_Occurred()) SWIG_fail
;
33111 Py_INCREF(Py_None
); resultobj
= Py_None
;
33118 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33119 PyObject
*resultobj
;
33120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33122 PyObject
* obj0
= 0 ;
33123 char *kwnames
[] = {
33124 (char *) "self", NULL
33127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33132 result
= (int)(arg1
)->GetMarginWidth();
33134 wxPyEndAllowThreads(__tstate
);
33135 if (PyErr_Occurred()) SWIG_fail
;
33137 resultobj
= SWIG_FromInt((int)result
);
33144 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33145 PyObject
*resultobj
;
33147 char *kwnames
[] = {
33151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33154 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33156 wxPyEndAllowThreads(__tstate
);
33157 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= SWIG_FromInt((int)result
);
33166 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33167 PyObject
*resultobj
;
33168 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33170 PyObject
* obj0
= 0 ;
33171 char *kwnames
[] = {
33172 (char *) "self", NULL
33175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33180 result
= (bool)(arg1
)->IsOwnerDrawn();
33182 wxPyEndAllowThreads(__tstate
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33194 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33197 bool arg2
= (bool) True
;
33198 PyObject
* obj0
= 0 ;
33199 PyObject
* obj1
= 0 ;
33200 char *kwnames
[] = {
33201 (char *) "self",(char *) "ownerDrawn", NULL
33204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33208 arg2
= (bool) SWIG_AsBool(obj1
);
33209 if (PyErr_Occurred()) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 (arg1
)->SetOwnerDrawn(arg2
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33218 Py_INCREF(Py_None
); resultobj
= Py_None
;
33225 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33226 PyObject
*resultobj
;
33227 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33228 PyObject
* obj0
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33238 (arg1
)->ResetOwnerDrawn();
33240 wxPyEndAllowThreads(__tstate
);
33241 if (PyErr_Occurred()) SWIG_fail
;
33243 Py_INCREF(Py_None
); resultobj
= Py_None
;
33250 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
;
33252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33253 wxBitmap
*arg2
= 0 ;
33254 PyObject
* obj0
= 0 ;
33255 PyObject
* obj1
= 0 ;
33256 char *kwnames
[] = {
33257 (char *) "self",(char *) "bitmap", NULL
33260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33263 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33264 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33266 if (arg2
== NULL
) {
33267 PyErr_SetString(PyExc_TypeError
,"null reference");
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 Py_INCREF(Py_None
); resultobj
= Py_None
;
33284 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33288 PyObject
* obj0
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33300 result
= (wxBitmap
*) &_result_ref
;
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33307 wxBitmap
* resultptr
= new wxBitmap(*result
);
33308 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33316 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33318 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33319 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33321 return Py_BuildValue((char *)"");
33323 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33324 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33329 static PyObject
*_wrap_ControlNameStr_get() {
33334 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33336 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33343 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33344 PyObject
*resultobj
;
33345 wxWindow
*arg1
= (wxWindow
*) 0 ;
33346 int arg2
= (int) -1 ;
33347 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33348 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33349 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33350 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33351 long arg5
= (long) 0 ;
33352 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33353 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33354 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33355 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33359 bool temp7
= False
;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 PyObject
* obj2
= 0 ;
33363 PyObject
* obj3
= 0 ;
33364 PyObject
* obj4
= 0 ;
33365 PyObject
* obj5
= 0 ;
33366 PyObject
* obj6
= 0 ;
33367 char *kwnames
[] = {
33368 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33375 arg2
= (int) SWIG_AsInt(obj1
);
33376 if (PyErr_Occurred()) SWIG_fail
;
33381 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33387 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33391 arg5
= (long) SWIG_AsLong(obj4
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33395 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33396 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33398 if (arg6
== NULL
) {
33399 PyErr_SetString(PyExc_TypeError
,"null reference");
33405 arg7
= wxString_in_helper(obj6
);
33406 if (arg7
== NULL
) SWIG_fail
;
33411 if (!wxPyCheckForApp()) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33433 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33434 PyObject
*resultobj
;
33436 char *kwnames
[] = {
33440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33442 if (!wxPyCheckForApp()) SWIG_fail
;
33443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33444 result
= (wxControl
*)new wxControl();
33446 wxPyEndAllowThreads(__tstate
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33456 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33457 PyObject
*resultobj
;
33458 wxControl
*arg1
= (wxControl
*) 0 ;
33459 wxWindow
*arg2
= (wxWindow
*) 0 ;
33460 int arg3
= (int) -1 ;
33461 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33462 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33463 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33464 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33465 long arg6
= (long) 0 ;
33466 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33467 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33468 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33469 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33473 bool temp8
= False
;
33474 PyObject
* obj0
= 0 ;
33475 PyObject
* obj1
= 0 ;
33476 PyObject
* obj2
= 0 ;
33477 PyObject
* obj3
= 0 ;
33478 PyObject
* obj4
= 0 ;
33479 PyObject
* obj5
= 0 ;
33480 PyObject
* obj6
= 0 ;
33481 PyObject
* obj7
= 0 ;
33482 char *kwnames
[] = {
33483 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33489 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33492 arg3
= (int) SWIG_AsInt(obj2
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33498 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33504 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33508 arg6
= (long) SWIG_AsLong(obj5
);
33509 if (PyErr_Occurred()) SWIG_fail
;
33512 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33513 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33515 if (arg7
== NULL
) {
33516 PyErr_SetString(PyExc_TypeError
,"null reference");
33522 arg8
= wxString_in_helper(obj7
);
33523 if (arg8
== NULL
) SWIG_fail
;
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33535 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33551 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33552 PyObject
*resultobj
;
33553 wxControl
*arg1
= (wxControl
*) 0 ;
33554 wxCommandEvent
*arg2
= 0 ;
33555 PyObject
* obj0
= 0 ;
33556 PyObject
* obj1
= 0 ;
33557 char *kwnames
[] = {
33558 (char *) "self",(char *) "event", NULL
33561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33564 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33565 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33567 if (arg2
== NULL
) {
33568 PyErr_SetString(PyExc_TypeError
,"null reference");
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 (arg1
)->Command(*arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 Py_INCREF(Py_None
); resultobj
= Py_None
;
33585 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33586 PyObject
*resultobj
;
33587 wxControl
*arg1
= (wxControl
*) 0 ;
33589 PyObject
* obj0
= 0 ;
33590 char *kwnames
[] = {
33591 (char *) "self", NULL
33594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33599 result
= (arg1
)->GetLabel();
33601 wxPyEndAllowThreads(__tstate
);
33602 if (PyErr_Occurred()) SWIG_fail
;
33606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33617 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33618 PyObject
*resultobj
;
33619 wxControl
*arg1
= (wxControl
*) 0 ;
33620 wxString
*arg2
= 0 ;
33621 bool temp2
= False
;
33622 PyObject
* obj0
= 0 ;
33623 PyObject
* obj1
= 0 ;
33624 char *kwnames
[] = {
33625 (char *) "self",(char *) "label", NULL
33628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33632 arg2
= wxString_in_helper(obj1
);
33633 if (arg2
== NULL
) SWIG_fail
;
33637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33638 (arg1
)->SetLabel((wxString
const &)*arg2
);
33640 wxPyEndAllowThreads(__tstate
);
33641 if (PyErr_Occurred()) SWIG_fail
;
33643 Py_INCREF(Py_None
); resultobj
= Py_None
;
33658 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33659 PyObject
*resultobj
;
33660 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33661 wxVisualAttributes result
;
33662 PyObject
* obj0
= 0 ;
33663 char *kwnames
[] = {
33664 (char *) "variant", NULL
33667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33669 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33670 if (PyErr_Occurred()) SWIG_fail
;
33673 if (!wxPyCheckForApp()) SWIG_fail
;
33674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33675 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33677 wxPyEndAllowThreads(__tstate
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33681 wxVisualAttributes
* resultptr
;
33682 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33683 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33691 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33694 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33696 return Py_BuildValue((char *)"");
33698 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33701 wxString
*arg2
= 0 ;
33702 PyObject
*arg3
= (PyObject
*) NULL
;
33704 bool temp2
= False
;
33705 PyObject
* obj0
= 0 ;
33706 PyObject
* obj1
= 0 ;
33707 PyObject
* obj2
= 0 ;
33708 char *kwnames
[] = {
33709 (char *) "self",(char *) "item",(char *) "clientData", NULL
33712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33716 arg2
= wxString_in_helper(obj1
);
33717 if (arg2
== NULL
) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= SWIG_FromInt((int)result
);
33745 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33746 PyObject
*resultobj
;
33747 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33748 wxArrayString
*arg2
= 0 ;
33749 bool temp2
= False
;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33752 char *kwnames
[] = {
33753 (char *) "self",(char *) "strings", NULL
33756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33760 if (! PySequence_Check(obj1
)) {
33761 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33764 arg2
= new wxArrayString
;
33766 int i
, len
=PySequence_Length(obj1
);
33767 for (i
=0; i
<len
; i
++) {
33768 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33770 PyObject
* str
= PyObject_Unicode(item
);
33772 PyObject
* str
= PyObject_Str(item
);
33774 if (PyErr_Occurred()) SWIG_fail
;
33775 arg2
->Add(Py2wxString(str
));
33781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33782 (arg1
)->Append((wxArrayString
const &)*arg2
);
33784 wxPyEndAllowThreads(__tstate
);
33785 if (PyErr_Occurred()) SWIG_fail
;
33787 Py_INCREF(Py_None
); resultobj
= Py_None
;
33789 if (temp2
) delete arg2
;
33794 if (temp2
) delete arg2
;
33800 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33801 PyObject
*resultobj
;
33802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33803 wxString
*arg2
= 0 ;
33805 PyObject
*arg4
= (PyObject
*) NULL
;
33807 bool temp2
= False
;
33808 PyObject
* obj0
= 0 ;
33809 PyObject
* obj1
= 0 ;
33810 PyObject
* obj2
= 0 ;
33811 PyObject
* obj3
= 0 ;
33812 char *kwnames
[] = {
33813 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33820 arg2
= wxString_in_helper(obj1
);
33821 if (arg2
== NULL
) SWIG_fail
;
33824 arg3
= (int) SWIG_AsInt(obj2
);
33825 if (PyErr_Occurred()) SWIG_fail
;
33830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33831 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33833 wxPyEndAllowThreads(__tstate
);
33834 if (PyErr_Occurred()) SWIG_fail
;
33836 resultobj
= SWIG_FromInt((int)result
);
33851 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33852 PyObject
*resultobj
;
33853 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33854 PyObject
* obj0
= 0 ;
33855 char *kwnames
[] = {
33856 (char *) "self", NULL
33859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33866 wxPyEndAllowThreads(__tstate
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33869 Py_INCREF(Py_None
); resultobj
= Py_None
;
33876 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33877 PyObject
*resultobj
;
33878 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33880 PyObject
* obj0
= 0 ;
33881 PyObject
* obj1
= 0 ;
33882 char *kwnames
[] = {
33883 (char *) "self",(char *) "n", NULL
33886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33889 arg2
= (int) SWIG_AsInt(obj1
);
33890 if (PyErr_Occurred()) SWIG_fail
;
33892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33893 (arg1
)->Delete(arg2
);
33895 wxPyEndAllowThreads(__tstate
);
33896 if (PyErr_Occurred()) SWIG_fail
;
33898 Py_INCREF(Py_None
); resultobj
= Py_None
;
33905 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33906 PyObject
*resultobj
;
33907 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33909 PyObject
* obj0
= 0 ;
33910 char *kwnames
[] = {
33911 (char *) "self", NULL
33914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33919 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33921 wxPyEndAllowThreads(__tstate
);
33922 if (PyErr_Occurred()) SWIG_fail
;
33924 resultobj
= SWIG_FromInt((int)result
);
33931 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33932 PyObject
*resultobj
;
33933 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33935 PyObject
* obj0
= 0 ;
33936 char *kwnames
[] = {
33937 (char *) "self", NULL
33940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33945 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33947 wxPyEndAllowThreads(__tstate
);
33948 if (PyErr_Occurred()) SWIG_fail
;
33951 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33959 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33960 PyObject
*resultobj
;
33961 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33966 char *kwnames
[] = {
33967 (char *) "self",(char *) "n", NULL
33970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33973 arg2
= (int) SWIG_AsInt(obj1
);
33974 if (PyErr_Occurred()) SWIG_fail
;
33976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33977 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33979 wxPyEndAllowThreads(__tstate
);
33980 if (PyErr_Occurred()) SWIG_fail
;
33984 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33986 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33995 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33996 PyObject
*resultobj
;
33997 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33998 wxArrayString result
;
33999 PyObject
* obj0
= 0 ;
34000 char *kwnames
[] = {
34001 (char *) "self", NULL
34004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34009 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34011 wxPyEndAllowThreads(__tstate
);
34012 if (PyErr_Occurred()) SWIG_fail
;
34015 resultobj
= wxArrayString2PyList_helper(result
);
34023 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34024 PyObject
*resultobj
;
34025 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34027 wxString
*arg3
= 0 ;
34028 bool temp3
= False
;
34029 PyObject
* obj0
= 0 ;
34030 PyObject
* obj1
= 0 ;
34031 PyObject
* obj2
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self",(char *) "n",(char *) "s", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34039 arg2
= (int) SWIG_AsInt(obj1
);
34040 if (PyErr_Occurred()) SWIG_fail
;
34042 arg3
= wxString_in_helper(obj2
);
34043 if (arg3
== NULL
) SWIG_fail
;
34047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34048 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34050 wxPyEndAllowThreads(__tstate
);
34051 if (PyErr_Occurred()) SWIG_fail
;
34053 Py_INCREF(Py_None
); resultobj
= Py_None
;
34068 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34069 PyObject
*resultobj
;
34070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34071 wxString
*arg2
= 0 ;
34073 bool temp2
= False
;
34074 PyObject
* obj0
= 0 ;
34075 PyObject
* obj1
= 0 ;
34076 char *kwnames
[] = {
34077 (char *) "self",(char *) "s", NULL
34080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34084 arg2
= wxString_in_helper(obj1
);
34085 if (arg2
== NULL
) SWIG_fail
;
34089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34090 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34092 wxPyEndAllowThreads(__tstate
);
34093 if (PyErr_Occurred()) SWIG_fail
;
34095 resultobj
= SWIG_FromInt((int)result
);
34110 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34111 PyObject
*resultobj
;
34112 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34114 PyObject
* obj0
= 0 ;
34115 PyObject
* obj1
= 0 ;
34116 char *kwnames
[] = {
34117 (char *) "self",(char *) "n", NULL
34120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34123 arg2
= (int) SWIG_AsInt(obj1
);
34124 if (PyErr_Occurred()) SWIG_fail
;
34126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34127 (arg1
)->Select(arg2
);
34129 wxPyEndAllowThreads(__tstate
);
34130 if (PyErr_Occurred()) SWIG_fail
;
34132 Py_INCREF(Py_None
); resultobj
= Py_None
;
34139 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34140 PyObject
*resultobj
;
34141 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34143 PyObject
* obj0
= 0 ;
34144 char *kwnames
[] = {
34145 (char *) "self", NULL
34148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34153 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34155 wxPyEndAllowThreads(__tstate
);
34156 if (PyErr_Occurred()) SWIG_fail
;
34158 resultobj
= SWIG_FromInt((int)result
);
34165 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34166 PyObject
*resultobj
;
34167 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34169 PyObject
* obj0
= 0 ;
34170 char *kwnames
[] = {
34171 (char *) "self", NULL
34174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34179 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34181 wxPyEndAllowThreads(__tstate
);
34182 if (PyErr_Occurred()) SWIG_fail
;
34186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34197 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34198 PyObject
*resultobj
;
34199 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self",(char *) "n", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34211 arg2
= (int) SWIG_AsInt(obj1
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34215 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34217 wxPyEndAllowThreads(__tstate
);
34218 if (PyErr_Occurred()) SWIG_fail
;
34220 resultobj
= result
;
34227 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34228 PyObject
*resultobj
;
34229 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34231 PyObject
*arg3
= (PyObject
*) 0 ;
34232 PyObject
* obj0
= 0 ;
34233 PyObject
* obj1
= 0 ;
34234 PyObject
* obj2
= 0 ;
34235 char *kwnames
[] = {
34236 (char *) "self",(char *) "n",(char *) "clientData", NULL
34239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34242 arg2
= (int) SWIG_AsInt(obj1
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34249 wxPyEndAllowThreads(__tstate
);
34250 if (PyErr_Occurred()) SWIG_fail
;
34252 Py_INCREF(Py_None
); resultobj
= Py_None
;
34259 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34261 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34262 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34264 return Py_BuildValue((char *)"");
34266 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34269 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34271 return Py_BuildValue((char *)"");
34273 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34274 PyObject
*resultobj
;
34275 wxSizerItem
*result
;
34276 char *kwnames
[] = {
34280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34283 result
= (wxSizerItem
*)new wxSizerItem();
34285 wxPyEndAllowThreads(__tstate
);
34286 if (PyErr_Occurred()) SWIG_fail
;
34288 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34295 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34296 PyObject
*resultobj
;
34297 wxWindow
*arg1
= (wxWindow
*) 0 ;
34301 PyObject
*arg5
= (PyObject
*) NULL
;
34302 wxSizerItem
*result
;
34303 PyObject
* obj0
= 0 ;
34304 PyObject
* obj1
= 0 ;
34305 PyObject
* obj2
= 0 ;
34306 PyObject
* obj3
= 0 ;
34307 PyObject
* obj4
= 0 ;
34308 char *kwnames
[] = {
34309 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34315 arg2
= (int) SWIG_AsInt(obj1
);
34316 if (PyErr_Occurred()) SWIG_fail
;
34317 arg3
= (int) SWIG_AsInt(obj2
);
34318 if (PyErr_Occurred()) SWIG_fail
;
34319 arg4
= (int) SWIG_AsInt(obj3
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34326 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34328 wxPyEndAllowThreads(__tstate
);
34329 if (PyErr_Occurred()) SWIG_fail
;
34331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34338 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34339 PyObject
*resultobj
;
34345 PyObject
*arg6
= (PyObject
*) NULL
;
34346 wxSizerItem
*result
;
34347 PyObject
* obj0
= 0 ;
34348 PyObject
* obj1
= 0 ;
34349 PyObject
* obj2
= 0 ;
34350 PyObject
* obj3
= 0 ;
34351 PyObject
* obj4
= 0 ;
34352 PyObject
* obj5
= 0 ;
34353 char *kwnames
[] = {
34354 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34358 arg1
= (int) SWIG_AsInt(obj0
);
34359 if (PyErr_Occurred()) SWIG_fail
;
34360 arg2
= (int) SWIG_AsInt(obj1
);
34361 if (PyErr_Occurred()) SWIG_fail
;
34362 arg3
= (int) SWIG_AsInt(obj2
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34364 arg4
= (int) SWIG_AsInt(obj3
);
34365 if (PyErr_Occurred()) SWIG_fail
;
34366 arg5
= (int) SWIG_AsInt(obj4
);
34367 if (PyErr_Occurred()) SWIG_fail
;
34372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34373 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34375 wxPyEndAllowThreads(__tstate
);
34376 if (PyErr_Occurred()) SWIG_fail
;
34378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34385 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34386 PyObject
*resultobj
;
34387 wxSizer
*arg1
= (wxSizer
*) 0 ;
34391 PyObject
*arg5
= (PyObject
*) NULL
;
34392 wxSizerItem
*result
;
34393 PyObject
* obj0
= 0 ;
34394 PyObject
* obj1
= 0 ;
34395 PyObject
* obj2
= 0 ;
34396 PyObject
* obj3
= 0 ;
34397 PyObject
* obj4
= 0 ;
34398 char *kwnames
[] = {
34399 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34405 arg2
= (int) SWIG_AsInt(obj1
);
34406 if (PyErr_Occurred()) SWIG_fail
;
34407 arg3
= (int) SWIG_AsInt(obj2
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34409 arg4
= (int) SWIG_AsInt(obj3
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34428 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34431 PyObject
* obj0
= 0 ;
34432 char *kwnames
[] = {
34433 (char *) "self", NULL
34436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 (arg1
)->DeleteWindows();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 Py_INCREF(Py_None
); resultobj
= Py_None
;
34453 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
;
34455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34456 PyObject
* obj0
= 0 ;
34457 char *kwnames
[] = {
34458 (char *) "self", NULL
34461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 (arg1
)->DetachSizer();
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 Py_INCREF(Py_None
); resultobj
= Py_None
;
34478 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34482 PyObject
* obj0
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "self", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34492 result
= (arg1
)->GetSize();
34494 wxPyEndAllowThreads(__tstate
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34498 wxSize
* resultptr
;
34499 resultptr
= new wxSize((wxSize
&) result
);
34500 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34508 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34509 PyObject
*resultobj
;
34510 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34512 PyObject
* obj0
= 0 ;
34513 char *kwnames
[] = {
34514 (char *) "self", NULL
34517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34522 result
= (arg1
)->CalcMin();
34524 wxPyEndAllowThreads(__tstate
);
34525 if (PyErr_Occurred()) SWIG_fail
;
34528 wxSize
* resultptr
;
34529 resultptr
= new wxSize((wxSize
&) result
);
34530 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34538 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34539 PyObject
*resultobj
;
34540 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34545 PyObject
* obj0
= 0 ;
34546 PyObject
* obj1
= 0 ;
34547 PyObject
* obj2
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "pos",(char *) "size", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34555 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34556 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34558 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34559 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34563 (arg1
)->SetDimension(arg2
,arg3
);
34565 wxPyEndAllowThreads(__tstate
);
34566 if (PyErr_Occurred()) SWIG_fail
;
34568 Py_INCREF(Py_None
); resultobj
= Py_None
;
34575 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34576 PyObject
*resultobj
;
34577 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34579 PyObject
* obj0
= 0 ;
34580 char *kwnames
[] = {
34581 (char *) "self", NULL
34584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34589 result
= (arg1
)->GetMinSize();
34591 wxPyEndAllowThreads(__tstate
);
34592 if (PyErr_Occurred()) SWIG_fail
;
34595 wxSize
* resultptr
;
34596 resultptr
= new wxSize((wxSize
&) result
);
34597 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34605 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34606 PyObject
*resultobj
;
34607 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34609 PyObject
* obj0
= 0 ;
34610 char *kwnames
[] = {
34611 (char *) "self", NULL
34614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34619 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34621 wxPyEndAllowThreads(__tstate
);
34622 if (PyErr_Occurred()) SWIG_fail
;
34625 wxSize
* resultptr
;
34626 resultptr
= new wxSize((wxSize
&) result
);
34627 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34635 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34636 PyObject
*resultobj
;
34637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 char *kwnames
[] = {
34644 (char *) "self",(char *) "x",(char *) "y", NULL
34647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34650 arg2
= (int) SWIG_AsInt(obj1
);
34651 if (PyErr_Occurred()) SWIG_fail
;
34652 arg3
= (int) SWIG_AsInt(obj2
);
34653 if (PyErr_Occurred()) SWIG_fail
;
34655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34656 (arg1
)->SetInitSize(arg2
,arg3
);
34658 wxPyEndAllowThreads(__tstate
);
34659 if (PyErr_Occurred()) SWIG_fail
;
34661 Py_INCREF(Py_None
); resultobj
= Py_None
;
34668 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34669 PyObject
*resultobj
;
34670 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 PyObject
* obj1
= 0 ;
34675 PyObject
* obj2
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self",(char *) "width",(char *) "height", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34683 arg2
= (int) SWIG_AsInt(obj1
);
34684 if (PyErr_Occurred()) SWIG_fail
;
34685 arg3
= (int) SWIG_AsInt(obj2
);
34686 if (PyErr_Occurred()) SWIG_fail
;
34688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34689 (arg1
)->SetRatio(arg2
,arg3
);
34691 wxPyEndAllowThreads(__tstate
);
34692 if (PyErr_Occurred()) SWIG_fail
;
34694 Py_INCREF(Py_None
); resultobj
= Py_None
;
34701 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34702 PyObject
*resultobj
;
34703 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34706 PyObject
* obj0
= 0 ;
34707 PyObject
* obj1
= 0 ;
34708 char *kwnames
[] = {
34709 (char *) "self",(char *) "size", NULL
34712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34715 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34716 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34720 (arg1
)->SetRatio(arg2
);
34722 wxPyEndAllowThreads(__tstate
);
34723 if (PyErr_Occurred()) SWIG_fail
;
34725 Py_INCREF(Py_None
); resultobj
= Py_None
;
34732 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34733 PyObject
*resultobj
;
34734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34736 PyObject
* obj0
= 0 ;
34737 PyObject
* obj1
= 0 ;
34738 char *kwnames
[] = {
34739 (char *) "self",(char *) "ratio", NULL
34742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34745 arg2
= (float) SWIG_AsFloat(obj1
);
34746 if (PyErr_Occurred()) SWIG_fail
;
34748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34749 (arg1
)->SetRatio(arg2
);
34751 wxPyEndAllowThreads(__tstate
);
34752 if (PyErr_Occurred()) SWIG_fail
;
34754 Py_INCREF(Py_None
); resultobj
= Py_None
;
34761 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34762 PyObject
*resultobj
;
34763 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34765 PyObject
* obj0
= 0 ;
34766 char *kwnames
[] = {
34767 (char *) "self", NULL
34770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34775 result
= (float)(arg1
)->GetRatio();
34777 wxPyEndAllowThreads(__tstate
);
34778 if (PyErr_Occurred()) SWIG_fail
;
34780 resultobj
= SWIG_FromFloat((float)result
);
34787 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
;
34789 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34791 PyObject
* obj0
= 0 ;
34792 char *kwnames
[] = {
34793 (char *) "self", NULL
34796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= (bool)(arg1
)->IsWindow();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34815 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34816 PyObject
*resultobj
;
34817 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34819 PyObject
* obj0
= 0 ;
34820 char *kwnames
[] = {
34821 (char *) "self", NULL
34824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34825 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34829 result
= (bool)(arg1
)->IsSizer();
34831 wxPyEndAllowThreads(__tstate
);
34832 if (PyErr_Occurred()) SWIG_fail
;
34835 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34843 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34844 PyObject
*resultobj
;
34845 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34847 PyObject
* obj0
= 0 ;
34848 char *kwnames
[] = {
34849 (char *) "self", NULL
34852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= (bool)(arg1
)->IsSpacer();
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34863 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34871 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
;
34873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34875 PyObject
* obj0
= 0 ;
34876 PyObject
* obj1
= 0 ;
34877 char *kwnames
[] = {
34878 (char *) "self",(char *) "proportion", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34884 arg2
= (int) SWIG_AsInt(obj1
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34888 (arg1
)->SetProportion(arg2
);
34890 wxPyEndAllowThreads(__tstate
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34893 Py_INCREF(Py_None
); resultobj
= Py_None
;
34900 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34901 PyObject
*resultobj
;
34902 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34904 PyObject
* obj0
= 0 ;
34905 char *kwnames
[] = {
34906 (char *) "self", NULL
34909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34914 result
= (int)(arg1
)->GetProportion();
34916 wxPyEndAllowThreads(__tstate
);
34917 if (PyErr_Occurred()) SWIG_fail
;
34919 resultobj
= SWIG_FromInt((int)result
);
34926 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34927 PyObject
*resultobj
;
34928 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34930 PyObject
* obj0
= 0 ;
34931 PyObject
* obj1
= 0 ;
34932 char *kwnames
[] = {
34933 (char *) "self",(char *) "flag", NULL
34936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34939 arg2
= (int) SWIG_AsInt(obj1
);
34940 if (PyErr_Occurred()) SWIG_fail
;
34942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34943 (arg1
)->SetFlag(arg2
);
34945 wxPyEndAllowThreads(__tstate
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34948 Py_INCREF(Py_None
); resultobj
= Py_None
;
34955 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34956 PyObject
*resultobj
;
34957 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34959 PyObject
* obj0
= 0 ;
34960 char *kwnames
[] = {
34961 (char *) "self", NULL
34964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34969 result
= (int)(arg1
)->GetFlag();
34971 wxPyEndAllowThreads(__tstate
);
34972 if (PyErr_Occurred()) SWIG_fail
;
34974 resultobj
= SWIG_FromInt((int)result
);
34981 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34982 PyObject
*resultobj
;
34983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34985 PyObject
* obj0
= 0 ;
34986 PyObject
* obj1
= 0 ;
34987 char *kwnames
[] = {
34988 (char *) "self",(char *) "border", NULL
34991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34994 arg2
= (int) SWIG_AsInt(obj1
);
34995 if (PyErr_Occurred()) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 (arg1
)->SetBorder(arg2
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 Py_INCREF(Py_None
); resultobj
= Py_None
;
35010 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
;
35012 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35014 PyObject
* obj0
= 0 ;
35015 char *kwnames
[] = {
35016 (char *) "self", NULL
35019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35024 result
= (int)(arg1
)->GetBorder();
35026 wxPyEndAllowThreads(__tstate
);
35027 if (PyErr_Occurred()) SWIG_fail
;
35029 resultobj
= SWIG_FromInt((int)result
);
35036 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35037 PyObject
*resultobj
;
35038 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35050 result
= (wxWindow
*)(arg1
)->GetWindow();
35052 wxPyEndAllowThreads(__tstate
);
35053 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= wxPyMake_wxObject(result
, 0);
35064 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35065 PyObject
*resultobj
;
35066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35067 wxWindow
*arg2
= (wxWindow
*) 0 ;
35068 PyObject
* obj0
= 0 ;
35069 PyObject
* obj1
= 0 ;
35070 char *kwnames
[] = {
35071 (char *) "self",(char *) "window", NULL
35074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35077 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35081 (arg1
)->SetWindow(arg2
);
35083 wxPyEndAllowThreads(__tstate
);
35084 if (PyErr_Occurred()) SWIG_fail
;
35086 Py_INCREF(Py_None
); resultobj
= Py_None
;
35093 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35094 PyObject
*resultobj
;
35095 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35097 PyObject
* obj0
= 0 ;
35098 char *kwnames
[] = {
35099 (char *) "self", NULL
35102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35107 result
= (wxSizer
*)(arg1
)->GetSizer();
35109 wxPyEndAllowThreads(__tstate
);
35110 if (PyErr_Occurred()) SWIG_fail
;
35113 resultobj
= wxPyMake_wxSizer(result
, 0);
35121 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35122 PyObject
*resultobj
;
35123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35124 wxSizer
*arg2
= (wxSizer
*) 0 ;
35125 PyObject
* obj0
= 0 ;
35126 PyObject
* obj1
= 0 ;
35127 char *kwnames
[] = {
35128 (char *) "self",(char *) "sizer", NULL
35131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35138 (arg1
)->SetSizer(arg2
);
35140 wxPyEndAllowThreads(__tstate
);
35141 if (PyErr_Occurred()) SWIG_fail
;
35143 Py_INCREF(Py_None
); resultobj
= Py_None
;
35150 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35154 PyObject
* obj0
= 0 ;
35155 char *kwnames
[] = {
35156 (char *) "self", NULL
35159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35165 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35166 result
= (wxSize
*) &_result_ref
;
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35179 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35184 PyObject
* obj0
= 0 ;
35185 PyObject
* obj1
= 0 ;
35186 char *kwnames
[] = {
35187 (char *) "self",(char *) "size", NULL
35190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35195 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35199 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35201 wxPyEndAllowThreads(__tstate
);
35202 if (PyErr_Occurred()) SWIG_fail
;
35204 Py_INCREF(Py_None
); resultobj
= Py_None
;
35211 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35212 PyObject
*resultobj
;
35213 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35215 PyObject
* obj0
= 0 ;
35216 PyObject
* obj1
= 0 ;
35217 char *kwnames
[] = {
35218 (char *) "self",(char *) "show", NULL
35221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35224 arg2
= (bool) SWIG_AsBool(obj1
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 (arg1
)->Show(arg2
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 Py_INCREF(Py_None
); resultobj
= Py_None
;
35240 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
;
35242 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35244 PyObject
* obj0
= 0 ;
35245 char *kwnames
[] = {
35246 (char *) "self", NULL
35249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35254 result
= (bool)(arg1
)->IsShown();
35256 wxPyEndAllowThreads(__tstate
);
35257 if (PyErr_Occurred()) SWIG_fail
;
35260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35268 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35269 PyObject
*resultobj
;
35270 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35272 PyObject
* obj0
= 0 ;
35273 char *kwnames
[] = {
35274 (char *) "self", NULL
35277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35282 result
= (arg1
)->GetPosition();
35284 wxPyEndAllowThreads(__tstate
);
35285 if (PyErr_Occurred()) SWIG_fail
;
35288 wxPoint
* resultptr
;
35289 resultptr
= new wxPoint((wxPoint
&) result
);
35290 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35298 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35299 PyObject
*resultobj
;
35300 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35302 PyObject
* obj0
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35312 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35314 wxPyEndAllowThreads(__tstate
);
35315 if (PyErr_Occurred()) SWIG_fail
;
35317 resultobj
= result
;
35324 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35327 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35329 return Py_BuildValue((char *)"");
35331 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35332 PyObject
*resultobj
;
35333 wxSizer
*arg1
= (wxSizer
*) 0 ;
35334 PyObject
*arg2
= (PyObject
*) 0 ;
35335 PyObject
* obj0
= 0 ;
35336 PyObject
* obj1
= 0 ;
35337 char *kwnames
[] = {
35338 (char *) "self",(char *) "_self", NULL
35341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 wxSizer__setOORInfo(arg1
,arg2
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 Py_INCREF(Py_None
); resultobj
= Py_None
;
35359 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxSizer
*arg1
= (wxSizer
*) 0 ;
35362 PyObject
*arg2
= (PyObject
*) 0 ;
35363 int arg3
= (int) 0 ;
35364 int arg4
= (int) 0 ;
35365 int arg5
= (int) 0 ;
35366 PyObject
*arg6
= (PyObject
*) NULL
;
35367 PyObject
* obj0
= 0 ;
35368 PyObject
* obj1
= 0 ;
35369 PyObject
* obj2
= 0 ;
35370 PyObject
* obj3
= 0 ;
35371 PyObject
* obj4
= 0 ;
35372 PyObject
* obj5
= 0 ;
35373 char *kwnames
[] = {
35374 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35382 arg3
= (int) SWIG_AsInt(obj2
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35386 arg4
= (int) SWIG_AsInt(obj3
);
35387 if (PyErr_Occurred()) SWIG_fail
;
35390 arg5
= (int) SWIG_AsInt(obj4
);
35391 if (PyErr_Occurred()) SWIG_fail
;
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 Py_INCREF(Py_None
); resultobj
= Py_None
;
35410 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35411 PyObject
*resultobj
;
35412 wxSizer
*arg1
= (wxSizer
*) 0 ;
35414 PyObject
*arg3
= (PyObject
*) 0 ;
35415 int arg4
= (int) 0 ;
35416 int arg5
= (int) 0 ;
35417 int arg6
= (int) 0 ;
35418 PyObject
*arg7
= (PyObject
*) NULL
;
35419 PyObject
* obj0
= 0 ;
35420 PyObject
* obj1
= 0 ;
35421 PyObject
* obj2
= 0 ;
35422 PyObject
* obj3
= 0 ;
35423 PyObject
* obj4
= 0 ;
35424 PyObject
* obj5
= 0 ;
35425 PyObject
* obj6
= 0 ;
35426 char *kwnames
[] = {
35427 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35433 arg2
= (int) SWIG_AsInt(obj1
);
35434 if (PyErr_Occurred()) SWIG_fail
;
35437 arg4
= (int) SWIG_AsInt(obj3
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35441 arg5
= (int) SWIG_AsInt(obj4
);
35442 if (PyErr_Occurred()) SWIG_fail
;
35445 arg6
= (int) SWIG_AsInt(obj5
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35453 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35458 Py_INCREF(Py_None
); resultobj
= Py_None
;
35465 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35466 PyObject
*resultobj
;
35467 wxSizer
*arg1
= (wxSizer
*) 0 ;
35468 PyObject
*arg2
= (PyObject
*) 0 ;
35469 int arg3
= (int) 0 ;
35470 int arg4
= (int) 0 ;
35471 int arg5
= (int) 0 ;
35472 PyObject
*arg6
= (PyObject
*) NULL
;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 PyObject
* obj2
= 0 ;
35476 PyObject
* obj3
= 0 ;
35477 PyObject
* obj4
= 0 ;
35478 PyObject
* obj5
= 0 ;
35479 char *kwnames
[] = {
35480 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35488 arg3
= (int) SWIG_AsInt(obj2
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35492 arg4
= (int) SWIG_AsInt(obj3
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35496 arg5
= (int) SWIG_AsInt(obj4
);
35497 if (PyErr_Occurred()) SWIG_fail
;
35503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35504 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35506 wxPyEndAllowThreads(__tstate
);
35507 if (PyErr_Occurred()) SWIG_fail
;
35509 Py_INCREF(Py_None
); resultobj
= Py_None
;
35516 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35517 PyObject
*resultobj
;
35518 wxSizer
*arg1
= (wxSizer
*) 0 ;
35519 PyObject
*arg2
= (PyObject
*) 0 ;
35521 PyObject
* obj0
= 0 ;
35522 PyObject
* obj1
= 0 ;
35523 char *kwnames
[] = {
35524 (char *) "self",(char *) "item", NULL
35527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35533 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35535 wxPyEndAllowThreads(__tstate
);
35536 if (PyErr_Occurred()) SWIG_fail
;
35539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35547 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35548 PyObject
*resultobj
;
35549 wxSizer
*arg1
= (wxSizer
*) 0 ;
35550 PyObject
*arg2
= (PyObject
*) 0 ;
35552 PyObject
* obj0
= 0 ;
35553 PyObject
* obj1
= 0 ;
35554 char *kwnames
[] = {
35555 (char *) "self",(char *) "item", NULL
35558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35564 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35566 wxPyEndAllowThreads(__tstate
);
35567 if (PyErr_Occurred()) SWIG_fail
;
35570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35578 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35579 PyObject
*resultobj
;
35580 wxSizer
*arg1
= (wxSizer
*) 0 ;
35581 PyObject
*arg2
= (PyObject
*) 0 ;
35584 PyObject
* obj0
= 0 ;
35585 PyObject
* obj1
= 0 ;
35586 PyObject
* obj2
= 0 ;
35587 char *kwnames
[] = {
35588 (char *) "self",(char *) "item",(char *) "size", NULL
35591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35597 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35601 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35603 wxPyEndAllowThreads(__tstate
);
35604 if (PyErr_Occurred()) SWIG_fail
;
35606 Py_INCREF(Py_None
); resultobj
= Py_None
;
35613 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35614 PyObject
*resultobj
;
35615 wxSizer
*arg1
= (wxSizer
*) 0 ;
35616 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 PyObject
* obj1
= 0 ;
35619 char *kwnames
[] = {
35620 (char *) "self",(char *) "item", NULL
35623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35626 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 Py_INCREF(Py_None
); resultobj
= Py_None
;
35642 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
;
35644 wxSizer
*arg1
= (wxSizer
*) 0 ;
35646 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35647 PyObject
* obj0
= 0 ;
35648 PyObject
* obj1
= 0 ;
35649 PyObject
* obj2
= 0 ;
35650 char *kwnames
[] = {
35651 (char *) "self",(char *) "index",(char *) "item", NULL
35654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35657 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35658 if (PyErr_Occurred()) SWIG_fail
;
35659 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35663 (arg1
)->Insert(arg2
,arg3
);
35665 wxPyEndAllowThreads(__tstate
);
35666 if (PyErr_Occurred()) SWIG_fail
;
35668 Py_INCREF(Py_None
); resultobj
= Py_None
;
35675 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35676 PyObject
*resultobj
;
35677 wxSizer
*arg1
= (wxSizer
*) 0 ;
35678 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35679 PyObject
* obj0
= 0 ;
35680 PyObject
* obj1
= 0 ;
35681 char *kwnames
[] = {
35682 (char *) "self",(char *) "item", NULL
35685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35688 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35692 (arg1
)->Prepend(arg2
);
35694 wxPyEndAllowThreads(__tstate
);
35695 if (PyErr_Occurred()) SWIG_fail
;
35697 Py_INCREF(Py_None
); resultobj
= Py_None
;
35704 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35705 PyObject
*resultobj
;
35706 wxSizer
*arg1
= (wxSizer
*) 0 ;
35711 PyObject
* obj0
= 0 ;
35712 PyObject
* obj1
= 0 ;
35713 PyObject
* obj2
= 0 ;
35714 PyObject
* obj3
= 0 ;
35715 PyObject
* obj4
= 0 ;
35716 char *kwnames
[] = {
35717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35723 arg2
= (int) SWIG_AsInt(obj1
);
35724 if (PyErr_Occurred()) SWIG_fail
;
35725 arg3
= (int) SWIG_AsInt(obj2
);
35726 if (PyErr_Occurred()) SWIG_fail
;
35727 arg4
= (int) SWIG_AsInt(obj3
);
35728 if (PyErr_Occurred()) SWIG_fail
;
35729 arg5
= (int) SWIG_AsInt(obj4
);
35730 if (PyErr_Occurred()) SWIG_fail
;
35732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35733 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35735 wxPyEndAllowThreads(__tstate
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35738 Py_INCREF(Py_None
); resultobj
= Py_None
;
35745 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35746 PyObject
*resultobj
;
35747 wxSizer
*arg1
= (wxSizer
*) 0 ;
35750 PyObject
* obj0
= 0 ;
35751 PyObject
* obj1
= 0 ;
35752 char *kwnames
[] = {
35753 (char *) "self",(char *) "size", NULL
35756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35765 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35767 wxPyEndAllowThreads(__tstate
);
35768 if (PyErr_Occurred()) SWIG_fail
;
35770 Py_INCREF(Py_None
); resultobj
= Py_None
;
35777 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35778 PyObject
*resultobj
;
35779 wxSizer
*arg1
= (wxSizer
*) 0 ;
35781 PyObject
* obj0
= 0 ;
35782 char *kwnames
[] = {
35783 (char *) "self", NULL
35786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35791 result
= (arg1
)->GetSize();
35793 wxPyEndAllowThreads(__tstate
);
35794 if (PyErr_Occurred()) SWIG_fail
;
35797 wxSize
* resultptr
;
35798 resultptr
= new wxSize((wxSize
&) result
);
35799 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35807 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
;
35809 wxSizer
*arg1
= (wxSizer
*) 0 ;
35811 PyObject
* obj0
= 0 ;
35812 char *kwnames
[] = {
35813 (char *) "self", NULL
35816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35821 result
= (arg1
)->GetPosition();
35823 wxPyEndAllowThreads(__tstate
);
35824 if (PyErr_Occurred()) SWIG_fail
;
35827 wxPoint
* resultptr
;
35828 resultptr
= new wxPoint((wxPoint
&) result
);
35829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35837 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35838 PyObject
*resultobj
;
35839 wxSizer
*arg1
= (wxSizer
*) 0 ;
35841 PyObject
* obj0
= 0 ;
35842 char *kwnames
[] = {
35843 (char *) "self", NULL
35846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (arg1
)->GetMinSize();
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35857 wxSize
* resultptr
;
35858 resultptr
= new wxSize((wxSize
&) result
);
35859 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35867 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35868 PyObject
*resultobj
;
35869 wxSizer
*arg1
= (wxSizer
*) 0 ;
35870 PyObject
* obj0
= 0 ;
35871 char *kwnames
[] = {
35872 (char *) "self", NULL
35875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35880 (arg1
)->RecalcSizes();
35882 wxPyEndAllowThreads(__tstate
);
35883 if (PyErr_Occurred()) SWIG_fail
;
35885 Py_INCREF(Py_None
); resultobj
= Py_None
;
35892 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35893 PyObject
*resultobj
;
35894 wxSizer
*arg1
= (wxSizer
*) 0 ;
35896 PyObject
* obj0
= 0 ;
35897 char *kwnames
[] = {
35898 (char *) "self", NULL
35901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35906 result
= (arg1
)->CalcMin();
35908 wxPyEndAllowThreads(__tstate
);
35909 if (PyErr_Occurred()) SWIG_fail
;
35912 wxSize
* resultptr
;
35913 resultptr
= new wxSize((wxSize
&) result
);
35914 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35922 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35923 PyObject
*resultobj
;
35924 wxSizer
*arg1
= (wxSizer
*) 0 ;
35925 PyObject
* obj0
= 0 ;
35926 char *kwnames
[] = {
35927 (char *) "self", NULL
35930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35937 wxPyEndAllowThreads(__tstate
);
35938 if (PyErr_Occurred()) SWIG_fail
;
35940 Py_INCREF(Py_None
); resultobj
= Py_None
;
35947 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35948 PyObject
*resultobj
;
35949 wxSizer
*arg1
= (wxSizer
*) 0 ;
35950 wxWindow
*arg2
= (wxWindow
*) 0 ;
35952 PyObject
* obj0
= 0 ;
35953 PyObject
* obj1
= 0 ;
35954 char *kwnames
[] = {
35955 (char *) "self",(char *) "window", NULL
35958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35965 result
= (arg1
)->Fit(arg2
);
35967 wxPyEndAllowThreads(__tstate
);
35968 if (PyErr_Occurred()) SWIG_fail
;
35971 wxSize
* resultptr
;
35972 resultptr
= new wxSize((wxSize
&) result
);
35973 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35981 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxSizer
*arg1
= (wxSizer
*) 0 ;
35984 wxWindow
*arg2
= (wxWindow
*) 0 ;
35985 PyObject
* obj0
= 0 ;
35986 PyObject
* obj1
= 0 ;
35987 char *kwnames
[] = {
35988 (char *) "self",(char *) "window", NULL
35991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35994 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35998 (arg1
)->FitInside(arg2
);
36000 wxPyEndAllowThreads(__tstate
);
36001 if (PyErr_Occurred()) SWIG_fail
;
36003 Py_INCREF(Py_None
); resultobj
= Py_None
;
36010 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36011 PyObject
*resultobj
;
36012 wxSizer
*arg1
= (wxSizer
*) 0 ;
36013 wxWindow
*arg2
= (wxWindow
*) 0 ;
36014 PyObject
* obj0
= 0 ;
36015 PyObject
* obj1
= 0 ;
36016 char *kwnames
[] = {
36017 (char *) "self",(char *) "window", NULL
36020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36023 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36027 (arg1
)->SetSizeHints(arg2
);
36029 wxPyEndAllowThreads(__tstate
);
36030 if (PyErr_Occurred()) SWIG_fail
;
36032 Py_INCREF(Py_None
); resultobj
= Py_None
;
36039 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36040 PyObject
*resultobj
;
36041 wxSizer
*arg1
= (wxSizer
*) 0 ;
36042 wxWindow
*arg2
= (wxWindow
*) 0 ;
36043 PyObject
* obj0
= 0 ;
36044 PyObject
* obj1
= 0 ;
36045 char *kwnames
[] = {
36046 (char *) "self",(char *) "window", NULL
36049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36052 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36056 (arg1
)->SetVirtualSizeHints(arg2
);
36058 wxPyEndAllowThreads(__tstate
);
36059 if (PyErr_Occurred()) SWIG_fail
;
36061 Py_INCREF(Py_None
); resultobj
= Py_None
;
36068 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36069 PyObject
*resultobj
;
36070 wxSizer
*arg1
= (wxSizer
*) 0 ;
36071 bool arg2
= (bool) False
;
36072 PyObject
* obj0
= 0 ;
36073 PyObject
* obj1
= 0 ;
36074 char *kwnames
[] = {
36075 (char *) "self",(char *) "deleteWindows", NULL
36078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36082 arg2
= (bool) SWIG_AsBool(obj1
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36087 (arg1
)->Clear(arg2
);
36089 wxPyEndAllowThreads(__tstate
);
36090 if (PyErr_Occurred()) SWIG_fail
;
36092 Py_INCREF(Py_None
); resultobj
= Py_None
;
36099 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36100 PyObject
*resultobj
;
36101 wxSizer
*arg1
= (wxSizer
*) 0 ;
36102 PyObject
* obj0
= 0 ;
36103 char *kwnames
[] = {
36104 (char *) "self", NULL
36107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36112 (arg1
)->DeleteWindows();
36114 wxPyEndAllowThreads(__tstate
);
36115 if (PyErr_Occurred()) SWIG_fail
;
36117 Py_INCREF(Py_None
); resultobj
= Py_None
;
36124 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
;
36126 wxSizer
*arg1
= (wxSizer
*) 0 ;
36128 PyObject
* obj0
= 0 ;
36129 char *kwnames
[] = {
36130 (char *) "self", NULL
36133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36138 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36140 wxPyEndAllowThreads(__tstate
);
36141 if (PyErr_Occurred()) SWIG_fail
;
36143 resultobj
= result
;
36150 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36151 PyObject
*resultobj
;
36152 wxSizer
*arg1
= (wxSizer
*) 0 ;
36153 PyObject
*arg2
= (PyObject
*) 0 ;
36154 bool arg3
= (bool) True
;
36155 PyObject
* obj0
= 0 ;
36156 PyObject
* obj1
= 0 ;
36157 PyObject
* obj2
= 0 ;
36158 char *kwnames
[] = {
36159 (char *) "self",(char *) "item",(char *) "show", NULL
36162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36167 arg3
= (bool) SWIG_AsBool(obj2
);
36168 if (PyErr_Occurred()) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 wxSizer_Show(arg1
,arg2
,arg3
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 Py_INCREF(Py_None
); resultobj
= Py_None
;
36184 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxSizer
*arg1
= (wxSizer
*) 0 ;
36187 PyObject
*arg2
= (PyObject
*) 0 ;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 char *kwnames
[] = {
36192 (char *) "self",(char *) "item", NULL
36195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36201 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36203 wxPyEndAllowThreads(__tstate
);
36204 if (PyErr_Occurred()) SWIG_fail
;
36207 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36215 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36216 PyObject
*resultobj
;
36217 wxSizer
*arg1
= (wxSizer
*) 0 ;
36219 PyObject
* obj0
= 0 ;
36220 PyObject
* obj1
= 0 ;
36221 char *kwnames
[] = {
36222 (char *) "self",(char *) "show", NULL
36225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36228 arg2
= (bool) SWIG_AsBool(obj1
);
36229 if (PyErr_Occurred()) SWIG_fail
;
36231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36232 (arg1
)->ShowItems(arg2
);
36234 wxPyEndAllowThreads(__tstate
);
36235 if (PyErr_Occurred()) SWIG_fail
;
36237 Py_INCREF(Py_None
); resultobj
= Py_None
;
36244 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36247 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36249 return Py_BuildValue((char *)"");
36251 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36252 PyObject
*resultobj
;
36254 char *kwnames
[] = {
36258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36261 result
= (wxPySizer
*)new wxPySizer();
36263 wxPyEndAllowThreads(__tstate
);
36264 if (PyErr_Occurred()) SWIG_fail
;
36266 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36273 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36274 PyObject
*resultobj
;
36275 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36276 PyObject
*arg2
= (PyObject
*) 0 ;
36277 PyObject
*arg3
= (PyObject
*) 0 ;
36278 PyObject
* obj0
= 0 ;
36279 PyObject
* obj1
= 0 ;
36280 PyObject
* obj2
= 0 ;
36281 char *kwnames
[] = {
36282 (char *) "self",(char *) "self",(char *) "_class", NULL
36285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36294 wxPyEndAllowThreads(__tstate
);
36295 if (PyErr_Occurred()) SWIG_fail
;
36297 Py_INCREF(Py_None
); resultobj
= Py_None
;
36304 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36307 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36309 return Py_BuildValue((char *)"");
36311 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
;
36313 int arg1
= (int) wxHORIZONTAL
;
36314 wxBoxSizer
*result
;
36315 PyObject
* obj0
= 0 ;
36316 char *kwnames
[] = {
36317 (char *) "orient", NULL
36320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36322 arg1
= (int) SWIG_AsInt(obj0
);
36323 if (PyErr_Occurred()) SWIG_fail
;
36326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36327 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36329 wxPyEndAllowThreads(__tstate
);
36330 if (PyErr_Occurred()) SWIG_fail
;
36332 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36339 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36340 PyObject
*resultobj
;
36341 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36343 PyObject
* obj0
= 0 ;
36344 char *kwnames
[] = {
36345 (char *) "self", NULL
36348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36353 result
= (int)(arg1
)->GetOrientation();
36355 wxPyEndAllowThreads(__tstate
);
36356 if (PyErr_Occurred()) SWIG_fail
;
36358 resultobj
= SWIG_FromInt((int)result
);
36365 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36366 PyObject
*resultobj
;
36367 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36369 PyObject
* obj0
= 0 ;
36370 PyObject
* obj1
= 0 ;
36371 char *kwnames
[] = {
36372 (char *) "self",(char *) "orient", NULL
36375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36378 arg2
= (int) SWIG_AsInt(obj1
);
36379 if (PyErr_Occurred()) SWIG_fail
;
36381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36382 (arg1
)->SetOrientation(arg2
);
36384 wxPyEndAllowThreads(__tstate
);
36385 if (PyErr_Occurred()) SWIG_fail
;
36387 Py_INCREF(Py_None
); resultobj
= Py_None
;
36394 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36397 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36399 return Py_BuildValue((char *)"");
36401 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36402 PyObject
*resultobj
;
36403 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36404 int arg2
= (int) wxHORIZONTAL
;
36405 wxStaticBoxSizer
*result
;
36406 PyObject
* obj0
= 0 ;
36407 PyObject
* obj1
= 0 ;
36408 char *kwnames
[] = {
36409 (char *) "box",(char *) "orient", NULL
36412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36416 arg2
= (int) SWIG_AsInt(obj1
);
36417 if (PyErr_Occurred()) SWIG_fail
;
36420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36421 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36423 wxPyEndAllowThreads(__tstate
);
36424 if (PyErr_Occurred()) SWIG_fail
;
36426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36433 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36434 PyObject
*resultobj
;
36435 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36436 wxStaticBox
*result
;
36437 PyObject
* obj0
= 0 ;
36438 char *kwnames
[] = {
36439 (char *) "self", NULL
36442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36447 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36449 wxPyEndAllowThreads(__tstate
);
36450 if (PyErr_Occurred()) SWIG_fail
;
36453 resultobj
= wxPyMake_wxObject(result
, 0);
36461 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36464 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36466 return Py_BuildValue((char *)"");
36468 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
;
36470 int arg1
= (int) 1 ;
36471 int arg2
= (int) 0 ;
36472 int arg3
= (int) 0 ;
36473 int arg4
= (int) 0 ;
36474 wxGridSizer
*result
;
36475 PyObject
* obj0
= 0 ;
36476 PyObject
* obj1
= 0 ;
36477 PyObject
* obj2
= 0 ;
36478 PyObject
* obj3
= 0 ;
36479 char *kwnames
[] = {
36480 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36485 arg1
= (int) SWIG_AsInt(obj0
);
36486 if (PyErr_Occurred()) SWIG_fail
;
36489 arg2
= (int) SWIG_AsInt(obj1
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36493 arg3
= (int) SWIG_AsInt(obj2
);
36494 if (PyErr_Occurred()) SWIG_fail
;
36497 arg4
= (int) SWIG_AsInt(obj3
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36502 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36504 wxPyEndAllowThreads(__tstate
);
36505 if (PyErr_Occurred()) SWIG_fail
;
36507 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36514 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36515 PyObject
*resultobj
;
36516 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36518 PyObject
* obj0
= 0 ;
36519 PyObject
* obj1
= 0 ;
36520 char *kwnames
[] = {
36521 (char *) "self",(char *) "cols", NULL
36524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36525 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36526 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36527 arg2
= (int) SWIG_AsInt(obj1
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36531 (arg1
)->SetCols(arg2
);
36533 wxPyEndAllowThreads(__tstate
);
36534 if (PyErr_Occurred()) SWIG_fail
;
36536 Py_INCREF(Py_None
); resultobj
= Py_None
;
36543 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36544 PyObject
*resultobj
;
36545 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36547 PyObject
* obj0
= 0 ;
36548 PyObject
* obj1
= 0 ;
36549 char *kwnames
[] = {
36550 (char *) "self",(char *) "rows", NULL
36553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36556 arg2
= (int) SWIG_AsInt(obj1
);
36557 if (PyErr_Occurred()) SWIG_fail
;
36559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36560 (arg1
)->SetRows(arg2
);
36562 wxPyEndAllowThreads(__tstate
);
36563 if (PyErr_Occurred()) SWIG_fail
;
36565 Py_INCREF(Py_None
); resultobj
= Py_None
;
36572 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36573 PyObject
*resultobj
;
36574 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36576 PyObject
* obj0
= 0 ;
36577 PyObject
* obj1
= 0 ;
36578 char *kwnames
[] = {
36579 (char *) "self",(char *) "gap", NULL
36582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36585 arg2
= (int) SWIG_AsInt(obj1
);
36586 if (PyErr_Occurred()) SWIG_fail
;
36588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36589 (arg1
)->SetVGap(arg2
);
36591 wxPyEndAllowThreads(__tstate
);
36592 if (PyErr_Occurred()) SWIG_fail
;
36594 Py_INCREF(Py_None
); resultobj
= Py_None
;
36601 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36602 PyObject
*resultobj
;
36603 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36605 PyObject
* obj0
= 0 ;
36606 PyObject
* obj1
= 0 ;
36607 char *kwnames
[] = {
36608 (char *) "self",(char *) "gap", NULL
36611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36614 arg2
= (int) SWIG_AsInt(obj1
);
36615 if (PyErr_Occurred()) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 (arg1
)->SetHGap(arg2
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 Py_INCREF(Py_None
); resultobj
= Py_None
;
36630 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36631 PyObject
*resultobj
;
36632 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36634 PyObject
* obj0
= 0 ;
36635 char *kwnames
[] = {
36636 (char *) "self", NULL
36639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36644 result
= (int)(arg1
)->GetCols();
36646 wxPyEndAllowThreads(__tstate
);
36647 if (PyErr_Occurred()) SWIG_fail
;
36649 resultobj
= SWIG_FromInt((int)result
);
36656 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36657 PyObject
*resultobj
;
36658 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36660 PyObject
* obj0
= 0 ;
36661 char *kwnames
[] = {
36662 (char *) "self", NULL
36665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36670 result
= (int)(arg1
)->GetRows();
36672 wxPyEndAllowThreads(__tstate
);
36673 if (PyErr_Occurred()) SWIG_fail
;
36675 resultobj
= SWIG_FromInt((int)result
);
36682 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36683 PyObject
*resultobj
;
36684 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36686 PyObject
* obj0
= 0 ;
36687 char *kwnames
[] = {
36688 (char *) "self", NULL
36691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36696 result
= (int)(arg1
)->GetVGap();
36698 wxPyEndAllowThreads(__tstate
);
36699 if (PyErr_Occurred()) SWIG_fail
;
36701 resultobj
= SWIG_FromInt((int)result
);
36708 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36709 PyObject
*resultobj
;
36710 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36712 PyObject
* obj0
= 0 ;
36713 char *kwnames
[] = {
36714 (char *) "self", NULL
36717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36722 result
= (int)(arg1
)->GetHGap();
36724 wxPyEndAllowThreads(__tstate
);
36725 if (PyErr_Occurred()) SWIG_fail
;
36727 resultobj
= SWIG_FromInt((int)result
);
36734 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36737 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36739 return Py_BuildValue((char *)"");
36741 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36742 PyObject
*resultobj
;
36743 int arg1
= (int) 1 ;
36744 int arg2
= (int) 0 ;
36745 int arg3
= (int) 0 ;
36746 int arg4
= (int) 0 ;
36747 wxFlexGridSizer
*result
;
36748 PyObject
* obj0
= 0 ;
36749 PyObject
* obj1
= 0 ;
36750 PyObject
* obj2
= 0 ;
36751 PyObject
* obj3
= 0 ;
36752 char *kwnames
[] = {
36753 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36758 arg1
= (int) SWIG_AsInt(obj0
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36762 arg2
= (int) SWIG_AsInt(obj1
);
36763 if (PyErr_Occurred()) SWIG_fail
;
36766 arg3
= (int) SWIG_AsInt(obj2
);
36767 if (PyErr_Occurred()) SWIG_fail
;
36770 arg4
= (int) SWIG_AsInt(obj3
);
36771 if (PyErr_Occurred()) SWIG_fail
;
36774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36775 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36777 wxPyEndAllowThreads(__tstate
);
36778 if (PyErr_Occurred()) SWIG_fail
;
36780 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36787 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36788 PyObject
*resultobj
;
36789 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36791 int arg3
= (int) 0 ;
36792 PyObject
* obj0
= 0 ;
36793 PyObject
* obj1
= 0 ;
36794 PyObject
* obj2
= 0 ;
36795 char *kwnames
[] = {
36796 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36803 if (PyErr_Occurred()) SWIG_fail
;
36805 arg3
= (int) SWIG_AsInt(obj2
);
36806 if (PyErr_Occurred()) SWIG_fail
;
36809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36810 (arg1
)->AddGrowableRow(arg2
,arg3
);
36812 wxPyEndAllowThreads(__tstate
);
36813 if (PyErr_Occurred()) SWIG_fail
;
36815 Py_INCREF(Py_None
); resultobj
= Py_None
;
36822 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36823 PyObject
*resultobj
;
36824 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 char *kwnames
[] = {
36829 (char *) "self",(char *) "idx", NULL
36832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36835 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36836 if (PyErr_Occurred()) SWIG_fail
;
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 (arg1
)->RemoveGrowableRow(arg2
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 Py_INCREF(Py_None
); resultobj
= Py_None
;
36851 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
;
36853 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36855 int arg3
= (int) 0 ;
36856 PyObject
* obj0
= 0 ;
36857 PyObject
* obj1
= 0 ;
36858 PyObject
* obj2
= 0 ;
36859 char *kwnames
[] = {
36860 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36866 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 arg3
= (int) SWIG_AsInt(obj2
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36874 (arg1
)->AddGrowableCol(arg2
,arg3
);
36876 wxPyEndAllowThreads(__tstate
);
36877 if (PyErr_Occurred()) SWIG_fail
;
36879 Py_INCREF(Py_None
); resultobj
= Py_None
;
36886 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36887 PyObject
*resultobj
;
36888 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 char *kwnames
[] = {
36893 (char *) "self",(char *) "idx", NULL
36896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36899 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36900 if (PyErr_Occurred()) SWIG_fail
;
36902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36903 (arg1
)->RemoveGrowableCol(arg2
);
36905 wxPyEndAllowThreads(__tstate
);
36906 if (PyErr_Occurred()) SWIG_fail
;
36908 Py_INCREF(Py_None
); resultobj
= Py_None
;
36915 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36916 PyObject
*resultobj
;
36917 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36919 PyObject
* obj0
= 0 ;
36920 PyObject
* obj1
= 0 ;
36921 char *kwnames
[] = {
36922 (char *) "self",(char *) "direction", NULL
36925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36928 arg2
= (int) SWIG_AsInt(obj1
);
36929 if (PyErr_Occurred()) SWIG_fail
;
36931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36932 (arg1
)->SetFlexibleDirection(arg2
);
36934 wxPyEndAllowThreads(__tstate
);
36935 if (PyErr_Occurred()) SWIG_fail
;
36937 Py_INCREF(Py_None
); resultobj
= Py_None
;
36944 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36945 PyObject
*resultobj
;
36946 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36948 PyObject
* obj0
= 0 ;
36949 char *kwnames
[] = {
36950 (char *) "self", NULL
36953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36958 result
= (int)(arg1
)->GetFlexibleDirection();
36960 wxPyEndAllowThreads(__tstate
);
36961 if (PyErr_Occurred()) SWIG_fail
;
36963 resultobj
= SWIG_FromInt((int)result
);
36970 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36971 PyObject
*resultobj
;
36972 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36974 PyObject
* obj0
= 0 ;
36975 PyObject
* obj1
= 0 ;
36976 char *kwnames
[] = {
36977 (char *) "self",(char *) "mode", NULL
36980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36983 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36984 if (PyErr_Occurred()) SWIG_fail
;
36986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36987 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36989 wxPyEndAllowThreads(__tstate
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 Py_INCREF(Py_None
); resultobj
= Py_None
;
36999 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37000 PyObject
*resultobj
;
37001 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37003 PyObject
* obj0
= 0 ;
37004 char *kwnames
[] = {
37005 (char *) "self", NULL
37008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37013 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37015 wxPyEndAllowThreads(__tstate
);
37016 if (PyErr_Occurred()) SWIG_fail
;
37018 resultobj
= SWIG_FromInt((int)result
);
37025 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37026 PyObject
*resultobj
;
37027 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37028 wxArrayInt
*result
;
37029 PyObject
* obj0
= 0 ;
37030 char *kwnames
[] = {
37031 (char *) "self", NULL
37034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37040 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37041 result
= (wxArrayInt
*) &_result_ref
;
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= PyList_New(0);
37050 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37051 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37052 PyList_Append(resultobj
, val
);
37062 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37063 PyObject
*resultobj
;
37064 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37065 wxArrayInt
*result
;
37066 PyObject
* obj0
= 0 ;
37067 char *kwnames
[] = {
37068 (char *) "self", NULL
37071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37077 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37078 result
= (wxArrayInt
*) &_result_ref
;
37081 wxPyEndAllowThreads(__tstate
);
37082 if (PyErr_Occurred()) SWIG_fail
;
37085 resultobj
= PyList_New(0);
37087 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37088 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37089 PyList_Append(resultobj
, val
);
37099 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37102 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37104 return Py_BuildValue((char *)"");
37106 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37107 PyObject
*resultobj
;
37108 int arg1
= (int) 0 ;
37109 int arg2
= (int) 0 ;
37110 wxGBPosition
*result
;
37111 PyObject
* obj0
= 0 ;
37112 PyObject
* obj1
= 0 ;
37113 char *kwnames
[] = {
37114 (char *) "row",(char *) "col", NULL
37117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37119 arg1
= (int) SWIG_AsInt(obj0
);
37120 if (PyErr_Occurred()) SWIG_fail
;
37123 arg2
= (int) SWIG_AsInt(obj1
);
37124 if (PyErr_Occurred()) SWIG_fail
;
37127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37128 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37130 wxPyEndAllowThreads(__tstate
);
37131 if (PyErr_Occurred()) SWIG_fail
;
37133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37140 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
;
37142 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37144 PyObject
* obj0
= 0 ;
37145 char *kwnames
[] = {
37146 (char *) "self", NULL
37149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37154 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37156 wxPyEndAllowThreads(__tstate
);
37157 if (PyErr_Occurred()) SWIG_fail
;
37159 resultobj
= SWIG_FromInt((int)result
);
37166 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37167 PyObject
*resultobj
;
37168 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37170 PyObject
* obj0
= 0 ;
37171 char *kwnames
[] = {
37172 (char *) "self", NULL
37175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37180 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37182 wxPyEndAllowThreads(__tstate
);
37183 if (PyErr_Occurred()) SWIG_fail
;
37185 resultobj
= SWIG_FromInt((int)result
);
37192 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37193 PyObject
*resultobj
;
37194 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37196 PyObject
* obj0
= 0 ;
37197 PyObject
* obj1
= 0 ;
37198 char *kwnames
[] = {
37199 (char *) "self",(char *) "row", NULL
37202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37205 arg2
= (int) SWIG_AsInt(obj1
);
37206 if (PyErr_Occurred()) SWIG_fail
;
37208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37209 (arg1
)->SetRow(arg2
);
37211 wxPyEndAllowThreads(__tstate
);
37212 if (PyErr_Occurred()) SWIG_fail
;
37214 Py_INCREF(Py_None
); resultobj
= Py_None
;
37221 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37222 PyObject
*resultobj
;
37223 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37225 PyObject
* obj0
= 0 ;
37226 PyObject
* obj1
= 0 ;
37227 char *kwnames
[] = {
37228 (char *) "self",(char *) "col", NULL
37231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37234 arg2
= (int) SWIG_AsInt(obj1
);
37235 if (PyErr_Occurred()) SWIG_fail
;
37237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37238 (arg1
)->SetCol(arg2
);
37240 wxPyEndAllowThreads(__tstate
);
37241 if (PyErr_Occurred()) SWIG_fail
;
37243 Py_INCREF(Py_None
); resultobj
= Py_None
;
37250 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37251 PyObject
*resultobj
;
37252 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37253 wxGBPosition
*arg2
= 0 ;
37255 wxGBPosition temp2
;
37256 PyObject
* obj0
= 0 ;
37257 PyObject
* obj1
= 0 ;
37258 char *kwnames
[] = {
37259 (char *) "self",(char *) "other", NULL
37262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37267 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37271 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37273 wxPyEndAllowThreads(__tstate
);
37274 if (PyErr_Occurred()) SWIG_fail
;
37277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37285 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37286 PyObject
*resultobj
;
37287 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37288 wxGBPosition
*arg2
= 0 ;
37290 wxGBPosition temp2
;
37291 PyObject
* obj0
= 0 ;
37292 PyObject
* obj1
= 0 ;
37293 char *kwnames
[] = {
37294 (char *) "self",(char *) "other", NULL
37297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37302 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37306 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37308 wxPyEndAllowThreads(__tstate
);
37309 if (PyErr_Occurred()) SWIG_fail
;
37312 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37320 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37321 PyObject
*resultobj
;
37322 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37323 int arg2
= (int) 0 ;
37324 int arg3
= (int) 0 ;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 PyObject
* obj2
= 0 ;
37328 char *kwnames
[] = {
37329 (char *) "self",(char *) "row",(char *) "col", NULL
37332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37336 arg2
= (int) SWIG_AsInt(obj1
);
37337 if (PyErr_Occurred()) SWIG_fail
;
37340 arg3
= (int) SWIG_AsInt(obj2
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37345 wxGBPosition_Set(arg1
,arg2
,arg3
);
37347 wxPyEndAllowThreads(__tstate
);
37348 if (PyErr_Occurred()) SWIG_fail
;
37350 Py_INCREF(Py_None
); resultobj
= Py_None
;
37357 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37358 PyObject
*resultobj
;
37359 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37361 PyObject
* obj0
= 0 ;
37362 char *kwnames
[] = {
37363 (char *) "self", NULL
37366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37371 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37373 wxPyEndAllowThreads(__tstate
);
37374 if (PyErr_Occurred()) SWIG_fail
;
37376 resultobj
= result
;
37383 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37386 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37388 return Py_BuildValue((char *)"");
37390 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37391 PyObject
*resultobj
;
37392 int arg1
= (int) 1 ;
37393 int arg2
= (int) 1 ;
37395 PyObject
* obj0
= 0 ;
37396 PyObject
* obj1
= 0 ;
37397 char *kwnames
[] = {
37398 (char *) "rowspan",(char *) "colspan", NULL
37401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37403 arg1
= (int) SWIG_AsInt(obj0
);
37404 if (PyErr_Occurred()) SWIG_fail
;
37407 arg2
= (int) SWIG_AsInt(obj1
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37412 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37414 wxPyEndAllowThreads(__tstate
);
37415 if (PyErr_Occurred()) SWIG_fail
;
37417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37424 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
;
37426 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37428 PyObject
* obj0
= 0 ;
37429 char *kwnames
[] = {
37430 (char *) "self", NULL
37433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37438 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37440 wxPyEndAllowThreads(__tstate
);
37441 if (PyErr_Occurred()) SWIG_fail
;
37443 resultobj
= SWIG_FromInt((int)result
);
37450 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37451 PyObject
*resultobj
;
37452 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37454 PyObject
* obj0
= 0 ;
37455 char *kwnames
[] = {
37456 (char *) "self", NULL
37459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37464 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37466 wxPyEndAllowThreads(__tstate
);
37467 if (PyErr_Occurred()) SWIG_fail
;
37469 resultobj
= SWIG_FromInt((int)result
);
37476 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37477 PyObject
*resultobj
;
37478 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37480 PyObject
* obj0
= 0 ;
37481 PyObject
* obj1
= 0 ;
37482 char *kwnames
[] = {
37483 (char *) "self",(char *) "rowspan", NULL
37486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37489 arg2
= (int) SWIG_AsInt(obj1
);
37490 if (PyErr_Occurred()) SWIG_fail
;
37492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37493 (arg1
)->SetRowspan(arg2
);
37495 wxPyEndAllowThreads(__tstate
);
37496 if (PyErr_Occurred()) SWIG_fail
;
37498 Py_INCREF(Py_None
); resultobj
= Py_None
;
37505 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37506 PyObject
*resultobj
;
37507 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37509 PyObject
* obj0
= 0 ;
37510 PyObject
* obj1
= 0 ;
37511 char *kwnames
[] = {
37512 (char *) "self",(char *) "colspan", NULL
37515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37518 arg2
= (int) SWIG_AsInt(obj1
);
37519 if (PyErr_Occurred()) SWIG_fail
;
37521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37522 (arg1
)->SetColspan(arg2
);
37524 wxPyEndAllowThreads(__tstate
);
37525 if (PyErr_Occurred()) SWIG_fail
;
37527 Py_INCREF(Py_None
); resultobj
= Py_None
;
37534 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37535 PyObject
*resultobj
;
37536 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37537 wxGBSpan
*arg2
= 0 ;
37540 PyObject
* obj0
= 0 ;
37541 PyObject
* obj1
= 0 ;
37542 char *kwnames
[] = {
37543 (char *) "self",(char *) "other", NULL
37546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37551 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37555 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37557 wxPyEndAllowThreads(__tstate
);
37558 if (PyErr_Occurred()) SWIG_fail
;
37561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37569 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37570 PyObject
*resultobj
;
37571 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37572 wxGBSpan
*arg2
= 0 ;
37575 PyObject
* obj0
= 0 ;
37576 PyObject
* obj1
= 0 ;
37577 char *kwnames
[] = {
37578 (char *) "self",(char *) "other", NULL
37581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37586 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37590 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37592 wxPyEndAllowThreads(__tstate
);
37593 if (PyErr_Occurred()) SWIG_fail
;
37596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37604 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37605 PyObject
*resultobj
;
37606 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37607 int arg2
= (int) 1 ;
37608 int arg3
= (int) 1 ;
37609 PyObject
* obj0
= 0 ;
37610 PyObject
* obj1
= 0 ;
37611 PyObject
* obj2
= 0 ;
37612 char *kwnames
[] = {
37613 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37620 arg2
= (int) SWIG_AsInt(obj1
);
37621 if (PyErr_Occurred()) SWIG_fail
;
37624 arg3
= (int) SWIG_AsInt(obj2
);
37625 if (PyErr_Occurred()) SWIG_fail
;
37628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37629 wxGBSpan_Set(arg1
,arg2
,arg3
);
37631 wxPyEndAllowThreads(__tstate
);
37632 if (PyErr_Occurred()) SWIG_fail
;
37634 Py_INCREF(Py_None
); resultobj
= Py_None
;
37641 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37642 PyObject
*resultobj
;
37643 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37645 PyObject
* obj0
= 0 ;
37646 char *kwnames
[] = {
37647 (char *) "self", NULL
37650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37660 resultobj
= result
;
37667 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37670 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37672 return Py_BuildValue((char *)"");
37674 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37675 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37680 static PyObject
*_wrap_DefaultSpan_get() {
37683 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37688 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37689 PyObject
*resultobj
;
37690 wxGBSizerItem
*result
;
37691 char *kwnames
[] = {
37695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37698 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37700 wxPyEndAllowThreads(__tstate
);
37701 if (PyErr_Occurred()) SWIG_fail
;
37703 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37710 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37711 PyObject
*resultobj
;
37712 wxWindow
*arg1
= (wxWindow
*) 0 ;
37713 wxGBPosition
*arg2
= 0 ;
37714 wxGBSpan
*arg3
= 0 ;
37717 PyObject
*arg6
= (PyObject
*) NULL
;
37718 wxGBSizerItem
*result
;
37719 wxGBPosition temp2
;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 PyObject
* obj3
= 0 ;
37725 PyObject
* obj4
= 0 ;
37726 PyObject
* obj5
= 0 ;
37727 char *kwnames
[] = {
37728 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37736 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37740 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37742 arg4
= (int) SWIG_AsInt(obj3
);
37743 if (PyErr_Occurred()) SWIG_fail
;
37744 arg5
= (int) SWIG_AsInt(obj4
);
37745 if (PyErr_Occurred()) SWIG_fail
;
37750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37751 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37753 wxPyEndAllowThreads(__tstate
);
37754 if (PyErr_Occurred()) SWIG_fail
;
37756 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37763 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37764 PyObject
*resultobj
;
37765 wxSizer
*arg1
= (wxSizer
*) 0 ;
37766 wxGBPosition
*arg2
= 0 ;
37767 wxGBSpan
*arg3
= 0 ;
37770 PyObject
*arg6
= (PyObject
*) NULL
;
37771 wxGBSizerItem
*result
;
37772 wxGBPosition temp2
;
37774 PyObject
* obj0
= 0 ;
37775 PyObject
* obj1
= 0 ;
37776 PyObject
* obj2
= 0 ;
37777 PyObject
* obj3
= 0 ;
37778 PyObject
* obj4
= 0 ;
37779 PyObject
* obj5
= 0 ;
37780 char *kwnames
[] = {
37781 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37789 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37793 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37795 arg4
= (int) SWIG_AsInt(obj3
);
37796 if (PyErr_Occurred()) SWIG_fail
;
37797 arg5
= (int) SWIG_AsInt(obj4
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37816 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37820 wxGBPosition
*arg3
= 0 ;
37821 wxGBSpan
*arg4
= 0 ;
37824 PyObject
*arg7
= (PyObject
*) NULL
;
37825 wxGBSizerItem
*result
;
37826 wxGBPosition temp3
;
37828 PyObject
* obj0
= 0 ;
37829 PyObject
* obj1
= 0 ;
37830 PyObject
* obj2
= 0 ;
37831 PyObject
* obj3
= 0 ;
37832 PyObject
* obj4
= 0 ;
37833 PyObject
* obj5
= 0 ;
37834 PyObject
* obj6
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37840 arg1
= (int) SWIG_AsInt(obj0
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37842 arg2
= (int) SWIG_AsInt(obj1
);
37843 if (PyErr_Occurred()) SWIG_fail
;
37846 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37850 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37852 arg5
= (int) SWIG_AsInt(obj4
);
37853 if (PyErr_Occurred()) SWIG_fail
;
37854 arg6
= (int) SWIG_AsInt(obj5
);
37855 if (PyErr_Occurred()) SWIG_fail
;
37860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37861 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37863 wxPyEndAllowThreads(__tstate
);
37864 if (PyErr_Occurred()) SWIG_fail
;
37866 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37873 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37874 PyObject
*resultobj
;
37875 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37876 wxGBPosition result
;
37877 PyObject
* obj0
= 0 ;
37878 char *kwnames
[] = {
37879 (char *) "self", NULL
37882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37887 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37889 wxPyEndAllowThreads(__tstate
);
37890 if (PyErr_Occurred()) SWIG_fail
;
37893 wxGBPosition
* resultptr
;
37894 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37895 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37903 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37904 PyObject
*resultobj
;
37905 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37907 PyObject
* obj0
= 0 ;
37908 char *kwnames
[] = {
37909 (char *) "self", NULL
37912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37917 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37919 wxPyEndAllowThreads(__tstate
);
37920 if (PyErr_Occurred()) SWIG_fail
;
37923 wxGBSpan
* resultptr
;
37924 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37925 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37933 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37934 PyObject
*resultobj
;
37935 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37936 wxGBPosition
*arg2
= 0 ;
37938 wxGBPosition temp2
;
37939 PyObject
* obj0
= 0 ;
37940 PyObject
* obj1
= 0 ;
37941 char *kwnames
[] = {
37942 (char *) "self",(char *) "pos", NULL
37945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37950 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37954 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37956 wxPyEndAllowThreads(__tstate
);
37957 if (PyErr_Occurred()) SWIG_fail
;
37960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37968 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37969 PyObject
*resultobj
;
37970 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37971 wxGBSpan
*arg2
= 0 ;
37974 PyObject
* obj0
= 0 ;
37975 PyObject
* obj1
= 0 ;
37976 char *kwnames
[] = {
37977 (char *) "self",(char *) "span", NULL
37980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37985 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37989 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37991 wxPyEndAllowThreads(__tstate
);
37992 if (PyErr_Occurred()) SWIG_fail
;
37995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38003 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38004 PyObject
*resultobj
;
38005 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38006 wxGBSizerItem
*arg2
= 0 ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char *kwnames
[] = {
38011 (char *) "self",(char *) "other", NULL
38014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38018 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38020 if (arg2
== NULL
) {
38021 PyErr_SetString(PyExc_TypeError
,"null reference");
38025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38026 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38028 wxPyEndAllowThreads(__tstate
);
38029 if (PyErr_Occurred()) SWIG_fail
;
38032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38040 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38041 PyObject
*resultobj
;
38042 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38043 wxGBPosition
*arg2
= 0 ;
38044 wxGBSpan
*arg3
= 0 ;
38046 wxGBPosition temp2
;
38048 PyObject
* obj0
= 0 ;
38049 PyObject
* obj1
= 0 ;
38050 PyObject
* obj2
= 0 ;
38051 char *kwnames
[] = {
38052 (char *) "self",(char *) "pos",(char *) "span", NULL
38055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38060 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38064 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38068 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38070 wxPyEndAllowThreads(__tstate
);
38071 if (PyErr_Occurred()) SWIG_fail
;
38074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38082 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38083 PyObject
*resultobj
;
38084 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38085 wxGBPosition result
;
38086 PyObject
* obj0
= 0 ;
38087 char *kwnames
[] = {
38088 (char *) "self", NULL
38091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38096 result
= wxGBSizerItem_GetEndPos(arg1
);
38098 wxPyEndAllowThreads(__tstate
);
38099 if (PyErr_Occurred()) SWIG_fail
;
38102 wxGBPosition
* resultptr
;
38103 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38104 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38112 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38113 PyObject
*resultobj
;
38114 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38115 wxGridBagSizer
*result
;
38116 PyObject
* obj0
= 0 ;
38117 char *kwnames
[] = {
38118 (char *) "self", NULL
38121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38128 wxPyEndAllowThreads(__tstate
);
38129 if (PyErr_Occurred()) SWIG_fail
;
38131 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38138 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38139 PyObject
*resultobj
;
38140 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38141 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38142 PyObject
* obj0
= 0 ;
38143 PyObject
* obj1
= 0 ;
38144 char *kwnames
[] = {
38145 (char *) "self",(char *) "sizer", NULL
38148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38151 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38155 (arg1
)->SetGBSizer(arg2
);
38157 wxPyEndAllowThreads(__tstate
);
38158 if (PyErr_Occurred()) SWIG_fail
;
38160 Py_INCREF(Py_None
); resultobj
= Py_None
;
38167 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38170 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38172 return Py_BuildValue((char *)"");
38174 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38175 PyObject
*resultobj
;
38176 int arg1
= (int) 0 ;
38177 int arg2
= (int) 0 ;
38178 wxGridBagSizer
*result
;
38179 PyObject
* obj0
= 0 ;
38180 PyObject
* obj1
= 0 ;
38181 char *kwnames
[] = {
38182 (char *) "vgap",(char *) "hgap", NULL
38185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38187 arg1
= (int) SWIG_AsInt(obj0
);
38188 if (PyErr_Occurred()) SWIG_fail
;
38191 arg2
= (int) SWIG_AsInt(obj1
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38196 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38198 wxPyEndAllowThreads(__tstate
);
38199 if (PyErr_Occurred()) SWIG_fail
;
38201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38208 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
;
38210 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38211 PyObject
*arg2
= (PyObject
*) 0 ;
38212 wxGBPosition
*arg3
= 0 ;
38213 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38214 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38215 int arg5
= (int) 0 ;
38216 int arg6
= (int) 0 ;
38217 PyObject
*arg7
= (PyObject
*) NULL
;
38219 wxGBPosition temp3
;
38221 PyObject
* obj0
= 0 ;
38222 PyObject
* obj1
= 0 ;
38223 PyObject
* obj2
= 0 ;
38224 PyObject
* obj3
= 0 ;
38225 PyObject
* obj4
= 0 ;
38226 PyObject
* obj5
= 0 ;
38227 PyObject
* obj6
= 0 ;
38228 char *kwnames
[] = {
38229 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38238 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38243 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38247 arg5
= (int) SWIG_AsInt(obj4
);
38248 if (PyErr_Occurred()) SWIG_fail
;
38251 arg6
= (int) SWIG_AsInt(obj5
);
38252 if (PyErr_Occurred()) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38273 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38274 PyObject
*resultobj
;
38275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38276 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38278 PyObject
* obj0
= 0 ;
38279 PyObject
* obj1
= 0 ;
38280 char *kwnames
[] = {
38281 (char *) "self",(char *) "item", NULL
38284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38287 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38291 result
= (bool)(arg1
)->Add(arg2
);
38293 wxPyEndAllowThreads(__tstate
);
38294 if (PyErr_Occurred()) SWIG_fail
;
38297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38305 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38306 PyObject
*resultobj
;
38307 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38309 PyObject
* obj0
= 0 ;
38310 char *kwnames
[] = {
38311 (char *) "self", NULL
38314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38319 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38321 wxPyEndAllowThreads(__tstate
);
38322 if (PyErr_Occurred()) SWIG_fail
;
38325 wxSize
* resultptr
;
38326 resultptr
= new wxSize((wxSize
&) result
);
38327 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38335 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38336 PyObject
*resultobj
;
38337 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38340 PyObject
* obj0
= 0 ;
38341 PyObject
* obj1
= 0 ;
38342 char *kwnames
[] = {
38343 (char *) "self",(char *) "sz", NULL
38346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38355 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38357 wxPyEndAllowThreads(__tstate
);
38358 if (PyErr_Occurred()) SWIG_fail
;
38360 Py_INCREF(Py_None
); resultobj
= Py_None
;
38367 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38368 PyObject
*resultobj
;
38369 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38370 wxWindow
*arg2
= (wxWindow
*) 0 ;
38371 wxGBPosition result
;
38372 PyObject
* obj0
= 0 ;
38373 PyObject
* obj1
= 0 ;
38375 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38378 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38382 result
= (arg1
)->GetItemPosition(arg2
);
38384 wxPyEndAllowThreads(__tstate
);
38385 if (PyErr_Occurred()) SWIG_fail
;
38388 wxGBPosition
* resultptr
;
38389 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38390 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38398 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38399 PyObject
*resultobj
;
38400 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38401 wxSizer
*arg2
= (wxSizer
*) 0 ;
38402 wxGBPosition result
;
38403 PyObject
* obj0
= 0 ;
38404 PyObject
* obj1
= 0 ;
38406 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38409 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38413 result
= (arg1
)->GetItemPosition(arg2
);
38415 wxPyEndAllowThreads(__tstate
);
38416 if (PyErr_Occurred()) SWIG_fail
;
38419 wxGBPosition
* resultptr
;
38420 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38421 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38429 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38430 PyObject
*resultobj
;
38431 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38433 wxGBPosition result
;
38434 PyObject
* obj0
= 0 ;
38435 PyObject
* obj1
= 0 ;
38437 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38440 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38441 if (PyErr_Occurred()) SWIG_fail
;
38443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38444 result
= (arg1
)->GetItemPosition(arg2
);
38446 wxPyEndAllowThreads(__tstate
);
38447 if (PyErr_Occurred()) SWIG_fail
;
38450 wxGBPosition
* resultptr
;
38451 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38452 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38460 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38465 argc
= PyObject_Length(args
);
38466 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38467 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38473 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38483 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38491 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38499 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38509 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38517 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38525 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38533 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38535 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38545 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38546 PyObject
*resultobj
;
38547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38548 wxWindow
*arg2
= (wxWindow
*) 0 ;
38549 wxGBPosition
*arg3
= 0 ;
38551 wxGBPosition temp3
;
38552 PyObject
* obj0
= 0 ;
38553 PyObject
* obj1
= 0 ;
38554 PyObject
* obj2
= 0 ;
38556 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38563 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38567 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38569 wxPyEndAllowThreads(__tstate
);
38570 if (PyErr_Occurred()) SWIG_fail
;
38573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38581 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38582 PyObject
*resultobj
;
38583 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38584 wxSizer
*arg2
= (wxSizer
*) 0 ;
38585 wxGBPosition
*arg3
= 0 ;
38587 wxGBPosition temp3
;
38588 PyObject
* obj0
= 0 ;
38589 PyObject
* obj1
= 0 ;
38590 PyObject
* obj2
= 0 ;
38592 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38595 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38599 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38603 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38605 wxPyEndAllowThreads(__tstate
);
38606 if (PyErr_Occurred()) SWIG_fail
;
38609 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38617 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38618 PyObject
*resultobj
;
38619 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38621 wxGBPosition
*arg3
= 0 ;
38623 wxGBPosition temp3
;
38624 PyObject
* obj0
= 0 ;
38625 PyObject
* obj1
= 0 ;
38626 PyObject
* obj2
= 0 ;
38628 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38631 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38632 if (PyErr_Occurred()) SWIG_fail
;
38635 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38639 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38641 wxPyEndAllowThreads(__tstate
);
38642 if (PyErr_Occurred()) SWIG_fail
;
38645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38653 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38658 argc
= PyObject_Length(args
);
38659 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38660 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38666 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38676 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38685 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38688 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38697 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38707 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38716 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38719 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38728 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38736 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38739 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38742 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38748 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38753 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38754 PyObject
*resultobj
;
38755 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38756 wxWindow
*arg2
= (wxWindow
*) 0 ;
38758 PyObject
* obj0
= 0 ;
38759 PyObject
* obj1
= 0 ;
38761 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38764 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38768 result
= (arg1
)->GetItemSpan(arg2
);
38770 wxPyEndAllowThreads(__tstate
);
38771 if (PyErr_Occurred()) SWIG_fail
;
38774 wxGBSpan
* resultptr
;
38775 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38776 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38784 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38785 PyObject
*resultobj
;
38786 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38787 wxSizer
*arg2
= (wxSizer
*) 0 ;
38789 PyObject
* obj0
= 0 ;
38790 PyObject
* obj1
= 0 ;
38792 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38795 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38799 result
= (arg1
)->GetItemSpan(arg2
);
38801 wxPyEndAllowThreads(__tstate
);
38802 if (PyErr_Occurred()) SWIG_fail
;
38805 wxGBSpan
* resultptr
;
38806 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38807 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38815 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38816 PyObject
*resultobj
;
38817 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38820 PyObject
* obj0
= 0 ;
38821 PyObject
* obj1
= 0 ;
38823 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38826 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38827 if (PyErr_Occurred()) SWIG_fail
;
38829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38830 result
= (arg1
)->GetItemSpan(arg2
);
38832 wxPyEndAllowThreads(__tstate
);
38833 if (PyErr_Occurred()) SWIG_fail
;
38836 wxGBSpan
* resultptr
;
38837 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38838 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38846 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38851 argc
= PyObject_Length(args
);
38852 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38853 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38859 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38869 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38877 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38885 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38895 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38903 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38911 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38919 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38921 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38926 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38931 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38932 PyObject
*resultobj
;
38933 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38934 wxWindow
*arg2
= (wxWindow
*) 0 ;
38935 wxGBSpan
*arg3
= 0 ;
38938 PyObject
* obj0
= 0 ;
38939 PyObject
* obj1
= 0 ;
38940 PyObject
* obj2
= 0 ;
38942 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38945 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38949 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38953 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38955 wxPyEndAllowThreads(__tstate
);
38956 if (PyErr_Occurred()) SWIG_fail
;
38959 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38967 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38968 PyObject
*resultobj
;
38969 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38970 wxSizer
*arg2
= (wxSizer
*) 0 ;
38971 wxGBSpan
*arg3
= 0 ;
38974 PyObject
* obj0
= 0 ;
38975 PyObject
* obj1
= 0 ;
38976 PyObject
* obj2
= 0 ;
38978 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38981 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38985 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38989 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38991 wxPyEndAllowThreads(__tstate
);
38992 if (PyErr_Occurred()) SWIG_fail
;
38995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39003 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39004 PyObject
*resultobj
;
39005 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39007 wxGBSpan
*arg3
= 0 ;
39010 PyObject
* obj0
= 0 ;
39011 PyObject
* obj1
= 0 ;
39012 PyObject
* obj2
= 0 ;
39014 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39017 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39018 if (PyErr_Occurred()) SWIG_fail
;
39021 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39025 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39027 wxPyEndAllowThreads(__tstate
);
39028 if (PyErr_Occurred()) SWIG_fail
;
39031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39039 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39044 argc
= PyObject_Length(args
);
39045 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39046 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39052 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39062 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39071 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39074 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39083 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39093 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39102 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39105 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39114 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39122 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39125 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39128 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39134 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39139 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39140 PyObject
*resultobj
;
39141 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39142 wxWindow
*arg2
= (wxWindow
*) 0 ;
39143 wxGBSizerItem
*result
;
39144 PyObject
* obj0
= 0 ;
39145 PyObject
* obj1
= 0 ;
39147 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39150 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39154 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39156 wxPyEndAllowThreads(__tstate
);
39157 if (PyErr_Occurred()) SWIG_fail
;
39159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39166 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39167 PyObject
*resultobj
;
39168 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39169 wxSizer
*arg2
= (wxSizer
*) 0 ;
39170 wxGBSizerItem
*result
;
39171 PyObject
* obj0
= 0 ;
39172 PyObject
* obj1
= 0 ;
39174 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39177 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39181 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39183 wxPyEndAllowThreads(__tstate
);
39184 if (PyErr_Occurred()) SWIG_fail
;
39186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39193 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39198 argc
= PyObject_Length(args
);
39199 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39200 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39224 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39232 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39242 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39250 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39255 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39260 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39261 PyObject
*resultobj
;
39262 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39263 wxGBPosition
*arg2
= 0 ;
39264 wxGBSizerItem
*result
;
39265 wxGBPosition temp2
;
39266 PyObject
* obj0
= 0 ;
39267 PyObject
* obj1
= 0 ;
39268 char *kwnames
[] = {
39269 (char *) "self",(char *) "pos", NULL
39272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39277 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39281 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39283 wxPyEndAllowThreads(__tstate
);
39284 if (PyErr_Occurred()) SWIG_fail
;
39286 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39293 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39294 PyObject
*resultobj
;
39295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39296 wxPoint
*arg2
= 0 ;
39297 wxGBSizerItem
*result
;
39299 PyObject
* obj0
= 0 ;
39300 PyObject
* obj1
= 0 ;
39301 char *kwnames
[] = {
39302 (char *) "self",(char *) "pt", NULL
39305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39310 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39314 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39316 wxPyEndAllowThreads(__tstate
);
39317 if (PyErr_Occurred()) SWIG_fail
;
39319 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39326 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39327 PyObject
*resultobj
;
39328 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39329 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39330 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39332 PyObject
* obj0
= 0 ;
39333 PyObject
* obj1
= 0 ;
39334 PyObject
* obj2
= 0 ;
39335 char *kwnames
[] = {
39336 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39345 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39350 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39352 wxPyEndAllowThreads(__tstate
);
39353 if (PyErr_Occurred()) SWIG_fail
;
39356 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39364 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39365 PyObject
*resultobj
;
39366 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39367 wxGBPosition
*arg2
= 0 ;
39368 wxGBSpan
*arg3
= 0 ;
39369 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39371 wxGBPosition temp2
;
39373 PyObject
* obj0
= 0 ;
39374 PyObject
* obj1
= 0 ;
39375 PyObject
* obj2
= 0 ;
39376 PyObject
* obj3
= 0 ;
39377 char *kwnames
[] = {
39378 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39386 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39390 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39393 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39398 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39400 wxPyEndAllowThreads(__tstate
);
39401 if (PyErr_Occurred()) SWIG_fail
;
39404 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39412 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39414 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39415 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39417 return Py_BuildValue((char *)"");
39419 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39420 PyObject
*resultobj
;
39421 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39423 wxWindow
*arg3
= (wxWindow
*) 0 ;
39425 int arg5
= (int) 0 ;
39426 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39427 PyObject
* obj0
= 0 ;
39428 PyObject
* obj1
= 0 ;
39429 PyObject
* obj2
= 0 ;
39430 PyObject
* obj3
= 0 ;
39431 PyObject
* obj4
= 0 ;
39432 PyObject
* obj5
= 0 ;
39433 char *kwnames
[] = {
39434 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39440 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39441 if (PyErr_Occurred()) SWIG_fail
;
39442 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39444 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39445 if (PyErr_Occurred()) SWIG_fail
;
39447 arg5
= (int) SWIG_AsInt(obj4
);
39448 if (PyErr_Occurred()) SWIG_fail
;
39451 arg6
= (int) SWIG_AsInt(obj5
);
39452 if (PyErr_Occurred()) SWIG_fail
;
39455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39456 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39458 wxPyEndAllowThreads(__tstate
);
39459 if (PyErr_Occurred()) SWIG_fail
;
39461 Py_INCREF(Py_None
); resultobj
= Py_None
;
39468 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39469 PyObject
*resultobj
;
39470 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39471 wxWindow
*arg2
= (wxWindow
*) 0 ;
39472 int arg3
= (int) 0 ;
39473 PyObject
* obj0
= 0 ;
39474 PyObject
* obj1
= 0 ;
39475 PyObject
* obj2
= 0 ;
39476 char *kwnames
[] = {
39477 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39483 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39486 arg3
= (int) SWIG_AsInt(obj2
);
39487 if (PyErr_Occurred()) SWIG_fail
;
39490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39491 (arg1
)->LeftOf(arg2
,arg3
);
39493 wxPyEndAllowThreads(__tstate
);
39494 if (PyErr_Occurred()) SWIG_fail
;
39496 Py_INCREF(Py_None
); resultobj
= Py_None
;
39503 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39504 PyObject
*resultobj
;
39505 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39506 wxWindow
*arg2
= (wxWindow
*) 0 ;
39507 int arg3
= (int) 0 ;
39508 PyObject
* obj0
= 0 ;
39509 PyObject
* obj1
= 0 ;
39510 PyObject
* obj2
= 0 ;
39511 char *kwnames
[] = {
39512 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39518 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39521 arg3
= (int) SWIG_AsInt(obj2
);
39522 if (PyErr_Occurred()) SWIG_fail
;
39525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39526 (arg1
)->RightOf(arg2
,arg3
);
39528 wxPyEndAllowThreads(__tstate
);
39529 if (PyErr_Occurred()) SWIG_fail
;
39531 Py_INCREF(Py_None
); resultobj
= Py_None
;
39538 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39539 PyObject
*resultobj
;
39540 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39541 wxWindow
*arg2
= (wxWindow
*) 0 ;
39542 int arg3
= (int) 0 ;
39543 PyObject
* obj0
= 0 ;
39544 PyObject
* obj1
= 0 ;
39545 PyObject
* obj2
= 0 ;
39546 char *kwnames
[] = {
39547 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39553 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39556 arg3
= (int) SWIG_AsInt(obj2
);
39557 if (PyErr_Occurred()) SWIG_fail
;
39560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39561 (arg1
)->Above(arg2
,arg3
);
39563 wxPyEndAllowThreads(__tstate
);
39564 if (PyErr_Occurred()) SWIG_fail
;
39566 Py_INCREF(Py_None
); resultobj
= Py_None
;
39573 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39574 PyObject
*resultobj
;
39575 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39576 wxWindow
*arg2
= (wxWindow
*) 0 ;
39577 int arg3
= (int) 0 ;
39578 PyObject
* obj0
= 0 ;
39579 PyObject
* obj1
= 0 ;
39580 PyObject
* obj2
= 0 ;
39581 char *kwnames
[] = {
39582 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39588 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39591 arg3
= (int) SWIG_AsInt(obj2
);
39592 if (PyErr_Occurred()) SWIG_fail
;
39595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39596 (arg1
)->Below(arg2
,arg3
);
39598 wxPyEndAllowThreads(__tstate
);
39599 if (PyErr_Occurred()) SWIG_fail
;
39601 Py_INCREF(Py_None
); resultobj
= Py_None
;
39608 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39609 PyObject
*resultobj
;
39610 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39611 wxWindow
*arg2
= (wxWindow
*) 0 ;
39613 int arg4
= (int) 0 ;
39614 PyObject
* obj0
= 0 ;
39615 PyObject
* obj1
= 0 ;
39616 PyObject
* obj2
= 0 ;
39617 PyObject
* obj3
= 0 ;
39618 char *kwnames
[] = {
39619 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39625 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39627 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39628 if (PyErr_Occurred()) SWIG_fail
;
39630 arg4
= (int) SWIG_AsInt(obj3
);
39631 if (PyErr_Occurred()) SWIG_fail
;
39634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39635 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39637 wxPyEndAllowThreads(__tstate
);
39638 if (PyErr_Occurred()) SWIG_fail
;
39640 Py_INCREF(Py_None
); resultobj
= Py_None
;
39647 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39648 PyObject
*resultobj
;
39649 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39650 wxWindow
*arg2
= (wxWindow
*) 0 ;
39653 PyObject
* obj0
= 0 ;
39654 PyObject
* obj1
= 0 ;
39655 PyObject
* obj2
= 0 ;
39656 PyObject
* obj3
= 0 ;
39657 char *kwnames
[] = {
39658 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39664 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39666 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39667 if (PyErr_Occurred()) SWIG_fail
;
39668 arg4
= (int) SWIG_AsInt(obj3
);
39669 if (PyErr_Occurred()) SWIG_fail
;
39671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39672 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39674 wxPyEndAllowThreads(__tstate
);
39675 if (PyErr_Occurred()) SWIG_fail
;
39677 Py_INCREF(Py_None
); resultobj
= Py_None
;
39684 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39685 PyObject
*resultobj
;
39686 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39688 PyObject
* obj0
= 0 ;
39689 PyObject
* obj1
= 0 ;
39690 char *kwnames
[] = {
39691 (char *) "self",(char *) "val", NULL
39694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39697 arg2
= (int) SWIG_AsInt(obj1
);
39698 if (PyErr_Occurred()) SWIG_fail
;
39700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39701 (arg1
)->Absolute(arg2
);
39703 wxPyEndAllowThreads(__tstate
);
39704 if (PyErr_Occurred()) SWIG_fail
;
39706 Py_INCREF(Py_None
); resultobj
= Py_None
;
39713 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39714 PyObject
*resultobj
;
39715 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39716 PyObject
* obj0
= 0 ;
39717 char *kwnames
[] = {
39718 (char *) "self", NULL
39721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39726 (arg1
)->Unconstrained();
39728 wxPyEndAllowThreads(__tstate
);
39729 if (PyErr_Occurred()) SWIG_fail
;
39731 Py_INCREF(Py_None
); resultobj
= Py_None
;
39738 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39739 PyObject
*resultobj
;
39740 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39741 PyObject
* obj0
= 0 ;
39742 char *kwnames
[] = {
39743 (char *) "self", NULL
39746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39753 wxPyEndAllowThreads(__tstate
);
39754 if (PyErr_Occurred()) SWIG_fail
;
39756 Py_INCREF(Py_None
); resultobj
= Py_None
;
39763 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39764 PyObject
*resultobj
;
39765 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39767 PyObject
* obj0
= 0 ;
39768 char *kwnames
[] = {
39769 (char *) "self", NULL
39772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39777 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39779 wxPyEndAllowThreads(__tstate
);
39780 if (PyErr_Occurred()) SWIG_fail
;
39783 resultobj
= wxPyMake_wxObject(result
, 0);
39791 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39792 PyObject
*resultobj
;
39793 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39795 PyObject
* obj0
= 0 ;
39796 char *kwnames
[] = {
39797 (char *) "self", NULL
39800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39805 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39807 wxPyEndAllowThreads(__tstate
);
39808 if (PyErr_Occurred()) SWIG_fail
;
39810 resultobj
= SWIG_FromInt((int)result
);
39817 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39818 PyObject
*resultobj
;
39819 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39821 PyObject
* obj0
= 0 ;
39822 PyObject
* obj1
= 0 ;
39823 char *kwnames
[] = {
39824 (char *) "self",(char *) "which", NULL
39827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39830 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39831 if (PyErr_Occurred()) SWIG_fail
;
39833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39834 (arg1
)->SetEdge((wxEdge
)arg2
);
39836 wxPyEndAllowThreads(__tstate
);
39837 if (PyErr_Occurred()) SWIG_fail
;
39839 Py_INCREF(Py_None
); resultobj
= Py_None
;
39846 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39847 PyObject
*resultobj
;
39848 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39850 PyObject
* obj0
= 0 ;
39851 PyObject
* obj1
= 0 ;
39852 char *kwnames
[] = {
39853 (char *) "self",(char *) "v", NULL
39856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39859 arg2
= (int) SWIG_AsInt(obj1
);
39860 if (PyErr_Occurred()) SWIG_fail
;
39862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39863 (arg1
)->SetValue(arg2
);
39865 wxPyEndAllowThreads(__tstate
);
39866 if (PyErr_Occurred()) SWIG_fail
;
39868 Py_INCREF(Py_None
); resultobj
= Py_None
;
39875 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39876 PyObject
*resultobj
;
39877 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39879 PyObject
* obj0
= 0 ;
39880 char *kwnames
[] = {
39881 (char *) "self", NULL
39884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39889 result
= (int)(arg1
)->GetMargin();
39891 wxPyEndAllowThreads(__tstate
);
39892 if (PyErr_Occurred()) SWIG_fail
;
39894 resultobj
= SWIG_FromInt((int)result
);
39901 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39902 PyObject
*resultobj
;
39903 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39905 PyObject
* obj0
= 0 ;
39906 PyObject
* obj1
= 0 ;
39907 char *kwnames
[] = {
39908 (char *) "self",(char *) "m", NULL
39911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39914 arg2
= (int) SWIG_AsInt(obj1
);
39915 if (PyErr_Occurred()) SWIG_fail
;
39917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39918 (arg1
)->SetMargin(arg2
);
39920 wxPyEndAllowThreads(__tstate
);
39921 if (PyErr_Occurred()) SWIG_fail
;
39923 Py_INCREF(Py_None
); resultobj
= Py_None
;
39930 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39931 PyObject
*resultobj
;
39932 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39934 PyObject
* obj0
= 0 ;
39935 char *kwnames
[] = {
39936 (char *) "self", NULL
39939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39949 resultobj
= SWIG_FromInt((int)result
);
39956 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39957 PyObject
*resultobj
;
39958 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39960 PyObject
* obj0
= 0 ;
39961 char *kwnames
[] = {
39962 (char *) "self", NULL
39965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39970 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39972 wxPyEndAllowThreads(__tstate
);
39973 if (PyErr_Occurred()) SWIG_fail
;
39975 resultobj
= SWIG_FromInt((int)result
);
39982 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39983 PyObject
*resultobj
;
39984 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39986 PyObject
* obj0
= 0 ;
39987 char *kwnames
[] = {
39988 (char *) "self", NULL
39991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39996 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39998 wxPyEndAllowThreads(__tstate
);
39999 if (PyErr_Occurred()) SWIG_fail
;
40001 resultobj
= SWIG_FromInt((int)result
);
40008 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40009 PyObject
*resultobj
;
40010 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40012 PyObject
* obj0
= 0 ;
40013 char *kwnames
[] = {
40014 (char *) "self", NULL
40017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40022 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40024 wxPyEndAllowThreads(__tstate
);
40025 if (PyErr_Occurred()) SWIG_fail
;
40028 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40036 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40037 PyObject
*resultobj
;
40038 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40040 PyObject
* obj0
= 0 ;
40041 PyObject
* obj1
= 0 ;
40042 char *kwnames
[] = {
40043 (char *) "self",(char *) "d", NULL
40046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40049 arg2
= (bool) SWIG_AsBool(obj1
);
40050 if (PyErr_Occurred()) SWIG_fail
;
40052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40053 (arg1
)->SetDone(arg2
);
40055 wxPyEndAllowThreads(__tstate
);
40056 if (PyErr_Occurred()) SWIG_fail
;
40058 Py_INCREF(Py_None
); resultobj
= Py_None
;
40065 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40066 PyObject
*resultobj
;
40067 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40069 PyObject
* obj0
= 0 ;
40070 char *kwnames
[] = {
40071 (char *) "self", NULL
40074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40079 result
= (int)(arg1
)->GetRelationship();
40081 wxPyEndAllowThreads(__tstate
);
40082 if (PyErr_Occurred()) SWIG_fail
;
40084 resultobj
= SWIG_FromInt((int)result
);
40091 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40092 PyObject
*resultobj
;
40093 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40095 PyObject
* obj0
= 0 ;
40096 PyObject
* obj1
= 0 ;
40097 char *kwnames
[] = {
40098 (char *) "self",(char *) "r", NULL
40101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40104 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40105 if (PyErr_Occurred()) SWIG_fail
;
40107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40108 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40110 wxPyEndAllowThreads(__tstate
);
40111 if (PyErr_Occurred()) SWIG_fail
;
40113 Py_INCREF(Py_None
); resultobj
= Py_None
;
40120 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40121 PyObject
*resultobj
;
40122 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40123 wxWindow
*arg2
= (wxWindow
*) 0 ;
40125 PyObject
* obj0
= 0 ;
40126 PyObject
* obj1
= 0 ;
40127 char *kwnames
[] = {
40128 (char *) "self",(char *) "otherW", NULL
40131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40134 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40138 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40140 wxPyEndAllowThreads(__tstate
);
40141 if (PyErr_Occurred()) SWIG_fail
;
40144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40152 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40153 PyObject
*resultobj
;
40154 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40155 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40156 wxWindow
*arg3
= (wxWindow
*) 0 ;
40158 PyObject
* obj0
= 0 ;
40159 PyObject
* obj1
= 0 ;
40160 PyObject
* obj2
= 0 ;
40161 char *kwnames
[] = {
40162 (char *) "self",(char *) "constraints",(char *) "win", NULL
40165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40170 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40174 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40176 wxPyEndAllowThreads(__tstate
);
40177 if (PyErr_Occurred()) SWIG_fail
;
40180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40188 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40189 PyObject
*resultobj
;
40190 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40192 wxWindow
*arg3
= (wxWindow
*) 0 ;
40193 wxWindow
*arg4
= (wxWindow
*) 0 ;
40195 PyObject
* obj0
= 0 ;
40196 PyObject
* obj1
= 0 ;
40197 PyObject
* obj2
= 0 ;
40198 PyObject
* obj3
= 0 ;
40199 char *kwnames
[] = {
40200 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40206 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40207 if (PyErr_Occurred()) SWIG_fail
;
40208 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40210 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40214 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40216 wxPyEndAllowThreads(__tstate
);
40217 if (PyErr_Occurred()) SWIG_fail
;
40219 resultobj
= SWIG_FromInt((int)result
);
40226 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40229 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40231 return Py_BuildValue((char *)"");
40233 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
;
40235 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40236 wxIndividualLayoutConstraint
*result
;
40237 PyObject
* obj0
= 0 ;
40238 char *kwnames
[] = {
40239 (char *) "self", NULL
40242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40245 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40254 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
;
40256 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40257 wxIndividualLayoutConstraint
*result
;
40258 PyObject
* obj0
= 0 ;
40259 char *kwnames
[] = {
40260 (char *) "self", NULL
40263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40266 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40275 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
;
40277 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40278 wxIndividualLayoutConstraint
*result
;
40279 PyObject
* obj0
= 0 ;
40280 char *kwnames
[] = {
40281 (char *) "self", NULL
40284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40287 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40296 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
;
40298 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40299 wxIndividualLayoutConstraint
*result
;
40300 PyObject
* obj0
= 0 ;
40301 char *kwnames
[] = {
40302 (char *) "self", NULL
40305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40308 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40317 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40318 PyObject
*resultobj
;
40319 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40320 wxIndividualLayoutConstraint
*result
;
40321 PyObject
* obj0
= 0 ;
40322 char *kwnames
[] = {
40323 (char *) "self", NULL
40326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40329 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40338 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40339 PyObject
*resultobj
;
40340 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40341 wxIndividualLayoutConstraint
*result
;
40342 PyObject
* obj0
= 0 ;
40343 char *kwnames
[] = {
40344 (char *) "self", NULL
40347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40350 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40359 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40362 wxIndividualLayoutConstraint
*result
;
40363 PyObject
* obj0
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40380 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
;
40382 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40383 wxIndividualLayoutConstraint
*result
;
40384 PyObject
* obj0
= 0 ;
40385 char *kwnames
[] = {
40386 (char *) "self", NULL
40389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40392 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40401 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40402 PyObject
*resultobj
;
40403 wxLayoutConstraints
*result
;
40404 char *kwnames
[] = {
40408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40411 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40413 wxPyEndAllowThreads(__tstate
);
40414 if (PyErr_Occurred()) SWIG_fail
;
40416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40423 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40424 PyObject
*resultobj
;
40425 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40426 wxWindow
*arg2
= (wxWindow
*) 0 ;
40427 int *arg3
= (int *) 0 ;
40430 PyObject
* obj0
= 0 ;
40431 PyObject
* obj1
= 0 ;
40432 char *kwnames
[] = {
40433 (char *) "self",(char *) "win", NULL
40437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40440 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40444 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40446 wxPyEndAllowThreads(__tstate
);
40447 if (PyErr_Occurred()) SWIG_fail
;
40450 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40453 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40454 resultobj
= t_output_helper(resultobj
,o
);
40462 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40463 PyObject
*resultobj
;
40464 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40466 PyObject
* obj0
= 0 ;
40467 char *kwnames
[] = {
40468 (char *) "self", NULL
40471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40476 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40478 wxPyEndAllowThreads(__tstate
);
40479 if (PyErr_Occurred()) SWIG_fail
;
40482 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40490 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40493 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40495 return Py_BuildValue((char *)"");
40497 static PyMethodDef SwigMethods
[] = {
40498 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40499 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40500 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40503 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40524 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40537 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40552 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40603 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40631 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40649 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40651 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40659 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40660 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40672 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40683 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40688 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40694 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40704 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40714 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40718 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40789 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40791 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40793 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40795 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40797 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40799 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40801 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40803 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40805 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40807 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40809 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40811 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
},
40813 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40827 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40845 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40848 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40851 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40863 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40868 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40874 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40880 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40943 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40950 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40986 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40996 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41006 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41008 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41010 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41013 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41017 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41020 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41023 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41025 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41030 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41038 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41042 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41045 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41047 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41051 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41068 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41070 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41073 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41075 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41079 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41083 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41092 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41095 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41098 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41102 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41109 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41114 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41119 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41137 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41163 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41178 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41182 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41192 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41359 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41399 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41413 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41416 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41471 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41498 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41542 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41550 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41567 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41568 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41604 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41633 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41636 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41640 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41643 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41653 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41665 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41671 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41675 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41685 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41699 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41705 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41706 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41707 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41708 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41709 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41714 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41734 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41740 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41741 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41742 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41743 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41744 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41749 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41757 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41759 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41760 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41762 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41763 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41765 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41766 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41768 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41769 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41771 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41772 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41774 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41775 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41777 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41778 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41780 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41781 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41783 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41784 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41786 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41787 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41789 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41790 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41792 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41793 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41795 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41796 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41798 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41799 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41801 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41802 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41804 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41805 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41807 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41808 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41810 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41811 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41813 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41814 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41816 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41817 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41819 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41820 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41822 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41823 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41825 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41826 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41828 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41829 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41831 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41832 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41834 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41835 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41837 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41838 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41840 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41841 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41843 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41844 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41846 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41847 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41849 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41850 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41852 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41853 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41855 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41856 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41858 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41859 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41861 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41862 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41864 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41865 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41867 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41868 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41870 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41871 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41873 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41874 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41876 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41877 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41879 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41880 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41882 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41883 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41885 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41886 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41888 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41889 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41891 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41892 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41894 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41895 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41897 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41898 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41900 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41901 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41903 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41904 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41906 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41907 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41909 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41910 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41912 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41913 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41915 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41916 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41918 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41919 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41921 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41922 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41924 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41925 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41927 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41928 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41930 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41931 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41933 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41934 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41936 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41937 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41939 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41940 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41942 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41943 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41945 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41946 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41948 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41949 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41951 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41952 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41954 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41955 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41957 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41958 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41960 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41961 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41963 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41964 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41966 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41967 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41969 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41970 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41972 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41973 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41975 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41976 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41978 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41979 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41981 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41982 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41984 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41985 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41987 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41988 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41990 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41991 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41993 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41994 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41996 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41999 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42000 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42002 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42003 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42005 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42006 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42008 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42009 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42011 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42012 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42014 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42015 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42017 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42018 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42020 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42021 return (void *)((wxObject
*) ((wxSizer
*) x
));
42023 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42024 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42026 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42027 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42029 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42030 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42032 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42033 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42035 static void *_p_wxImageTo_p_wxObject(void *x
) {
42036 return (void *)((wxObject
*) ((wxImage
*) x
));
42038 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42039 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42041 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42042 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42044 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42045 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42047 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42048 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42050 static void *_p_wxControlTo_p_wxObject(void *x
) {
42051 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42053 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42054 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42056 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42057 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42059 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42060 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42062 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42063 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42065 static void *_p_wxEventTo_p_wxObject(void *x
) {
42066 return (void *)((wxObject
*) ((wxEvent
*) x
));
42068 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42069 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42071 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42072 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42074 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42075 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42077 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42078 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42080 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42081 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42083 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42084 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42086 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42087 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42089 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42090 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42092 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42093 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42095 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42096 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42098 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42099 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42101 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42102 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42104 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42105 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42107 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42108 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42110 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42111 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42113 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42114 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42116 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42117 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42119 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42120 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42122 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42123 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42125 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42126 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42128 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42129 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42131 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42132 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42134 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42135 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42137 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42138 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42140 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42141 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42143 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42144 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42146 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42147 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42149 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42150 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42152 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42153 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42155 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42156 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42158 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42159 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42161 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42162 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42164 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42165 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42167 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42168 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42170 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42171 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42173 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42174 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42176 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42177 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42179 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42180 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42182 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42183 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42185 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42188 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42189 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42191 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42192 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42194 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42195 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42197 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42198 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42200 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42201 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42203 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42204 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42206 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42207 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42209 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42210 return (void *)((wxWindow
*) ((wxControl
*) x
));
42212 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42213 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42215 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42216 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42218 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42219 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42221 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42222 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42224 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42225 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42227 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42228 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42230 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42231 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42233 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42234 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42236 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42237 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42239 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42240 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42242 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42243 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42245 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}};
42246 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}};
42247 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}};
42248 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}};
42249 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}};
42250 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}};
42251 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}};
42252 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}};
42253 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}};
42254 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}};
42255 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}};
42256 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}};
42257 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}};
42258 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}};
42259 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}};
42260 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}};
42261 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}};
42262 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}};
42263 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}};
42264 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}};
42265 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}};
42266 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}};
42267 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}};
42268 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}};
42269 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}};
42270 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}};
42271 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}};
42272 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}};
42273 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}};
42274 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}};
42275 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}};
42276 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}};
42277 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}};
42278 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}};
42279 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}};
42280 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}};
42281 static swig_type_info _swigt__p_wxVisualAttributes
[] = {{"_p_wxVisualAttributes", 0, "wxVisualAttributes *", 0, 0, 0, 0},{"_p_wxVisualAttributes", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42282 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}};
42283 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}};
42284 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}};
42285 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}};
42286 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}};
42287 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}};
42288 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}};
42289 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}};
42290 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}};
42291 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}};
42292 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}};
42293 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}};
42294 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}};
42295 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}};
42296 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}};
42297 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}};
42298 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}};
42299 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}};
42300 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}};
42301 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}};
42302 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}};
42303 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}};
42304 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}};
42305 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}};
42306 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}};
42307 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}};
42308 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}};
42309 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}};
42310 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}};
42311 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}};
42312 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}};
42313 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}};
42314 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}};
42315 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}};
42316 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}};
42317 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}};
42318 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}};
42319 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}};
42320 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}};
42321 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}};
42322 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}};
42323 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}};
42324 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}};
42325 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}};
42326 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}};
42327 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}};
42328 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}};
42329 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}};
42330 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}};
42331 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}};
42332 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}};
42333 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}};
42334 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}};
42335 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}};
42336 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}};
42337 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}};
42338 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}};
42339 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}};
42340 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}};
42341 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}};
42342 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}};
42343 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}};
42344 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}};
42345 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}};
42346 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}};
42347 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}};
42348 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}};
42349 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}};
42350 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}};
42351 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}};
42352 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}};
42353 static swig_type_info _swigt__p_wxQuantize
[] = {{"_p_wxQuantize", 0, "wxQuantize *", 0, 0, 0, 0},{"_p_wxQuantize", 0, 0, 0, 0, 0, 0},{0, 0, 0, 0, 0, 0, 0}};
42354 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}};
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42362 static swig_type_info
*swig_types_initial
[] = {
42363 _swigt__p_wxLayoutConstraints
,
42364 _swigt__p_wxRealPoint
,
42365 _swigt__p_wxSizerItem
,
42366 _swigt__p_wxGBSizerItem
,
42367 _swigt__p_wxScrollEvent
,
42368 _swigt__p_wxIndividualLayoutConstraint
,
42370 _swigt__p_wxBoxSizer
,
42371 _swigt__p_wxStaticBoxSizer
,
42372 _swigt__p_wxGridBagSizer
,
42373 _swigt__p_wxAcceleratorEntry
,
42374 _swigt__p_wxUpdateUIEvent
,
42377 _swigt__p_wxGridSizer
,
42378 _swigt__p_wxFlexGridSizer
,
42379 _swigt__p_wxInitDialogEvent
,
42380 _swigt__p_wxItemContainer
,
42381 _swigt__p_wxNcPaintEvent
,
42382 _swigt__p_wxPaintEvent
,
42383 _swigt__p_wxSysColourChangedEvent
,
42384 _swigt__p_wxMouseCaptureChangedEvent
,
42385 _swigt__p_wxDisplayChangedEvent
,
42386 _swigt__p_wxPaletteChangedEvent
,
42387 _swigt__p_wxControl
,
42389 _swigt__p_wxMenuBarBase
,
42390 _swigt__p_wxSetCursorEvent
,
42391 _swigt__p_wxFSFile
,
42393 _swigt__p_wxRegion
,
42394 _swigt__p_wxPoint2D
,
42398 _swigt__p_wxPySizer
,
42399 _swigt__p_wxVisualAttributes
,
42400 _swigt__p_wxNotifyEvent
,
42401 _swigt__p_wxPyEvent
,
42402 _swigt__p_wxPropagationDisabler
,
42403 _swigt__p_wxAppTraits
,
42404 _swigt__p_wxArrayString
,
42405 _swigt__p_wxShowEvent
,
42406 _swigt__p_wxToolTip
,
42407 _swigt__p_wxIconizeEvent
,
42408 _swigt__p_wxActivateEvent
,
42409 _swigt__p_wxMoveEvent
,
42410 _swigt__p_wxSizeEvent
,
42411 _swigt__p_wxMaximizeEvent
,
42412 _swigt__p_wxQueryNewPaletteEvent
,
42413 _swigt__p_wxWindowCreateEvent
,
42414 _swigt__p_wxIdleEvent
,
42415 _swigt__p_wxMenuItem
,
42416 _swigt__p_wxStaticBox
,
42418 _swigt__p_wxTIFFHandler
,
42419 _swigt__p_wxXPMHandler
,
42420 _swigt__p_wxPNMHandler
,
42421 _swigt__p_wxJPEGHandler
,
42422 _swigt__p_wxPCXHandler
,
42423 _swigt__p_wxGIFHandler
,
42424 _swigt__p_wxPNGHandler
,
42425 _swigt__p_wxANIHandler
,
42426 _swigt__p_wxMemoryFSHandler
,
42427 _swigt__p_wxEvtHandler
,
42428 _swigt__p_wxCURHandler
,
42429 _swigt__p_wxICOHandler
,
42430 _swigt__p_wxBMPHandler
,
42431 _swigt__p_wxImageHandler
,
42432 _swigt__p_wxFileSystemHandler
,
42433 _swigt__p_wxPyFileSystemHandler
,
42434 _swigt__p_wxInternetFSHandler
,
42435 _swigt__p_wxZipFSHandler
,
42437 _swigt__p_wxGBSpan
,
42438 _swigt__p_wxPropagateOnce
,
42439 _swigt__p_wxAcceleratorTable
,
42441 _swigt__p_wxGBPosition
,
42444 _swigt__p_wxScrollWinEvent
,
42445 _swigt__p_wxImageHistogram
,
42448 _swigt__p_wxCursor
,
42449 _swigt__p_wxObject
,
42450 _swigt__p_wxPyInputStream
,
42451 _swigt__p_wxOutputStream
,
42452 _swigt__p_wxInputStream
,
42453 _swigt__p_wxDateTime
,
42454 _swigt__p_wxKeyEvent
,
42455 _swigt__p_wxNavigationKeyEvent
,
42456 _swigt__p_wxWindowDestroyEvent
,
42457 _swigt__p_wxWindow
,
42458 _swigt__p_wxMenuBar
,
42459 _swigt__p_wxFileSystem
,
42460 _swigt__p_wxBitmap
,
42461 _swigt__p_wxMenuEvent
,
42462 _swigt__p_wxContextMenuEvent
,
42463 _swigt__p_unsigned_char
,
42464 _swigt__p_wxCloseEvent
,
42465 _swigt__p_wxEraseEvent
,
42466 _swigt__p_wxMouseEvent
,
42468 _swigt__p_wxCommandEvent
,
42469 _swigt__p_wxPyCommandEvent
,
42470 _swigt__p_wxPyDropTarget
,
42471 _swigt__p_wxQuantize
,
42472 _swigt__p_wxChildFocusEvent
,
42473 _swigt__p_wxFocusEvent
,
42474 _swigt__p_wxDropFilesEvent
,
42475 _swigt__p_wxControlWithItems
,
42476 _swigt__p_wxColour
,
42477 _swigt__p_wxValidator
,
42478 _swigt__p_wxPyValidator
,
42483 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42485 static swig_const_info swig_const_table
[] = {
42495 SWIGEXPORT(void) SWIG_init(void) {
42496 static PyObject
*SWIG_globals
= 0;
42497 static int typeinit
= 0;
42500 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42501 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42502 d
= PyModule_GetDict(m
);
42505 for (i
= 0; swig_types_initial
[i
]; i
++) {
42506 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42510 SWIG_InstallConstants(d
,swig_const_table
);
42513 #ifndef wxPyUSE_EXPORT
42514 // Make our API structure a CObject so other modules can import it
42515 // from this module.
42516 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42517 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42521 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42522 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42523 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42524 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42525 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42526 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42527 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42528 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42529 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42530 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42531 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42532 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42533 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42534 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42535 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42536 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42537 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42538 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42539 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42540 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42541 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42542 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42543 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42544 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42545 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42546 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42547 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42548 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42549 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42550 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42551 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42552 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42553 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42554 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42555 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42556 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42557 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42558 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42559 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42560 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42561 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42562 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42563 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42564 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42565 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42566 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42567 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42568 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42569 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42570 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42571 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42572 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42573 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42574 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42575 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42576 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42577 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42578 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42579 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42580 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42581 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42582 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42583 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42584 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42585 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42586 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42587 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42588 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42589 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42590 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42591 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42592 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42593 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42594 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42595 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42596 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42597 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42598 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42599 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42600 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42601 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42602 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42603 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42604 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42605 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42606 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42607 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42608 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42609 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42610 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42611 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42612 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42613 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42614 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42615 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42616 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42617 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42618 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42619 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42620 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42621 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42622 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42623 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42624 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42625 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42626 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42627 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42628 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42629 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42630 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42631 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42632 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42633 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42634 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42635 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42636 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42637 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42638 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42639 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42640 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42641 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42642 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42643 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42644 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42645 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42646 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42647 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42648 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42649 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42650 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42651 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42652 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42653 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42654 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42655 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42656 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42657 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42658 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42659 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42660 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42661 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42662 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42663 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42664 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42665 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42666 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42667 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42668 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42669 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42670 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42671 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42672 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42673 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42674 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42675 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42676 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42677 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42678 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42679 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42680 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42681 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42682 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42683 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42684 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42685 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42686 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42687 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42688 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42689 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42690 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42691 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42692 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42693 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42694 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42695 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42696 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42697 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42698 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42699 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42700 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42701 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42702 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42703 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42704 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42705 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42706 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42707 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42708 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42709 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42710 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42711 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42712 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42713 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42714 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42715 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42716 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42717 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42718 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42719 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42720 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42721 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42722 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42723 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42724 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42725 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42726 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42727 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42728 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42729 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42730 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42731 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42732 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42733 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42734 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42735 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42736 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42737 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42738 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42739 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42740 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42741 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42742 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42743 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42744 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42745 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42746 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42747 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42748 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42749 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42750 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42751 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42752 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42753 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42754 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42755 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42756 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42757 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42758 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42759 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42760 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42761 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42762 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42763 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42764 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42765 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42766 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42767 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42768 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42769 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42770 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42771 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42772 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42773 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42774 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42775 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42776 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42777 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42778 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42779 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42780 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42781 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42782 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42783 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42784 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42785 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42786 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42787 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42788 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42789 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42790 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42791 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42792 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42793 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42794 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42795 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42796 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42797 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42798 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42799 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42800 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42801 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42802 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42803 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42804 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42805 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42806 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42807 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42808 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42809 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42810 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42811 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42812 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42813 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42814 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42815 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42816 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42817 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42818 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42819 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42820 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42821 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42822 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42823 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42824 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42825 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42826 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42827 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42828 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42829 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42830 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42831 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42832 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42833 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42834 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42835 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42836 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42837 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42838 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42839 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42840 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42841 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42842 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42843 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42844 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42845 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42846 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42847 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42848 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42849 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42850 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42851 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42852 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42853 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42854 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42855 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42856 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42857 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42858 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42859 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42860 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42861 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42862 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42863 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42864 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42865 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42866 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42867 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42868 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42869 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42870 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42871 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42872 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42873 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42874 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42875 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42876 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42877 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42878 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42879 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42880 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42881 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42882 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42883 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42884 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42885 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42886 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42887 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42888 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42889 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42890 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42891 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42892 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42893 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42894 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42895 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42896 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42897 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42898 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42899 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42900 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42901 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42902 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42903 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42904 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42905 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42906 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42907 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42908 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42909 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42910 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42911 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42912 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42913 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42914 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42915 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42916 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42917 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42918 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42919 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42920 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42921 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42922 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42923 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42924 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42925 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42926 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42927 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42928 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42929 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42930 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42931 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42932 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42933 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42934 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42935 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42936 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42937 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42938 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42939 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42940 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42941 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42942 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42943 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42944 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42945 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42946 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42947 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42948 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42949 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42950 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42951 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42952 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42953 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42954 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42955 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42956 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42957 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42958 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42959 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42960 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42961 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42962 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42963 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42964 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42965 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42966 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42967 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42968 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42969 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42970 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42971 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42972 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42973 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42974 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42975 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42976 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42977 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42978 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42979 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42980 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42981 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42982 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42983 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42984 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42985 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42986 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42987 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42988 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42989 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42990 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42991 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42992 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42993 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42994 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42995 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42996 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42997 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42998 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42999 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43000 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43001 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43002 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43003 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43004 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43005 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43006 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43007 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43008 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43009 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43010 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43011 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43012 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43013 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43014 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43015 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43016 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43017 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43018 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43019 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43020 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43021 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43022 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43023 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43024 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43025 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43026 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43027 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43028 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43029 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43030 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43031 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43032 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43033 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43034 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43035 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43036 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43037 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43038 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43039 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43040 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43041 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43042 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43043 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43044 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43045 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43046 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43047 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43048 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43049 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43050 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43051 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43052 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43053 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43054 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43055 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43056 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43057 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43058 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43059 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43060 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43061 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43062 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43063 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43064 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43065 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43066 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43067 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43068 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43069 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43070 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43071 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43072 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43073 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43074 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43075 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43076 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43077 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43078 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43079 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43080 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43081 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43082 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43083 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43084 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43085 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43086 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43087 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43088 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43089 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43090 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43091 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43092 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43093 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43095 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43098 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43100 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43101 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43102 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43103 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43104 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43105 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43106 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43107 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43108 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43109 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43110 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43111 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43112 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43113 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43114 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43115 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43116 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43117 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_FromInt((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43118 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_FromInt((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43119 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43120 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43121 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43122 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43123 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43124 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43125 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43126 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43127 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43128 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43129 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43130 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43131 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43132 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43133 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43134 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43135 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43136 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43137 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43138 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43139 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43140 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43141 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43142 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43143 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43144 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43145 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43146 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43147 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43148 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43149 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43150 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43151 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43152 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43153 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43154 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43155 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43156 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43157 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43158 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43159 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43160 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43161 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43162 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43163 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43164 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43165 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43166 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43167 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43168 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43169 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43170 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43171 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43172 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43173 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43174 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43175 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43176 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43177 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43178 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43179 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43180 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43181 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43182 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43183 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43184 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43185 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43186 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43187 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43188 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43189 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43190 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43191 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43192 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43193 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43194 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43195 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43196 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43197 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43198 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43199 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43200 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43201 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43202 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43203 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43204 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43205 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43206 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43207 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43208 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43209 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43210 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43211 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43212 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43213 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43214 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43215 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43216 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43217 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43218 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43219 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43220 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43221 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43222 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43223 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43224 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43225 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43226 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43227 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43228 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43229 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43230 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43231 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43232 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43233 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43234 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43235 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43236 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43237 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43238 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43239 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43240 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43241 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43242 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
43243 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
43244 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
43245 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43246 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43247 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43248 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43249 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43250 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43251 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43252 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43253 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43254 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43255 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43256 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43257 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43258 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43259 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43260 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43261 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43262 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43263 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43264 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43265 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43266 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43267 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43268 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43269 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43270 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43271 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43272 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43273 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43274 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43275 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43276 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43277 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43278 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43279 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43280 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43281 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43282 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43283 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43284 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43286 // Initialize threading, some globals and such
43290 // Although these are defined in __version__ they need to be here too so
43291 // that an assert can be done to ensure that the wxPython and the wxWindows
43293 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43294 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43295 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));