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
, 1);
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
, 1);
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
, 1);
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
, 1);
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
, 1);
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_ConvertAlphaToMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9467 PyObject
*resultobj
;
9468 wxImage
*arg1
= (wxImage
*) 0 ;
9469 byte arg2
= (byte
) 128 ;
9471 PyObject
* obj0
= 0 ;
9472 PyObject
* obj1
= 0 ;
9474 (char *) "self",(char *) "threshold", NULL
9477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_ConvertAlphaToMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9481 arg2
= (byte
) SWIG_AsUnsignedChar(obj1
);
9482 if (PyErr_Occurred()) SWIG_fail
;
9485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9486 result
= (bool)(arg1
)->ConvertAlphaToMask(arg2
);
9488 wxPyEndAllowThreads(__tstate
);
9489 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9500 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9501 PyObject
*resultobj
;
9502 wxImage
*arg1
= (wxImage
*) 0 ;
9508 PyObject
* obj0
= 0 ;
9509 PyObject
* obj1
= 0 ;
9510 PyObject
* obj2
= 0 ;
9511 PyObject
* obj3
= 0 ;
9512 PyObject
* obj4
= 0 ;
9514 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9520 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9521 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9524 PyErr_SetString(PyExc_TypeError
,"null reference");
9527 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9528 if (PyErr_Occurred()) SWIG_fail
;
9529 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9530 if (PyErr_Occurred()) SWIG_fail
;
9531 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9532 if (PyErr_Occurred()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9549 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9550 PyObject
*resultobj
;
9551 wxString
*arg1
= 0 ;
9553 bool temp1
= False
;
9554 PyObject
* obj0
= 0 ;
9556 (char *) "name", NULL
9559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9561 arg1
= wxString_in_helper(obj0
);
9562 if (arg1
== NULL
) SWIG_fail
;
9566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9567 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9569 wxPyEndAllowThreads(__tstate
);
9570 if (PyErr_Occurred()) SWIG_fail
;
9573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9589 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxString
*arg1
= 0 ;
9592 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9594 bool temp1
= False
;
9595 PyObject
* obj0
= 0 ;
9596 PyObject
* obj1
= 0 ;
9598 (char *) "name",(char *) "type", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9603 arg1
= wxString_in_helper(obj0
);
9604 if (arg1
== NULL
) SWIG_fail
;
9608 arg2
= (long) SWIG_AsLong(obj1
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9613 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9615 wxPyEndAllowThreads(__tstate
);
9616 if (PyErr_Occurred()) SWIG_fail
;
9618 resultobj
= SWIG_FromInt((int)result
);
9633 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9634 PyObject
*resultobj
;
9635 wxImage
*arg1
= (wxImage
*) 0 ;
9636 wxString
*arg2
= 0 ;
9637 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9638 int arg4
= (int) -1 ;
9640 bool temp2
= False
;
9641 PyObject
* obj0
= 0 ;
9642 PyObject
* obj1
= 0 ;
9643 PyObject
* obj2
= 0 ;
9644 PyObject
* obj3
= 0 ;
9646 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9653 arg2
= wxString_in_helper(obj1
);
9654 if (arg2
== NULL
) SWIG_fail
;
9658 arg3
= (long) SWIG_AsLong(obj2
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9662 arg4
= (int) SWIG_AsInt(obj3
);
9663 if (PyErr_Occurred()) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9689 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9690 PyObject
*resultobj
;
9691 wxImage
*arg1
= (wxImage
*) 0 ;
9692 wxString
*arg2
= 0 ;
9693 wxString
*arg3
= 0 ;
9694 int arg4
= (int) -1 ;
9696 bool temp2
= False
;
9697 bool temp3
= False
;
9698 PyObject
* obj0
= 0 ;
9699 PyObject
* obj1
= 0 ;
9700 PyObject
* obj2
= 0 ;
9701 PyObject
* obj3
= 0 ;
9703 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9710 arg2
= wxString_in_helper(obj1
);
9711 if (arg2
== NULL
) SWIG_fail
;
9715 arg3
= wxString_in_helper(obj2
);
9716 if (arg3
== NULL
) SWIG_fail
;
9720 arg4
= (int) SWIG_AsInt(obj3
);
9721 if (PyErr_Occurred()) SWIG_fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9755 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9756 PyObject
*resultobj
;
9757 wxImage
*arg1
= (wxImage
*) 0 ;
9758 wxString
*arg2
= 0 ;
9761 bool temp2
= False
;
9762 PyObject
* obj0
= 0 ;
9763 PyObject
* obj1
= 0 ;
9764 PyObject
* obj2
= 0 ;
9766 (char *) "self",(char *) "name",(char *) "type", NULL
9769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9773 arg2
= wxString_in_helper(obj1
);
9774 if (arg2
== NULL
) SWIG_fail
;
9777 arg3
= (int) SWIG_AsInt(obj2
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9783 wxPyEndAllowThreads(__tstate
);
9784 if (PyErr_Occurred()) SWIG_fail
;
9787 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9803 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9804 PyObject
*resultobj
;
9805 wxImage
*arg1
= (wxImage
*) 0 ;
9806 wxString
*arg2
= 0 ;
9807 wxString
*arg3
= 0 ;
9809 bool temp2
= False
;
9810 bool temp3
= False
;
9811 PyObject
* obj0
= 0 ;
9812 PyObject
* obj1
= 0 ;
9813 PyObject
* obj2
= 0 ;
9815 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9822 arg2
= wxString_in_helper(obj1
);
9823 if (arg2
== NULL
) SWIG_fail
;
9827 arg3
= wxString_in_helper(obj2
);
9828 if (arg3
== NULL
) SWIG_fail
;
9832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9833 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9835 wxPyEndAllowThreads(__tstate
);
9836 if (PyErr_Occurred()) SWIG_fail
;
9839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9863 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxInputStream
*arg1
= 0 ;
9867 wxPyInputStream
*temp1
;
9869 PyObject
* obj0
= 0 ;
9871 (char *) "stream", NULL
9874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9876 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9877 arg1
= temp1
->m_wxis
;
9880 PyErr_Clear(); // clear the failure of the wxPyConvert above
9881 arg1
= wxPyCBInputStream_create(obj0
, False
);
9883 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9891 result
= (bool)wxImage::CanRead(*arg1
);
9893 wxPyEndAllowThreads(__tstate
);
9894 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9913 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9914 PyObject
*resultobj
;
9915 wxImage
*arg1
= (wxImage
*) 0 ;
9916 wxInputStream
*arg2
= 0 ;
9917 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9918 int arg4
= (int) -1 ;
9920 wxPyInputStream
*temp2
;
9922 PyObject
* obj0
= 0 ;
9923 PyObject
* obj1
= 0 ;
9924 PyObject
* obj2
= 0 ;
9925 PyObject
* obj3
= 0 ;
9927 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9934 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9935 arg2
= temp2
->m_wxis
;
9938 PyErr_Clear(); // clear the failure of the wxPyConvert above
9939 arg2
= wxPyCBInputStream_create(obj1
, False
);
9941 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9948 arg3
= (long) SWIG_AsLong(obj2
);
9949 if (PyErr_Occurred()) SWIG_fail
;
9952 arg4
= (int) SWIG_AsInt(obj3
);
9953 if (PyErr_Occurred()) SWIG_fail
;
9956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9957 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9959 wxPyEndAllowThreads(__tstate
);
9960 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9979 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9980 PyObject
*resultobj
;
9981 wxImage
*arg1
= (wxImage
*) 0 ;
9982 wxInputStream
*arg2
= 0 ;
9983 wxString
*arg3
= 0 ;
9984 int arg4
= (int) -1 ;
9986 wxPyInputStream
*temp2
;
9988 bool temp3
= False
;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 PyObject
* obj2
= 0 ;
9992 PyObject
* obj3
= 0 ;
9994 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10001 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
10002 arg2
= temp2
->m_wxis
;
10005 PyErr_Clear(); // clear the failure of the wxPyConvert above
10006 arg2
= wxPyCBInputStream_create(obj1
, False
);
10007 if (arg2
== NULL
) {
10008 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
10015 arg3
= wxString_in_helper(obj2
);
10016 if (arg3
== NULL
) SWIG_fail
;
10020 arg4
= (int) SWIG_AsInt(obj3
);
10021 if (PyErr_Occurred()) SWIG_fail
;
10024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10025 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
10027 wxPyEndAllowThreads(__tstate
);
10028 if (PyErr_Occurred()) SWIG_fail
;
10031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10055 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10056 PyObject
*resultobj
;
10057 wxImage
*arg1
= (wxImage
*) 0 ;
10059 PyObject
* obj0
= 0 ;
10060 char *kwnames
[] = {
10061 (char *) "self", NULL
10064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10069 result
= (bool)(arg1
)->Ok();
10071 wxPyEndAllowThreads(__tstate
);
10072 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10083 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10084 PyObject
*resultobj
;
10085 wxImage
*arg1
= (wxImage
*) 0 ;
10087 PyObject
* obj0
= 0 ;
10088 char *kwnames
[] = {
10089 (char *) "self", NULL
10092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (int)(arg1
)->GetWidth();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_FromInt((int)result
);
10109 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10110 PyObject
*resultobj
;
10111 wxImage
*arg1
= (wxImage
*) 0 ;
10113 PyObject
* obj0
= 0 ;
10114 char *kwnames
[] = {
10115 (char *) "self", NULL
10118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10123 result
= (int)(arg1
)->GetHeight();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_FromInt((int)result
);
10135 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
;
10137 wxImage
*arg1
= (wxImage
*) 0 ;
10139 PyObject
* obj0
= 0 ;
10140 char *kwnames
[] = {
10141 (char *) "self", NULL
10144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 result
= wxImage_GetSize(arg1
);
10151 wxPyEndAllowThreads(__tstate
);
10152 if (PyErr_Occurred()) SWIG_fail
;
10155 wxSize
* resultptr
;
10156 resultptr
= new wxSize((wxSize
&) result
);
10157 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10165 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10166 PyObject
*resultobj
;
10167 wxImage
*arg1
= (wxImage
*) 0 ;
10169 SwigValueWrapper
< wxImage
> result
;
10171 PyObject
* obj0
= 0 ;
10172 PyObject
* obj1
= 0 ;
10173 char *kwnames
[] = {
10174 (char *) "self",(char *) "rect", NULL
10177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10182 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10192 wxImage
* resultptr
;
10193 resultptr
= new wxImage((wxImage
&) result
);
10194 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10202 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10203 PyObject
*resultobj
;
10204 wxImage
*arg1
= (wxImage
*) 0 ;
10205 SwigValueWrapper
< wxImage
> result
;
10206 PyObject
* obj0
= 0 ;
10207 char *kwnames
[] = {
10208 (char *) "self", NULL
10211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10216 result
= (arg1
)->Copy();
10218 wxPyEndAllowThreads(__tstate
);
10219 if (PyErr_Occurred()) SWIG_fail
;
10222 wxImage
* resultptr
;
10223 resultptr
= new wxImage((wxImage
&) result
);
10224 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10232 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxImage
*arg1
= (wxImage
*) 0 ;
10235 wxImage
*arg2
= 0 ;
10238 PyObject
* obj0
= 0 ;
10239 PyObject
* obj1
= 0 ;
10240 PyObject
* obj2
= 0 ;
10241 PyObject
* obj3
= 0 ;
10242 char *kwnames
[] = {
10243 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10249 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10250 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10252 if (arg2
== NULL
) {
10253 PyErr_SetString(PyExc_TypeError
,"null reference");
10256 arg3
= (int) SWIG_AsInt(obj2
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10258 arg4
= (int) SWIG_AsInt(obj3
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10262 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10264 wxPyEndAllowThreads(__tstate
);
10265 if (PyErr_Occurred()) SWIG_fail
;
10267 Py_INCREF(Py_None
); resultobj
= Py_None
;
10274 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxImage
*arg1
= (wxImage
*) 0 ;
10278 PyObject
* obj0
= 0 ;
10279 char *kwnames
[] = {
10280 (char *) "self", NULL
10283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (PyObject
*)wxImage_GetData(arg1
);
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= result
;
10300 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10301 PyObject
*resultobj
;
10302 wxImage
*arg1
= (wxImage
*) 0 ;
10303 PyObject
*arg2
= (PyObject
*) 0 ;
10304 PyObject
* obj0
= 0 ;
10305 PyObject
* obj1
= 0 ;
10306 char *kwnames
[] = {
10307 (char *) "self",(char *) "data", NULL
10310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 wxImage_SetData(arg1
,arg2
);
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 Py_INCREF(Py_None
); resultobj
= Py_None
;
10328 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10329 PyObject
*resultobj
;
10330 wxImage
*arg1
= (wxImage
*) 0 ;
10332 PyObject
* obj0
= 0 ;
10333 char *kwnames
[] = {
10334 (char *) "self", NULL
10337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10342 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10344 wxPyEndAllowThreads(__tstate
);
10345 if (PyErr_Occurred()) SWIG_fail
;
10347 resultobj
= result
;
10354 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10355 PyObject
*resultobj
;
10356 wxImage
*arg1
= (wxImage
*) 0 ;
10357 PyObject
*arg2
= (PyObject
*) 0 ;
10358 PyObject
* obj0
= 0 ;
10359 PyObject
* obj1
= 0 ;
10360 char *kwnames
[] = {
10361 (char *) "self",(char *) "data", NULL
10364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10370 wxImage_SetDataBuffer(arg1
,arg2
);
10372 wxPyEndAllowThreads(__tstate
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10375 Py_INCREF(Py_None
); resultobj
= Py_None
;
10382 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10383 PyObject
*resultobj
;
10384 wxImage
*arg1
= (wxImage
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 char *kwnames
[] = {
10388 (char *) "self", NULL
10391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10396 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10398 wxPyEndAllowThreads(__tstate
);
10399 if (PyErr_Occurred()) SWIG_fail
;
10401 resultobj
= result
;
10408 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10409 PyObject
*resultobj
;
10410 wxImage
*arg1
= (wxImage
*) 0 ;
10411 PyObject
*arg2
= (PyObject
*) 0 ;
10412 PyObject
* obj0
= 0 ;
10413 PyObject
* obj1
= 0 ;
10414 char *kwnames
[] = {
10415 (char *) "self",(char *) "data", NULL
10418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 wxImage_SetAlphaData(arg1
,arg2
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10429 Py_INCREF(Py_None
); resultobj
= Py_None
;
10436 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10437 PyObject
*resultobj
;
10438 wxImage
*arg1
= (wxImage
*) 0 ;
10440 PyObject
* obj0
= 0 ;
10441 char *kwnames
[] = {
10442 (char *) "self", NULL
10445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10450 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10452 wxPyEndAllowThreads(__tstate
);
10453 if (PyErr_Occurred()) SWIG_fail
;
10455 resultobj
= result
;
10462 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10463 PyObject
*resultobj
;
10464 wxImage
*arg1
= (wxImage
*) 0 ;
10465 PyObject
*arg2
= (PyObject
*) 0 ;
10466 PyObject
* obj0
= 0 ;
10467 PyObject
* obj1
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self",(char *) "data", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 wxImage_SetAlphaBuffer(arg1
,arg2
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 Py_INCREF(Py_None
); resultobj
= Py_None
;
10490 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxImage
*arg1
= (wxImage
*) 0 ;
10493 unsigned char arg2
;
10494 unsigned char arg3
;
10495 unsigned char arg4
;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 PyObject
* obj2
= 0 ;
10499 PyObject
* obj3
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10507 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10509 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10511 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxImage
*arg1
= (wxImage
*) 0 ;
10530 unsigned char result
;
10531 PyObject
* obj0
= 0 ;
10532 char *kwnames
[] = {
10533 (char *) "self", NULL
10536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10541 result
= (unsigned char)(arg1
)->GetMaskRed();
10543 wxPyEndAllowThreads(__tstate
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10546 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10553 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10554 PyObject
*resultobj
;
10555 wxImage
*arg1
= (wxImage
*) 0 ;
10556 unsigned char result
;
10557 PyObject
* obj0
= 0 ;
10558 char *kwnames
[] = {
10559 (char *) "self", NULL
10562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 result
= (unsigned char)(arg1
)->GetMaskGreen();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10579 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxImage
*arg1
= (wxImage
*) 0 ;
10582 unsigned char result
;
10583 PyObject
* obj0
= 0 ;
10584 char *kwnames
[] = {
10585 (char *) "self", NULL
10588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10593 result
= (unsigned char)(arg1
)->GetMaskBlue();
10595 wxPyEndAllowThreads(__tstate
);
10596 if (PyErr_Occurred()) SWIG_fail
;
10598 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10605 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10606 PyObject
*resultobj
;
10607 wxImage
*arg1
= (wxImage
*) 0 ;
10608 bool arg2
= (bool) True
;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char *kwnames
[] = {
10612 (char *) "self",(char *) "mask", NULL
10615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10619 arg2
= (bool) SWIG_AsBool(obj1
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10624 (arg1
)->SetMask(arg2
);
10626 wxPyEndAllowThreads(__tstate
);
10627 if (PyErr_Occurred()) SWIG_fail
;
10629 Py_INCREF(Py_None
); resultobj
= Py_None
;
10636 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxImage
*arg1
= (wxImage
*) 0 ;
10640 PyObject
* obj0
= 0 ;
10641 char *kwnames
[] = {
10642 (char *) "self", NULL
10645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10650 result
= (bool)(arg1
)->HasMask();
10652 wxPyEndAllowThreads(__tstate
);
10653 if (PyErr_Occurred()) SWIG_fail
;
10656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10664 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxImage
*arg1
= (wxImage
*) 0 ;
10668 wxPoint
*arg3
= 0 ;
10669 bool arg4
= (bool) True
;
10670 wxPoint
*arg5
= (wxPoint
*) NULL
;
10671 SwigValueWrapper
< wxImage
> result
;
10673 PyObject
* obj0
= 0 ;
10674 PyObject
* obj1
= 0 ;
10675 PyObject
* obj2
= 0 ;
10676 PyObject
* obj3
= 0 ;
10677 PyObject
* obj4
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 arg2
= (double) SWIG_AsDouble(obj1
);
10686 if (PyErr_Occurred()) SWIG_fail
;
10689 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10692 arg4
= (bool) SWIG_AsBool(obj3
);
10693 if (PyErr_Occurred()) SWIG_fail
;
10696 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10701 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10703 wxPyEndAllowThreads(__tstate
);
10704 if (PyErr_Occurred()) SWIG_fail
;
10707 wxImage
* resultptr
;
10708 resultptr
= new wxImage((wxImage
&) result
);
10709 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10717 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxImage
*arg1
= (wxImage
*) 0 ;
10720 bool arg2
= (bool) True
;
10721 SwigValueWrapper
< wxImage
> result
;
10722 PyObject
* obj0
= 0 ;
10723 PyObject
* obj1
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self",(char *) "clockwise", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10732 arg2
= (bool) SWIG_AsBool(obj1
);
10733 if (PyErr_Occurred()) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 result
= (arg1
)->Rotate90(arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10743 wxImage
* resultptr
;
10744 resultptr
= new wxImage((wxImage
&) result
);
10745 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10753 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10754 PyObject
*resultobj
;
10755 wxImage
*arg1
= (wxImage
*) 0 ;
10756 bool arg2
= (bool) True
;
10757 SwigValueWrapper
< wxImage
> result
;
10758 PyObject
* obj0
= 0 ;
10759 PyObject
* obj1
= 0 ;
10760 char *kwnames
[] = {
10761 (char *) "self",(char *) "horizontally", NULL
10764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10768 arg2
= (bool) SWIG_AsBool(obj1
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (arg1
)->Mirror(arg2
);
10775 wxPyEndAllowThreads(__tstate
);
10776 if (PyErr_Occurred()) SWIG_fail
;
10779 wxImage
* resultptr
;
10780 resultptr
= new wxImage((wxImage
&) result
);
10781 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10789 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10790 PyObject
*resultobj
;
10791 wxImage
*arg1
= (wxImage
*) 0 ;
10792 unsigned char arg2
;
10793 unsigned char arg3
;
10794 unsigned char arg4
;
10795 unsigned char arg5
;
10796 unsigned char arg6
;
10797 unsigned char arg7
;
10798 PyObject
* obj0
= 0 ;
10799 PyObject
* obj1
= 0 ;
10800 PyObject
* obj2
= 0 ;
10801 PyObject
* obj3
= 0 ;
10802 PyObject
* obj4
= 0 ;
10803 PyObject
* obj5
= 0 ;
10804 PyObject
* obj6
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10812 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10813 if (PyErr_Occurred()) SWIG_fail
;
10814 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10815 if (PyErr_Occurred()) SWIG_fail
;
10816 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10818 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10820 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10821 if (PyErr_Occurred()) SWIG_fail
;
10822 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10823 if (PyErr_Occurred()) SWIG_fail
;
10825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10826 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10828 wxPyEndAllowThreads(__tstate
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 Py_INCREF(Py_None
); resultobj
= Py_None
;
10838 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10839 PyObject
*resultobj
;
10840 wxImage
*arg1
= (wxImage
*) 0 ;
10841 unsigned char arg2
;
10842 unsigned char arg3
;
10843 unsigned char arg4
;
10844 SwigValueWrapper
< wxImage
> result
;
10845 PyObject
* obj0
= 0 ;
10846 PyObject
* obj1
= 0 ;
10847 PyObject
* obj2
= 0 ;
10848 PyObject
* obj3
= 0 ;
10849 char *kwnames
[] = {
10850 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10856 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10857 if (PyErr_Occurred()) SWIG_fail
;
10858 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10860 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 wxImage
* resultptr
;
10871 resultptr
= new wxImage((wxImage
&) result
);
10872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10880 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10881 PyObject
*resultobj
;
10882 wxImage
*arg1
= (wxImage
*) 0 ;
10883 wxString
*arg2
= 0 ;
10884 wxString
*arg3
= 0 ;
10885 bool temp2
= False
;
10886 bool temp3
= False
;
10887 PyObject
* obj0
= 0 ;
10888 PyObject
* obj1
= 0 ;
10889 PyObject
* obj2
= 0 ;
10890 char *kwnames
[] = {
10891 (char *) "self",(char *) "name",(char *) "value", NULL
10894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10898 arg2
= wxString_in_helper(obj1
);
10899 if (arg2
== NULL
) SWIG_fail
;
10903 arg3
= wxString_in_helper(obj2
);
10904 if (arg3
== NULL
) SWIG_fail
;
10908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10909 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10911 wxPyEndAllowThreads(__tstate
);
10912 if (PyErr_Occurred()) SWIG_fail
;
10914 Py_INCREF(Py_None
); resultobj
= Py_None
;
10937 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10938 PyObject
*resultobj
;
10939 wxImage
*arg1
= (wxImage
*) 0 ;
10940 wxString
*arg2
= 0 ;
10942 bool temp2
= False
;
10943 PyObject
* obj0
= 0 ;
10944 PyObject
* obj1
= 0 ;
10945 PyObject
* obj2
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self",(char *) "name",(char *) "value", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10954 arg2
= wxString_in_helper(obj1
);
10955 if (arg2
== NULL
) SWIG_fail
;
10958 arg3
= (int) SWIG_AsInt(obj2
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10962 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10964 wxPyEndAllowThreads(__tstate
);
10965 if (PyErr_Occurred()) SWIG_fail
;
10967 Py_INCREF(Py_None
); resultobj
= Py_None
;
10982 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxImage
*arg1
= (wxImage
*) 0 ;
10985 wxString
*arg2
= 0 ;
10987 bool temp2
= False
;
10988 PyObject
* obj0
= 0 ;
10989 PyObject
* obj1
= 0 ;
10990 char *kwnames
[] = {
10991 (char *) "self",(char *) "name", NULL
10994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10998 arg2
= wxString_in_helper(obj1
);
10999 if (arg2
== NULL
) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11030 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxImage
*arg1
= (wxImage
*) 0 ;
11033 wxString
*arg2
= 0 ;
11035 bool temp2
= False
;
11036 PyObject
* obj0
= 0 ;
11037 PyObject
* obj1
= 0 ;
11038 char *kwnames
[] = {
11039 (char *) "self",(char *) "name", NULL
11042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11046 arg2
= wxString_in_helper(obj1
);
11047 if (arg2
== NULL
) SWIG_fail
;
11051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11052 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11054 wxPyEndAllowThreads(__tstate
);
11055 if (PyErr_Occurred()) SWIG_fail
;
11057 resultobj
= SWIG_FromInt((int)result
);
11072 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11073 PyObject
*resultobj
;
11074 wxImage
*arg1
= (wxImage
*) 0 ;
11075 wxString
*arg2
= 0 ;
11077 bool temp2
= False
;
11078 PyObject
* obj0
= 0 ;
11079 PyObject
* obj1
= 0 ;
11080 char *kwnames
[] = {
11081 (char *) "self",(char *) "name", NULL
11084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11088 arg2
= wxString_in_helper(obj1
);
11089 if (arg2
== NULL
) SWIG_fail
;
11093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11094 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11100 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11116 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxImage
*arg1
= (wxImage
*) 0 ;
11119 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11120 unsigned long result
;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "stopafter", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11131 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11138 wxPyEndAllowThreads(__tstate
);
11139 if (PyErr_Occurred()) SWIG_fail
;
11141 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11148 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11149 PyObject
*resultobj
;
11150 wxImage
*arg1
= (wxImage
*) 0 ;
11151 wxImageHistogram
*arg2
= 0 ;
11152 unsigned long result
;
11153 PyObject
* obj0
= 0 ;
11154 PyObject
* obj1
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self",(char *) "h", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11162 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11163 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11165 if (arg2
== NULL
) {
11166 PyErr_SetString(PyExc_TypeError
,"null reference");
11170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11171 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11173 wxPyEndAllowThreads(__tstate
);
11174 if (PyErr_Occurred()) SWIG_fail
;
11176 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11183 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11184 PyObject
*resultobj
;
11185 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11186 PyObject
* obj0
= 0 ;
11187 char *kwnames
[] = {
11188 (char *) "handler", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11196 wxImage::AddHandler(arg1
);
11198 wxPyEndAllowThreads(__tstate
);
11199 if (PyErr_Occurred()) SWIG_fail
;
11201 Py_INCREF(Py_None
); resultobj
= Py_None
;
11208 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11209 PyObject
*resultobj
;
11210 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11211 PyObject
* obj0
= 0 ;
11212 char *kwnames
[] = {
11213 (char *) "handler", NULL
11216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11221 wxImage::InsertHandler(arg1
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11226 Py_INCREF(Py_None
); resultobj
= Py_None
;
11233 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11234 PyObject
*resultobj
;
11235 wxString
*arg1
= 0 ;
11237 bool temp1
= False
;
11238 PyObject
* obj0
= 0 ;
11239 char *kwnames
[] = {
11240 (char *) "name", NULL
11243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11245 arg1
= wxString_in_helper(obj0
);
11246 if (arg1
== NULL
) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11273 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
;
11276 char *kwnames
[] = {
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11283 result
= wxImage::GetImageExtWildcard();
11285 wxPyEndAllowThreads(__tstate
);
11286 if (PyErr_Occurred()) SWIG_fail
;
11290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11301 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11302 PyObject
*resultobj
;
11303 wxImage
*arg1
= (wxImage
*) 0 ;
11305 PyObject
* obj0
= 0 ;
11306 char *kwnames
[] = {
11307 (char *) "self", NULL
11310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11314 if (!wxPyCheckForApp()) SWIG_fail
;
11315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11316 result
= wxImage_ConvertToBitmap(arg1
);
11318 wxPyEndAllowThreads(__tstate
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11322 wxBitmap
* resultptr
;
11323 resultptr
= new wxBitmap((wxBitmap
&) result
);
11324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11332 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11333 PyObject
*resultobj
;
11334 wxImage
*arg1
= (wxImage
*) 0 ;
11335 unsigned char arg2
;
11336 unsigned char arg3
;
11337 unsigned char arg4
;
11339 PyObject
* obj0
= 0 ;
11340 PyObject
* obj1
= 0 ;
11341 PyObject
* obj2
= 0 ;
11342 PyObject
* obj3
= 0 ;
11343 char *kwnames
[] = {
11344 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11350 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11352 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11353 if (PyErr_Occurred()) SWIG_fail
;
11354 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11355 if (PyErr_Occurred()) SWIG_fail
;
11357 if (!wxPyCheckForApp()) SWIG_fail
;
11358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11359 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11361 wxPyEndAllowThreads(__tstate
);
11362 if (PyErr_Occurred()) SWIG_fail
;
11365 wxBitmap
* resultptr
;
11366 resultptr
= new wxBitmap((wxBitmap
&) result
);
11367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11375 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11377 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11378 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11380 return Py_BuildValue((char *)"");
11382 static int _wrap_NullImage_set(PyObject
*_val
) {
11383 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11388 static PyObject
*_wrap_NullImage_get() {
11391 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11396 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11397 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11402 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11407 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11409 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11416 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11417 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11422 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11427 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11429 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11436 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11437 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11442 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11447 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11449 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11456 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11457 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11462 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11467 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11469 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11476 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11477 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11482 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11487 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11489 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11496 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11497 PyObject
*resultobj
;
11498 wxBMPHandler
*result
;
11499 char *kwnames
[] = {
11503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11506 result
= (wxBMPHandler
*)new wxBMPHandler();
11508 wxPyEndAllowThreads(__tstate
);
11509 if (PyErr_Occurred()) SWIG_fail
;
11511 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11518 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11521 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11523 return Py_BuildValue((char *)"");
11525 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11526 PyObject
*resultobj
;
11527 wxICOHandler
*result
;
11528 char *kwnames
[] = {
11532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11535 result
= (wxICOHandler
*)new wxICOHandler();
11537 wxPyEndAllowThreads(__tstate
);
11538 if (PyErr_Occurred()) SWIG_fail
;
11540 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11547 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11549 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11550 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11552 return Py_BuildValue((char *)"");
11554 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxCURHandler
*result
;
11557 char *kwnames
[] = {
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11564 result
= (wxCURHandler
*)new wxCURHandler();
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11576 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11579 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11581 return Py_BuildValue((char *)"");
11583 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11584 PyObject
*resultobj
;
11585 wxANIHandler
*result
;
11586 char *kwnames
[] = {
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxANIHandler
*)new wxANIHandler();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11605 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11608 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11610 return Py_BuildValue((char *)"");
11612 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxPNGHandler
*result
;
11615 char *kwnames
[] = {
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11622 result
= (wxPNGHandler
*)new wxPNGHandler();
11624 wxPyEndAllowThreads(__tstate
);
11625 if (PyErr_Occurred()) SWIG_fail
;
11627 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11634 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11636 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11637 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11639 return Py_BuildValue((char *)"");
11641 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11642 PyObject
*resultobj
;
11643 wxGIFHandler
*result
;
11644 char *kwnames
[] = {
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 result
= (wxGIFHandler
*)new wxGIFHandler();
11653 wxPyEndAllowThreads(__tstate
);
11654 if (PyErr_Occurred()) SWIG_fail
;
11656 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11663 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11665 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11666 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11668 return Py_BuildValue((char *)"");
11670 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
;
11672 wxPCXHandler
*result
;
11673 char *kwnames
[] = {
11677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11680 result
= (wxPCXHandler
*)new wxPCXHandler();
11682 wxPyEndAllowThreads(__tstate
);
11683 if (PyErr_Occurred()) SWIG_fail
;
11685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11692 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11695 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11697 return Py_BuildValue((char *)"");
11699 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11700 PyObject
*resultobj
;
11701 wxJPEGHandler
*result
;
11702 char *kwnames
[] = {
11706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11709 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11711 wxPyEndAllowThreads(__tstate
);
11712 if (PyErr_Occurred()) SWIG_fail
;
11714 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11721 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11724 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11726 return Py_BuildValue((char *)"");
11728 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11729 PyObject
*resultobj
;
11730 wxPNMHandler
*result
;
11731 char *kwnames
[] = {
11735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11738 result
= (wxPNMHandler
*)new wxPNMHandler();
11740 wxPyEndAllowThreads(__tstate
);
11741 if (PyErr_Occurred()) SWIG_fail
;
11743 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11750 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11752 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11753 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11755 return Py_BuildValue((char *)"");
11757 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11758 PyObject
*resultobj
;
11759 wxXPMHandler
*result
;
11760 char *kwnames
[] = {
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 result
= (wxXPMHandler
*)new wxXPMHandler();
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11779 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11781 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11782 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11784 return Py_BuildValue((char *)"");
11786 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11787 PyObject
*resultobj
;
11788 wxTIFFHandler
*result
;
11789 char *kwnames
[] = {
11793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11796 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11798 wxPyEndAllowThreads(__tstate
);
11799 if (PyErr_Occurred()) SWIG_fail
;
11801 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11808 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11811 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11813 return Py_BuildValue((char *)"");
11815 static PyObject
*_wrap_Quantize_Quantize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11816 PyObject
*resultobj
;
11817 wxImage
*arg1
= 0 ;
11818 wxImage
*arg2
= 0 ;
11819 int arg3
= (int) 236 ;
11820 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
11822 PyObject
* obj0
= 0 ;
11823 PyObject
* obj1
= 0 ;
11824 PyObject
* obj2
= 0 ;
11825 PyObject
* obj3
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11834 if (arg1
== NULL
) {
11835 PyErr_SetString(PyExc_TypeError
,"null reference");
11838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
11839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11841 if (arg2
== NULL
) {
11842 PyErr_SetString(PyExc_TypeError
,"null reference");
11846 arg3
= (int) SWIG_AsInt(obj2
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11850 arg4
= (int) SWIG_AsInt(obj3
);
11851 if (PyErr_Occurred()) SWIG_fail
;
11854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11855 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
11857 wxPyEndAllowThreads(__tstate
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11869 static PyObject
* Quantize_swigregister(PyObject
*self
, PyObject
*args
) {
11871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11872 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
11874 return Py_BuildValue((char *)"");
11876 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxEvtHandler
*result
;
11879 char *kwnames
[] = {
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11886 result
= (wxEvtHandler
*)new wxEvtHandler();
11888 wxPyEndAllowThreads(__tstate
);
11889 if (PyErr_Occurred()) SWIG_fail
;
11891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11898 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11899 PyObject
*resultobj
;
11900 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11901 wxEvtHandler
*result
;
11902 PyObject
* obj0
= 0 ;
11903 char *kwnames
[] = {
11904 (char *) "self", NULL
11907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= wxPyMake_wxObject(result
, 0);
11926 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11927 PyObject
*resultobj
;
11928 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11929 wxEvtHandler
*result
;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11940 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= wxPyMake_wxObject(result
, 0);
11954 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
;
11956 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11957 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11958 PyObject
* obj0
= 0 ;
11959 PyObject
* obj1
= 0 ;
11960 char *kwnames
[] = {
11961 (char *) "self",(char *) "handler", NULL
11964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11971 (arg1
)->SetNextHandler(arg2
);
11973 wxPyEndAllowThreads(__tstate
);
11974 if (PyErr_Occurred()) SWIG_fail
;
11976 Py_INCREF(Py_None
); resultobj
= Py_None
;
11983 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11984 PyObject
*resultobj
;
11985 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11986 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11987 PyObject
* obj0
= 0 ;
11988 PyObject
* obj1
= 0 ;
11989 char *kwnames
[] = {
11990 (char *) "self",(char *) "handler", NULL
11993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12000 (arg1
)->SetPreviousHandler(arg2
);
12002 wxPyEndAllowThreads(__tstate
);
12003 if (PyErr_Occurred()) SWIG_fail
;
12005 Py_INCREF(Py_None
); resultobj
= Py_None
;
12012 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12013 PyObject
*resultobj
;
12014 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12016 PyObject
* obj0
= 0 ;
12017 char *kwnames
[] = {
12018 (char *) "self", NULL
12021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
12022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12026 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
12028 wxPyEndAllowThreads(__tstate
);
12029 if (PyErr_Occurred()) SWIG_fail
;
12032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12040 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12041 PyObject
*resultobj
;
12042 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12044 PyObject
* obj0
= 0 ;
12045 PyObject
* obj1
= 0 ;
12046 char *kwnames
[] = {
12047 (char *) "self",(char *) "enabled", NULL
12050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12053 arg2
= (bool) SWIG_AsBool(obj1
);
12054 if (PyErr_Occurred()) SWIG_fail
;
12056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12057 (arg1
)->SetEvtHandlerEnabled(arg2
);
12059 wxPyEndAllowThreads(__tstate
);
12060 if (PyErr_Occurred()) SWIG_fail
;
12062 Py_INCREF(Py_None
); resultobj
= Py_None
;
12069 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12070 PyObject
*resultobj
;
12071 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12072 wxEvent
*arg2
= 0 ;
12074 PyObject
* obj0
= 0 ;
12075 PyObject
* obj1
= 0 ;
12076 char *kwnames
[] = {
12077 (char *) "self",(char *) "event", NULL
12080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12083 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12084 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12086 if (arg2
== NULL
) {
12087 PyErr_SetString(PyExc_TypeError
,"null reference");
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12098 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12106 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12109 wxEvent
*arg2
= 0 ;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "event", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12119 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12122 if (arg2
== NULL
) {
12123 PyErr_SetString(PyExc_TypeError
,"null reference");
12127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12128 (arg1
)->AddPendingEvent(*arg2
);
12130 wxPyEndAllowThreads(__tstate
);
12131 if (PyErr_Occurred()) SWIG_fail
;
12133 Py_INCREF(Py_None
); resultobj
= Py_None
;
12140 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12141 PyObject
*resultobj
;
12142 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 (arg1
)->ProcessPendingEvents();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 Py_INCREF(Py_None
); resultobj
= Py_None
;
12165 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12171 PyObject
*arg5
= (PyObject
*) 0 ;
12172 PyObject
* obj0
= 0 ;
12173 PyObject
* obj1
= 0 ;
12174 PyObject
* obj2
= 0 ;
12175 PyObject
* obj3
= 0 ;
12176 PyObject
* obj4
= 0 ;
12177 char *kwnames
[] = {
12178 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12184 arg2
= (int) SWIG_AsInt(obj1
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12186 arg3
= (int) SWIG_AsInt(obj2
);
12187 if (PyErr_Occurred()) SWIG_fail
;
12188 arg4
= (int) SWIG_AsInt(obj3
);
12189 if (PyErr_Occurred()) SWIG_fail
;
12192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12193 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12195 wxPyEndAllowThreads(__tstate
);
12196 if (PyErr_Occurred()) SWIG_fail
;
12198 Py_INCREF(Py_None
); resultobj
= Py_None
;
12205 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12206 PyObject
*resultobj
;
12207 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12209 int arg3
= (int) -1 ;
12210 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12212 PyObject
* obj0
= 0 ;
12213 PyObject
* obj1
= 0 ;
12214 PyObject
* obj2
= 0 ;
12215 PyObject
* obj3
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12223 arg2
= (int) SWIG_AsInt(obj1
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 arg3
= (int) SWIG_AsInt(obj2
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12230 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12231 if (PyErr_Occurred()) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12249 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12252 PyObject
*arg2
= (PyObject
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char *kwnames
[] = {
12256 (char *) "self",(char *) "_self", NULL
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 wxEvtHandler__setOORInfo(arg1
,arg2
);
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 Py_INCREF(Py_None
); resultobj
= Py_None
;
12277 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12280 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12282 return Py_BuildValue((char *)"");
12284 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12285 PyObject
*resultobj
;
12286 wxEventType result
;
12287 char *kwnames
[] = {
12291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (wxEventType
)wxNewEventType();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= SWIG_FromInt((int)result
);
12306 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxEvent
*arg1
= (wxEvent
*) 0 ;
12309 PyObject
* obj0
= 0 ;
12310 char *kwnames
[] = {
12311 (char *) "self", NULL
12314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 Py_INCREF(Py_None
); resultobj
= Py_None
;
12331 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxEvent
*arg1
= (wxEvent
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 PyObject
* obj1
= 0 ;
12337 char *kwnames
[] = {
12338 (char *) "self",(char *) "typ", NULL
12341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12344 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12348 (arg1
)->SetEventType(arg2
);
12350 wxPyEndAllowThreads(__tstate
);
12351 if (PyErr_Occurred()) SWIG_fail
;
12353 Py_INCREF(Py_None
); resultobj
= Py_None
;
12360 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12361 PyObject
*resultobj
;
12362 wxEvent
*arg1
= (wxEvent
*) 0 ;
12363 wxEventType result
;
12364 PyObject
* obj0
= 0 ;
12365 char *kwnames
[] = {
12366 (char *) "self", NULL
12369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= SWIG_FromInt((int)result
);
12386 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxEvent
*arg1
= (wxEvent
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12406 resultobj
= wxPyMake_wxObject(result
, 0);
12414 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12415 PyObject
*resultobj
;
12416 wxEvent
*arg1
= (wxEvent
*) 0 ;
12417 wxObject
*arg2
= (wxObject
*) 0 ;
12418 PyObject
* obj0
= 0 ;
12419 PyObject
* obj1
= 0 ;
12420 char *kwnames
[] = {
12421 (char *) "self",(char *) "obj", NULL
12424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12431 (arg1
)->SetEventObject(arg2
);
12433 wxPyEndAllowThreads(__tstate
);
12434 if (PyErr_Occurred()) SWIG_fail
;
12436 Py_INCREF(Py_None
); resultobj
= Py_None
;
12443 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12444 PyObject
*resultobj
;
12445 wxEvent
*arg1
= (wxEvent
*) 0 ;
12447 PyObject
* obj0
= 0 ;
12448 char *kwnames
[] = {
12449 (char *) "self", NULL
12452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12457 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12459 wxPyEndAllowThreads(__tstate
);
12460 if (PyErr_Occurred()) SWIG_fail
;
12462 resultobj
= SWIG_FromLong((long)result
);
12469 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12470 PyObject
*resultobj
;
12471 wxEvent
*arg1
= (wxEvent
*) 0 ;
12472 long arg2
= (long) 0 ;
12473 PyObject
* obj0
= 0 ;
12474 PyObject
* obj1
= 0 ;
12475 char *kwnames
[] = {
12476 (char *) "self",(char *) "ts", NULL
12479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12483 arg2
= (long) SWIG_AsLong(obj1
);
12484 if (PyErr_Occurred()) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 (arg1
)->SetTimestamp(arg2
);
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 Py_INCREF(Py_None
); resultobj
= Py_None
;
12500 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxEvent
*arg1
= (wxEvent
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 char *kwnames
[] = {
12506 (char *) "self", NULL
12509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12514 result
= (int)((wxEvent
const *)arg1
)->GetId();
12516 wxPyEndAllowThreads(__tstate
);
12517 if (PyErr_Occurred()) SWIG_fail
;
12519 resultobj
= SWIG_FromInt((int)result
);
12526 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12527 PyObject
*resultobj
;
12528 wxEvent
*arg1
= (wxEvent
*) 0 ;
12530 PyObject
* obj0
= 0 ;
12531 PyObject
* obj1
= 0 ;
12532 char *kwnames
[] = {
12533 (char *) "self",(char *) "Id", NULL
12536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12539 arg2
= (int) SWIG_AsInt(obj1
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 (arg1
)->SetId(arg2
);
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 Py_INCREF(Py_None
); resultobj
= Py_None
;
12555 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12556 PyObject
*resultobj
;
12557 wxEvent
*arg1
= (wxEvent
*) 0 ;
12559 PyObject
* obj0
= 0 ;
12560 char *kwnames
[] = {
12561 (char *) "self", NULL
12564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12583 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxEvent
*arg1
= (wxEvent
*) 0 ;
12586 bool arg2
= (bool) True
;
12587 PyObject
* obj0
= 0 ;
12588 PyObject
* obj1
= 0 ;
12589 char *kwnames
[] = {
12590 (char *) "self",(char *) "skip", NULL
12593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12597 arg2
= (bool) SWIG_AsBool(obj1
);
12598 if (PyErr_Occurred()) SWIG_fail
;
12601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12602 (arg1
)->Skip(arg2
);
12604 wxPyEndAllowThreads(__tstate
);
12605 if (PyErr_Occurred()) SWIG_fail
;
12607 Py_INCREF(Py_None
); resultobj
= Py_None
;
12614 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12615 PyObject
*resultobj
;
12616 wxEvent
*arg1
= (wxEvent
*) 0 ;
12618 PyObject
* obj0
= 0 ;
12619 char *kwnames
[] = {
12620 (char *) "self", NULL
12623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12630 wxPyEndAllowThreads(__tstate
);
12631 if (PyErr_Occurred()) SWIG_fail
;
12634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12642 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12643 PyObject
*resultobj
;
12644 wxEvent
*arg1
= (wxEvent
*) 0 ;
12646 PyObject
* obj0
= 0 ;
12647 char *kwnames
[] = {
12648 (char *) "self", NULL
12651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12656 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12658 wxPyEndAllowThreads(__tstate
);
12659 if (PyErr_Occurred()) SWIG_fail
;
12662 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12670 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12671 PyObject
*resultobj
;
12672 wxEvent
*arg1
= (wxEvent
*) 0 ;
12674 PyObject
* obj0
= 0 ;
12675 char *kwnames
[] = {
12676 (char *) "self", NULL
12679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12684 result
= (int)(arg1
)->StopPropagation();
12686 wxPyEndAllowThreads(__tstate
);
12687 if (PyErr_Occurred()) SWIG_fail
;
12689 resultobj
= SWIG_FromInt((int)result
);
12696 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12697 PyObject
*resultobj
;
12698 wxEvent
*arg1
= (wxEvent
*) 0 ;
12700 PyObject
* obj0
= 0 ;
12701 PyObject
* obj1
= 0 ;
12702 char *kwnames
[] = {
12703 (char *) "self",(char *) "propagationLevel", NULL
12706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12709 arg2
= (int) SWIG_AsInt(obj1
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12713 (arg1
)->ResumePropagation(arg2
);
12715 wxPyEndAllowThreads(__tstate
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 Py_INCREF(Py_None
); resultobj
= Py_None
;
12725 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12726 PyObject
*resultobj
;
12727 wxEvent
*arg1
= (wxEvent
*) 0 ;
12729 PyObject
* obj0
= 0 ;
12730 char *kwnames
[] = {
12731 (char *) "self", NULL
12734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12739 result
= (wxEvent
*)(arg1
)->Clone();
12741 wxPyEndAllowThreads(__tstate
);
12742 if (PyErr_Occurred()) SWIG_fail
;
12744 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12751 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12754 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12756 return Py_BuildValue((char *)"");
12758 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxEvent
*arg1
= 0 ;
12761 wxPropagationDisabler
*result
;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "event", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12771 if (arg1
== NULL
) {
12772 PyErr_SetString(PyExc_TypeError
,"null reference");
12776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12777 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12779 wxPyEndAllowThreads(__tstate
);
12780 if (PyErr_Occurred()) SWIG_fail
;
12782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12789 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 Py_INCREF(Py_None
); resultobj
= Py_None
;
12814 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12817 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12819 return Py_BuildValue((char *)"");
12821 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxEvent
*arg1
= 0 ;
12824 wxPropagateOnce
*result
;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "event", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12834 if (arg1
== NULL
) {
12835 PyErr_SetString(PyExc_TypeError
,"null reference");
12839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12840 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12842 wxPyEndAllowThreads(__tstate
);
12843 if (PyErr_Occurred()) SWIG_fail
;
12845 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12852 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12855 PyObject
* obj0
= 0 ;
12856 char *kwnames
[] = {
12857 (char *) "self", NULL
12860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 Py_INCREF(Py_None
); resultobj
= Py_None
;
12877 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12880 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12882 return Py_BuildValue((char *)"");
12884 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12885 PyObject
*resultobj
;
12886 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12887 int arg2
= (int) 0 ;
12888 wxCommandEvent
*result
;
12889 PyObject
* obj0
= 0 ;
12890 PyObject
* obj1
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "commandType",(char *) "winid", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12898 if (PyErr_Occurred()) SWIG_fail
;
12901 arg2
= (int) SWIG_AsInt(obj1
);
12902 if (PyErr_Occurred()) SWIG_fail
;
12905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12906 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12908 wxPyEndAllowThreads(__tstate
);
12909 if (PyErr_Occurred()) SWIG_fail
;
12911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12918 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12919 PyObject
*resultobj
;
12920 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12922 PyObject
* obj0
= 0 ;
12923 char *kwnames
[] = {
12924 (char *) "self", NULL
12927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12934 wxPyEndAllowThreads(__tstate
);
12935 if (PyErr_Occurred()) SWIG_fail
;
12937 resultobj
= SWIG_FromInt((int)result
);
12944 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12945 PyObject
*resultobj
;
12946 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12947 wxString
*arg2
= 0 ;
12948 bool temp2
= False
;
12949 PyObject
* obj0
= 0 ;
12950 PyObject
* obj1
= 0 ;
12951 char *kwnames
[] = {
12952 (char *) "self",(char *) "s", NULL
12955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12959 arg2
= wxString_in_helper(obj1
);
12960 if (arg2
== NULL
) SWIG_fail
;
12964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12965 (arg1
)->SetString((wxString
const &)*arg2
);
12967 wxPyEndAllowThreads(__tstate
);
12968 if (PyErr_Occurred()) SWIG_fail
;
12970 Py_INCREF(Py_None
); resultobj
= Py_None
;
12985 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 char *kwnames
[] = {
12991 (char *) "self", NULL
12994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12999 result
= ((wxCommandEvent
const *)arg1
)->GetString();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
13008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
13017 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 char *kwnames
[] = {
13023 (char *) "self", NULL
13026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
13027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13031 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13033 wxPyEndAllowThreads(__tstate
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13045 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13046 PyObject
*resultobj
;
13047 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13049 PyObject
* obj0
= 0 ;
13050 char *kwnames
[] = {
13051 (char *) "self", NULL
13054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13059 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13061 wxPyEndAllowThreads(__tstate
);
13062 if (PyErr_Occurred()) SWIG_fail
;
13065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13073 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13074 PyObject
*resultobj
;
13075 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char *kwnames
[] = {
13080 (char *) "self",(char *) "extraLong", NULL
13083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13086 arg2
= (long) SWIG_AsLong(obj1
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 (arg1
)->SetExtraLong(arg2
);
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 Py_INCREF(Py_None
); resultobj
= Py_None
;
13102 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13103 PyObject
*resultobj
;
13104 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13106 PyObject
* obj0
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13116 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13118 wxPyEndAllowThreads(__tstate
);
13119 if (PyErr_Occurred()) SWIG_fail
;
13121 resultobj
= SWIG_FromLong((long)result
);
13128 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 PyObject
* obj1
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "self",(char *) "i", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13141 arg2
= (int) SWIG_AsInt(obj1
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13145 (arg1
)->SetInt(arg2
);
13147 wxPyEndAllowThreads(__tstate
);
13148 if (PyErr_Occurred()) SWIG_fail
;
13150 Py_INCREF(Py_None
); resultobj
= Py_None
;
13157 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 char *kwnames
[] = {
13163 (char *) "self", NULL
13166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13171 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13173 wxPyEndAllowThreads(__tstate
);
13174 if (PyErr_Occurred()) SWIG_fail
;
13176 resultobj
= SWIG_FromLong((long)result
);
13183 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13184 PyObject
*resultobj
;
13185 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13187 PyObject
* obj0
= 0 ;
13188 char *kwnames
[] = {
13189 (char *) "self", NULL
13192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13197 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13199 wxPyEndAllowThreads(__tstate
);
13200 if (PyErr_Occurred()) SWIG_fail
;
13202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13209 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13212 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13214 return Py_BuildValue((char *)"");
13216 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13217 PyObject
*resultobj
;
13218 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13219 int arg2
= (int) 0 ;
13220 wxNotifyEvent
*result
;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "commandType",(char *) "winid", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13229 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13230 if (PyErr_Occurred()) SWIG_fail
;
13233 arg2
= (int) SWIG_AsInt(obj1
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13238 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13240 wxPyEndAllowThreads(__tstate
);
13241 if (PyErr_Occurred()) SWIG_fail
;
13243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13250 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13251 PyObject
*resultobj
;
13252 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13276 PyObject
*resultobj
;
13277 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13278 PyObject
* obj0
= 0 ;
13279 char *kwnames
[] = {
13280 (char *) "self", NULL
13283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13290 wxPyEndAllowThreads(__tstate
);
13291 if (PyErr_Occurred()) SWIG_fail
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13314 result
= (bool)(arg1
)->IsAllowed();
13316 wxPyEndAllowThreads(__tstate
);
13317 if (PyErr_Occurred()) SWIG_fail
;
13320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13328 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13331 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13333 return Py_BuildValue((char *)"");
13335 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13336 PyObject
*resultobj
;
13337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13338 int arg2
= (int) 0 ;
13339 int arg3
= (int) 0 ;
13340 int arg4
= (int) 0 ;
13341 wxScrollEvent
*result
;
13342 PyObject
* obj0
= 0 ;
13343 PyObject
* obj1
= 0 ;
13344 PyObject
* obj2
= 0 ;
13345 PyObject
* obj3
= 0 ;
13346 char *kwnames
[] = {
13347 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13352 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13353 if (PyErr_Occurred()) SWIG_fail
;
13356 arg2
= (int) SWIG_AsInt(obj1
);
13357 if (PyErr_Occurred()) SWIG_fail
;
13360 arg3
= (int) SWIG_AsInt(obj2
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13364 arg4
= (int) SWIG_AsInt(obj3
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13369 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13371 wxPyEndAllowThreads(__tstate
);
13372 if (PyErr_Occurred()) SWIG_fail
;
13374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13381 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13382 PyObject
*resultobj
;
13383 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13385 PyObject
* obj0
= 0 ;
13386 char *kwnames
[] = {
13387 (char *) "self", NULL
13390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13395 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13397 wxPyEndAllowThreads(__tstate
);
13398 if (PyErr_Occurred()) SWIG_fail
;
13400 resultobj
= SWIG_FromInt((int)result
);
13407 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13408 PyObject
*resultobj
;
13409 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13411 PyObject
* obj0
= 0 ;
13412 char *kwnames
[] = {
13413 (char *) "self", NULL
13416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13421 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13423 wxPyEndAllowThreads(__tstate
);
13424 if (PyErr_Occurred()) SWIG_fail
;
13426 resultobj
= SWIG_FromInt((int)result
);
13433 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13434 PyObject
*resultobj
;
13435 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "orient", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 arg2
= (int) SWIG_AsInt(obj1
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 (arg1
)->SetOrientation(arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 Py_INCREF(Py_None
); resultobj
= Py_None
;
13462 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13466 PyObject
* obj0
= 0 ;
13467 PyObject
* obj1
= 0 ;
13468 char *kwnames
[] = {
13469 (char *) "self",(char *) "pos", NULL
13472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13475 arg2
= (int) SWIG_AsInt(obj1
);
13476 if (PyErr_Occurred()) SWIG_fail
;
13478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13479 (arg1
)->SetPosition(arg2
);
13481 wxPyEndAllowThreads(__tstate
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13484 Py_INCREF(Py_None
); resultobj
= Py_None
;
13491 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13493 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13494 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13496 return Py_BuildValue((char *)"");
13498 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13499 PyObject
*resultobj
;
13500 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13501 int arg2
= (int) 0 ;
13502 int arg3
= (int) 0 ;
13503 wxScrollWinEvent
*result
;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 PyObject
* obj2
= 0 ;
13507 char *kwnames
[] = {
13508 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13513 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13514 if (PyErr_Occurred()) SWIG_fail
;
13517 arg2
= (int) SWIG_AsInt(obj1
);
13518 if (PyErr_Occurred()) SWIG_fail
;
13521 arg3
= (int) SWIG_AsInt(obj2
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13526 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13528 wxPyEndAllowThreads(__tstate
);
13529 if (PyErr_Occurred()) SWIG_fail
;
13531 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13538 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13539 PyObject
*resultobj
;
13540 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13542 PyObject
* obj0
= 0 ;
13543 char *kwnames
[] = {
13544 (char *) "self", NULL
13547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= SWIG_FromInt((int)result
);
13564 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13578 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13580 wxPyEndAllowThreads(__tstate
);
13581 if (PyErr_Occurred()) SWIG_fail
;
13583 resultobj
= SWIG_FromInt((int)result
);
13590 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13591 PyObject
*resultobj
;
13592 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13594 PyObject
* obj0
= 0 ;
13595 PyObject
* obj1
= 0 ;
13596 char *kwnames
[] = {
13597 (char *) "self",(char *) "orient", NULL
13600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13603 arg2
= (int) SWIG_AsInt(obj1
);
13604 if (PyErr_Occurred()) SWIG_fail
;
13606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13607 (arg1
)->SetOrientation(arg2
);
13609 wxPyEndAllowThreads(__tstate
);
13610 if (PyErr_Occurred()) SWIG_fail
;
13612 Py_INCREF(Py_None
); resultobj
= Py_None
;
13619 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13623 PyObject
* obj0
= 0 ;
13624 PyObject
* obj1
= 0 ;
13625 char *kwnames
[] = {
13626 (char *) "self",(char *) "pos", NULL
13629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13632 arg2
= (int) SWIG_AsInt(obj1
);
13633 if (PyErr_Occurred()) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 (arg1
)->SetPosition(arg2
);
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 Py_INCREF(Py_None
); resultobj
= Py_None
;
13648 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13650 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13651 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13653 return Py_BuildValue((char *)"");
13655 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13658 wxMouseEvent
*result
;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "mouseType", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13666 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= wxPyMake_wxObject(result
, 1);
13685 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13686 PyObject
*resultobj
;
13687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13689 PyObject
* obj0
= 0 ;
13690 char *kwnames
[] = {
13691 (char *) "self", NULL
13694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13713 static PyObject
*_wrap_MouseEvent_ButtonDown(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_ButtonDown",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
)->ButtonDown(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_ButtonDClick(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_ButtonDClick",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
)->ButtonDClick(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_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13782 PyObject
*resultobj
;
13783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13784 int arg2
= (int) wxMOUSE_BTN_ANY
;
13786 PyObject
* obj0
= 0 ;
13787 PyObject
* obj1
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self",(char *) "but", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13796 arg2
= (int) SWIG_AsInt(obj1
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13803 wxPyEndAllowThreads(__tstate
);
13804 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13815 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13816 PyObject
*resultobj
;
13817 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13820 PyObject
* obj0
= 0 ;
13821 PyObject
* obj1
= 0 ;
13822 char *kwnames
[] = {
13823 (char *) "self",(char *) "but", NULL
13826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13829 arg2
= (int) SWIG_AsInt(obj1
);
13830 if (PyErr_Occurred()) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13847 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13852 PyObject
* obj0
= 0 ;
13853 PyObject
* obj1
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self",(char *) "but", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13861 arg2
= (int) SWIG_AsInt(obj1
);
13862 if (PyErr_Occurred()) SWIG_fail
;
13864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13865 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13867 wxPyEndAllowThreads(__tstate
);
13868 if (PyErr_Occurred()) SWIG_fail
;
13871 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13879 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13880 PyObject
*resultobj
;
13881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13883 PyObject
* obj0
= 0 ;
13884 char *kwnames
[] = {
13885 (char *) "self", NULL
13888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13893 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13895 wxPyEndAllowThreads(__tstate
);
13896 if (PyErr_Occurred()) SWIG_fail
;
13898 resultobj
= SWIG_FromInt((int)result
);
13905 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13933 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13989 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14017 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14073 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14101 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14129 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14241 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14297 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14298 PyObject
*resultobj
;
14299 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14301 PyObject
* obj0
= 0 ;
14302 char *kwnames
[] = {
14303 (char *) "self", NULL
14306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14311 result
= (bool)(arg1
)->LeftIsDown();
14313 wxPyEndAllowThreads(__tstate
);
14314 if (PyErr_Occurred()) SWIG_fail
;
14317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14325 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14326 PyObject
*resultobj
;
14327 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14329 PyObject
* obj0
= 0 ;
14330 char *kwnames
[] = {
14331 (char *) "self", NULL
14334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14339 result
= (bool)(arg1
)->MiddleIsDown();
14341 wxPyEndAllowThreads(__tstate
);
14342 if (PyErr_Occurred()) SWIG_fail
;
14345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14353 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14357 PyObject
* obj0
= 0 ;
14358 char *kwnames
[] = {
14359 (char *) "self", NULL
14362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14367 result
= (bool)(arg1
)->RightIsDown();
14369 wxPyEndAllowThreads(__tstate
);
14370 if (PyErr_Occurred()) SWIG_fail
;
14373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14381 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14382 PyObject
*resultobj
;
14383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14385 PyObject
* obj0
= 0 ;
14386 char *kwnames
[] = {
14387 (char *) "self", NULL
14390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14395 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14397 wxPyEndAllowThreads(__tstate
);
14398 if (PyErr_Occurred()) SWIG_fail
;
14401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14409 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14410 PyObject
*resultobj
;
14411 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14413 PyObject
* obj0
= 0 ;
14414 char *kwnames
[] = {
14415 (char *) "self", NULL
14418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14423 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14425 wxPyEndAllowThreads(__tstate
);
14426 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14437 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14451 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14493 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14494 PyObject
*resultobj
;
14495 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14497 PyObject
* obj0
= 0 ;
14498 char *kwnames
[] = {
14499 (char *) "self", NULL
14502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14507 result
= (arg1
)->GetPosition();
14509 wxPyEndAllowThreads(__tstate
);
14510 if (PyErr_Occurred()) SWIG_fail
;
14513 wxPoint
* resultptr
;
14514 resultptr
= new wxPoint((wxPoint
&) result
);
14515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14523 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14526 long *arg2
= (long *) 0 ;
14527 long *arg3
= (long *) 0 ;
14530 PyObject
* obj0
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 (arg1
)->GetPosition(arg2
,arg3
);
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 Py_INCREF(Py_None
); resultobj
= Py_None
;
14549 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14550 resultobj
= t_output_helper(resultobj
,o
);
14553 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14554 resultobj
= t_output_helper(resultobj
,o
);
14562 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
;
14564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14567 PyObject
* obj0
= 0 ;
14568 PyObject
* obj1
= 0 ;
14569 char *kwnames
[] = {
14570 (char *) "self",(char *) "dc", NULL
14573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14579 if (arg2
== NULL
) {
14580 PyErr_SetString(PyExc_TypeError
,"null reference");
14584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14585 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14587 wxPyEndAllowThreads(__tstate
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14591 wxPoint
* resultptr
;
14592 resultptr
= new wxPoint((wxPoint
&) result
);
14593 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14601 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14602 PyObject
*resultobj
;
14603 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14605 PyObject
* obj0
= 0 ;
14606 char *kwnames
[] = {
14607 (char *) "self", NULL
14610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14615 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14617 wxPyEndAllowThreads(__tstate
);
14618 if (PyErr_Occurred()) SWIG_fail
;
14620 resultobj
= SWIG_FromInt((int)result
);
14627 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14628 PyObject
*resultobj
;
14629 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14631 PyObject
* obj0
= 0 ;
14632 char *kwnames
[] = {
14633 (char *) "self", NULL
14636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14641 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14643 wxPyEndAllowThreads(__tstate
);
14644 if (PyErr_Occurred()) SWIG_fail
;
14646 resultobj
= SWIG_FromInt((int)result
);
14653 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14654 PyObject
*resultobj
;
14655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14657 PyObject
* obj0
= 0 ;
14658 char *kwnames
[] = {
14659 (char *) "self", NULL
14662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14667 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14669 wxPyEndAllowThreads(__tstate
);
14670 if (PyErr_Occurred()) SWIG_fail
;
14672 resultobj
= SWIG_FromInt((int)result
);
14679 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14680 PyObject
*resultobj
;
14681 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14683 PyObject
* obj0
= 0 ;
14684 char *kwnames
[] = {
14685 (char *) "self", NULL
14688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14693 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14695 wxPyEndAllowThreads(__tstate
);
14696 if (PyErr_Occurred()) SWIG_fail
;
14698 resultobj
= SWIG_FromInt((int)result
);
14705 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= SWIG_FromInt((int)result
);
14731 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14745 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14747 wxPyEndAllowThreads(__tstate
);
14748 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14759 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14760 PyObject
*resultobj
;
14761 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14763 PyObject
* obj0
= 0 ;
14764 PyObject
* obj1
= 0 ;
14765 char *kwnames
[] = {
14766 (char *) "self",(char *) "m_x", NULL
14769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14772 arg2
= (int) SWIG_AsInt(obj1
);
14773 if (PyErr_Occurred()) SWIG_fail
;
14774 if (arg1
) (arg1
)->m_x
= arg2
;
14776 Py_INCREF(Py_None
); resultobj
= Py_None
;
14783 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14787 PyObject
* obj0
= 0 ;
14788 char *kwnames
[] = {
14789 (char *) "self", NULL
14792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14795 result
= (int) ((arg1
)->m_x
);
14797 resultobj
= SWIG_FromInt((int)result
);
14804 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14805 PyObject
*resultobj
;
14806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14808 PyObject
* obj0
= 0 ;
14809 PyObject
* obj1
= 0 ;
14810 char *kwnames
[] = {
14811 (char *) "self",(char *) "m_y", NULL
14814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14817 arg2
= (int) SWIG_AsInt(obj1
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14819 if (arg1
) (arg1
)->m_y
= arg2
;
14821 Py_INCREF(Py_None
); resultobj
= Py_None
;
14828 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14829 PyObject
*resultobj
;
14830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14832 PyObject
* obj0
= 0 ;
14833 char *kwnames
[] = {
14834 (char *) "self", NULL
14837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14840 result
= (int) ((arg1
)->m_y
);
14842 resultobj
= SWIG_FromInt((int)result
);
14849 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14853 PyObject
* obj0
= 0 ;
14854 PyObject
* obj1
= 0 ;
14855 char *kwnames
[] = {
14856 (char *) "self",(char *) "m_leftDown", NULL
14859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14862 arg2
= (bool) SWIG_AsBool(obj1
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14864 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14866 Py_INCREF(Py_None
); resultobj
= Py_None
;
14873 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14877 PyObject
* obj0
= 0 ;
14878 char *kwnames
[] = {
14879 (char *) "self", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14885 result
= (bool) ((arg1
)->m_leftDown
);
14888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14896 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14897 PyObject
*resultobj
;
14898 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14900 PyObject
* obj0
= 0 ;
14901 PyObject
* obj1
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self",(char *) "m_middleDown", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14909 arg2
= (bool) SWIG_AsBool(obj1
);
14910 if (PyErr_Occurred()) SWIG_fail
;
14911 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14913 Py_INCREF(Py_None
); resultobj
= Py_None
;
14920 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14921 PyObject
*resultobj
;
14922 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14924 PyObject
* obj0
= 0 ;
14925 char *kwnames
[] = {
14926 (char *) "self", NULL
14929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14932 result
= (bool) ((arg1
)->m_middleDown
);
14935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14943 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14947 PyObject
* obj0
= 0 ;
14948 PyObject
* obj1
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "self",(char *) "m_rightDown", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14956 arg2
= (bool) SWIG_AsBool(obj1
);
14957 if (PyErr_Occurred()) SWIG_fail
;
14958 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14960 Py_INCREF(Py_None
); resultobj
= Py_None
;
14967 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14968 PyObject
*resultobj
;
14969 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14971 PyObject
* obj0
= 0 ;
14972 char *kwnames
[] = {
14973 (char *) "self", NULL
14976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14979 result
= (bool) ((arg1
)->m_rightDown
);
14982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14990 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14991 PyObject
*resultobj
;
14992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14994 PyObject
* obj0
= 0 ;
14995 PyObject
* obj1
= 0 ;
14996 char *kwnames
[] = {
14997 (char *) "self",(char *) "m_controlDown", NULL
15000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15003 arg2
= (bool) SWIG_AsBool(obj1
);
15004 if (PyErr_Occurred()) SWIG_fail
;
15005 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15007 Py_INCREF(Py_None
); resultobj
= Py_None
;
15014 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15015 PyObject
*resultobj
;
15016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15018 PyObject
* obj0
= 0 ;
15019 char *kwnames
[] = {
15020 (char *) "self", NULL
15023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15026 result
= (bool) ((arg1
)->m_controlDown
);
15029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15037 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15038 PyObject
*resultobj
;
15039 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15041 PyObject
* obj0
= 0 ;
15042 PyObject
* obj1
= 0 ;
15043 char *kwnames
[] = {
15044 (char *) "self",(char *) "m_shiftDown", NULL
15047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15050 arg2
= (bool) SWIG_AsBool(obj1
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15052 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15054 Py_INCREF(Py_None
); resultobj
= Py_None
;
15061 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15073 result
= (bool) ((arg1
)->m_shiftDown
);
15076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15084 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15085 PyObject
*resultobj
;
15086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15088 PyObject
* obj0
= 0 ;
15089 PyObject
* obj1
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self",(char *) "m_altDown", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15097 arg2
= (bool) SWIG_AsBool(obj1
);
15098 if (PyErr_Occurred()) SWIG_fail
;
15099 if (arg1
) (arg1
)->m_altDown
= arg2
;
15101 Py_INCREF(Py_None
); resultobj
= Py_None
;
15108 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15109 PyObject
*resultobj
;
15110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15112 PyObject
* obj0
= 0 ;
15113 char *kwnames
[] = {
15114 (char *) "self", NULL
15117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15120 result
= (bool) ((arg1
)->m_altDown
);
15123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15131 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15132 PyObject
*resultobj
;
15133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15135 PyObject
* obj0
= 0 ;
15136 PyObject
* obj1
= 0 ;
15137 char *kwnames
[] = {
15138 (char *) "self",(char *) "m_metaDown", NULL
15141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15144 arg2
= (bool) SWIG_AsBool(obj1
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15146 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15148 Py_INCREF(Py_None
); resultobj
= Py_None
;
15155 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15156 PyObject
*resultobj
;
15157 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15159 PyObject
* obj0
= 0 ;
15160 char *kwnames
[] = {
15161 (char *) "self", NULL
15164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15167 result
= (bool) ((arg1
)->m_metaDown
);
15170 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15178 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char *kwnames
[] = {
15185 (char *) "self",(char *) "m_wheelRotation", NULL
15188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15191 arg2
= (int) SWIG_AsInt(obj1
);
15192 if (PyErr_Occurred()) SWIG_fail
;
15193 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15195 Py_INCREF(Py_None
); resultobj
= Py_None
;
15202 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15203 PyObject
*resultobj
;
15204 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15206 PyObject
* obj0
= 0 ;
15207 char *kwnames
[] = {
15208 (char *) "self", NULL
15211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15214 result
= (int) ((arg1
)->m_wheelRotation
);
15216 resultobj
= SWIG_FromInt((int)result
);
15223 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15224 PyObject
*resultobj
;
15225 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15227 PyObject
* obj0
= 0 ;
15228 PyObject
* obj1
= 0 ;
15229 char *kwnames
[] = {
15230 (char *) "self",(char *) "m_wheelDelta", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15236 arg2
= (int) SWIG_AsInt(obj1
);
15237 if (PyErr_Occurred()) SWIG_fail
;
15238 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15240 Py_INCREF(Py_None
); resultobj
= Py_None
;
15247 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15248 PyObject
*resultobj
;
15249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15251 PyObject
* obj0
= 0 ;
15252 char *kwnames
[] = {
15253 (char *) "self", NULL
15256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15259 result
= (int) ((arg1
)->m_wheelDelta
);
15261 resultobj
= SWIG_FromInt((int)result
);
15268 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15269 PyObject
*resultobj
;
15270 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15272 PyObject
* obj0
= 0 ;
15273 PyObject
* obj1
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self",(char *) "m_linesPerAction", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15281 arg2
= (int) SWIG_AsInt(obj1
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15283 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15285 Py_INCREF(Py_None
); resultobj
= Py_None
;
15292 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15293 PyObject
*resultobj
;
15294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15296 PyObject
* obj0
= 0 ;
15297 char *kwnames
[] = {
15298 (char *) "self", NULL
15301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15304 result
= (int) ((arg1
)->m_linesPerAction
);
15306 resultobj
= SWIG_FromInt((int)result
);
15313 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15315 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15316 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15318 return Py_BuildValue((char *)"");
15320 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15321 PyObject
*resultobj
;
15322 int arg1
= (int) 0 ;
15323 int arg2
= (int) 0 ;
15324 wxSetCursorEvent
*result
;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "x",(char *) "y", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15333 arg1
= (int) SWIG_AsInt(obj0
);
15334 if (PyErr_Occurred()) SWIG_fail
;
15337 arg2
= (int) SWIG_AsInt(obj1
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15354 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15355 PyObject
*resultobj
;
15356 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15358 PyObject
* obj0
= 0 ;
15359 char *kwnames
[] = {
15360 (char *) "self", NULL
15363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= SWIG_FromInt((int)result
);
15380 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 char *kwnames
[] = {
15386 (char *) "self", NULL
15389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15394 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15396 wxPyEndAllowThreads(__tstate
);
15397 if (PyErr_Occurred()) SWIG_fail
;
15399 resultobj
= SWIG_FromInt((int)result
);
15406 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15407 PyObject
*resultobj
;
15408 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15409 wxCursor
*arg2
= 0 ;
15410 PyObject
* obj0
= 0 ;
15411 PyObject
* obj1
= 0 ;
15412 char *kwnames
[] = {
15413 (char *) "self",(char *) "cursor", NULL
15416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15420 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15422 if (arg2
== NULL
) {
15423 PyErr_SetString(PyExc_TypeError
,"null reference");
15427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15428 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15430 wxPyEndAllowThreads(__tstate
);
15431 if (PyErr_Occurred()) SWIG_fail
;
15433 Py_INCREF(Py_None
); resultobj
= Py_None
;
15440 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15455 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15456 result
= (wxCursor
*) &_result_ref
;
15459 wxPyEndAllowThreads(__tstate
);
15460 if (PyErr_Occurred()) SWIG_fail
;
15463 wxCursor
* resultptr
= new wxCursor(*result
);
15464 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15472 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15473 PyObject
*resultobj
;
15474 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15476 PyObject
* obj0
= 0 ;
15477 char *kwnames
[] = {
15478 (char *) "self", NULL
15481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15492 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15500 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15505 return Py_BuildValue((char *)"");
15507 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15510 wxKeyEvent
*result
;
15511 PyObject
* obj0
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "keyType", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15518 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15519 if (PyErr_Occurred()) SWIG_fail
;
15522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15523 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15525 wxPyEndAllowThreads(__tstate
);
15526 if (PyErr_Occurred()) SWIG_fail
;
15528 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15535 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15536 PyObject
*resultobj
;
15537 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15539 PyObject
* obj0
= 0 ;
15540 char *kwnames
[] = {
15541 (char *) "self", NULL
15544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15563 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15564 PyObject
*resultobj
;
15565 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15567 PyObject
* obj0
= 0 ;
15568 char *kwnames
[] = {
15569 (char *) "self", NULL
15572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15591 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15592 PyObject
*resultobj
;
15593 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15595 PyObject
* obj0
= 0 ;
15596 char *kwnames
[] = {
15597 (char *) "self", NULL
15600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15605 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15607 wxPyEndAllowThreads(__tstate
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15619 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15620 PyObject
*resultobj
;
15621 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15623 PyObject
* obj0
= 0 ;
15624 char *kwnames
[] = {
15625 (char *) "self", NULL
15628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15633 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15635 wxPyEndAllowThreads(__tstate
);
15636 if (PyErr_Occurred()) SWIG_fail
;
15639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15647 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15648 PyObject
*resultobj
;
15649 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15651 PyObject
* obj0
= 0 ;
15652 char *kwnames
[] = {
15653 (char *) "self", NULL
15656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15661 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15663 wxPyEndAllowThreads(__tstate
);
15664 if (PyErr_Occurred()) SWIG_fail
;
15667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15675 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15676 PyObject
*resultobj
;
15677 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15679 PyObject
* obj0
= 0 ;
15680 char *kwnames
[] = {
15681 (char *) "self", NULL
15684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15689 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15691 wxPyEndAllowThreads(__tstate
);
15692 if (PyErr_Occurred()) SWIG_fail
;
15695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15703 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15704 PyObject
*resultobj
;
15705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15707 PyObject
* obj0
= 0 ;
15708 char *kwnames
[] = {
15709 (char *) "self", NULL
15712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15717 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15719 wxPyEndAllowThreads(__tstate
);
15720 if (PyErr_Occurred()) SWIG_fail
;
15722 resultobj
= SWIG_FromInt((int)result
);
15729 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= SWIG_FromInt((int)result
);
15755 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15758 unsigned int result
;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15769 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15774 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15781 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15782 PyObject
*resultobj
;
15783 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15784 unsigned int result
;
15785 PyObject
* obj0
= 0 ;
15786 char *kwnames
[] = {
15787 (char *) "self", NULL
15790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15807 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15808 PyObject
*resultobj
;
15809 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15811 PyObject
* obj0
= 0 ;
15812 char *kwnames
[] = {
15813 (char *) "self", NULL
15816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15821 result
= (arg1
)->GetPosition();
15823 wxPyEndAllowThreads(__tstate
);
15824 if (PyErr_Occurred()) SWIG_fail
;
15827 wxPoint
* resultptr
;
15828 resultptr
= new wxPoint((wxPoint
&) result
);
15829 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15837 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15840 long *arg2
= (long *) 0 ;
15841 long *arg3
= (long *) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
15858 wxPyEndAllowThreads(__tstate
);
15859 if (PyErr_Occurred()) SWIG_fail
;
15861 Py_INCREF(Py_None
); resultobj
= Py_None
;
15863 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15864 resultobj
= t_output_helper(resultobj
,o
);
15867 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15868 resultobj
= t_output_helper(resultobj
,o
);
15876 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15877 PyObject
*resultobj
;
15878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15880 PyObject
* obj0
= 0 ;
15881 char *kwnames
[] = {
15882 (char *) "self", NULL
15885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 resultobj
= SWIG_FromInt((int)result
);
15902 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 char *kwnames
[] = {
15908 (char *) "self", NULL
15911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15916 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15918 wxPyEndAllowThreads(__tstate
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15921 resultobj
= SWIG_FromInt((int)result
);
15928 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15929 PyObject
*resultobj
;
15930 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15932 PyObject
* obj0
= 0 ;
15933 PyObject
* obj1
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self",(char *) "m_x", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 arg2
= (int) SWIG_AsInt(obj1
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15943 if (arg1
) (arg1
)->m_x
= arg2
;
15945 Py_INCREF(Py_None
); resultobj
= Py_None
;
15952 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 char *kwnames
[] = {
15958 (char *) "self", NULL
15961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15964 result
= (int) ((arg1
)->m_x
);
15966 resultobj
= SWIG_FromInt((int)result
);
15973 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15974 PyObject
*resultobj
;
15975 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15977 PyObject
* obj0
= 0 ;
15978 PyObject
* obj1
= 0 ;
15979 char *kwnames
[] = {
15980 (char *) "self",(char *) "m_y", NULL
15983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15986 arg2
= (int) SWIG_AsInt(obj1
);
15987 if (PyErr_Occurred()) SWIG_fail
;
15988 if (arg1
) (arg1
)->m_y
= arg2
;
15990 Py_INCREF(Py_None
); resultobj
= Py_None
;
15997 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15998 PyObject
*resultobj
;
15999 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16001 PyObject
* obj0
= 0 ;
16002 char *kwnames
[] = {
16003 (char *) "self", NULL
16006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
16007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16009 result
= (int) ((arg1
)->m_y
);
16011 resultobj
= SWIG_FromInt((int)result
);
16018 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16019 PyObject
*resultobj
;
16020 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16022 PyObject
* obj0
= 0 ;
16023 PyObject
* obj1
= 0 ;
16024 char *kwnames
[] = {
16025 (char *) "self",(char *) "m_keyCode", NULL
16028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16031 arg2
= (long) SWIG_AsLong(obj1
);
16032 if (PyErr_Occurred()) SWIG_fail
;
16033 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16035 Py_INCREF(Py_None
); resultobj
= Py_None
;
16042 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16043 PyObject
*resultobj
;
16044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16046 PyObject
* obj0
= 0 ;
16047 char *kwnames
[] = {
16048 (char *) "self", NULL
16051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16054 result
= (long) ((arg1
)->m_keyCode
);
16056 resultobj
= SWIG_FromLong((long)result
);
16063 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16064 PyObject
*resultobj
;
16065 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16067 PyObject
* obj0
= 0 ;
16068 PyObject
* obj1
= 0 ;
16069 char *kwnames
[] = {
16070 (char *) "self",(char *) "m_controlDown", NULL
16073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16076 arg2
= (bool) SWIG_AsBool(obj1
);
16077 if (PyErr_Occurred()) SWIG_fail
;
16078 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16080 Py_INCREF(Py_None
); resultobj
= Py_None
;
16087 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16088 PyObject
*resultobj
;
16089 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16091 PyObject
* obj0
= 0 ;
16092 char *kwnames
[] = {
16093 (char *) "self", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16099 result
= (bool) ((arg1
)->m_controlDown
);
16102 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16110 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16111 PyObject
*resultobj
;
16112 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16114 PyObject
* obj0
= 0 ;
16115 PyObject
* obj1
= 0 ;
16116 char *kwnames
[] = {
16117 (char *) "self",(char *) "m_shiftDown", NULL
16120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16123 arg2
= (bool) SWIG_AsBool(obj1
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16125 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16127 Py_INCREF(Py_None
); resultobj
= Py_None
;
16134 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "self", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16146 result
= (bool) ((arg1
)->m_shiftDown
);
16149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16157 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 PyObject
* obj1
= 0 ;
16163 char *kwnames
[] = {
16164 (char *) "self",(char *) "m_altDown", NULL
16167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16170 arg2
= (bool) SWIG_AsBool(obj1
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16172 if (arg1
) (arg1
)->m_altDown
= arg2
;
16174 Py_INCREF(Py_None
); resultobj
= Py_None
;
16181 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16193 result
= (bool) ((arg1
)->m_altDown
);
16196 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16204 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16205 PyObject
*resultobj
;
16206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16208 PyObject
* obj0
= 0 ;
16209 PyObject
* obj1
= 0 ;
16210 char *kwnames
[] = {
16211 (char *) "self",(char *) "m_metaDown", NULL
16214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16217 arg2
= (bool) SWIG_AsBool(obj1
);
16218 if (PyErr_Occurred()) SWIG_fail
;
16219 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16221 Py_INCREF(Py_None
); resultobj
= Py_None
;
16228 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16232 PyObject
* obj0
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 result
= (bool) ((arg1
)->m_metaDown
);
16243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16251 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16252 PyObject
*resultobj
;
16253 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16255 PyObject
* obj0
= 0 ;
16256 PyObject
* obj1
= 0 ;
16257 char *kwnames
[] = {
16258 (char *) "self",(char *) "m_scanCode", NULL
16261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16264 arg2
= (bool) SWIG_AsBool(obj1
);
16265 if (PyErr_Occurred()) SWIG_fail
;
16266 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16268 Py_INCREF(Py_None
); resultobj
= Py_None
;
16275 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16276 PyObject
*resultobj
;
16277 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16279 PyObject
* obj0
= 0 ;
16280 char *kwnames
[] = {
16281 (char *) "self", NULL
16284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16287 result
= (bool) ((arg1
)->m_scanCode
);
16290 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16298 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16299 PyObject
*resultobj
;
16300 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16301 unsigned int arg2
;
16302 PyObject
* obj0
= 0 ;
16303 PyObject
* obj1
= 0 ;
16304 char *kwnames
[] = {
16305 (char *) "self",(char *) "m_rawCode", NULL
16308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16311 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16312 if (PyErr_Occurred()) SWIG_fail
;
16313 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16315 Py_INCREF(Py_None
); resultobj
= Py_None
;
16322 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16325 unsigned int result
;
16326 PyObject
* obj0
= 0 ;
16327 char *kwnames
[] = {
16328 (char *) "self", NULL
16331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16334 result
= (unsigned int) ((arg1
)->m_rawCode
);
16336 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16343 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16344 PyObject
*resultobj
;
16345 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16346 unsigned int arg2
;
16347 PyObject
* obj0
= 0 ;
16348 PyObject
* obj1
= 0 ;
16349 char *kwnames
[] = {
16350 (char *) "self",(char *) "m_rawFlags", NULL
16353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16356 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16358 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16360 Py_INCREF(Py_None
); resultobj
= Py_None
;
16367 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16368 PyObject
*resultobj
;
16369 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16370 unsigned int result
;
16371 PyObject
* obj0
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "self", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16379 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16381 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16388 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16390 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16391 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16393 return Py_BuildValue((char *)"");
16395 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16396 PyObject
*resultobj
;
16397 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16398 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16399 int arg2
= (int) 0 ;
16400 wxSizeEvent
*result
;
16402 PyObject
* obj0
= 0 ;
16403 PyObject
* obj1
= 0 ;
16404 char *kwnames
[] = {
16405 (char *) "sz",(char *) "winid", NULL
16408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16412 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16416 arg2
= (int) SWIG_AsInt(obj1
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16421 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16423 wxPyEndAllowThreads(__tstate
);
16424 if (PyErr_Occurred()) SWIG_fail
;
16426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16433 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16434 PyObject
*resultobj
;
16435 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16437 PyObject
* obj0
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16447 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16449 wxPyEndAllowThreads(__tstate
);
16450 if (PyErr_Occurred()) SWIG_fail
;
16453 wxSize
* resultptr
;
16454 resultptr
= new wxSize((wxSize
&) result
);
16455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16463 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16464 PyObject
*resultobj
;
16465 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16467 PyObject
* obj0
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16483 wxRect
* resultptr
;
16484 resultptr
= new wxRect((wxRect
&) result
);
16485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16493 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16494 PyObject
*resultobj
;
16495 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 char *kwnames
[] = {
16501 (char *) "self",(char *) "rect", NULL
16504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16507 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16508 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16512 (arg1
)->SetRect(arg2
);
16514 wxPyEndAllowThreads(__tstate
);
16515 if (PyErr_Occurred()) SWIG_fail
;
16517 Py_INCREF(Py_None
); resultobj
= Py_None
;
16524 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self",(char *) "size", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16539 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16543 wxSizeEvent_SetSize(arg1
,arg2
);
16545 wxPyEndAllowThreads(__tstate
);
16546 if (PyErr_Occurred()) SWIG_fail
;
16548 Py_INCREF(Py_None
); resultobj
= Py_None
;
16555 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16556 PyObject
*resultobj
;
16557 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16558 wxSize
*arg2
= (wxSize
*) 0 ;
16559 PyObject
* obj0
= 0 ;
16560 PyObject
* obj1
= 0 ;
16561 char *kwnames
[] = {
16562 (char *) "self",(char *) "m_size", NULL
16565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16568 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16570 if (arg1
) (arg1
)->m_size
= *arg2
;
16572 Py_INCREF(Py_None
); resultobj
= Py_None
;
16579 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16580 PyObject
*resultobj
;
16581 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16583 PyObject
* obj0
= 0 ;
16584 char *kwnames
[] = {
16585 (char *) "self", NULL
16588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16591 result
= (wxSize
*)& ((arg1
)->m_size
);
16593 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16600 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16601 PyObject
*resultobj
;
16602 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16603 wxRect
*arg2
= (wxRect
*) 0 ;
16604 PyObject
* obj0
= 0 ;
16605 PyObject
* obj1
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self",(char *) "m_rect", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16613 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16615 if (arg1
) (arg1
)->m_rect
= *arg2
;
16617 Py_INCREF(Py_None
); resultobj
= Py_None
;
16624 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "self", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16636 result
= (wxRect
*)& ((arg1
)->m_rect
);
16638 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16645 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16647 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16648 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16650 return Py_BuildValue((char *)"");
16652 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16655 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16656 int arg2
= (int) 0 ;
16657 wxMoveEvent
*result
;
16659 PyObject
* obj0
= 0 ;
16660 PyObject
* obj1
= 0 ;
16661 char *kwnames
[] = {
16662 (char *) "pos",(char *) "winid", NULL
16665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16669 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16673 arg2
= (int) SWIG_AsInt(obj1
);
16674 if (PyErr_Occurred()) SWIG_fail
;
16677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16678 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16680 wxPyEndAllowThreads(__tstate
);
16681 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16690 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16691 PyObject
*resultobj
;
16692 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16694 PyObject
* obj0
= 0 ;
16695 char *kwnames
[] = {
16696 (char *) "self", NULL
16699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16704 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16706 wxPyEndAllowThreads(__tstate
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 wxPoint
* resultptr
;
16711 resultptr
= new wxPoint((wxPoint
&) result
);
16712 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16720 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16721 PyObject
*resultobj
;
16722 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16724 PyObject
* obj0
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16734 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16736 wxPyEndAllowThreads(__tstate
);
16737 if (PyErr_Occurred()) SWIG_fail
;
16740 wxRect
* resultptr
;
16741 resultptr
= new wxRect((wxRect
&) result
);
16742 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16750 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
;
16752 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16755 PyObject
* obj0
= 0 ;
16756 PyObject
* obj1
= 0 ;
16757 char *kwnames
[] = {
16758 (char *) "self",(char *) "rect", NULL
16761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16764 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16765 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16769 (arg1
)->SetRect(arg2
);
16771 wxPyEndAllowThreads(__tstate
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16774 Py_INCREF(Py_None
); resultobj
= Py_None
;
16781 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16782 PyObject
*resultobj
;
16783 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16786 PyObject
* obj0
= 0 ;
16787 PyObject
* obj1
= 0 ;
16788 char *kwnames
[] = {
16789 (char *) "self",(char *) "pos", NULL
16792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16796 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16800 wxMoveEvent_SetPosition(arg1
,arg2
);
16802 wxPyEndAllowThreads(__tstate
);
16803 if (PyErr_Occurred()) SWIG_fail
;
16805 Py_INCREF(Py_None
); resultobj
= Py_None
;
16812 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16813 PyObject
*resultobj
;
16814 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16815 wxPoint
*arg2
= (wxPoint
*) 0 ;
16816 PyObject
* obj0
= 0 ;
16817 PyObject
* obj1
= 0 ;
16818 char *kwnames
[] = {
16819 (char *) "self",(char *) "m_pos", NULL
16822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16827 if (arg1
) (arg1
)->m_pos
= *arg2
;
16829 Py_INCREF(Py_None
); resultobj
= Py_None
;
16836 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16837 PyObject
*resultobj
;
16838 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16840 PyObject
* obj0
= 0 ;
16841 char *kwnames
[] = {
16842 (char *) "self", NULL
16845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16857 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16858 PyObject
*resultobj
;
16859 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16860 wxRect
*arg2
= (wxRect
*) 0 ;
16861 PyObject
* obj0
= 0 ;
16862 PyObject
* obj1
= 0 ;
16863 char *kwnames
[] = {
16864 (char *) "self",(char *) "m_rect", NULL
16867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 if (arg1
) (arg1
)->m_rect
= *arg2
;
16874 Py_INCREF(Py_None
); resultobj
= Py_None
;
16881 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16882 PyObject
*resultobj
;
16883 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16885 PyObject
* obj0
= 0 ;
16886 char *kwnames
[] = {
16887 (char *) "self", NULL
16890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16893 result
= (wxRect
*)& ((arg1
)->m_rect
);
16895 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16902 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16904 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16905 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16907 return Py_BuildValue((char *)"");
16909 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16910 PyObject
*resultobj
;
16911 int arg1
= (int) 0 ;
16912 wxPaintEvent
*result
;
16913 PyObject
* obj0
= 0 ;
16914 char *kwnames
[] = {
16915 (char *) "Id", NULL
16918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16920 arg1
= (int) SWIG_AsInt(obj0
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16925 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16927 wxPyEndAllowThreads(__tstate
);
16928 if (PyErr_Occurred()) SWIG_fail
;
16930 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16937 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16940 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16942 return Py_BuildValue((char *)"");
16944 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16945 PyObject
*resultobj
;
16946 int arg1
= (int) 0 ;
16947 wxNcPaintEvent
*result
;
16948 PyObject
* obj0
= 0 ;
16949 char *kwnames
[] = {
16950 (char *) "winid", NULL
16953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16955 arg1
= (int) SWIG_AsInt(obj0
);
16956 if (PyErr_Occurred()) SWIG_fail
;
16959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16960 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16962 wxPyEndAllowThreads(__tstate
);
16963 if (PyErr_Occurred()) SWIG_fail
;
16965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16972 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16975 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16977 return Py_BuildValue((char *)"");
16979 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16980 PyObject
*resultobj
;
16981 int arg1
= (int) 0 ;
16982 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16983 wxEraseEvent
*result
;
16984 PyObject
* obj0
= 0 ;
16985 PyObject
* obj1
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "Id",(char *) "dc", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16992 arg1
= (int) SWIG_AsInt(obj0
);
16993 if (PyErr_Occurred()) SWIG_fail
;
16996 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17001 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
17003 wxPyEndAllowThreads(__tstate
);
17004 if (PyErr_Occurred()) SWIG_fail
;
17006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
17013 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17014 PyObject
*resultobj
;
17015 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
17017 PyObject
* obj0
= 0 ;
17018 char *kwnames
[] = {
17019 (char *) "self", NULL
17022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
17023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
17024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17027 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 resultobj
= wxPyMake_wxObject(result
, 0);
17041 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17043 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17044 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17046 return Py_BuildValue((char *)"");
17048 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17049 PyObject
*resultobj
;
17050 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17051 int arg2
= (int) 0 ;
17052 wxFocusEvent
*result
;
17053 PyObject
* obj0
= 0 ;
17054 PyObject
* obj1
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "type",(char *) "winid", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17061 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17065 arg2
= (int) SWIG_AsInt(obj1
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17082 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17086 PyObject
* obj0
= 0 ;
17087 char *kwnames
[] = {
17088 (char *) "self", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17102 resultobj
= wxPyMake_wxObject(result
, 0);
17110 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17111 PyObject
*resultobj
;
17112 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17113 wxWindow
*arg2
= (wxWindow
*) 0 ;
17114 PyObject
* obj0
= 0 ;
17115 PyObject
* obj1
= 0 ;
17116 char *kwnames
[] = {
17117 (char *) "self",(char *) "win", NULL
17120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17127 (arg1
)->SetWindow(arg2
);
17129 wxPyEndAllowThreads(__tstate
);
17130 if (PyErr_Occurred()) SWIG_fail
;
17132 Py_INCREF(Py_None
); resultobj
= Py_None
;
17139 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17141 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17142 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17144 return Py_BuildValue((char *)"");
17146 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17147 PyObject
*resultobj
;
17148 wxWindow
*arg1
= (wxWindow
*) NULL
;
17149 wxChildFocusEvent
*result
;
17150 PyObject
* obj0
= 0 ;
17151 char *kwnames
[] = {
17152 (char *) "win", NULL
17155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17162 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17164 wxPyEndAllowThreads(__tstate
);
17165 if (PyErr_Occurred()) SWIG_fail
;
17167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17174 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
;
17176 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17178 PyObject
* obj0
= 0 ;
17179 char *kwnames
[] = {
17180 (char *) "self", NULL
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17188 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17190 wxPyEndAllowThreads(__tstate
);
17191 if (PyErr_Occurred()) SWIG_fail
;
17194 resultobj
= wxPyMake_wxObject(result
, 0);
17202 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17205 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17207 return Py_BuildValue((char *)"");
17209 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17210 PyObject
*resultobj
;
17211 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17212 bool arg2
= (bool) True
;
17213 int arg3
= (int) 0 ;
17214 wxActivateEvent
*result
;
17215 PyObject
* obj0
= 0 ;
17216 PyObject
* obj1
= 0 ;
17217 PyObject
* obj2
= 0 ;
17218 char *kwnames
[] = {
17219 (char *) "type",(char *) "active",(char *) "Id", NULL
17222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17224 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17228 arg2
= (bool) SWIG_AsBool(obj1
);
17229 if (PyErr_Occurred()) SWIG_fail
;
17232 arg3
= (int) SWIG_AsInt(obj2
);
17233 if (PyErr_Occurred()) SWIG_fail
;
17236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17237 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17239 wxPyEndAllowThreads(__tstate
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17249 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17250 PyObject
*resultobj
;
17251 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17253 PyObject
* obj0
= 0 ;
17254 char *kwnames
[] = {
17255 (char *) "self", NULL
17258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17263 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17277 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17280 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17282 return Py_BuildValue((char *)"");
17284 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17285 PyObject
*resultobj
;
17286 int arg1
= (int) 0 ;
17287 wxInitDialogEvent
*result
;
17288 PyObject
* obj0
= 0 ;
17289 char *kwnames
[] = {
17290 (char *) "Id", NULL
17293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17295 arg1
= (int) SWIG_AsInt(obj0
);
17296 if (PyErr_Occurred()) SWIG_fail
;
17299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17300 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17302 wxPyEndAllowThreads(__tstate
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17312 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17315 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17317 return Py_BuildValue((char *)"");
17319 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17322 int arg2
= (int) 0 ;
17323 wxMenu
*arg3
= (wxMenu
*) NULL
;
17324 wxMenuEvent
*result
;
17325 PyObject
* obj0
= 0 ;
17326 PyObject
* obj1
= 0 ;
17327 PyObject
* obj2
= 0 ;
17328 char *kwnames
[] = {
17329 (char *) "type",(char *) "winid",(char *) "menu", NULL
17332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17334 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17338 arg2
= (int) SWIG_AsInt(obj1
);
17339 if (PyErr_Occurred()) SWIG_fail
;
17342 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17347 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17349 wxPyEndAllowThreads(__tstate
);
17350 if (PyErr_Occurred()) SWIG_fail
;
17352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17359 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17360 PyObject
*resultobj
;
17361 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17363 PyObject
* obj0
= 0 ;
17364 char *kwnames
[] = {
17365 (char *) "self", NULL
17368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17373 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17375 wxPyEndAllowThreads(__tstate
);
17376 if (PyErr_Occurred()) SWIG_fail
;
17378 resultobj
= SWIG_FromInt((int)result
);
17385 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17405 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17413 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17417 PyObject
* obj0
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17427 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= wxPyMake_wxObject(result
, 0);
17441 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17443 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17444 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17446 return Py_BuildValue((char *)"");
17448 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
;
17450 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17451 int arg2
= (int) 0 ;
17452 wxCloseEvent
*result
;
17453 PyObject
* obj0
= 0 ;
17454 PyObject
* obj1
= 0 ;
17455 char *kwnames
[] = {
17456 (char *) "type",(char *) "winid", NULL
17459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17461 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17465 arg2
= (int) SWIG_AsInt(obj1
);
17466 if (PyErr_Occurred()) SWIG_fail
;
17469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17470 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17472 wxPyEndAllowThreads(__tstate
);
17473 if (PyErr_Occurred()) SWIG_fail
;
17475 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17482 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17483 PyObject
*resultobj
;
17484 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17486 PyObject
* obj0
= 0 ;
17487 PyObject
* obj1
= 0 ;
17488 char *kwnames
[] = {
17489 (char *) "self",(char *) "logOff", NULL
17492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17495 arg2
= (bool) SWIG_AsBool(obj1
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17499 (arg1
)->SetLoggingOff(arg2
);
17501 wxPyEndAllowThreads(__tstate
);
17502 if (PyErr_Occurred()) SWIG_fail
;
17504 Py_INCREF(Py_None
); resultobj
= Py_None
;
17511 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17512 PyObject
*resultobj
;
17513 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17515 PyObject
* obj0
= 0 ;
17516 char *kwnames
[] = {
17517 (char *) "self", NULL
17520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17525 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17527 wxPyEndAllowThreads(__tstate
);
17528 if (PyErr_Occurred()) SWIG_fail
;
17531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17539 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17540 PyObject
*resultobj
;
17541 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17542 bool arg2
= (bool) True
;
17543 PyObject
* obj0
= 0 ;
17544 PyObject
* obj1
= 0 ;
17545 char *kwnames
[] = {
17546 (char *) "self",(char *) "veto", NULL
17549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17553 arg2
= (bool) SWIG_AsBool(obj1
);
17554 if (PyErr_Occurred()) SWIG_fail
;
17557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17558 (arg1
)->Veto(arg2
);
17560 wxPyEndAllowThreads(__tstate
);
17561 if (PyErr_Occurred()) SWIG_fail
;
17563 Py_INCREF(Py_None
); resultobj
= Py_None
;
17570 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17571 PyObject
*resultobj
;
17572 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17574 PyObject
* obj0
= 0 ;
17575 PyObject
* obj1
= 0 ;
17576 char *kwnames
[] = {
17577 (char *) "self",(char *) "canVeto", NULL
17580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17583 arg2
= (bool) SWIG_AsBool(obj1
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 (arg1
)->SetCanVeto(arg2
);
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 Py_INCREF(Py_None
); resultobj
= Py_None
;
17599 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17603 PyObject
* obj0
= 0 ;
17604 char *kwnames
[] = {
17605 (char *) "self", NULL
17608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17615 wxPyEndAllowThreads(__tstate
);
17616 if (PyErr_Occurred()) SWIG_fail
;
17619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17627 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17628 PyObject
*resultobj
;
17629 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17631 PyObject
* obj0
= 0 ;
17632 char *kwnames
[] = {
17633 (char *) "self", NULL
17636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17655 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17658 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17660 return Py_BuildValue((char *)"");
17662 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17663 PyObject
*resultobj
;
17664 int arg1
= (int) 0 ;
17665 bool arg2
= (bool) False
;
17666 wxShowEvent
*result
;
17667 PyObject
* obj0
= 0 ;
17668 PyObject
* obj1
= 0 ;
17669 char *kwnames
[] = {
17670 (char *) "winid",(char *) "show", NULL
17673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 arg1
= (int) SWIG_AsInt(obj0
);
17676 if (PyErr_Occurred()) SWIG_fail
;
17679 arg2
= (bool) SWIG_AsBool(obj1
);
17680 if (PyErr_Occurred()) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17696 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17697 PyObject
*resultobj
;
17698 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17700 PyObject
* obj0
= 0 ;
17701 PyObject
* obj1
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self",(char *) "show", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17709 arg2
= (bool) SWIG_AsBool(obj1
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17713 (arg1
)->SetShow(arg2
);
17715 wxPyEndAllowThreads(__tstate
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 Py_INCREF(Py_None
); resultobj
= Py_None
;
17725 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17726 PyObject
*resultobj
;
17727 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17729 PyObject
* obj0
= 0 ;
17730 char *kwnames
[] = {
17731 (char *) "self", NULL
17734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17753 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17756 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17758 return Py_BuildValue((char *)"");
17760 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17761 PyObject
*resultobj
;
17762 int arg1
= (int) 0 ;
17763 bool arg2
= (bool) True
;
17764 wxIconizeEvent
*result
;
17765 PyObject
* obj0
= 0 ;
17766 PyObject
* obj1
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "id",(char *) "iconized", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 arg1
= (int) SWIG_AsInt(obj0
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 arg2
= (bool) SWIG_AsBool(obj1
);
17778 if (PyErr_Occurred()) SWIG_fail
;
17781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17782 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17784 wxPyEndAllowThreads(__tstate
);
17785 if (PyErr_Occurred()) SWIG_fail
;
17787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17794 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17795 PyObject
*resultobj
;
17796 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17798 PyObject
* obj0
= 0 ;
17799 char *kwnames
[] = {
17800 (char *) "self", NULL
17803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17808 result
= (bool)(arg1
)->Iconized();
17810 wxPyEndAllowThreads(__tstate
);
17811 if (PyErr_Occurred()) SWIG_fail
;
17814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17822 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17825 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17827 return Py_BuildValue((char *)"");
17829 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17830 PyObject
*resultobj
;
17831 int arg1
= (int) 0 ;
17832 wxMaximizeEvent
*result
;
17833 PyObject
* obj0
= 0 ;
17834 char *kwnames
[] = {
17835 (char *) "id", NULL
17838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17840 arg1
= (int) SWIG_AsInt(obj0
);
17841 if (PyErr_Occurred()) SWIG_fail
;
17844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17845 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17847 wxPyEndAllowThreads(__tstate
);
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17857 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17859 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17860 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17862 return Py_BuildValue((char *)"");
17864 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17865 PyObject
*resultobj
;
17866 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17868 PyObject
* obj0
= 0 ;
17869 char *kwnames
[] = {
17870 (char *) "self", NULL
17873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17878 result
= (arg1
)->GetPosition();
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17884 wxPoint
* resultptr
;
17885 resultptr
= new wxPoint((wxPoint
&) result
);
17886 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17894 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17895 PyObject
*resultobj
;
17896 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17898 PyObject
* obj0
= 0 ;
17899 char *kwnames
[] = {
17900 (char *) "self", NULL
17903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17908 result
= (int)(arg1
)->GetNumberOfFiles();
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= SWIG_FromInt((int)result
);
17920 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17921 PyObject
*resultobj
;
17922 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17924 PyObject
* obj0
= 0 ;
17925 char *kwnames
[] = {
17926 (char *) "self", NULL
17929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17934 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17936 wxPyEndAllowThreads(__tstate
);
17937 if (PyErr_Occurred()) SWIG_fail
;
17939 resultobj
= result
;
17946 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17949 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17951 return Py_BuildValue((char *)"");
17953 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17954 PyObject
*resultobj
;
17955 int arg1
= (int) 0 ;
17956 wxUpdateUIEvent
*result
;
17957 PyObject
* obj0
= 0 ;
17958 char *kwnames
[] = {
17959 (char *) "commandId", NULL
17962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17964 arg1
= (int) SWIG_AsInt(obj0
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17981 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18009 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 char *kwnames
[] = {
18015 (char *) "self", NULL
18018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
18019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18037 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18038 PyObject
*resultobj
;
18039 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18041 PyObject
* obj0
= 0 ;
18042 char *kwnames
[] = {
18043 (char *) "self", NULL
18046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18060 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18069 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18070 PyObject
*resultobj
;
18071 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18073 PyObject
* obj0
= 0 ;
18074 char *kwnames
[] = {
18075 (char *) "self", NULL
18078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
18079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18083 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18085 wxPyEndAllowThreads(__tstate
);
18086 if (PyErr_Occurred()) SWIG_fail
;
18089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18097 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18098 PyObject
*resultobj
;
18099 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18101 PyObject
* obj0
= 0 ;
18102 char *kwnames
[] = {
18103 (char *) "self", NULL
18106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18111 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18113 wxPyEndAllowThreads(__tstate
);
18114 if (PyErr_Occurred()) SWIG_fail
;
18117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18125 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18126 PyObject
*resultobj
;
18127 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18129 PyObject
* obj0
= 0 ;
18130 char *kwnames
[] = {
18131 (char *) "self", NULL
18134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18153 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18154 PyObject
*resultobj
;
18155 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18157 PyObject
* obj0
= 0 ;
18158 PyObject
* obj1
= 0 ;
18159 char *kwnames
[] = {
18160 (char *) "self",(char *) "check", NULL
18163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18166 arg2
= (bool) SWIG_AsBool(obj1
);
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 (arg1
)->Check(arg2
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18184 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18186 PyObject
* obj0
= 0 ;
18187 PyObject
* obj1
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self",(char *) "enable", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18195 arg2
= (bool) SWIG_AsBool(obj1
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 (arg1
)->Enable(arg2
);
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 Py_INCREF(Py_None
); resultobj
= Py_None
;
18211 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18214 wxString
*arg2
= 0 ;
18215 bool temp2
= False
;
18216 PyObject
* obj0
= 0 ;
18217 PyObject
* obj1
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self",(char *) "text", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 arg2
= wxString_in_helper(obj1
);
18227 if (arg2
== NULL
) SWIG_fail
;
18231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18232 (arg1
)->SetText((wxString
const &)*arg2
);
18234 wxPyEndAllowThreads(__tstate
);
18235 if (PyErr_Occurred()) SWIG_fail
;
18237 Py_INCREF(Py_None
); resultobj
= Py_None
;
18252 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18253 PyObject
*resultobj
;
18255 PyObject
* obj0
= 0 ;
18256 char *kwnames
[] = {
18257 (char *) "updateInterval", NULL
18260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18261 arg1
= (long) SWIG_AsLong(obj0
);
18262 if (PyErr_Occurred()) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18277 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18280 char *kwnames
[] = {
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18287 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18289 wxPyEndAllowThreads(__tstate
);
18290 if (PyErr_Occurred()) SWIG_fail
;
18292 resultobj
= SWIG_FromLong((long)result
);
18299 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18300 PyObject
*resultobj
;
18301 wxWindow
*arg1
= (wxWindow
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "win", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18315 wxPyEndAllowThreads(__tstate
);
18316 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18327 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18328 PyObject
*resultobj
;
18329 char *kwnames
[] = {
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 wxUpdateUIEvent::ResetUpdateTime();
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18351 PyObject
* obj0
= 0 ;
18352 char *kwnames
[] = {
18353 (char *) "mode", NULL
18356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18357 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18361 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18363 wxPyEndAllowThreads(__tstate
);
18364 if (PyErr_Occurred()) SWIG_fail
;
18366 Py_INCREF(Py_None
); resultobj
= Py_None
;
18373 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18374 PyObject
*resultobj
;
18376 char *kwnames
[] = {
18380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18383 result
= (int)wxUpdateUIEvent::GetMode();
18385 wxPyEndAllowThreads(__tstate
);
18386 if (PyErr_Occurred()) SWIG_fail
;
18388 resultobj
= SWIG_FromInt((int)result
);
18395 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18397 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18398 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18400 return Py_BuildValue((char *)"");
18402 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18403 PyObject
*resultobj
;
18404 wxSysColourChangedEvent
*result
;
18405 char *kwnames
[] = {
18409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18412 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18414 wxPyEndAllowThreads(__tstate
);
18415 if (PyErr_Occurred()) SWIG_fail
;
18417 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18424 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18427 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18429 return Py_BuildValue((char *)"");
18431 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18432 PyObject
*resultobj
;
18433 int arg1
= (int) 0 ;
18434 wxWindow
*arg2
= (wxWindow
*) NULL
;
18435 wxMouseCaptureChangedEvent
*result
;
18436 PyObject
* obj0
= 0 ;
18437 PyObject
* obj1
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "winid",(char *) "gainedCapture", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18444 arg1
= (int) SWIG_AsInt(obj0
);
18445 if (PyErr_Occurred()) SWIG_fail
;
18448 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18453 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18455 wxPyEndAllowThreads(__tstate
);
18456 if (PyErr_Occurred()) SWIG_fail
;
18458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18465 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18466 PyObject
*resultobj
;
18467 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18469 PyObject
* obj0
= 0 ;
18470 char *kwnames
[] = {
18471 (char *) "self", NULL
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18485 resultobj
= wxPyMake_wxObject(result
, 0);
18493 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18495 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18496 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18498 return Py_BuildValue((char *)"");
18500 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18502 wxDisplayChangedEvent
*result
;
18503 char *kwnames
[] = {
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18522 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18525 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18527 return Py_BuildValue((char *)"");
18529 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 int arg1
= (int) 0 ;
18532 wxPaletteChangedEvent
*result
;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "id", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18540 arg1
= (int) SWIG_AsInt(obj0
);
18541 if (PyErr_Occurred()) SWIG_fail
;
18544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18545 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18547 wxPyEndAllowThreads(__tstate
);
18548 if (PyErr_Occurred()) SWIG_fail
;
18550 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18557 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18558 PyObject
*resultobj
;
18559 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18560 wxWindow
*arg2
= (wxWindow
*) 0 ;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self",(char *) "win", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18574 (arg1
)->SetChangedWindow(arg2
);
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 Py_INCREF(Py_None
); resultobj
= Py_None
;
18586 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18590 PyObject
* obj0
= 0 ;
18591 char *kwnames
[] = {
18592 (char *) "self", NULL
18595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18600 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18602 wxPyEndAllowThreads(__tstate
);
18603 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= wxPyMake_wxObject(result
, 0);
18614 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18616 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18617 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18619 return Py_BuildValue((char *)"");
18621 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18622 PyObject
*resultobj
;
18623 int arg1
= (int) 0 ;
18624 wxQueryNewPaletteEvent
*result
;
18625 PyObject
* obj0
= 0 ;
18626 char *kwnames
[] = {
18627 (char *) "winid", NULL
18630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18632 arg1
= (int) SWIG_AsInt(obj0
);
18633 if (PyErr_Occurred()) SWIG_fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18642 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18649 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18650 PyObject
*resultobj
;
18651 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18653 PyObject
* obj0
= 0 ;
18654 PyObject
* obj1
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self",(char *) "realized", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18662 arg2
= (bool) SWIG_AsBool(obj1
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 (arg1
)->SetPaletteRealized(arg2
);
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 Py_INCREF(Py_None
); resultobj
= Py_None
;
18678 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18692 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18694 wxPyEndAllowThreads(__tstate
);
18695 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18706 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18708 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18709 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18711 return Py_BuildValue((char *)"");
18713 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18714 PyObject
*resultobj
;
18715 wxNavigationKeyEvent
*result
;
18716 char *kwnames
[] = {
18720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18723 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18725 wxPyEndAllowThreads(__tstate
);
18726 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18735 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18737 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18739 PyObject
* obj0
= 0 ;
18740 char *kwnames
[] = {
18741 (char *) "self", NULL
18744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18749 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18763 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18764 PyObject
*resultobj
;
18765 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18767 PyObject
* obj0
= 0 ;
18768 PyObject
* obj1
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self",(char *) "forward", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18776 arg2
= (bool) SWIG_AsBool(obj1
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18780 (arg1
)->SetDirection(arg2
);
18782 wxPyEndAllowThreads(__tstate
);
18783 if (PyErr_Occurred()) SWIG_fail
;
18785 Py_INCREF(Py_None
); resultobj
= Py_None
;
18792 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18793 PyObject
*resultobj
;
18794 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18796 PyObject
* obj0
= 0 ;
18797 char *kwnames
[] = {
18798 (char *) "self", NULL
18801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18806 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18820 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18821 PyObject
*resultobj
;
18822 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18824 PyObject
* obj0
= 0 ;
18825 PyObject
* obj1
= 0 ;
18826 char *kwnames
[] = {
18827 (char *) "self",(char *) "ischange", NULL
18830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18833 arg2
= (bool) SWIG_AsBool(obj1
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18837 (arg1
)->SetWindowChange(arg2
);
18839 wxPyEndAllowThreads(__tstate
);
18840 if (PyErr_Occurred()) SWIG_fail
;
18842 Py_INCREF(Py_None
); resultobj
= Py_None
;
18849 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18850 PyObject
*resultobj
;
18851 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18853 PyObject
* obj0
= 0 ;
18854 PyObject
* obj1
= 0 ;
18855 char *kwnames
[] = {
18856 (char *) "self",(char *) "flags", NULL
18859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18862 arg2
= (long) SWIG_AsLong(obj1
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18866 (arg1
)->SetFlags(arg2
);
18868 wxPyEndAllowThreads(__tstate
);
18869 if (PyErr_Occurred()) SWIG_fail
;
18871 Py_INCREF(Py_None
); resultobj
= Py_None
;
18878 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18879 PyObject
*resultobj
;
18880 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18882 PyObject
* obj0
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "self", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18892 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18894 wxPyEndAllowThreads(__tstate
);
18895 if (PyErr_Occurred()) SWIG_fail
;
18898 resultobj
= wxPyMake_wxObject(result
, 0);
18906 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18907 PyObject
*resultobj
;
18908 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18909 wxWindow
*arg2
= (wxWindow
*) 0 ;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "win", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 (arg1
)->SetCurrentFocus(arg2
);
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 Py_INCREF(Py_None
); resultobj
= Py_None
;
18935 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18938 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18940 return Py_BuildValue((char *)"");
18942 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18943 PyObject
*resultobj
;
18944 wxWindow
*arg1
= (wxWindow
*) NULL
;
18945 wxWindowCreateEvent
*result
;
18946 PyObject
* obj0
= 0 ;
18947 char *kwnames
[] = {
18948 (char *) "win", NULL
18951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18963 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18970 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18971 PyObject
*resultobj
;
18972 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18974 PyObject
* obj0
= 0 ;
18975 char *kwnames
[] = {
18976 (char *) "self", NULL
18979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18984 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18986 wxPyEndAllowThreads(__tstate
);
18987 if (PyErr_Occurred()) SWIG_fail
;
18990 resultobj
= wxPyMake_wxObject(result
, 0);
18998 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19001 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
19003 return Py_BuildValue((char *)"");
19005 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19007 wxWindow
*arg1
= (wxWindow
*) NULL
;
19008 wxWindowDestroyEvent
*result
;
19009 PyObject
* obj0
= 0 ;
19010 char *kwnames
[] = {
19011 (char *) "win", NULL
19014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
19016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19021 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
19023 wxPyEndAllowThreads(__tstate
);
19024 if (PyErr_Occurred()) SWIG_fail
;
19026 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19033 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19034 PyObject
*resultobj
;
19035 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19037 PyObject
* obj0
= 0 ;
19038 char *kwnames
[] = {
19039 (char *) "self", NULL
19042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19047 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19049 wxPyEndAllowThreads(__tstate
);
19050 if (PyErr_Occurred()) SWIG_fail
;
19053 resultobj
= wxPyMake_wxObject(result
, 0);
19061 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19063 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19064 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19066 return Py_BuildValue((char *)"");
19068 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19069 PyObject
*resultobj
;
19070 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19071 int arg2
= (int) 0 ;
19072 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19073 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19074 wxContextMenuEvent
*result
;
19076 PyObject
* obj0
= 0 ;
19077 PyObject
* obj1
= 0 ;
19078 PyObject
* obj2
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "type",(char *) "winid",(char *) "pt", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19085 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 arg2
= (int) SWIG_AsInt(obj1
);
19090 if (PyErr_Occurred()) SWIG_fail
;
19095 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19100 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19102 wxPyEndAllowThreads(__tstate
);
19103 if (PyErr_Occurred()) SWIG_fail
;
19105 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19112 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19113 PyObject
*resultobj
;
19114 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19116 PyObject
* obj0
= 0 ;
19117 char *kwnames
[] = {
19118 (char *) "self", NULL
19121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19128 result
= (wxPoint
*) &_result_ref
;
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19141 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19144 wxPoint
*arg2
= 0 ;
19146 PyObject
* obj0
= 0 ;
19147 PyObject
* obj1
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self",(char *) "pos", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19157 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19166 Py_INCREF(Py_None
); resultobj
= Py_None
;
19173 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19176 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19178 return Py_BuildValue((char *)"");
19180 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19181 PyObject
*resultobj
;
19182 wxIdleEvent
*result
;
19183 char *kwnames
[] = {
19187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19190 result
= (wxIdleEvent
*)new wxIdleEvent();
19192 wxPyEndAllowThreads(__tstate
);
19193 if (PyErr_Occurred()) SWIG_fail
;
19195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19202 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19203 PyObject
*resultobj
;
19204 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19205 bool arg2
= (bool) True
;
19206 PyObject
* obj0
= 0 ;
19207 PyObject
* obj1
= 0 ;
19208 char *kwnames
[] = {
19209 (char *) "self",(char *) "needMore", NULL
19212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19216 arg2
= (bool) SWIG_AsBool(obj1
);
19217 if (PyErr_Occurred()) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 (arg1
)->RequestMore(arg2
);
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19226 Py_INCREF(Py_None
); resultobj
= Py_None
;
19233 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19234 PyObject
*resultobj
;
19235 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19237 PyObject
* obj0
= 0 ;
19238 char *kwnames
[] = {
19239 (char *) "self", NULL
19242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19247 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19249 wxPyEndAllowThreads(__tstate
);
19250 if (PyErr_Occurred()) SWIG_fail
;
19253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19261 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19262 PyObject
*resultobj
;
19264 PyObject
* obj0
= 0 ;
19265 char *kwnames
[] = {
19266 (char *) "mode", NULL
19269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19270 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19271 if (PyErr_Occurred()) SWIG_fail
;
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19276 wxPyEndAllowThreads(__tstate
);
19277 if (PyErr_Occurred()) SWIG_fail
;
19279 Py_INCREF(Py_None
); resultobj
= Py_None
;
19286 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19287 PyObject
*resultobj
;
19289 char *kwnames
[] = {
19293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19296 result
= (int)wxIdleEvent::GetMode();
19298 wxPyEndAllowThreads(__tstate
);
19299 if (PyErr_Occurred()) SWIG_fail
;
19301 resultobj
= SWIG_FromInt((int)result
);
19308 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxWindow
*arg1
= (wxWindow
*) 0 ;
19312 PyObject
* obj0
= 0 ;
19313 char *kwnames
[] = {
19314 (char *) "win", NULL
19317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 result
= (bool)wxIdleEvent::CanSend(arg1
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19336 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19339 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19341 return Py_BuildValue((char *)"");
19343 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19344 PyObject
*resultobj
;
19345 int arg1
= (int) 0 ;
19346 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19348 PyObject
* obj0
= 0 ;
19349 PyObject
* obj1
= 0 ;
19350 char *kwnames
[] = {
19351 (char *) "winid",(char *) "commandType", NULL
19354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19356 arg1
= (int) SWIG_AsInt(obj0
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19360 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19365 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19377 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19378 PyObject
*resultobj
;
19379 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19380 PyObject
* obj0
= 0 ;
19381 char *kwnames
[] = {
19382 (char *) "self", NULL
19385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19386 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19387 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 wxPyEndAllowThreads(__tstate
);
19393 if (PyErr_Occurred()) SWIG_fail
;
19395 Py_INCREF(Py_None
); resultobj
= Py_None
;
19402 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19403 PyObject
*resultobj
;
19404 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19405 PyObject
*arg2
= (PyObject
*) 0 ;
19406 PyObject
* obj0
= 0 ;
19407 PyObject
* obj1
= 0 ;
19408 char *kwnames
[] = {
19409 (char *) "self",(char *) "self", NULL
19412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 (arg1
)->SetSelf(arg2
);
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 Py_INCREF(Py_None
); resultobj
= Py_None
;
19430 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19434 PyObject
* obj0
= 0 ;
19435 char *kwnames
[] = {
19436 (char *) "self", NULL
19439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19444 result
= (PyObject
*)(arg1
)->GetSelf();
19446 wxPyEndAllowThreads(__tstate
);
19447 if (PyErr_Occurred()) SWIG_fail
;
19449 resultobj
= result
;
19456 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19458 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19459 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19461 return Py_BuildValue((char *)"");
19463 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19464 PyObject
*resultobj
;
19465 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19466 int arg2
= (int) 0 ;
19467 wxPyCommandEvent
*result
;
19468 PyObject
* obj0
= 0 ;
19469 PyObject
* obj1
= 0 ;
19470 char *kwnames
[] = {
19471 (char *) "commandType",(char *) "id", NULL
19474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19476 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19477 if (PyErr_Occurred()) SWIG_fail
;
19480 arg2
= (int) SWIG_AsInt(obj1
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19497 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19500 PyObject
* obj0
= 0 ;
19501 char *kwnames
[] = {
19502 (char *) "self", NULL
19505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19512 wxPyEndAllowThreads(__tstate
);
19513 if (PyErr_Occurred()) SWIG_fail
;
19515 Py_INCREF(Py_None
); resultobj
= Py_None
;
19522 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19523 PyObject
*resultobj
;
19524 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19525 PyObject
*arg2
= (PyObject
*) 0 ;
19526 PyObject
* obj0
= 0 ;
19527 PyObject
* obj1
= 0 ;
19528 char *kwnames
[] = {
19529 (char *) "self",(char *) "self", NULL
19532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19538 (arg1
)->SetSelf(arg2
);
19540 wxPyEndAllowThreads(__tstate
);
19541 if (PyErr_Occurred()) SWIG_fail
;
19543 Py_INCREF(Py_None
); resultobj
= Py_None
;
19550 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19551 PyObject
*resultobj
;
19552 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19554 PyObject
* obj0
= 0 ;
19555 char *kwnames
[] = {
19556 (char *) "self", NULL
19559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 result
= (PyObject
*)(arg1
)->GetSelf();
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 resultobj
= result
;
19576 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19578 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19579 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19581 return Py_BuildValue((char *)"");
19583 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
;
19586 char *kwnames
[] = {
19590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= (wxPyApp
*)new_wxPyApp();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19605 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19606 PyObject
*resultobj
;
19607 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19608 PyObject
* obj0
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 Py_INCREF(Py_None
); resultobj
= Py_None
;
19630 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19633 PyObject
*arg2
= (PyObject
*) 0 ;
19634 PyObject
*arg3
= (PyObject
*) 0 ;
19635 PyObject
* obj0
= 0 ;
19636 PyObject
* obj1
= 0 ;
19637 PyObject
* obj2
= 0 ;
19638 char *kwnames
[] = {
19639 (char *) "self",(char *) "self",(char *) "_class", NULL
19642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19649 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19651 wxPyEndAllowThreads(__tstate
);
19652 if (PyErr_Occurred()) SWIG_fail
;
19654 Py_INCREF(Py_None
); resultobj
= Py_None
;
19661 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19665 PyObject
* obj0
= 0 ;
19666 char *kwnames
[] = {
19667 (char *) "self", NULL
19670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19684 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19693 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19696 wxString
*arg2
= 0 ;
19697 bool temp2
= False
;
19698 PyObject
* obj0
= 0 ;
19699 PyObject
* obj1
= 0 ;
19700 char *kwnames
[] = {
19701 (char *) "self",(char *) "name", NULL
19704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19708 arg2
= wxString_in_helper(obj1
);
19709 if (arg2
== NULL
) SWIG_fail
;
19713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 (arg1
)->SetAppName((wxString
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 Py_INCREF(Py_None
); resultobj
= Py_None
;
19734 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19748 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19750 wxPyEndAllowThreads(__tstate
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19766 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19769 wxString
*arg2
= 0 ;
19770 bool temp2
= False
;
19771 PyObject
* obj0
= 0 ;
19772 PyObject
* obj1
= 0 ;
19773 char *kwnames
[] = {
19774 (char *) "self",(char *) "name", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19781 arg2
= wxString_in_helper(obj1
);
19782 if (arg2
== NULL
) SWIG_fail
;
19786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19787 (arg1
)->SetClassName((wxString
const &)*arg2
);
19789 wxPyEndAllowThreads(__tstate
);
19790 if (PyErr_Occurred()) SWIG_fail
;
19792 Py_INCREF(Py_None
); resultobj
= Py_None
;
19807 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
;
19809 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19811 PyObject
* obj0
= 0 ;
19812 char *kwnames
[] = {
19813 (char *) "self", NULL
19816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19822 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19823 result
= (wxString
*) &_result_ref
;
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19831 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19833 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19842 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19843 PyObject
*resultobj
;
19844 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19845 wxString
*arg2
= 0 ;
19846 bool temp2
= False
;
19847 PyObject
* obj0
= 0 ;
19848 PyObject
* obj1
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self",(char *) "name", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19857 arg2
= wxString_in_helper(obj1
);
19858 if (arg2
== NULL
) SWIG_fail
;
19862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19863 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19865 wxPyEndAllowThreads(__tstate
);
19866 if (PyErr_Occurred()) SWIG_fail
;
19868 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19884 PyObject
*resultobj
;
19885 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19886 wxAppTraits
*result
;
19887 PyObject
* obj0
= 0 ;
19888 char *kwnames
[] = {
19889 (char *) "self", NULL
19892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19897 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19909 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19910 PyObject
*resultobj
;
19911 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19912 PyObject
* obj0
= 0 ;
19913 char *kwnames
[] = {
19914 (char *) "self", NULL
19917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 (arg1
)->ProcessPendingEvents();
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19934 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19935 PyObject
*resultobj
;
19936 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19937 bool arg2
= (bool) False
;
19939 PyObject
* obj0
= 0 ;
19940 PyObject
* obj1
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self",(char *) "onlyIfNeeded", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19949 arg2
= (bool) SWIG_AsBool(obj1
);
19950 if (PyErr_Occurred()) SWIG_fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (bool)(arg1
)->Yield(arg2
);
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19960 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19968 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19970 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19971 PyObject
* obj0
= 0 ;
19972 char *kwnames
[] = {
19973 (char *) "self", NULL
19976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19981 (arg1
)->WakeUpIdle();
19983 wxPyEndAllowThreads(__tstate
);
19984 if (PyErr_Occurred()) SWIG_fail
;
19986 Py_INCREF(Py_None
); resultobj
= Py_None
;
19993 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19994 PyObject
*resultobj
;
19995 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19997 PyObject
* obj0
= 0 ;
19998 char *kwnames
[] = {
19999 (char *) "self", NULL
20002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
20003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20007 result
= (int)(arg1
)->MainLoop();
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_FromInt((int)result
);
20019 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20020 PyObject
*resultobj
;
20021 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 wxPyEndAllowThreads(__tstate
);
20035 if (PyErr_Occurred()) SWIG_fail
;
20037 Py_INCREF(Py_None
); resultobj
= Py_None
;
20044 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20057 (arg1
)->ExitMainLoop();
20059 wxPyEndAllowThreads(__tstate
);
20060 if (PyErr_Occurred()) SWIG_fail
;
20062 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20083 result
= (bool)(arg1
)->Pending();
20085 wxPyEndAllowThreads(__tstate
);
20086 if (PyErr_Occurred()) SWIG_fail
;
20089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20097 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20098 PyObject
*resultobj
;
20099 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20101 PyObject
* obj0
= 0 ;
20102 char *kwnames
[] = {
20103 (char *) "self", NULL
20106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= (bool)(arg1
)->Dispatch();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20125 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20126 PyObject
*resultobj
;
20127 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20129 PyObject
* obj0
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20139 result
= (bool)(arg1
)->ProcessIdle();
20141 wxPyEndAllowThreads(__tstate
);
20142 if (PyErr_Occurred()) SWIG_fail
;
20145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20153 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20156 wxWindow
*arg2
= (wxWindow
*) 0 ;
20157 wxIdleEvent
*arg3
= 0 ;
20159 PyObject
* obj0
= 0 ;
20160 PyObject
* obj1
= 0 ;
20161 PyObject
* obj2
= 0 ;
20162 char *kwnames
[] = {
20163 (char *) "self",(char *) "win",(char *) "event", NULL
20166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20169 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20171 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20172 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20174 if (arg3
== NULL
) {
20175 PyErr_SetString(PyExc_TypeError
,"null reference");
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20194 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20198 PyObject
* obj0
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20208 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20210 wxPyEndAllowThreads(__tstate
);
20211 if (PyErr_Occurred()) SWIG_fail
;
20214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20222 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20223 PyObject
*resultobj
;
20224 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20225 wxWindow
*arg2
= (wxWindow
*) 0 ;
20226 PyObject
* obj0
= 0 ;
20227 PyObject
* obj1
= 0 ;
20228 char *kwnames
[] = {
20229 (char *) "self",(char *) "win", NULL
20232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20235 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20239 (arg1
)->SetTopWindow(arg2
);
20241 wxPyEndAllowThreads(__tstate
);
20242 if (PyErr_Occurred()) SWIG_fail
;
20244 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20252 PyObject
*resultobj
;
20253 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20255 PyObject
* obj0
= 0 ;
20256 char *kwnames
[] = {
20257 (char *) "self", NULL
20260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 resultobj
= wxPyMake_wxObject(result
, 0);
20279 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20280 PyObject
*resultobj
;
20281 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20283 PyObject
* obj0
= 0 ;
20284 PyObject
* obj1
= 0 ;
20285 char *kwnames
[] = {
20286 (char *) "self",(char *) "flag", NULL
20289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20292 arg2
= (bool) SWIG_AsBool(obj1
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 (arg1
)->SetExitOnFrameDelete(arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 Py_INCREF(Py_None
); resultobj
= Py_None
;
20308 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20312 PyObject
* obj0
= 0 ;
20313 char *kwnames
[] = {
20314 (char *) "self", NULL
20317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20322 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20324 wxPyEndAllowThreads(__tstate
);
20325 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20336 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20340 PyObject
* obj0
= 0 ;
20341 PyObject
* obj1
= 0 ;
20342 char *kwnames
[] = {
20343 (char *) "self",(char *) "flag", NULL
20346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20349 arg2
= (bool) SWIG_AsBool(obj1
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20353 (arg1
)->SetUseBestVisual(arg2
);
20355 wxPyEndAllowThreads(__tstate
);
20356 if (PyErr_Occurred()) SWIG_fail
;
20358 Py_INCREF(Py_None
); resultobj
= Py_None
;
20365 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20366 PyObject
*resultobj
;
20367 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20369 PyObject
* obj0
= 0 ;
20370 char *kwnames
[] = {
20371 (char *) "self", NULL
20374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20381 wxPyEndAllowThreads(__tstate
);
20382 if (PyErr_Occurred()) SWIG_fail
;
20385 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20393 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20394 PyObject
*resultobj
;
20395 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20397 PyObject
* obj0
= 0 ;
20398 PyObject
* obj1
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self",(char *) "mode", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20406 arg2
= (int) SWIG_AsInt(obj1
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20410 (arg1
)->SetPrintMode(arg2
);
20412 wxPyEndAllowThreads(__tstate
);
20413 if (PyErr_Occurred()) SWIG_fail
;
20415 Py_INCREF(Py_None
); resultobj
= Py_None
;
20422 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20423 PyObject
*resultobj
;
20424 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20426 PyObject
* obj0
= 0 ;
20427 char *kwnames
[] = {
20428 (char *) "self", NULL
20431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20438 wxPyEndAllowThreads(__tstate
);
20439 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= SWIG_FromInt((int)result
);
20448 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20449 PyObject
*resultobj
;
20450 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20452 PyObject
* obj0
= 0 ;
20453 PyObject
* obj1
= 0 ;
20454 char *kwnames
[] = {
20455 (char *) "self",(char *) "mode", NULL
20458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20461 arg2
= (int) SWIG_AsInt(obj1
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 (arg1
)->SetAssertMode(arg2
);
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 Py_INCREF(Py_None
); resultobj
= Py_None
;
20477 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20491 result
= (int)(arg1
)->GetAssertMode();
20493 wxPyEndAllowThreads(__tstate
);
20494 if (PyErr_Occurred()) SWIG_fail
;
20496 resultobj
= SWIG_FromInt((int)result
);
20503 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20504 PyObject
*resultobj
;
20506 char *kwnames
[] = {
20510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20513 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20515 wxPyEndAllowThreads(__tstate
);
20516 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20527 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20528 PyObject
*resultobj
;
20530 char *kwnames
[] = {
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 resultobj
= SWIG_FromLong((long)result
);
20549 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20552 char *kwnames
[] = {
20556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= SWIG_FromLong((long)result
);
20571 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20574 char *kwnames
[] = {
20578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20581 result
= (long)wxPyApp::GetMacExitMenuItemId();
20583 wxPyEndAllowThreads(__tstate
);
20584 if (PyErr_Occurred()) SWIG_fail
;
20586 resultobj
= SWIG_FromLong((long)result
);
20593 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20594 PyObject
*resultobj
;
20596 char *kwnames
[] = {
20600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20603 result
= wxPyApp::GetMacHelpMenuTitleName();
20605 wxPyEndAllowThreads(__tstate
);
20606 if (PyErr_Occurred()) SWIG_fail
;
20610 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20612 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20621 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20624 PyObject
* obj0
= 0 ;
20625 char *kwnames
[] = {
20626 (char *) "val", NULL
20629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20630 arg1
= (bool) SWIG_AsBool(obj0
);
20631 if (PyErr_Occurred()) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 Py_INCREF(Py_None
); resultobj
= Py_None
;
20646 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20649 PyObject
* obj0
= 0 ;
20650 char *kwnames
[] = {
20651 (char *) "val", NULL
20654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20655 arg1
= (long) SWIG_AsLong(obj0
);
20656 if (PyErr_Occurred()) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 wxPyApp::SetMacAboutMenuItemId(arg1
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20674 PyObject
* obj0
= 0 ;
20675 char *kwnames
[] = {
20676 (char *) "val", NULL
20679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20680 arg1
= (long) SWIG_AsLong(obj0
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 Py_INCREF(Py_None
); resultobj
= Py_None
;
20696 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20699 PyObject
* obj0
= 0 ;
20700 char *kwnames
[] = {
20701 (char *) "val", NULL
20704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20705 arg1
= (long) SWIG_AsLong(obj0
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20709 wxPyApp::SetMacExitMenuItemId(arg1
);
20711 wxPyEndAllowThreads(__tstate
);
20712 if (PyErr_Occurred()) SWIG_fail
;
20714 Py_INCREF(Py_None
); resultobj
= Py_None
;
20721 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20722 PyObject
*resultobj
;
20723 wxString
*arg1
= 0 ;
20724 bool temp1
= False
;
20725 PyObject
* obj0
= 0 ;
20726 char *kwnames
[] = {
20727 (char *) "val", NULL
20730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20732 arg1
= wxString_in_helper(obj0
);
20733 if (arg1
== NULL
) SWIG_fail
;
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20738 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20740 wxPyEndAllowThreads(__tstate
);
20741 if (PyErr_Occurred()) SWIG_fail
;
20743 Py_INCREF(Py_None
); resultobj
= Py_None
;
20758 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20759 PyObject
*resultobj
;
20760 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20761 PyObject
* obj0
= 0 ;
20762 char *kwnames
[] = {
20763 (char *) "self", NULL
20766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20771 (arg1
)->_BootstrapApp();
20773 wxPyEndAllowThreads(__tstate
);
20774 if (PyErr_Occurred()) SWIG_fail
;
20776 Py_INCREF(Py_None
); resultobj
= Py_None
;
20783 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20784 PyObject
*resultobj
;
20786 char *kwnames
[] = {
20790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20793 result
= (int)wxPyApp::GetComCtl32Version();
20795 wxPyEndAllowThreads(__tstate
);
20796 if (PyErr_Occurred()) SWIG_fail
;
20798 resultobj
= SWIG_FromInt((int)result
);
20805 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20807 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20808 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20810 return Py_BuildValue((char *)"");
20812 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20814 char *kwnames
[] = {
20818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20823 wxPyEndAllowThreads(__tstate
);
20824 if (PyErr_Occurred()) SWIG_fail
;
20826 Py_INCREF(Py_None
); resultobj
= Py_None
;
20833 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20834 PyObject
*resultobj
;
20836 char *kwnames
[] = {
20840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 result
= (bool)wxYield();
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20857 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20858 PyObject
*resultobj
;
20860 char *kwnames
[] = {
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (bool)wxYieldIfNeeded();
20869 wxPyEndAllowThreads(__tstate
);
20870 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20881 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxWindow
*arg1
= (wxWindow
*) NULL
;
20884 bool arg2
= (bool) False
;
20886 PyObject
* obj0
= 0 ;
20887 PyObject
* obj1
= 0 ;
20888 char *kwnames
[] = {
20889 (char *) "win",(char *) "onlyIfNeeded", NULL
20892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20898 arg2
= (bool) SWIG_AsBool(obj1
);
20899 if (PyErr_Occurred()) SWIG_fail
;
20902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20903 result
= (bool)wxSafeYield(arg1
,arg2
);
20905 wxPyEndAllowThreads(__tstate
);
20906 if (PyErr_Occurred()) SWIG_fail
;
20909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20917 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20918 PyObject
*resultobj
;
20919 char *kwnames
[] = {
20923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 Py_INCREF(Py_None
); resultobj
= Py_None
;
20938 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20941 wxEvent
*arg2
= 0 ;
20942 PyObject
* obj0
= 0 ;
20943 PyObject
* obj1
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "dest",(char *) "event", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20951 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20952 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20954 if (arg2
== NULL
) {
20955 PyErr_SetString(PyExc_TypeError
,"null reference");
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 wxPostEvent(arg1
,*arg2
);
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 Py_INCREF(Py_None
); resultobj
= Py_None
;
20972 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 char *kwnames
[] = {
20978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 wxPyEndAllowThreads(__tstate
);
20984 if (PyErr_Occurred()) SWIG_fail
;
20986 Py_INCREF(Py_None
); resultobj
= Py_None
;
20993 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20994 PyObject
*resultobj
;
20996 char *kwnames
[] = {
21000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
21002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21003 result
= (wxPyApp
*)wxPyGetApp();
21005 wxPyEndAllowThreads(__tstate
);
21006 if (PyErr_Occurred()) SWIG_fail
;
21009 resultobj
= wxPyMake_wxObject(result
, 0);
21017 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21018 PyObject
*resultobj
;
21019 int arg1
= (int) 0 ;
21020 int arg2
= (int) 0 ;
21021 int arg3
= (int) 0 ;
21022 wxAcceleratorEntry
*result
;
21023 PyObject
* obj0
= 0 ;
21024 PyObject
* obj1
= 0 ;
21025 PyObject
* obj2
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21032 arg1
= (int) SWIG_AsInt(obj0
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21036 arg2
= (int) SWIG_AsInt(obj1
);
21037 if (PyErr_Occurred()) SWIG_fail
;
21040 arg3
= (int) SWIG_AsInt(obj2
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21057 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21060 PyObject
* obj0
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21075 Py_INCREF(Py_None
); resultobj
= Py_None
;
21082 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21083 PyObject
*resultobj
;
21084 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 PyObject
* obj2
= 0 ;
21091 PyObject
* obj3
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21099 arg2
= (int) SWIG_AsInt(obj1
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21101 arg3
= (int) SWIG_AsInt(obj2
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21103 arg4
= (int) SWIG_AsInt(obj3
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21107 (arg1
)->Set(arg2
,arg3
,arg4
);
21109 wxPyEndAllowThreads(__tstate
);
21110 if (PyErr_Occurred()) SWIG_fail
;
21112 Py_INCREF(Py_None
); resultobj
= Py_None
;
21119 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21120 PyObject
*resultobj
;
21121 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21123 PyObject
* obj0
= 0 ;
21124 char *kwnames
[] = {
21125 (char *) "self", NULL
21128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21133 result
= (int)(arg1
)->GetFlags();
21135 wxPyEndAllowThreads(__tstate
);
21136 if (PyErr_Occurred()) SWIG_fail
;
21138 resultobj
= SWIG_FromInt((int)result
);
21145 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21146 PyObject
*resultobj
;
21147 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21149 PyObject
* obj0
= 0 ;
21150 char *kwnames
[] = {
21151 (char *) "self", NULL
21154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 result
= (int)(arg1
)->GetKeyCode();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 resultobj
= SWIG_FromInt((int)result
);
21171 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21175 PyObject
* obj0
= 0 ;
21176 char *kwnames
[] = {
21177 (char *) "self", NULL
21180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21185 result
= (int)(arg1
)->GetCommand();
21187 wxPyEndAllowThreads(__tstate
);
21188 if (PyErr_Occurred()) SWIG_fail
;
21190 resultobj
= SWIG_FromInt((int)result
);
21197 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21200 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21202 return Py_BuildValue((char *)"");
21204 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21205 PyObject
*resultobj
;
21207 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21208 wxAcceleratorTable
*result
;
21209 PyObject
* obj0
= 0 ;
21210 char *kwnames
[] = {
21214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21216 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21217 if (arg2
) arg1
= PyList_Size(obj0
);
21221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21222 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21224 wxPyEndAllowThreads(__tstate
);
21225 if (PyErr_Occurred()) SWIG_fail
;
21227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21240 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21241 PyObject
*resultobj
;
21242 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21243 PyObject
* obj0
= 0 ;
21244 char *kwnames
[] = {
21245 (char *) "self", NULL
21248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21255 wxPyEndAllowThreads(__tstate
);
21256 if (PyErr_Occurred()) SWIG_fail
;
21258 Py_INCREF(Py_None
); resultobj
= Py_None
;
21265 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21266 PyObject
*resultobj
;
21267 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21279 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21281 wxPyEndAllowThreads(__tstate
);
21282 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21293 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21296 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21298 return Py_BuildValue((char *)"");
21300 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21301 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21306 static PyObject
*_wrap_NullAcceleratorTable_get() {
21309 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21314 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21316 wxString
*arg1
= 0 ;
21317 wxAcceleratorEntry
*result
;
21318 bool temp1
= False
;
21319 PyObject
* obj0
= 0 ;
21320 char *kwnames
[] = {
21321 (char *) "label", NULL
21324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21326 arg1
= wxString_in_helper(obj0
);
21327 if (arg1
== NULL
) SWIG_fail
;
21331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21332 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21334 wxPyEndAllowThreads(__tstate
);
21335 if (PyErr_Occurred()) SWIG_fail
;
21337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21352 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21353 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21358 static PyObject
*_wrap_PanelNameStr_get() {
21363 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21365 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21372 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21373 PyObject
*resultobj
;
21374 wxVisualAttributes
*result
;
21375 char *kwnames
[] = {
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21394 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21396 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21397 PyObject
* obj0
= 0 ;
21398 char *kwnames
[] = {
21399 (char *) "self", NULL
21402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 delete_wxVisualAttributes(arg1
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 Py_INCREF(Py_None
); resultobj
= Py_None
;
21419 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
;
21421 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21422 wxFont
*arg2
= (wxFont
*) 0 ;
21423 PyObject
* obj0
= 0 ;
21424 PyObject
* obj1
= 0 ;
21425 char *kwnames
[] = {
21426 (char *) "self",(char *) "font", NULL
21429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21434 if (arg1
) (arg1
)->font
= *arg2
;
21436 Py_INCREF(Py_None
); resultobj
= Py_None
;
21443 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21444 PyObject
*resultobj
;
21445 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21447 PyObject
* obj0
= 0 ;
21448 char *kwnames
[] = {
21449 (char *) "self", NULL
21452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21455 result
= (wxFont
*)& ((arg1
)->font
);
21457 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21464 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21465 PyObject
*resultobj
;
21466 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21467 wxColour
*arg2
= (wxColour
*) 0 ;
21468 PyObject
* obj0
= 0 ;
21469 PyObject
* obj1
= 0 ;
21470 char *kwnames
[] = {
21471 (char *) "self",(char *) "colFg", NULL
21474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21479 if (arg1
) (arg1
)->colFg
= *arg2
;
21481 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21492 PyObject
* obj0
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21500 result
= (wxColour
*)& ((arg1
)->colFg
);
21502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21509 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21512 wxColour
*arg2
= (wxColour
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "colBg", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21524 if (arg1
) (arg1
)->colBg
= *arg2
;
21526 Py_INCREF(Py_None
); resultobj
= Py_None
;
21533 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21534 PyObject
*resultobj
;
21535 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21537 PyObject
* obj0
= 0 ;
21538 char *kwnames
[] = {
21539 (char *) "self", NULL
21542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21545 result
= (wxColour
*)& ((arg1
)->colBg
);
21547 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21554 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21557 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21559 return Py_BuildValue((char *)"");
21561 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
;
21563 wxWindow
*arg1
= (wxWindow
*) 0 ;
21564 int arg2
= (int) (int)-1 ;
21565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21569 long arg5
= (long) 0 ;
21570 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21575 bool temp6
= False
;
21576 PyObject
* obj0
= 0 ;
21577 PyObject
* obj1
= 0 ;
21578 PyObject
* obj2
= 0 ;
21579 PyObject
* obj3
= 0 ;
21580 PyObject
* obj4
= 0 ;
21581 PyObject
* obj5
= 0 ;
21582 char *kwnames
[] = {
21583 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21590 arg2
= (int const) SWIG_AsInt(obj1
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21596 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21602 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21606 arg5
= (long) SWIG_AsLong(obj4
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21611 arg6
= wxString_in_helper(obj5
);
21612 if (arg6
== NULL
) SWIG_fail
;
21617 if (!wxPyCheckForApp()) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21639 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21642 char *kwnames
[] = {
21646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21648 if (!wxPyCheckForApp()) SWIG_fail
;
21649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21650 result
= (wxWindow
*)new wxWindow();
21652 wxPyEndAllowThreads(__tstate
);
21653 if (PyErr_Occurred()) SWIG_fail
;
21655 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21662 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21663 PyObject
*resultobj
;
21664 wxWindow
*arg1
= (wxWindow
*) 0 ;
21665 wxWindow
*arg2
= (wxWindow
*) 0 ;
21666 int arg3
= (int) (int)-1 ;
21667 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21668 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21669 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21670 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21671 long arg6
= (long) 0 ;
21672 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21673 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21677 bool temp7
= False
;
21678 PyObject
* obj0
= 0 ;
21679 PyObject
* obj1
= 0 ;
21680 PyObject
* obj2
= 0 ;
21681 PyObject
* obj3
= 0 ;
21682 PyObject
* obj4
= 0 ;
21683 PyObject
* obj5
= 0 ;
21684 PyObject
* obj6
= 0 ;
21685 char *kwnames
[] = {
21686 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21692 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21695 arg3
= (int const) SWIG_AsInt(obj2
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21701 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21707 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21711 arg6
= (long) SWIG_AsLong(obj5
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21716 arg7
= wxString_in_helper(obj6
);
21717 if (arg7
== NULL
) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21745 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxWindow
*arg1
= (wxWindow
*) 0 ;
21748 bool arg2
= (bool) False
;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "force", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 arg2
= (bool) SWIG_AsBool(obj1
);
21761 if (PyErr_Occurred()) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 result
= (bool)(arg1
)->Close(arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21779 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21780 PyObject
*resultobj
;
21781 wxWindow
*arg1
= (wxWindow
*) 0 ;
21783 PyObject
* obj0
= 0 ;
21784 char *kwnames
[] = {
21785 (char *) "self", NULL
21788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21793 result
= (bool)(arg1
)->Destroy();
21795 wxPyEndAllowThreads(__tstate
);
21796 if (PyErr_Occurred()) SWIG_fail
;
21799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21807 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21808 PyObject
*resultobj
;
21809 wxWindow
*arg1
= (wxWindow
*) 0 ;
21811 PyObject
* obj0
= 0 ;
21812 char *kwnames
[] = {
21813 (char *) "self", NULL
21816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 result
= (bool)(arg1
)->DestroyChildren();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21835 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21836 PyObject
*resultobj
;
21837 wxWindow
*arg1
= (wxWindow
*) 0 ;
21839 PyObject
* obj0
= 0 ;
21840 char *kwnames
[] = {
21841 (char *) "self", NULL
21844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21851 wxPyEndAllowThreads(__tstate
);
21852 if (PyErr_Occurred()) SWIG_fail
;
21855 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21863 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
;
21865 wxWindow
*arg1
= (wxWindow
*) 0 ;
21866 wxString
*arg2
= 0 ;
21867 bool temp2
= False
;
21868 PyObject
* obj0
= 0 ;
21869 PyObject
* obj1
= 0 ;
21870 char *kwnames
[] = {
21871 (char *) "self",(char *) "title", NULL
21874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21878 arg2
= wxString_in_helper(obj1
);
21879 if (arg2
== NULL
) SWIG_fail
;
21883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21884 (arg1
)->SetTitle((wxString
const &)*arg2
);
21886 wxPyEndAllowThreads(__tstate
);
21887 if (PyErr_Occurred()) SWIG_fail
;
21889 Py_INCREF(Py_None
); resultobj
= Py_None
;
21904 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxWindow
*arg1
= (wxWindow
*) 0 ;
21908 PyObject
* obj0
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21918 result
= ((wxWindow
const *)arg1
)->GetTitle();
21920 wxPyEndAllowThreads(__tstate
);
21921 if (PyErr_Occurred()) SWIG_fail
;
21925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21936 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21937 PyObject
*resultobj
;
21938 wxWindow
*arg1
= (wxWindow
*) 0 ;
21939 wxString
*arg2
= 0 ;
21940 bool temp2
= False
;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "label", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21951 arg2
= wxString_in_helper(obj1
);
21952 if (arg2
== NULL
) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 (arg1
)->SetLabel((wxString
const &)*arg2
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 Py_INCREF(Py_None
); resultobj
= Py_None
;
21977 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxWindow
*arg1
= (wxWindow
*) 0 ;
21981 PyObject
* obj0
= 0 ;
21982 char *kwnames
[] = {
21983 (char *) "self", NULL
21986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= ((wxWindow
const *)arg1
)->GetLabel();
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22009 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxWindow
*arg1
= (wxWindow
*) 0 ;
22012 wxString
*arg2
= 0 ;
22013 bool temp2
= False
;
22014 PyObject
* obj0
= 0 ;
22015 PyObject
* obj1
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self",(char *) "name", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22024 arg2
= wxString_in_helper(obj1
);
22025 if (arg2
== NULL
) SWIG_fail
;
22029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22030 (arg1
)->SetName((wxString
const &)*arg2
);
22032 wxPyEndAllowThreads(__tstate
);
22033 if (PyErr_Occurred()) SWIG_fail
;
22035 Py_INCREF(Py_None
); resultobj
= Py_None
;
22050 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 char *kwnames
[] = {
22056 (char *) "self", NULL
22059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22064 result
= ((wxWindow
const *)arg1
)->GetName();
22066 wxPyEndAllowThreads(__tstate
);
22067 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22073 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22082 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22083 PyObject
*resultobj
;
22084 wxWindow
*arg1
= (wxWindow
*) 0 ;
22086 PyObject
* obj0
= 0 ;
22087 PyObject
* obj1
= 0 ;
22088 char *kwnames
[] = {
22089 (char *) "self",(char *) "variant", NULL
22092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22095 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22104 Py_INCREF(Py_None
); resultobj
= Py_None
;
22111 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22112 PyObject
*resultobj
;
22113 wxWindow
*arg1
= (wxWindow
*) 0 ;
22115 PyObject
* obj0
= 0 ;
22116 char *kwnames
[] = {
22117 (char *) "self", NULL
22120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 resultobj
= SWIG_FromInt((int)result
);
22137 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxWindow
*arg1
= (wxWindow
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 PyObject
* obj1
= 0 ;
22143 char *kwnames
[] = {
22144 (char *) "self",(char *) "winid", NULL
22147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 arg2
= (int) SWIG_AsInt(obj1
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22154 (arg1
)->SetId(arg2
);
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 Py_INCREF(Py_None
); resultobj
= Py_None
;
22166 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22167 PyObject
*resultobj
;
22168 wxWindow
*arg1
= (wxWindow
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22180 result
= (int)((wxWindow
const *)arg1
)->GetId();
22182 wxPyEndAllowThreads(__tstate
);
22183 if (PyErr_Occurred()) SWIG_fail
;
22185 resultobj
= SWIG_FromInt((int)result
);
22192 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22193 PyObject
*resultobj
;
22195 char *kwnames
[] = {
22199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22202 result
= (int)wxWindow::NewControlId();
22204 wxPyEndAllowThreads(__tstate
);
22205 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= SWIG_FromInt((int)result
);
22214 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22215 PyObject
*resultobj
;
22218 PyObject
* obj0
= 0 ;
22219 char *kwnames
[] = {
22220 (char *) "winid", NULL
22223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22224 arg1
= (int) SWIG_AsInt(obj0
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (int)wxWindow::NextControlId(arg1
);
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= SWIG_FromInt((int)result
);
22240 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22244 PyObject
* obj0
= 0 ;
22245 char *kwnames
[] = {
22246 (char *) "winid", NULL
22249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22250 arg1
= (int) SWIG_AsInt(obj0
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 result
= (int)wxWindow::PrevControlId(arg1
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 resultobj
= SWIG_FromInt((int)result
);
22266 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxWindow
*arg1
= (wxWindow
*) 0 ;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "size", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22282 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 (arg1
)->SetSize((wxSize
const &)*arg2
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 Py_INCREF(Py_None
); resultobj
= Py_None
;
22298 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxWindow
*arg1
= (wxWindow
*) 0 ;
22305 int arg6
= (int) wxSIZE_AUTO
;
22306 PyObject
* obj0
= 0 ;
22307 PyObject
* obj1
= 0 ;
22308 PyObject
* obj2
= 0 ;
22309 PyObject
* obj3
= 0 ;
22310 PyObject
* obj4
= 0 ;
22311 PyObject
* obj5
= 0 ;
22312 char *kwnames
[] = {
22313 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22319 arg2
= (int) SWIG_AsInt(obj1
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22321 arg3
= (int) SWIG_AsInt(obj2
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22323 arg4
= (int) SWIG_AsInt(obj3
);
22324 if (PyErr_Occurred()) SWIG_fail
;
22325 arg5
= (int) SWIG_AsInt(obj4
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 arg6
= (int) SWIG_AsInt(obj5
);
22329 if (PyErr_Occurred()) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22335 wxPyEndAllowThreads(__tstate
);
22336 if (PyErr_Occurred()) SWIG_fail
;
22338 Py_INCREF(Py_None
); resultobj
= Py_None
;
22345 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22346 PyObject
*resultobj
;
22347 wxWindow
*arg1
= (wxWindow
*) 0 ;
22349 int arg3
= (int) wxSIZE_AUTO
;
22351 PyObject
* obj0
= 0 ;
22352 PyObject
* obj1
= 0 ;
22353 PyObject
* obj2
= 0 ;
22354 char *kwnames
[] = {
22355 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22363 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22366 arg3
= (int) SWIG_AsInt(obj2
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22371 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22373 wxPyEndAllowThreads(__tstate
);
22374 if (PyErr_Occurred()) SWIG_fail
;
22376 Py_INCREF(Py_None
); resultobj
= Py_None
;
22383 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22384 PyObject
*resultobj
;
22385 wxWindow
*arg1
= (wxWindow
*) 0 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 PyObject
* obj2
= 0 ;
22391 char *kwnames
[] = {
22392 (char *) "self",(char *) "width",(char *) "height", NULL
22395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22398 arg2
= (int) SWIG_AsInt(obj1
);
22399 if (PyErr_Occurred()) SWIG_fail
;
22400 arg3
= (int) SWIG_AsInt(obj2
);
22401 if (PyErr_Occurred()) SWIG_fail
;
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 (arg1
)->SetSize(arg2
,arg3
);
22406 wxPyEndAllowThreads(__tstate
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 Py_INCREF(Py_None
); resultobj
= Py_None
;
22416 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22417 PyObject
*resultobj
;
22418 wxWindow
*arg1
= (wxWindow
*) 0 ;
22419 wxPoint
*arg2
= 0 ;
22420 int arg3
= (int) wxSIZE_USE_EXISTING
;
22422 PyObject
* obj0
= 0 ;
22423 PyObject
* obj1
= 0 ;
22424 PyObject
* obj2
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "pt",(char *) "flags", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22437 arg3
= (int) SWIG_AsInt(obj2
);
22438 if (PyErr_Occurred()) SWIG_fail
;
22441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22444 wxPyEndAllowThreads(__tstate
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22447 Py_INCREF(Py_None
); resultobj
= Py_None
;
22454 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22455 PyObject
*resultobj
;
22456 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 int arg4
= (int) wxSIZE_USE_EXISTING
;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 PyObject
* obj2
= 0 ;
22463 PyObject
* obj3
= 0 ;
22464 char *kwnames
[] = {
22465 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22471 arg2
= (int) SWIG_AsInt(obj1
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22473 arg3
= (int) SWIG_AsInt(obj2
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 arg4
= (int) SWIG_AsInt(obj3
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 (arg1
)->Move(arg2
,arg3
,arg4
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 Py_INCREF(Py_None
); resultobj
= Py_None
;
22493 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22494 PyObject
*resultobj
;
22495 wxWindow
*arg1
= (wxWindow
*) 0 ;
22496 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22497 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22499 PyObject
* obj0
= 0 ;
22500 PyObject
* obj1
= 0 ;
22501 char *kwnames
[] = {
22502 (char *) "self",(char *) "size", NULL
22505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22511 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22516 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22518 wxPyEndAllowThreads(__tstate
);
22519 if (PyErr_Occurred()) SWIG_fail
;
22521 Py_INCREF(Py_None
); resultobj
= Py_None
;
22528 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22529 PyObject
*resultobj
;
22530 wxWindow
*arg1
= (wxWindow
*) 0 ;
22531 PyObject
* obj0
= 0 ;
22532 char *kwnames
[] = {
22533 (char *) "self", NULL
22536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22543 wxPyEndAllowThreads(__tstate
);
22544 if (PyErr_Occurred()) SWIG_fail
;
22546 Py_INCREF(Py_None
); resultobj
= Py_None
;
22553 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22554 PyObject
*resultobj
;
22555 wxWindow
*arg1
= (wxWindow
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 char *kwnames
[] = {
22558 (char *) "self", NULL
22561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 Py_INCREF(Py_None
); resultobj
= Py_None
;
22578 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 char *kwnames
[] = {
22586 (char *) "self",(char *) "size", NULL
22589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22598 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22600 wxPyEndAllowThreads(__tstate
);
22601 if (PyErr_Occurred()) SWIG_fail
;
22603 Py_INCREF(Py_None
); resultobj
= Py_None
;
22610 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22611 PyObject
*resultobj
;
22612 wxWindow
*arg1
= (wxWindow
*) 0 ;
22615 PyObject
* obj0
= 0 ;
22616 PyObject
* obj1
= 0 ;
22617 PyObject
* obj2
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self",(char *) "width",(char *) "height", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22625 arg2
= (int) SWIG_AsInt(obj1
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22627 arg3
= (int) SWIG_AsInt(obj2
);
22628 if (PyErr_Occurred()) SWIG_fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->SetClientSize(arg2
,arg3
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxWindow
*arg1
= (wxWindow
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 PyObject
* obj1
= 0 ;
22650 char *kwnames
[] = {
22651 (char *) "self",(char *) "rect", NULL
22654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22659 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22665 wxPyEndAllowThreads(__tstate
);
22666 if (PyErr_Occurred()) SWIG_fail
;
22668 Py_INCREF(Py_None
); resultobj
= Py_None
;
22675 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxWindow
*arg1
= (wxWindow
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22689 result
= (arg1
)->GetPosition();
22691 wxPyEndAllowThreads(__tstate
);
22692 if (PyErr_Occurred()) SWIG_fail
;
22695 wxPoint
* resultptr
;
22696 resultptr
= new wxPoint((wxPoint
&) result
);
22697 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22705 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22706 PyObject
*resultobj
;
22707 wxWindow
*arg1
= (wxWindow
*) 0 ;
22708 int *arg2
= (int *) 0 ;
22709 int *arg3
= (int *) 0 ;
22712 PyObject
* obj0
= 0 ;
22713 char *kwnames
[] = {
22714 (char *) "self", NULL
22719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",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 (arg1
)->GetPosition(arg2
,arg3
);
22726 wxPyEndAllowThreads(__tstate
);
22727 if (PyErr_Occurred()) SWIG_fail
;
22729 Py_INCREF(Py_None
); resultobj
= Py_None
;
22731 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22732 resultobj
= t_output_helper(resultobj
,o
);
22735 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22736 resultobj
= t_output_helper(resultobj
,o
);
22744 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22745 PyObject
*resultobj
;
22746 wxWindow
*arg1
= (wxWindow
*) 0 ;
22748 PyObject
* obj0
= 0 ;
22749 char *kwnames
[] = {
22750 (char *) "self", NULL
22753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22758 result
= ((wxWindow
const *)arg1
)->GetSize();
22760 wxPyEndAllowThreads(__tstate
);
22761 if (PyErr_Occurred()) SWIG_fail
;
22764 wxSize
* resultptr
;
22765 resultptr
= new wxSize((wxSize
&) result
);
22766 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22774 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22775 PyObject
*resultobj
;
22776 wxWindow
*arg1
= (wxWindow
*) 0 ;
22777 int *arg2
= (int *) 0 ;
22778 int *arg3
= (int *) 0 ;
22781 PyObject
* obj0
= 0 ;
22782 char *kwnames
[] = {
22783 (char *) "self", NULL
22788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",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 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22801 resultobj
= t_output_helper(resultobj
,o
);
22804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22805 resultobj
= t_output_helper(resultobj
,o
);
22813 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= ((wxWindow
const *)arg1
)->GetRect();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22833 wxRect
* resultptr
;
22834 resultptr
= new wxRect((wxRect
&) result
);
22835 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22843 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22844 PyObject
*resultobj
;
22845 wxWindow
*arg1
= (wxWindow
*) 0 ;
22847 PyObject
* obj0
= 0 ;
22848 char *kwnames
[] = {
22849 (char *) "self", NULL
22852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22863 wxSize
* resultptr
;
22864 resultptr
= new wxSize((wxSize
&) result
);
22865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22873 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22874 PyObject
*resultobj
;
22875 wxWindow
*arg1
= (wxWindow
*) 0 ;
22876 int *arg2
= (int *) 0 ;
22877 int *arg3
= (int *) 0 ;
22880 PyObject
* obj0
= 0 ;
22881 char *kwnames
[] = {
22882 (char *) "self", NULL
22887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",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 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22894 wxPyEndAllowThreads(__tstate
);
22895 if (PyErr_Occurred()) SWIG_fail
;
22897 Py_INCREF(Py_None
); resultobj
= Py_None
;
22899 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22900 resultobj
= t_output_helper(resultobj
,o
);
22903 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22904 resultobj
= t_output_helper(resultobj
,o
);
22912 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxWindow
*arg1
= (wxWindow
*) 0 ;
22916 PyObject
* obj0
= 0 ;
22917 char *kwnames
[] = {
22918 (char *) "self", NULL
22921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22932 wxPoint
* resultptr
;
22933 resultptr
= new wxPoint((wxPoint
&) result
);
22934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22942 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22943 PyObject
*resultobj
;
22944 wxWindow
*arg1
= (wxWindow
*) 0 ;
22946 PyObject
* obj0
= 0 ;
22947 char *kwnames
[] = {
22948 (char *) "self", NULL
22951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22956 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22958 wxPyEndAllowThreads(__tstate
);
22959 if (PyErr_Occurred()) SWIG_fail
;
22962 wxRect
* resultptr
;
22963 resultptr
= new wxRect((wxRect
&) result
);
22964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22972 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22973 PyObject
*resultobj
;
22974 wxWindow
*arg1
= (wxWindow
*) 0 ;
22976 PyObject
* obj0
= 0 ;
22977 char *kwnames
[] = {
22978 (char *) "self", NULL
22981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22986 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22988 wxPyEndAllowThreads(__tstate
);
22989 if (PyErr_Occurred()) SWIG_fail
;
22992 wxSize
* resultptr
;
22993 resultptr
= new wxSize((wxSize
&) result
);
22994 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23002 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxWindow
*arg1
= (wxWindow
*) 0 ;
23005 int *arg2
= (int *) 0 ;
23006 int *arg3
= (int *) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 char *kwnames
[] = {
23011 (char *) "self", NULL
23016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
23017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23021 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
23023 wxPyEndAllowThreads(__tstate
);
23024 if (PyErr_Occurred()) SWIG_fail
;
23026 Py_INCREF(Py_None
); resultobj
= Py_None
;
23028 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23029 resultobj
= t_output_helper(resultobj
,o
);
23032 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23033 resultobj
= t_output_helper(resultobj
,o
);
23041 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23042 PyObject
*resultobj
;
23043 wxWindow
*arg1
= (wxWindow
*) 0 ;
23044 PyObject
* obj0
= 0 ;
23045 char *kwnames
[] = {
23046 (char *) "self", NULL
23049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23054 (arg1
)->InvalidateBestSize();
23056 wxPyEndAllowThreads(__tstate
);
23057 if (PyErr_Occurred()) SWIG_fail
;
23059 Py_INCREF(Py_None
); resultobj
= Py_None
;
23066 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23067 PyObject
*resultobj
;
23068 wxWindow
*arg1
= (wxWindow
*) 0 ;
23070 PyObject
* obj0
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self", NULL
23075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23082 wxPyEndAllowThreads(__tstate
);
23083 if (PyErr_Occurred()) SWIG_fail
;
23086 wxSize
* resultptr
;
23087 resultptr
= new wxSize((wxSize
&) result
);
23088 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23096 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23097 PyObject
*resultobj
;
23098 wxWindow
*arg1
= (wxWindow
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 char *kwnames
[] = {
23102 (char *) "self", NULL
23105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23110 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23112 wxPyEndAllowThreads(__tstate
);
23113 if (PyErr_Occurred()) SWIG_fail
;
23116 wxSize
* resultptr
;
23117 resultptr
= new wxSize((wxSize
&) result
);
23118 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23126 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
;
23128 wxWindow
*arg1
= (wxWindow
*) 0 ;
23129 int arg2
= (int) wxBOTH
;
23130 PyObject
* obj0
= 0 ;
23131 PyObject
* obj1
= 0 ;
23132 char *kwnames
[] = {
23133 (char *) "self",(char *) "direction", NULL
23136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23140 arg2
= (int) SWIG_AsInt(obj1
);
23141 if (PyErr_Occurred()) SWIG_fail
;
23144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23145 (arg1
)->Center(arg2
);
23147 wxPyEndAllowThreads(__tstate
);
23148 if (PyErr_Occurred()) SWIG_fail
;
23150 Py_INCREF(Py_None
); resultobj
= Py_None
;
23157 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23158 PyObject
*resultobj
;
23159 wxWindow
*arg1
= (wxWindow
*) 0 ;
23160 int arg2
= (int) wxBOTH
;
23161 PyObject
* obj0
= 0 ;
23162 PyObject
* obj1
= 0 ;
23163 char *kwnames
[] = {
23164 (char *) "self",(char *) "dir", NULL
23167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23171 arg2
= (int) SWIG_AsInt(obj1
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23176 (arg1
)->CenterOnScreen(arg2
);
23178 wxPyEndAllowThreads(__tstate
);
23179 if (PyErr_Occurred()) SWIG_fail
;
23181 Py_INCREF(Py_None
); resultobj
= Py_None
;
23188 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23189 PyObject
*resultobj
;
23190 wxWindow
*arg1
= (wxWindow
*) 0 ;
23191 int arg2
= (int) wxBOTH
;
23192 PyObject
* obj0
= 0 ;
23193 PyObject
* obj1
= 0 ;
23194 char *kwnames
[] = {
23195 (char *) "self",(char *) "dir", NULL
23198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23202 arg2
= (int) SWIG_AsInt(obj1
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 (arg1
)->CenterOnParent(arg2
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 Py_INCREF(Py_None
); resultobj
= Py_None
;
23219 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxWindow
*arg1
= (wxWindow
*) 0 ;
23222 PyObject
* obj0
= 0 ;
23223 char *kwnames
[] = {
23224 (char *) "self", NULL
23227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 Py_INCREF(Py_None
); resultobj
= Py_None
;
23244 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxWindow
*arg1
= (wxWindow
*) 0 ;
23247 PyObject
* obj0
= 0 ;
23248 char *kwnames
[] = {
23249 (char *) "self", NULL
23252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23257 (arg1
)->FitInside();
23259 wxPyEndAllowThreads(__tstate
);
23260 if (PyErr_Occurred()) SWIG_fail
;
23262 Py_INCREF(Py_None
); resultobj
= Py_None
;
23269 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23270 PyObject
*resultobj
;
23271 wxWindow
*arg1
= (wxWindow
*) 0 ;
23274 int arg4
= (int) -1 ;
23275 int arg5
= (int) -1 ;
23276 int arg6
= (int) -1 ;
23277 int arg7
= (int) -1 ;
23278 PyObject
* obj0
= 0 ;
23279 PyObject
* obj1
= 0 ;
23280 PyObject
* obj2
= 0 ;
23281 PyObject
* obj3
= 0 ;
23282 PyObject
* obj4
= 0 ;
23283 PyObject
* obj5
= 0 ;
23284 PyObject
* obj6
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23292 arg2
= (int) SWIG_AsInt(obj1
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23294 arg3
= (int) SWIG_AsInt(obj2
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 arg4
= (int) SWIG_AsInt(obj3
);
23298 if (PyErr_Occurred()) SWIG_fail
;
23301 arg5
= (int) SWIG_AsInt(obj4
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23305 arg6
= (int) SWIG_AsInt(obj5
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 arg7
= (int) SWIG_AsInt(obj6
);
23310 if (PyErr_Occurred()) SWIG_fail
;
23313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23314 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23316 wxPyEndAllowThreads(__tstate
);
23317 if (PyErr_Occurred()) SWIG_fail
;
23319 Py_INCREF(Py_None
); resultobj
= Py_None
;
23326 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23327 PyObject
*resultobj
;
23328 wxWindow
*arg1
= (wxWindow
*) 0 ;
23330 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23331 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23332 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23333 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23337 PyObject
* obj0
= 0 ;
23338 PyObject
* obj1
= 0 ;
23339 PyObject
* obj2
= 0 ;
23340 PyObject
* obj3
= 0 ;
23341 char *kwnames
[] = {
23342 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23350 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23355 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23361 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23366 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23368 wxPyEndAllowThreads(__tstate
);
23369 if (PyErr_Occurred()) SWIG_fail
;
23371 Py_INCREF(Py_None
); resultobj
= Py_None
;
23378 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23379 PyObject
*resultobj
;
23380 wxWindow
*arg1
= (wxWindow
*) 0 ;
23383 int arg4
= (int) -1 ;
23384 int arg5
= (int) -1 ;
23385 PyObject
* obj0
= 0 ;
23386 PyObject
* obj1
= 0 ;
23387 PyObject
* obj2
= 0 ;
23388 PyObject
* obj3
= 0 ;
23389 PyObject
* obj4
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23397 arg2
= (int) SWIG_AsInt(obj1
);
23398 if (PyErr_Occurred()) SWIG_fail
;
23399 arg3
= (int) SWIG_AsInt(obj2
);
23400 if (PyErr_Occurred()) SWIG_fail
;
23402 arg4
= (int) SWIG_AsInt(obj3
);
23403 if (PyErr_Occurred()) SWIG_fail
;
23406 arg5
= (int) SWIG_AsInt(obj4
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23413 wxPyEndAllowThreads(__tstate
);
23414 if (PyErr_Occurred()) SWIG_fail
;
23416 Py_INCREF(Py_None
); resultobj
= Py_None
;
23423 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23424 PyObject
*resultobj
;
23425 wxWindow
*arg1
= (wxWindow
*) 0 ;
23427 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23428 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23431 PyObject
* obj0
= 0 ;
23432 PyObject
* obj1
= 0 ;
23433 PyObject
* obj2
= 0 ;
23434 char *kwnames
[] = {
23435 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23443 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23448 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 Py_INCREF(Py_None
); resultobj
= Py_None
;
23465 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxWindow
*arg1
= (wxWindow
*) 0 ;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23479 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23481 wxPyEndAllowThreads(__tstate
);
23482 if (PyErr_Occurred()) SWIG_fail
;
23485 wxSize
* resultptr
;
23486 resultptr
= new wxSize((wxSize
&) result
);
23487 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23495 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23496 PyObject
*resultobj
;
23497 wxWindow
*arg1
= (wxWindow
*) 0 ;
23499 PyObject
* obj0
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23515 wxSize
* resultptr
;
23516 resultptr
= new wxSize((wxSize
&) result
);
23517 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23525 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23526 PyObject
*resultobj
;
23527 wxWindow
*arg1
= (wxWindow
*) 0 ;
23530 PyObject
* obj0
= 0 ;
23531 PyObject
* obj1
= 0 ;
23532 char *kwnames
[] = {
23533 (char *) "self",(char *) "minSize", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23545 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23547 wxPyEndAllowThreads(__tstate
);
23548 if (PyErr_Occurred()) SWIG_fail
;
23550 Py_INCREF(Py_None
); resultobj
= Py_None
;
23557 static PyObject
*_wrap_Window_SetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxWindow
*arg1
= (wxWindow
*) 0 ;
23562 PyObject
* obj0
= 0 ;
23563 PyObject
* obj1
= 0 ;
23564 char *kwnames
[] = {
23565 (char *) "self",(char *) "maxSize", NULL
23568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23573 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23577 (arg1
)->SetMaxSize((wxSize
const &)*arg2
);
23579 wxPyEndAllowThreads(__tstate
);
23580 if (PyErr_Occurred()) SWIG_fail
;
23582 Py_INCREF(Py_None
); resultobj
= Py_None
;
23589 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23590 PyObject
*resultobj
;
23591 wxWindow
*arg1
= (wxWindow
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23603 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23605 wxPyEndAllowThreads(__tstate
);
23606 if (PyErr_Occurred()) SWIG_fail
;
23608 resultobj
= SWIG_FromInt((int)result
);
23615 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23616 PyObject
*resultobj
;
23617 wxWindow
*arg1
= (wxWindow
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 char *kwnames
[] = {
23621 (char *) "self", NULL
23624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23629 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23631 wxPyEndAllowThreads(__tstate
);
23632 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= SWIG_FromInt((int)result
);
23641 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23642 PyObject
*resultobj
;
23643 wxWindow
*arg1
= (wxWindow
*) 0 ;
23645 PyObject
* obj0
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23655 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23657 wxPyEndAllowThreads(__tstate
);
23658 if (PyErr_Occurred()) SWIG_fail
;
23660 resultobj
= SWIG_FromInt((int)result
);
23667 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23668 PyObject
*resultobj
;
23669 wxWindow
*arg1
= (wxWindow
*) 0 ;
23671 PyObject
* obj0
= 0 ;
23672 char *kwnames
[] = {
23673 (char *) "self", NULL
23676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 resultobj
= SWIG_FromInt((int)result
);
23693 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxWindow
*arg1
= (wxWindow
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 char *kwnames
[] = {
23701 (char *) "self",(char *) "size", NULL
23704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23709 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 PyObject
* obj1
= 0 ;
23732 PyObject
* obj2
= 0 ;
23733 char *kwnames
[] = {
23734 (char *) "self",(char *) "w",(char *) "h", NULL
23737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23740 arg2
= (int) SWIG_AsInt(obj1
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23742 arg3
= (int) SWIG_AsInt(obj2
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23746 (arg1
)->SetVirtualSize(arg2
,arg3
);
23748 wxPyEndAllowThreads(__tstate
);
23749 if (PyErr_Occurred()) SWIG_fail
;
23751 Py_INCREF(Py_None
); resultobj
= Py_None
;
23758 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23759 PyObject
*resultobj
;
23760 wxWindow
*arg1
= (wxWindow
*) 0 ;
23762 PyObject
* obj0
= 0 ;
23763 char *kwnames
[] = {
23764 (char *) "self", NULL
23767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23772 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23774 wxPyEndAllowThreads(__tstate
);
23775 if (PyErr_Occurred()) SWIG_fail
;
23778 wxSize
* resultptr
;
23779 resultptr
= new wxSize((wxSize
&) result
);
23780 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23788 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23789 PyObject
*resultobj
;
23790 wxWindow
*arg1
= (wxWindow
*) 0 ;
23791 int *arg2
= (int *) 0 ;
23792 int *arg3
= (int *) 0 ;
23795 PyObject
* obj0
= 0 ;
23796 char *kwnames
[] = {
23797 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",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 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23809 wxPyEndAllowThreads(__tstate
);
23810 if (PyErr_Occurred()) SWIG_fail
;
23812 Py_INCREF(Py_None
); resultobj
= Py_None
;
23814 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23815 resultobj
= t_output_helper(resultobj
,o
);
23818 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23819 resultobj
= t_output_helper(resultobj
,o
);
23827 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23828 PyObject
*resultobj
;
23829 wxWindow
*arg1
= (wxWindow
*) 0 ;
23831 PyObject
* obj0
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23841 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23843 wxPyEndAllowThreads(__tstate
);
23844 if (PyErr_Occurred()) SWIG_fail
;
23847 wxSize
* resultptr
;
23848 resultptr
= new wxSize((wxSize
&) result
);
23849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23857 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23858 PyObject
*resultobj
;
23859 wxWindow
*arg1
= (wxWindow
*) 0 ;
23860 bool arg2
= (bool) True
;
23862 PyObject
* obj0
= 0 ;
23863 PyObject
* obj1
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self",(char *) "show", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 arg2
= (bool) SWIG_AsBool(obj1
);
23873 if (PyErr_Occurred()) SWIG_fail
;
23876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23877 result
= (bool)(arg1
)->Show(arg2
);
23879 wxPyEndAllowThreads(__tstate
);
23880 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23891 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23892 PyObject
*resultobj
;
23893 wxWindow
*arg1
= (wxWindow
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 char *kwnames
[] = {
23897 (char *) "self", NULL
23900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23905 result
= (bool)(arg1
)->Hide();
23907 wxPyEndAllowThreads(__tstate
);
23908 if (PyErr_Occurred()) SWIG_fail
;
23911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23919 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23920 PyObject
*resultobj
;
23921 wxWindow
*arg1
= (wxWindow
*) 0 ;
23922 bool arg2
= (bool) True
;
23924 PyObject
* obj0
= 0 ;
23925 PyObject
* obj1
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self",(char *) "enable", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 arg2
= (bool) SWIG_AsBool(obj1
);
23935 if (PyErr_Occurred()) SWIG_fail
;
23938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23939 result
= (bool)(arg1
)->Enable(arg2
);
23941 wxPyEndAllowThreads(__tstate
);
23942 if (PyErr_Occurred()) SWIG_fail
;
23945 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23953 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23954 PyObject
*resultobj
;
23955 wxWindow
*arg1
= (wxWindow
*) 0 ;
23957 PyObject
* obj0
= 0 ;
23958 char *kwnames
[] = {
23959 (char *) "self", NULL
23962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 result
= (bool)(arg1
)->Disable();
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23981 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23982 PyObject
*resultobj
;
23983 wxWindow
*arg1
= (wxWindow
*) 0 ;
23985 PyObject
* obj0
= 0 ;
23986 char *kwnames
[] = {
23987 (char *) "self", NULL
23990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23995 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23997 wxPyEndAllowThreads(__tstate
);
23998 if (PyErr_Occurred()) SWIG_fail
;
24001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24009 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
;
24011 wxWindow
*arg1
= (wxWindow
*) 0 ;
24013 PyObject
* obj0
= 0 ;
24014 char *kwnames
[] = {
24015 (char *) "self", NULL
24018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
24019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24037 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24038 PyObject
*resultobj
;
24039 wxWindow
*arg1
= (wxWindow
*) 0 ;
24041 PyObject
* obj0
= 0 ;
24042 PyObject
* obj1
= 0 ;
24043 char *kwnames
[] = {
24044 (char *) "self",(char *) "style", NULL
24047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24050 arg2
= (long) SWIG_AsLong(obj1
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24054 (arg1
)->SetWindowStyleFlag(arg2
);
24056 wxPyEndAllowThreads(__tstate
);
24057 if (PyErr_Occurred()) SWIG_fail
;
24059 Py_INCREF(Py_None
); resultobj
= Py_None
;
24066 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24067 PyObject
*resultobj
;
24068 wxWindow
*arg1
= (wxWindow
*) 0 ;
24070 PyObject
* obj0
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24080 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_FromLong((long)result
);
24092 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxWindow
*arg1
= (wxWindow
*) 0 ;
24097 PyObject
* obj0
= 0 ;
24098 PyObject
* obj1
= 0 ;
24099 char *kwnames
[] = {
24100 (char *) "self",(char *) "flag", NULL
24103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24106 arg2
= (int) SWIG_AsInt(obj1
);
24107 if (PyErr_Occurred()) SWIG_fail
;
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24112 wxPyEndAllowThreads(__tstate
);
24113 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24124 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24125 PyObject
*resultobj
;
24126 wxWindow
*arg1
= (wxWindow
*) 0 ;
24128 PyObject
* obj0
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24138 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24140 wxPyEndAllowThreads(__tstate
);
24141 if (PyErr_Occurred()) SWIG_fail
;
24144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24152 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24153 PyObject
*resultobj
;
24154 wxWindow
*arg1
= (wxWindow
*) 0 ;
24156 PyObject
* obj0
= 0 ;
24157 PyObject
* obj1
= 0 ;
24158 char *kwnames
[] = {
24159 (char *) "self",(char *) "exStyle", NULL
24162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24165 arg2
= (long) SWIG_AsLong(obj1
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24169 (arg1
)->SetExtraStyle(arg2
);
24171 wxPyEndAllowThreads(__tstate
);
24172 if (PyErr_Occurred()) SWIG_fail
;
24174 Py_INCREF(Py_None
); resultobj
= Py_None
;
24181 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24182 PyObject
*resultobj
;
24183 wxWindow
*arg1
= (wxWindow
*) 0 ;
24185 PyObject
* obj0
= 0 ;
24186 char *kwnames
[] = {
24187 (char *) "self", NULL
24190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24200 resultobj
= SWIG_FromLong((long)result
);
24207 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24208 PyObject
*resultobj
;
24209 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 bool arg2
= (bool) True
;
24211 PyObject
* obj0
= 0 ;
24212 PyObject
* obj1
= 0 ;
24213 char *kwnames
[] = {
24214 (char *) "self",(char *) "modal", NULL
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24221 arg2
= (bool) SWIG_AsBool(obj1
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24226 (arg1
)->MakeModal(arg2
);
24228 wxPyEndAllowThreads(__tstate
);
24229 if (PyErr_Occurred()) SWIG_fail
;
24231 Py_INCREF(Py_None
); resultobj
= Py_None
;
24238 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24239 PyObject
*resultobj
;
24240 wxWindow
*arg1
= (wxWindow
*) 0 ;
24242 PyObject
* obj0
= 0 ;
24243 PyObject
* obj1
= 0 ;
24244 char *kwnames
[] = {
24245 (char *) "self",(char *) "enableTheme", NULL
24248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24251 arg2
= (bool) SWIG_AsBool(obj1
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetThemeEnabled(arg2
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxWindow
*arg1
= (wxWindow
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24281 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24283 wxPyEndAllowThreads(__tstate
);
24284 if (PyErr_Occurred()) SWIG_fail
;
24287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24295 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24296 PyObject
*resultobj
;
24297 wxWindow
*arg1
= (wxWindow
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 char *kwnames
[] = {
24300 (char *) "self", NULL
24303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 (arg1
)->SetFocus();
24310 wxPyEndAllowThreads(__tstate
);
24311 if (PyErr_Occurred()) SWIG_fail
;
24313 Py_INCREF(Py_None
); resultobj
= Py_None
;
24320 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24321 PyObject
*resultobj
;
24322 wxWindow
*arg1
= (wxWindow
*) 0 ;
24323 PyObject
* obj0
= 0 ;
24324 char *kwnames
[] = {
24325 (char *) "self", NULL
24328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24333 (arg1
)->SetFocusFromKbd();
24335 wxPyEndAllowThreads(__tstate
);
24336 if (PyErr_Occurred()) SWIG_fail
;
24338 Py_INCREF(Py_None
); resultobj
= Py_None
;
24345 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24346 PyObject
*resultobj
;
24348 char *kwnames
[] = {
24352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24354 if (!wxPyCheckForApp()) SWIG_fail
;
24355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24356 result
= (wxWindow
*)wxWindow::FindFocus();
24358 wxPyEndAllowThreads(__tstate
);
24359 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= wxPyMake_wxObject(result
, 0);
24370 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24371 PyObject
*resultobj
;
24372 wxWindow
*arg1
= (wxWindow
*) 0 ;
24374 PyObject
* obj0
= 0 ;
24375 char *kwnames
[] = {
24376 (char *) "self", NULL
24379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24384 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24386 wxPyEndAllowThreads(__tstate
);
24387 if (PyErr_Occurred()) SWIG_fail
;
24390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24398 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24399 PyObject
*resultobj
;
24400 wxWindow
*arg1
= (wxWindow
*) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 char *kwnames
[] = {
24404 (char *) "self", NULL
24407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24412 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24414 wxPyEndAllowThreads(__tstate
);
24415 if (PyErr_Occurred()) SWIG_fail
;
24418 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24426 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24427 PyObject
*resultobj
;
24428 wxWindow
*arg1
= (wxWindow
*) 0 ;
24430 PyObject
* obj0
= 0 ;
24431 char *kwnames
[] = {
24432 (char *) "self", NULL
24435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= wxPyMake_wxObject(result
, 0);
24454 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxWindow
*arg1
= (wxWindow
*) 0 ;
24457 wxWindow
*arg2
= (wxWindow
*) 0 ;
24459 PyObject
* obj0
= 0 ;
24460 PyObject
* obj1
= 0 ;
24461 char *kwnames
[] = {
24462 (char *) "self",(char *) "child", NULL
24465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24468 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= wxPyMake_wxObject(result
, 0);
24486 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxWindow
*arg1
= (wxWindow
*) 0 ;
24489 wxWindow
*arg2
= (wxWindow
*) 0 ;
24490 PyObject
* obj0
= 0 ;
24491 PyObject
* obj1
= 0 ;
24492 char *kwnames
[] = {
24493 (char *) "self",(char *) "win", NULL
24496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 (arg1
)->SetTmpDefaultItem(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 Py_INCREF(Py_None
); resultobj
= Py_None
;
24515 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24516 PyObject
*resultobj
;
24517 wxWindow
*arg1
= (wxWindow
*) 0 ;
24518 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24520 PyObject
* obj0
= 0 ;
24521 PyObject
* obj1
= 0 ;
24522 char *kwnames
[] = {
24523 (char *) "self",(char *) "flags", NULL
24526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 arg2
= (int) SWIG_AsInt(obj1
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24535 result
= (bool)(arg1
)->Navigate(arg2
);
24537 wxPyEndAllowThreads(__tstate
);
24538 if (PyErr_Occurred()) SWIG_fail
;
24541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24549 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24550 PyObject
*resultobj
;
24551 wxWindow
*arg1
= (wxWindow
*) 0 ;
24552 wxWindow
*arg2
= (wxWindow
*) 0 ;
24553 PyObject
* obj0
= 0 ;
24554 PyObject
* obj1
= 0 ;
24555 char *kwnames
[] = {
24556 (char *) "self",(char *) "win", NULL
24559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 (arg1
)->MoveAfterInTabOrder(arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24571 Py_INCREF(Py_None
); resultobj
= Py_None
;
24578 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24579 PyObject
*resultobj
;
24580 wxWindow
*arg1
= (wxWindow
*) 0 ;
24581 wxWindow
*arg2
= (wxWindow
*) 0 ;
24582 PyObject
* obj0
= 0 ;
24583 PyObject
* obj1
= 0 ;
24584 char *kwnames
[] = {
24585 (char *) "self",(char *) "win", NULL
24588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->MoveBeforeInTabOrder(arg2
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24607 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxWindow
*arg1
= (wxWindow
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24623 wxPyEndAllowThreads(__tstate
);
24624 if (PyErr_Occurred()) SWIG_fail
;
24626 resultobj
= result
;
24633 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24634 PyObject
*resultobj
;
24635 wxWindow
*arg1
= (wxWindow
*) 0 ;
24637 PyObject
* obj0
= 0 ;
24638 char *kwnames
[] = {
24639 (char *) "self", NULL
24642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24647 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24649 wxPyEndAllowThreads(__tstate
);
24650 if (PyErr_Occurred()) SWIG_fail
;
24653 resultobj
= wxPyMake_wxObject(result
, 0);
24661 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24662 PyObject
*resultobj
;
24663 wxWindow
*arg1
= (wxWindow
*) 0 ;
24665 PyObject
* obj0
= 0 ;
24666 char *kwnames
[] = {
24667 (char *) "self", NULL
24670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24677 wxPyEndAllowThreads(__tstate
);
24678 if (PyErr_Occurred()) SWIG_fail
;
24681 resultobj
= wxPyMake_wxObject(result
, 0);
24689 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxWindow
*arg1
= (wxWindow
*) 0 ;
24693 PyObject
* obj0
= 0 ;
24694 char *kwnames
[] = {
24695 (char *) "self", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24717 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxWindow
*arg1
= (wxWindow
*) 0 ;
24720 wxWindow
*arg2
= (wxWindow
*) 0 ;
24722 PyObject
* obj0
= 0 ;
24723 PyObject
* obj1
= 0 ;
24724 char *kwnames
[] = {
24725 (char *) "self",(char *) "newParent", NULL
24728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24731 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (bool)(arg1
)->Reparent(arg2
);
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24749 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24750 PyObject
*resultobj
;
24751 wxWindow
*arg1
= (wxWindow
*) 0 ;
24752 wxWindow
*arg2
= (wxWindow
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 char *kwnames
[] = {
24756 (char *) "self",(char *) "child", NULL
24759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24766 (arg1
)->AddChild(arg2
);
24768 wxPyEndAllowThreads(__tstate
);
24769 if (PyErr_Occurred()) SWIG_fail
;
24771 Py_INCREF(Py_None
); resultobj
= Py_None
;
24778 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24779 PyObject
*resultobj
;
24780 wxWindow
*arg1
= (wxWindow
*) 0 ;
24781 wxWindow
*arg2
= (wxWindow
*) 0 ;
24782 PyObject
* obj0
= 0 ;
24783 PyObject
* obj1
= 0 ;
24784 char *kwnames
[] = {
24785 (char *) "self",(char *) "child", NULL
24788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24791 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24795 (arg1
)->RemoveChild(arg2
);
24797 wxPyEndAllowThreads(__tstate
);
24798 if (PyErr_Occurred()) SWIG_fail
;
24800 Py_INCREF(Py_None
); resultobj
= Py_None
;
24807 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24812 PyObject
* obj0
= 0 ;
24813 PyObject
* obj1
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self",(char *) "winid", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24821 arg2
= (long) SWIG_AsLong(obj1
);
24822 if (PyErr_Occurred()) SWIG_fail
;
24824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24825 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24827 wxPyEndAllowThreads(__tstate
);
24828 if (PyErr_Occurred()) SWIG_fail
;
24831 resultobj
= wxPyMake_wxObject(result
, 0);
24839 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24840 PyObject
*resultobj
;
24841 wxWindow
*arg1
= (wxWindow
*) 0 ;
24842 wxString
*arg2
= 0 ;
24844 bool temp2
= False
;
24845 PyObject
* obj0
= 0 ;
24846 PyObject
* obj1
= 0 ;
24847 char *kwnames
[] = {
24848 (char *) "self",(char *) "name", NULL
24851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24855 arg2
= wxString_in_helper(obj1
);
24856 if (arg2
== NULL
) SWIG_fail
;
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24863 wxPyEndAllowThreads(__tstate
);
24864 if (PyErr_Occurred()) SWIG_fail
;
24867 resultobj
= wxPyMake_wxObject(result
, 0);
24883 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxWindow
*arg1
= (wxWindow
*) 0 ;
24886 wxEvtHandler
*result
;
24887 PyObject
* obj0
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24897 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= wxPyMake_wxObject(result
, 0);
24911 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxWindow
*arg1
= (wxWindow
*) 0 ;
24914 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "self",(char *) "handler", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 (arg1
)->SetEventHandler(arg2
);
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 Py_INCREF(Py_None
); resultobj
= Py_None
;
24940 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
;
24942 wxWindow
*arg1
= (wxWindow
*) 0 ;
24943 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24944 PyObject
* obj0
= 0 ;
24945 PyObject
* obj1
= 0 ;
24946 char *kwnames
[] = {
24947 (char *) "self",(char *) "handler", NULL
24950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24953 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 (arg1
)->PushEventHandler(arg2
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24962 Py_INCREF(Py_None
); resultobj
= Py_None
;
24969 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24970 PyObject
*resultobj
;
24971 wxWindow
*arg1
= (wxWindow
*) 0 ;
24972 bool arg2
= (bool) False
;
24973 wxEvtHandler
*result
;
24974 PyObject
* obj0
= 0 ;
24975 PyObject
* obj1
= 0 ;
24976 char *kwnames
[] = {
24977 (char *) "self",(char *) "deleteHandler", NULL
24980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24984 arg2
= (bool) SWIG_AsBool(obj1
);
24985 if (PyErr_Occurred()) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= wxPyMake_wxObject(result
, 0);
25003 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxWindow
*arg1
= (wxWindow
*) 0 ;
25006 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
25008 PyObject
* obj0
= 0 ;
25009 PyObject
* obj1
= 0 ;
25010 char *kwnames
[] = {
25011 (char *) "self",(char *) "handler", NULL
25014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
25015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25017 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
25018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25021 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
25023 wxPyEndAllowThreads(__tstate
);
25024 if (PyErr_Occurred()) SWIG_fail
;
25027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25035 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
;
25037 wxWindow
*arg1
= (wxWindow
*) 0 ;
25038 wxValidator
*arg2
= 0 ;
25039 PyObject
* obj0
= 0 ;
25040 PyObject
* obj1
= 0 ;
25041 char *kwnames
[] = {
25042 (char *) "self",(char *) "validator", NULL
25045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25048 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25051 if (arg2
== NULL
) {
25052 PyErr_SetString(PyExc_TypeError
,"null reference");
25056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25057 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25059 wxPyEndAllowThreads(__tstate
);
25060 if (PyErr_Occurred()) SWIG_fail
;
25062 Py_INCREF(Py_None
); resultobj
= Py_None
;
25069 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25070 PyObject
*resultobj
;
25071 wxWindow
*arg1
= (wxWindow
*) 0 ;
25072 wxValidator
*result
;
25073 PyObject
* obj0
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 result
= (wxValidator
*)(arg1
)->GetValidator();
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25089 resultobj
= wxPyMake_wxObject(result
, 0);
25097 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25098 PyObject
*resultobj
;
25099 wxWindow
*arg1
= (wxWindow
*) 0 ;
25101 PyObject
* obj0
= 0 ;
25102 char *kwnames
[] = {
25103 (char *) "self", NULL
25106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25111 result
= (bool)(arg1
)->Validate();
25113 wxPyEndAllowThreads(__tstate
);
25114 if (PyErr_Occurred()) SWIG_fail
;
25117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25125 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25126 PyObject
*resultobj
;
25127 wxWindow
*arg1
= (wxWindow
*) 0 ;
25129 PyObject
* obj0
= 0 ;
25130 char *kwnames
[] = {
25131 (char *) "self", NULL
25134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25139 result
= (bool)(arg1
)->TransferDataToWindow();
25141 wxPyEndAllowThreads(__tstate
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25153 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25154 PyObject
*resultobj
;
25155 wxWindow
*arg1
= (wxWindow
*) 0 ;
25157 PyObject
* obj0
= 0 ;
25158 char *kwnames
[] = {
25159 (char *) "self", NULL
25162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25167 result
= (bool)(arg1
)->TransferDataFromWindow();
25169 wxPyEndAllowThreads(__tstate
);
25170 if (PyErr_Occurred()) SWIG_fail
;
25173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25181 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25182 PyObject
*resultobj
;
25183 wxWindow
*arg1
= (wxWindow
*) 0 ;
25184 PyObject
* obj0
= 0 ;
25185 char *kwnames
[] = {
25186 (char *) "self", NULL
25189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->InitDialog();
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 Py_INCREF(Py_None
); resultobj
= Py_None
;
25206 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxWindow
*arg1
= (wxWindow
*) 0 ;
25209 wxAcceleratorTable
*arg2
= 0 ;
25210 PyObject
* obj0
= 0 ;
25211 PyObject
* obj1
= 0 ;
25212 char *kwnames
[] = {
25213 (char *) "self",(char *) "accel", NULL
25216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25219 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25220 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25222 if (arg2
== NULL
) {
25223 PyErr_SetString(PyExc_TypeError
,"null reference");
25227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25228 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25230 wxPyEndAllowThreads(__tstate
);
25231 if (PyErr_Occurred()) SWIG_fail
;
25233 Py_INCREF(Py_None
); resultobj
= Py_None
;
25240 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25241 PyObject
*resultobj
;
25242 wxWindow
*arg1
= (wxWindow
*) 0 ;
25243 wxAcceleratorTable
*result
;
25244 PyObject
* obj0
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25254 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25256 wxPyEndAllowThreads(__tstate
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25266 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25267 PyObject
*resultobj
;
25268 wxWindow
*arg1
= (wxWindow
*) 0 ;
25273 PyObject
* obj0
= 0 ;
25274 PyObject
* obj1
= 0 ;
25275 PyObject
* obj2
= 0 ;
25276 PyObject
* obj3
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25284 arg2
= (int) SWIG_AsInt(obj1
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25286 arg3
= (int) SWIG_AsInt(obj2
);
25287 if (PyErr_Occurred()) SWIG_fail
;
25288 arg4
= (int) SWIG_AsInt(obj3
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25306 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxWindow
*arg1
= (wxWindow
*) 0 ;
25311 PyObject
* obj0
= 0 ;
25312 PyObject
* obj1
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "hotkeyId", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25320 arg2
= (int) SWIG_AsInt(obj1
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25338 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxWindow
*arg1
= (wxWindow
*) 0 ;
25341 wxPoint
*arg2
= 0 ;
25344 PyObject
* obj0
= 0 ;
25345 PyObject
* obj1
= 0 ;
25346 char *kwnames
[] = {
25347 (char *) "self",(char *) "pt", NULL
25350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25355 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25359 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25361 wxPyEndAllowThreads(__tstate
);
25362 if (PyErr_Occurred()) SWIG_fail
;
25365 wxPoint
* resultptr
;
25366 resultptr
= new wxPoint((wxPoint
&) result
);
25367 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25375 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25376 PyObject
*resultobj
;
25377 wxWindow
*arg1
= (wxWindow
*) 0 ;
25381 PyObject
* obj0
= 0 ;
25382 PyObject
* obj1
= 0 ;
25383 char *kwnames
[] = {
25384 (char *) "self",(char *) "sz", NULL
25387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25392 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25402 wxSize
* resultptr
;
25403 resultptr
= new wxSize((wxSize
&) result
);
25404 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25412 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25413 PyObject
*resultobj
;
25414 wxWindow
*arg1
= (wxWindow
*) 0 ;
25415 wxPoint
*arg2
= 0 ;
25418 PyObject
* obj0
= 0 ;
25419 PyObject
* obj1
= 0 ;
25420 char *kwnames
[] = {
25421 (char *) "self",(char *) "pt", NULL
25424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25435 wxPyEndAllowThreads(__tstate
);
25436 if (PyErr_Occurred()) SWIG_fail
;
25439 wxPoint
* resultptr
;
25440 resultptr
= new wxPoint((wxPoint
&) result
);
25441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25449 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25450 PyObject
*resultobj
;
25451 wxWindow
*arg1
= (wxWindow
*) 0 ;
25455 PyObject
* obj0
= 0 ;
25456 PyObject
* obj1
= 0 ;
25457 char *kwnames
[] = {
25458 (char *) "self",(char *) "sz", NULL
25461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25466 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25470 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25472 wxPyEndAllowThreads(__tstate
);
25473 if (PyErr_Occurred()) SWIG_fail
;
25476 wxSize
* resultptr
;
25477 resultptr
= new wxSize((wxSize
&) result
);
25478 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25486 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25487 PyObject
*resultobj
;
25488 wxWindow
*arg1
= (wxWindow
*) 0 ;
25489 wxPoint
*arg2
= 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25494 char *kwnames
[] = {
25495 (char *) "self",(char *) "pt", NULL
25498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25503 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25513 wxPoint
* resultptr
;
25514 resultptr
= new wxPoint((wxPoint
&) result
);
25515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25523 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25524 PyObject
*resultobj
;
25525 wxWindow
*arg1
= (wxWindow
*) 0 ;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "sz", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25540 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25544 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25546 wxPyEndAllowThreads(__tstate
);
25547 if (PyErr_Occurred()) SWIG_fail
;
25550 wxSize
* resultptr
;
25551 resultptr
= new wxSize((wxSize
&) result
);
25552 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25560 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxWindow
*arg1
= (wxWindow
*) 0 ;
25565 PyObject
* obj0
= 0 ;
25566 PyObject
* obj1
= 0 ;
25567 PyObject
* obj2
= 0 ;
25568 char *kwnames
[] = {
25569 (char *) "self",(char *) "x",(char *) "y", NULL
25572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25575 arg2
= (int) SWIG_AsInt(obj1
);
25576 if (PyErr_Occurred()) SWIG_fail
;
25577 arg3
= (int) SWIG_AsInt(obj2
);
25578 if (PyErr_Occurred()) SWIG_fail
;
25580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25581 (arg1
)->WarpPointer(arg2
,arg3
);
25583 wxPyEndAllowThreads(__tstate
);
25584 if (PyErr_Occurred()) SWIG_fail
;
25586 Py_INCREF(Py_None
); resultobj
= Py_None
;
25593 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25594 PyObject
*resultobj
;
25595 wxWindow
*arg1
= (wxWindow
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 char *kwnames
[] = {
25598 (char *) "self", NULL
25601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 (arg1
)->CaptureMouse();
25608 wxPyEndAllowThreads(__tstate
);
25609 if (PyErr_Occurred()) SWIG_fail
;
25611 Py_INCREF(Py_None
); resultobj
= Py_None
;
25618 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25619 PyObject
*resultobj
;
25620 wxWindow
*arg1
= (wxWindow
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 char *kwnames
[] = {
25623 (char *) "self", NULL
25626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25631 (arg1
)->ReleaseMouse();
25633 wxPyEndAllowThreads(__tstate
);
25634 if (PyErr_Occurred()) SWIG_fail
;
25636 Py_INCREF(Py_None
); resultobj
= Py_None
;
25643 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25644 PyObject
*resultobj
;
25646 char *kwnames
[] = {
25650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25652 if (!wxPyCheckForApp()) SWIG_fail
;
25653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25654 result
= (wxWindow
*)wxWindow::GetCapture();
25656 wxPyEndAllowThreads(__tstate
);
25657 if (PyErr_Occurred()) SWIG_fail
;
25660 resultobj
= wxPyMake_wxObject(result
, 0);
25668 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25669 PyObject
*resultobj
;
25670 wxWindow
*arg1
= (wxWindow
*) 0 ;
25672 PyObject
* obj0
= 0 ;
25673 char *kwnames
[] = {
25674 (char *) "self", NULL
25677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25682 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25684 wxPyEndAllowThreads(__tstate
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25696 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25697 PyObject
*resultobj
;
25698 wxWindow
*arg1
= (wxWindow
*) 0 ;
25699 bool arg2
= (bool) True
;
25700 wxRect
*arg3
= (wxRect
*) NULL
;
25701 PyObject
* obj0
= 0 ;
25702 PyObject
* obj1
= 0 ;
25703 PyObject
* obj2
= 0 ;
25704 char *kwnames
[] = {
25705 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25712 arg2
= (bool) SWIG_AsBool(obj1
);
25713 if (PyErr_Occurred()) SWIG_fail
;
25716 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxWindow
*arg1
= (wxWindow
*) 0 ;
25738 PyObject
* obj0
= 0 ;
25739 PyObject
* obj1
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "rect", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25749 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25755 wxPyEndAllowThreads(__tstate
);
25756 if (PyErr_Occurred()) SWIG_fail
;
25758 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxWindow
*arg1
= (wxWindow
*) 0 ;
25768 PyObject
* obj0
= 0 ;
25769 char *kwnames
[] = {
25770 (char *) "self", NULL
25773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25780 wxPyEndAllowThreads(__tstate
);
25781 if (PyErr_Occurred()) SWIG_fail
;
25783 Py_INCREF(Py_None
); resultobj
= Py_None
;
25790 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25791 PyObject
*resultobj
;
25792 wxWindow
*arg1
= (wxWindow
*) 0 ;
25793 PyObject
* obj0
= 0 ;
25794 char *kwnames
[] = {
25795 (char *) "self", NULL
25798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 (arg1
)->ClearBackground();
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 Py_INCREF(Py_None
); resultobj
= Py_None
;
25815 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25816 PyObject
*resultobj
;
25817 wxWindow
*arg1
= (wxWindow
*) 0 ;
25818 PyObject
* obj0
= 0 ;
25819 char *kwnames
[] = {
25820 (char *) "self", NULL
25823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25830 wxPyEndAllowThreads(__tstate
);
25831 if (PyErr_Occurred()) SWIG_fail
;
25833 Py_INCREF(Py_None
); resultobj
= Py_None
;
25840 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25841 PyObject
*resultobj
;
25842 wxWindow
*arg1
= (wxWindow
*) 0 ;
25843 PyObject
* obj0
= 0 ;
25844 char *kwnames
[] = {
25845 (char *) "self", NULL
25848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25869 PyObject
* obj0
= 0 ;
25870 PyObject
* obj1
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "dc", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25879 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25881 if (arg2
== NULL
) {
25882 PyErr_SetString(PyExc_TypeError
,"null reference");
25886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25887 (arg1
)->PrepareDC(*arg2
);
25889 wxPyEndAllowThreads(__tstate
);
25890 if (PyErr_Occurred()) SWIG_fail
;
25892 Py_INCREF(Py_None
); resultobj
= Py_None
;
25899 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25900 PyObject
*resultobj
;
25901 wxWindow
*arg1
= (wxWindow
*) 0 ;
25903 PyObject
* obj0
= 0 ;
25904 char *kwnames
[] = {
25905 (char *) "self", NULL
25908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25914 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25915 result
= (wxRegion
*) &_result_ref
;
25918 wxPyEndAllowThreads(__tstate
);
25919 if (PyErr_Occurred()) SWIG_fail
;
25921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25928 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25929 PyObject
*resultobj
;
25930 wxWindow
*arg1
= (wxWindow
*) 0 ;
25932 PyObject
* obj0
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25942 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25944 wxPyEndAllowThreads(__tstate
);
25945 if (PyErr_Occurred()) SWIG_fail
;
25948 wxRect
* resultptr
;
25949 resultptr
= new wxRect((wxRect
&) result
);
25950 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25958 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25959 PyObject
*resultobj
;
25960 wxWindow
*arg1
= (wxWindow
*) 0 ;
25963 int arg4
= (int) 1 ;
25964 int arg5
= (int) 1 ;
25966 PyObject
* obj0
= 0 ;
25967 PyObject
* obj1
= 0 ;
25968 PyObject
* obj2
= 0 ;
25969 PyObject
* obj3
= 0 ;
25970 PyObject
* obj4
= 0 ;
25971 char *kwnames
[] = {
25972 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25978 arg2
= (int) SWIG_AsInt(obj1
);
25979 if (PyErr_Occurred()) SWIG_fail
;
25980 arg3
= (int) SWIG_AsInt(obj2
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 arg4
= (int) SWIG_AsInt(obj3
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25987 arg5
= (int) SWIG_AsInt(obj4
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25998 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26006 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26007 PyObject
*resultobj
;
26008 wxWindow
*arg1
= (wxWindow
*) 0 ;
26009 wxPoint
*arg2
= 0 ;
26012 PyObject
* obj0
= 0 ;
26013 PyObject
* obj1
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self",(char *) "pt", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26023 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26027 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
26029 wxPyEndAllowThreads(__tstate
);
26030 if (PyErr_Occurred()) SWIG_fail
;
26033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26041 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 PyObject
* obj1
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self",(char *) "rect", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26058 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26076 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26077 PyObject
*resultobj
;
26078 wxWindow
*arg1
= (wxWindow
*) 0 ;
26079 wxVisualAttributes result
;
26080 PyObject
* obj0
= 0 ;
26081 char *kwnames
[] = {
26082 (char *) "self", NULL
26085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26096 wxVisualAttributes
* resultptr
;
26097 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26106 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26109 wxVisualAttributes result
;
26110 PyObject
* obj0
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "variant", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26117 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 if (!wxPyCheckForApp()) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 wxVisualAttributes
* resultptr
;
26130 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26139 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxWindow
*arg1
= (wxWindow
*) 0 ;
26142 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_SetBackgroundColour",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 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26162 wxPyEndAllowThreads(__tstate
);
26163 if (PyErr_Occurred()) SWIG_fail
;
26166 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26174 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxWindow
*arg1
= (wxWindow
*) 0 ;
26177 wxColour
*arg2
= 0 ;
26179 PyObject
* obj0
= 0 ;
26180 PyObject
* obj1
= 0 ;
26181 char *kwnames
[] = {
26182 (char *) "self",(char *) "colour", NULL
26185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26190 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 Py_INCREF(Py_None
); resultobj
= Py_None
;
26206 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxWindow
*arg1
= (wxWindow
*) 0 ;
26209 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_SetForegroundColour",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 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26241 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxWindow
*arg1
= (wxWindow
*) 0 ;
26244 wxColour
*arg2
= 0 ;
26246 PyObject
* obj0
= 0 ;
26247 PyObject
* obj1
= 0 ;
26248 char *kwnames
[] = {
26249 (char *) "self",(char *) "colour", NULL
26252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26257 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 Py_INCREF(Py_None
); resultobj
= Py_None
;
26273 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26274 PyObject
*resultobj
;
26275 wxWindow
*arg1
= (wxWindow
*) 0 ;
26277 PyObject
* obj0
= 0 ;
26278 char *kwnames
[] = {
26279 (char *) "self", NULL
26282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26287 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26289 wxPyEndAllowThreads(__tstate
);
26290 if (PyErr_Occurred()) SWIG_fail
;
26293 wxColour
* resultptr
;
26294 resultptr
= new wxColour((wxColour
&) result
);
26295 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26303 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26304 PyObject
*resultobj
;
26305 wxWindow
*arg1
= (wxWindow
*) 0 ;
26307 PyObject
* obj0
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26317 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26319 wxPyEndAllowThreads(__tstate
);
26320 if (PyErr_Occurred()) SWIG_fail
;
26323 wxColour
* resultptr
;
26324 resultptr
= new wxColour((wxColour
&) result
);
26325 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26333 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26334 PyObject
*resultobj
;
26335 wxWindow
*arg1
= (wxWindow
*) 0 ;
26336 wxCursor
*arg2
= 0 ;
26338 PyObject
* obj0
= 0 ;
26339 PyObject
* obj1
= 0 ;
26340 char *kwnames
[] = {
26341 (char *) "self",(char *) "cursor", NULL
26344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26347 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26348 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26350 if (arg2
== NULL
) {
26351 PyErr_SetString(PyExc_TypeError
,"null reference");
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26370 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxWindow
*arg1
= (wxWindow
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26384 result
= (arg1
)->GetCursor();
26386 wxPyEndAllowThreads(__tstate
);
26387 if (PyErr_Occurred()) SWIG_fail
;
26390 wxCursor
* resultptr
;
26391 resultptr
= new wxCursor((wxCursor
&) result
);
26392 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26400 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26401 PyObject
*resultobj
;
26402 wxWindow
*arg1
= (wxWindow
*) 0 ;
26405 PyObject
* obj0
= 0 ;
26406 PyObject
* obj1
= 0 ;
26407 char *kwnames
[] = {
26408 (char *) "self",(char *) "font", NULL
26411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26414 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26415 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26417 if (arg2
== NULL
) {
26418 PyErr_SetString(PyExc_TypeError
,"null reference");
26422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26423 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26425 wxPyEndAllowThreads(__tstate
);
26426 if (PyErr_Occurred()) SWIG_fail
;
26429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26437 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26438 PyObject
*resultobj
;
26439 wxWindow
*arg1
= (wxWindow
*) 0 ;
26441 PyObject
* obj0
= 0 ;
26442 PyObject
* obj1
= 0 ;
26443 char *kwnames
[] = {
26444 (char *) "self",(char *) "font", NULL
26447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26450 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26451 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26453 if (arg2
== NULL
) {
26454 PyErr_SetString(PyExc_TypeError
,"null reference");
26458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26459 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26461 wxPyEndAllowThreads(__tstate
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 Py_INCREF(Py_None
); resultobj
= Py_None
;
26471 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26472 PyObject
*resultobj
;
26473 wxWindow
*arg1
= (wxWindow
*) 0 ;
26475 PyObject
* obj0
= 0 ;
26476 char *kwnames
[] = {
26477 (char *) "self", NULL
26480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (arg1
)->GetFont();
26487 wxPyEndAllowThreads(__tstate
);
26488 if (PyErr_Occurred()) SWIG_fail
;
26491 wxFont
* resultptr
;
26492 resultptr
= new wxFont((wxFont
&) result
);
26493 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26501 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26502 PyObject
*resultobj
;
26503 wxWindow
*arg1
= (wxWindow
*) 0 ;
26504 wxCaret
*arg2
= (wxCaret
*) 0 ;
26505 PyObject
* obj0
= 0 ;
26506 PyObject
* obj1
= 0 ;
26507 char *kwnames
[] = {
26508 (char *) "self",(char *) "caret", NULL
26511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetCaret(arg2
);
26520 wxPyEndAllowThreads(__tstate
);
26521 if (PyErr_Occurred()) SWIG_fail
;
26523 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxWindow
*arg1
= (wxWindow
*) 0 ;
26534 PyObject
* obj0
= 0 ;
26535 char *kwnames
[] = {
26536 (char *) "self", NULL
26539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26556 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26557 PyObject
*resultobj
;
26558 wxWindow
*arg1
= (wxWindow
*) 0 ;
26560 PyObject
* obj0
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26570 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26572 wxPyEndAllowThreads(__tstate
);
26573 if (PyErr_Occurred()) SWIG_fail
;
26575 resultobj
= SWIG_FromInt((int)result
);
26582 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26583 PyObject
*resultobj
;
26584 wxWindow
*arg1
= (wxWindow
*) 0 ;
26586 PyObject
* obj0
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self", NULL
26591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26596 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26598 wxPyEndAllowThreads(__tstate
);
26599 if (PyErr_Occurred()) SWIG_fail
;
26601 resultobj
= SWIG_FromInt((int)result
);
26608 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26609 PyObject
*resultobj
;
26610 wxWindow
*arg1
= (wxWindow
*) 0 ;
26611 wxString
*arg2
= 0 ;
26612 int *arg3
= (int *) 0 ;
26613 int *arg4
= (int *) 0 ;
26614 bool temp2
= False
;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 char *kwnames
[] = {
26620 (char *) "self",(char *) "string", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26629 arg2
= wxString_in_helper(obj1
);
26630 if (arg2
== NULL
) SWIG_fail
;
26634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26635 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26637 wxPyEndAllowThreads(__tstate
);
26638 if (PyErr_Occurred()) SWIG_fail
;
26640 Py_INCREF(Py_None
); resultobj
= Py_None
;
26642 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26643 resultobj
= t_output_helper(resultobj
,o
);
26646 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26647 resultobj
= t_output_helper(resultobj
,o
);
26663 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26664 PyObject
*resultobj
;
26665 wxWindow
*arg1
= (wxWindow
*) 0 ;
26666 wxString
*arg2
= 0 ;
26667 int *arg3
= (int *) 0 ;
26668 int *arg4
= (int *) 0 ;
26669 int *arg5
= (int *) 0 ;
26670 int *arg6
= (int *) 0 ;
26671 wxFont
*arg7
= (wxFont
*) NULL
;
26672 bool temp2
= False
;
26677 PyObject
* obj0
= 0 ;
26678 PyObject
* obj1
= 0 ;
26679 PyObject
* obj2
= 0 ;
26680 char *kwnames
[] = {
26681 (char *) "self",(char *) "string",(char *) "font", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26692 arg2
= wxString_in_helper(obj1
);
26693 if (arg2
== NULL
) SWIG_fail
;
26697 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 Py_INCREF(Py_None
); resultobj
= Py_None
;
26709 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26710 resultobj
= t_output_helper(resultobj
,o
);
26713 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26714 resultobj
= t_output_helper(resultobj
,o
);
26717 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26718 resultobj
= t_output_helper(resultobj
,o
);
26721 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26722 resultobj
= t_output_helper(resultobj
,o
);
26738 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26739 PyObject
*resultobj
;
26740 wxWindow
*arg1
= (wxWindow
*) 0 ;
26741 int *arg2
= (int *) 0 ;
26742 int *arg3
= (int *) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 PyObject
* obj1
= 0 ;
26747 PyObject
* obj2
= 0 ;
26748 char *kwnames
[] = {
26749 (char *) "self",(char *) "x",(char *) "y", NULL
26752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26756 temp2
= PyInt_AsLong(obj1
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26761 temp3
= PyInt_AsLong(obj2
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26767 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26769 wxPyEndAllowThreads(__tstate
);
26770 if (PyErr_Occurred()) SWIG_fail
;
26772 Py_INCREF(Py_None
); resultobj
= Py_None
;
26774 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26775 resultobj
= t_output_helper(resultobj
,o
);
26778 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26779 resultobj
= t_output_helper(resultobj
,o
);
26787 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxWindow
*arg1
= (wxWindow
*) 0 ;
26790 int *arg2
= (int *) 0 ;
26791 int *arg3
= (int *) 0 ;
26794 PyObject
* obj0
= 0 ;
26795 PyObject
* obj1
= 0 ;
26796 PyObject
* obj2
= 0 ;
26797 char *kwnames
[] = {
26798 (char *) "self",(char *) "x",(char *) "y", NULL
26801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26805 temp2
= PyInt_AsLong(obj1
);
26806 if (PyErr_Occurred()) SWIG_fail
;
26810 temp3
= PyInt_AsLong(obj2
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26816 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26818 wxPyEndAllowThreads(__tstate
);
26819 if (PyErr_Occurred()) SWIG_fail
;
26821 Py_INCREF(Py_None
); resultobj
= Py_None
;
26823 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26824 resultobj
= t_output_helper(resultobj
,o
);
26827 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26828 resultobj
= t_output_helper(resultobj
,o
);
26836 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26837 PyObject
*resultobj
;
26838 wxWindow
*arg1
= (wxWindow
*) 0 ;
26839 wxPoint
*arg2
= 0 ;
26842 PyObject
* obj0
= 0 ;
26843 PyObject
* obj1
= 0 ;
26844 char *kwnames
[] = {
26845 (char *) "self",(char *) "pt", NULL
26848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26853 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26859 wxPyEndAllowThreads(__tstate
);
26860 if (PyErr_Occurred()) SWIG_fail
;
26863 wxPoint
* resultptr
;
26864 resultptr
= new wxPoint((wxPoint
&) result
);
26865 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26873 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 wxWindow
*arg1
= (wxWindow
*) 0 ;
26876 wxPoint
*arg2
= 0 ;
26879 PyObject
* obj0
= 0 ;
26880 PyObject
* obj1
= 0 ;
26881 char *kwnames
[] = {
26882 (char *) "self",(char *) "pt", NULL
26885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26890 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26894 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26896 wxPyEndAllowThreads(__tstate
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26900 wxPoint
* resultptr
;
26901 resultptr
= new wxPoint((wxPoint
&) result
);
26902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26910 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26911 PyObject
*resultobj
;
26912 wxWindow
*arg1
= (wxWindow
*) 0 ;
26916 PyObject
* obj0
= 0 ;
26917 PyObject
* obj1
= 0 ;
26918 PyObject
* obj2
= 0 ;
26919 char *kwnames
[] = {
26920 (char *) "self",(char *) "x",(char *) "y", NULL
26923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26926 arg2
= (int) SWIG_AsInt(obj1
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26928 arg3
= (int) SWIG_AsInt(obj2
);
26929 if (PyErr_Occurred()) SWIG_fail
;
26931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26932 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26937 resultobj
= SWIG_FromInt((int)result
);
26944 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26945 PyObject
*resultobj
;
26946 wxWindow
*arg1
= (wxWindow
*) 0 ;
26947 wxPoint
*arg2
= 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26952 char *kwnames
[] = {
26953 (char *) "self",(char *) "pt", NULL
26956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26961 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 resultobj
= SWIG_FromInt((int)result
);
26977 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26978 PyObject
*resultobj
;
26979 wxWindow
*arg1
= (wxWindow
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 PyObject
* obj1
= 0 ;
26985 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26988 arg2
= (long) SWIG_AsLong(obj1
);
26989 if (PyErr_Occurred()) SWIG_fail
;
26991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26992 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26994 wxPyEndAllowThreads(__tstate
);
26995 if (PyErr_Occurred()) SWIG_fail
;
26997 resultobj
= SWIG_FromInt((int)result
);
27004 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
27005 PyObject
*resultobj
;
27006 wxWindow
*arg1
= (wxWindow
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27010 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
27011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27015 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
27017 wxPyEndAllowThreads(__tstate
);
27018 if (PyErr_Occurred()) SWIG_fail
;
27020 resultobj
= SWIG_FromInt((int)result
);
27027 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27032 argc
= PyObject_Length(args
);
27033 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27034 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27040 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27048 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27055 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27063 _v
= SWIG_CheckLong(argv
[1]);
27065 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27070 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27075 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxWindow
*arg1
= (wxWindow
*) 0 ;
27078 long arg2
= (long) wxUPDATE_UI_NONE
;
27079 PyObject
* obj0
= 0 ;
27080 PyObject
* obj1
= 0 ;
27081 char *kwnames
[] = {
27082 (char *) "self",(char *) "flags", NULL
27085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27089 arg2
= (long) SWIG_AsLong(obj1
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 (arg1
)->UpdateWindowUI(arg2
);
27096 wxPyEndAllowThreads(__tstate
);
27097 if (PyErr_Occurred()) SWIG_fail
;
27099 Py_INCREF(Py_None
); resultobj
= Py_None
;
27106 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27107 PyObject
*resultobj
;
27108 wxWindow
*arg1
= (wxWindow
*) 0 ;
27109 wxMenu
*arg2
= (wxMenu
*) 0 ;
27110 int arg3
= (int) -1 ;
27111 int arg4
= (int) -1 ;
27113 PyObject
* obj0
= 0 ;
27114 PyObject
* obj1
= 0 ;
27115 PyObject
* obj2
= 0 ;
27116 PyObject
* obj3
= 0 ;
27117 char *kwnames
[] = {
27118 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27124 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27127 arg3
= (int) SWIG_AsInt(obj2
);
27128 if (PyErr_Occurred()) SWIG_fail
;
27131 arg4
= (int) SWIG_AsInt(obj3
);
27132 if (PyErr_Occurred()) SWIG_fail
;
27135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27136 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27138 wxPyEndAllowThreads(__tstate
);
27139 if (PyErr_Occurred()) SWIG_fail
;
27142 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27150 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27151 PyObject
*resultobj
;
27152 wxWindow
*arg1
= (wxWindow
*) 0 ;
27153 wxMenu
*arg2
= (wxMenu
*) 0 ;
27154 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27155 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27158 PyObject
* obj0
= 0 ;
27159 PyObject
* obj1
= 0 ;
27160 PyObject
* obj2
= 0 ;
27161 char *kwnames
[] = {
27162 (char *) "self",(char *) "menu",(char *) "pos", NULL
27165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27173 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27178 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27180 wxPyEndAllowThreads(__tstate
);
27181 if (PyErr_Occurred()) SWIG_fail
;
27184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27192 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 wxWindow
*arg1
= (wxWindow
*) 0 ;
27196 PyObject
* obj0
= 0 ;
27197 char *kwnames
[] = {
27198 (char *) "self", NULL
27201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27206 result
= (long)wxWindow_GetHandle(arg1
);
27208 wxPyEndAllowThreads(__tstate
);
27209 if (PyErr_Occurred()) SWIG_fail
;
27211 resultobj
= SWIG_FromLong((long)result
);
27218 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxWindow
*arg1
= (wxWindow
*) 0 ;
27221 wxPaintEvent
*arg2
= 0 ;
27222 PyObject
* obj0
= 0 ;
27223 PyObject
* obj1
= 0 ;
27224 char *kwnames
[] = {
27225 (char *) "self",(char *) "event", NULL
27228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
27229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1)
27234 if (arg2
== NULL
) {
27235 PyErr_SetString(PyExc_TypeError
,"null reference");
27239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27240 (arg1
)->OnPaint(*arg2
);
27242 wxPyEndAllowThreads(__tstate
);
27243 if (PyErr_Occurred()) SWIG_fail
;
27245 Py_INCREF(Py_None
); resultobj
= Py_None
;
27252 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27253 PyObject
*resultobj
;
27254 wxWindow
*arg1
= (wxWindow
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 PyObject
* obj1
= 0 ;
27259 char *kwnames
[] = {
27260 (char *) "self",(char *) "orient", NULL
27263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27266 arg2
= (int) SWIG_AsInt(obj1
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27270 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27272 wxPyEndAllowThreads(__tstate
);
27273 if (PyErr_Occurred()) SWIG_fail
;
27276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27284 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxWindow
*arg1
= (wxWindow
*) 0 ;
27291 bool arg6
= (bool) True
;
27292 PyObject
* obj0
= 0 ;
27293 PyObject
* obj1
= 0 ;
27294 PyObject
* obj2
= 0 ;
27295 PyObject
* obj3
= 0 ;
27296 PyObject
* obj4
= 0 ;
27297 PyObject
* obj5
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 arg2
= (int) SWIG_AsInt(obj1
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27307 arg3
= (int) SWIG_AsInt(obj2
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27309 arg4
= (int) SWIG_AsInt(obj3
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27311 arg5
= (int) SWIG_AsInt(obj4
);
27312 if (PyErr_Occurred()) SWIG_fail
;
27314 arg6
= (bool) SWIG_AsBool(obj5
);
27315 if (PyErr_Occurred()) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 Py_INCREF(Py_None
); resultobj
= Py_None
;
27331 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxWindow
*arg1
= (wxWindow
*) 0 ;
27336 bool arg4
= (bool) True
;
27337 PyObject
* obj0
= 0 ;
27338 PyObject
* obj1
= 0 ;
27339 PyObject
* obj2
= 0 ;
27340 PyObject
* obj3
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27348 arg2
= (int) SWIG_AsInt(obj1
);
27349 if (PyErr_Occurred()) SWIG_fail
;
27350 arg3
= (int) SWIG_AsInt(obj2
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 arg4
= (bool) SWIG_AsBool(obj3
);
27354 if (PyErr_Occurred()) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27370 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxWindow
*arg1
= (wxWindow
*) 0 ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj1
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "orientation", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27384 arg2
= (int) SWIG_AsInt(obj1
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27388 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27390 wxPyEndAllowThreads(__tstate
);
27391 if (PyErr_Occurred()) SWIG_fail
;
27393 resultobj
= SWIG_FromInt((int)result
);
27400 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27401 PyObject
*resultobj
;
27402 wxWindow
*arg1
= (wxWindow
*) 0 ;
27405 PyObject
* obj0
= 0 ;
27406 PyObject
* obj1
= 0 ;
27407 char *kwnames
[] = {
27408 (char *) "self",(char *) "orientation", NULL
27411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27414 arg2
= (int) SWIG_AsInt(obj1
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27418 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27420 wxPyEndAllowThreads(__tstate
);
27421 if (PyErr_Occurred()) SWIG_fail
;
27423 resultobj
= SWIG_FromInt((int)result
);
27430 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27431 PyObject
*resultobj
;
27432 wxWindow
*arg1
= (wxWindow
*) 0 ;
27435 PyObject
* obj0
= 0 ;
27436 PyObject
* obj1
= 0 ;
27437 char *kwnames
[] = {
27438 (char *) "self",(char *) "orientation", NULL
27441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27444 arg2
= (int) SWIG_AsInt(obj1
);
27445 if (PyErr_Occurred()) SWIG_fail
;
27447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27448 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27450 wxPyEndAllowThreads(__tstate
);
27451 if (PyErr_Occurred()) SWIG_fail
;
27453 resultobj
= SWIG_FromInt((int)result
);
27460 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27461 PyObject
*resultobj
;
27462 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 wxRect
*arg4
= (wxRect
*) NULL
;
27466 PyObject
* obj0
= 0 ;
27467 PyObject
* obj1
= 0 ;
27468 PyObject
* obj2
= 0 ;
27469 PyObject
* obj3
= 0 ;
27470 char *kwnames
[] = {
27471 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27477 arg2
= (int) SWIG_AsInt(obj1
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27479 arg3
= (int) SWIG_AsInt(obj2
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27492 Py_INCREF(Py_None
); resultobj
= Py_None
;
27499 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27500 PyObject
*resultobj
;
27501 wxWindow
*arg1
= (wxWindow
*) 0 ;
27504 PyObject
* obj0
= 0 ;
27505 PyObject
* obj1
= 0 ;
27506 char *kwnames
[] = {
27507 (char *) "self",(char *) "lines", NULL
27510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27513 arg2
= (int) SWIG_AsInt(obj1
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27517 result
= (bool)(arg1
)->ScrollLines(arg2
);
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27531 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27532 PyObject
*resultobj
;
27533 wxWindow
*arg1
= (wxWindow
*) 0 ;
27536 PyObject
* obj0
= 0 ;
27537 PyObject
* obj1
= 0 ;
27538 char *kwnames
[] = {
27539 (char *) "self",(char *) "pages", NULL
27542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27545 arg2
= (int) SWIG_AsInt(obj1
);
27546 if (PyErr_Occurred()) SWIG_fail
;
27548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27549 result
= (bool)(arg1
)->ScrollPages(arg2
);
27551 wxPyEndAllowThreads(__tstate
);
27552 if (PyErr_Occurred()) SWIG_fail
;
27555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27563 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxWindow
*arg1
= (wxWindow
*) 0 ;
27567 PyObject
* obj0
= 0 ;
27568 char *kwnames
[] = {
27569 (char *) "self", NULL
27572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (bool)(arg1
)->LineUp();
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27591 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27592 PyObject
*resultobj
;
27593 wxWindow
*arg1
= (wxWindow
*) 0 ;
27595 PyObject
* obj0
= 0 ;
27596 char *kwnames
[] = {
27597 (char *) "self", NULL
27600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= (bool)(arg1
)->LineDown();
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27619 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27620 PyObject
*resultobj
;
27621 wxWindow
*arg1
= (wxWindow
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27633 result
= (bool)(arg1
)->PageUp();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27639 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27647 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27648 PyObject
*resultobj
;
27649 wxWindow
*arg1
= (wxWindow
*) 0 ;
27651 PyObject
* obj0
= 0 ;
27652 char *kwnames
[] = {
27653 (char *) "self", NULL
27656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27661 result
= (bool)(arg1
)->PageDown();
27663 wxPyEndAllowThreads(__tstate
);
27664 if (PyErr_Occurred()) SWIG_fail
;
27667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27675 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27676 PyObject
*resultobj
;
27677 wxWindow
*arg1
= (wxWindow
*) 0 ;
27678 wxString
*arg2
= 0 ;
27679 bool temp2
= False
;
27680 PyObject
* obj0
= 0 ;
27681 PyObject
* obj1
= 0 ;
27682 char *kwnames
[] = {
27683 (char *) "self",(char *) "text", NULL
27686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27690 arg2
= wxString_in_helper(obj1
);
27691 if (arg2
== NULL
) SWIG_fail
;
27695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27696 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27698 wxPyEndAllowThreads(__tstate
);
27699 if (PyErr_Occurred()) SWIG_fail
;
27701 Py_INCREF(Py_None
); resultobj
= Py_None
;
27716 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27717 PyObject
*resultobj
;
27718 wxWindow
*arg1
= (wxWindow
*) 0 ;
27719 wxString
*arg2
= 0 ;
27720 bool temp2
= False
;
27721 PyObject
* obj0
= 0 ;
27722 PyObject
* obj1
= 0 ;
27723 char *kwnames
[] = {
27724 (char *) "self",(char *) "text", NULL
27727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 arg2
= wxString_in_helper(obj1
);
27732 if (arg2
== NULL
) SWIG_fail
;
27736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27737 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27739 wxPyEndAllowThreads(__tstate
);
27740 if (PyErr_Occurred()) SWIG_fail
;
27742 Py_INCREF(Py_None
); resultobj
= Py_None
;
27757 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
;
27759 wxWindow
*arg1
= (wxWindow
*) 0 ;
27761 PyObject
* obj0
= 0 ;
27762 char *kwnames
[] = {
27763 (char *) "self", NULL
27766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27778 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27780 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27789 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27790 PyObject
*resultobj
;
27791 wxWindow
*arg1
= (wxWindow
*) 0 ;
27792 wxString
*arg2
= 0 ;
27793 bool temp2
= False
;
27794 PyObject
* obj0
= 0 ;
27795 PyObject
* obj1
= 0 ;
27796 char *kwnames
[] = {
27797 (char *) "self",(char *) "tip", NULL
27800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27804 arg2
= wxString_in_helper(obj1
);
27805 if (arg2
== NULL
) SWIG_fail
;
27809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27810 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27812 wxPyEndAllowThreads(__tstate
);
27813 if (PyErr_Occurred()) SWIG_fail
;
27815 Py_INCREF(Py_None
); resultobj
= Py_None
;
27830 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27831 PyObject
*resultobj
;
27832 wxWindow
*arg1
= (wxWindow
*) 0 ;
27833 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27834 PyObject
* obj0
= 0 ;
27835 PyObject
* obj1
= 0 ;
27836 char *kwnames
[] = {
27837 (char *) "self",(char *) "tip", NULL
27840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27843 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27847 (arg1
)->SetToolTip(arg2
);
27849 wxPyEndAllowThreads(__tstate
);
27850 if (PyErr_Occurred()) SWIG_fail
;
27852 Py_INCREF(Py_None
); resultobj
= Py_None
;
27859 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27860 PyObject
*resultobj
;
27861 wxWindow
*arg1
= (wxWindow
*) 0 ;
27863 PyObject
* obj0
= 0 ;
27864 char *kwnames
[] = {
27865 (char *) "self", NULL
27868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27879 resultobj
= wxPyMake_wxObject(result
, 0);
27887 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27888 PyObject
*resultobj
;
27889 wxWindow
*arg1
= (wxWindow
*) 0 ;
27890 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27891 PyObject
* obj0
= 0 ;
27892 PyObject
* obj1
= 0 ;
27893 char *kwnames
[] = {
27894 (char *) "self",(char *) "dropTarget", NULL
27897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27901 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27904 (arg1
)->SetDropTarget(arg2
);
27906 wxPyEndAllowThreads(__tstate
);
27907 if (PyErr_Occurred()) SWIG_fail
;
27909 Py_INCREF(Py_None
); resultobj
= Py_None
;
27916 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27917 PyObject
*resultobj
;
27918 wxWindow
*arg1
= (wxWindow
*) 0 ;
27919 wxPyDropTarget
*result
;
27920 PyObject
* obj0
= 0 ;
27921 char *kwnames
[] = {
27922 (char *) "self", NULL
27925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27942 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxWindow
*arg1
= (wxWindow
*) 0 ;
27946 PyObject
* obj0
= 0 ;
27947 PyObject
* obj1
= 0 ;
27948 char *kwnames
[] = {
27949 (char *) "self",(char *) "accept", NULL
27952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27955 arg2
= (bool) SWIG_AsBool(obj1
);
27956 if (PyErr_Occurred()) SWIG_fail
;
27958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27959 (arg1
)->DragAcceptFiles(arg2
);
27961 wxPyEndAllowThreads(__tstate
);
27962 if (PyErr_Occurred()) SWIG_fail
;
27964 Py_INCREF(Py_None
); resultobj
= Py_None
;
27971 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27972 PyObject
*resultobj
;
27973 wxWindow
*arg1
= (wxWindow
*) 0 ;
27974 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27975 PyObject
* obj0
= 0 ;
27976 PyObject
* obj1
= 0 ;
27977 char *kwnames
[] = {
27978 (char *) "self",(char *) "constraints", NULL
27981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27984 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 (arg1
)->SetConstraints(arg2
);
27990 wxPyEndAllowThreads(__tstate
);
27991 if (PyErr_Occurred()) SWIG_fail
;
27993 Py_INCREF(Py_None
); resultobj
= Py_None
;
28000 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28001 PyObject
*resultobj
;
28002 wxWindow
*arg1
= (wxWindow
*) 0 ;
28003 wxLayoutConstraints
*result
;
28004 PyObject
* obj0
= 0 ;
28005 char *kwnames
[] = {
28006 (char *) "self", NULL
28009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
28010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28014 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
28016 wxPyEndAllowThreads(__tstate
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28019 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
28026 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28027 PyObject
*resultobj
;
28028 wxWindow
*arg1
= (wxWindow
*) 0 ;
28030 PyObject
* obj0
= 0 ;
28031 PyObject
* obj1
= 0 ;
28032 char *kwnames
[] = {
28033 (char *) "self",(char *) "autoLayout", NULL
28036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
28037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28039 arg2
= (bool) SWIG_AsBool(obj1
);
28040 if (PyErr_Occurred()) SWIG_fail
;
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 (arg1
)->SetAutoLayout(arg2
);
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28048 Py_INCREF(Py_None
); resultobj
= Py_None
;
28055 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28056 PyObject
*resultobj
;
28057 wxWindow
*arg1
= (wxWindow
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 char *kwnames
[] = {
28061 (char *) "self", NULL
28064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
28065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28069 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
28071 wxPyEndAllowThreads(__tstate
);
28072 if (PyErr_Occurred()) SWIG_fail
;
28075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28083 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28084 PyObject
*resultobj
;
28085 wxWindow
*arg1
= (wxWindow
*) 0 ;
28087 PyObject
* obj0
= 0 ;
28088 char *kwnames
[] = {
28089 (char *) "self", NULL
28092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
28093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28097 result
= (bool)(arg1
)->Layout();
28099 wxPyEndAllowThreads(__tstate
);
28100 if (PyErr_Occurred()) SWIG_fail
;
28103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28111 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28112 PyObject
*resultobj
;
28113 wxWindow
*arg1
= (wxWindow
*) 0 ;
28114 wxSizer
*arg2
= (wxSizer
*) 0 ;
28115 bool arg3
= (bool) True
;
28116 PyObject
* obj0
= 0 ;
28117 PyObject
* obj1
= 0 ;
28118 PyObject
* obj2
= 0 ;
28119 char *kwnames
[] = {
28120 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28129 arg3
= (bool) SWIG_AsBool(obj2
);
28130 if (PyErr_Occurred()) SWIG_fail
;
28133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28134 (arg1
)->SetSizer(arg2
,arg3
);
28136 wxPyEndAllowThreads(__tstate
);
28137 if (PyErr_Occurred()) SWIG_fail
;
28139 Py_INCREF(Py_None
); resultobj
= Py_None
;
28146 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxWindow
*arg1
= (wxWindow
*) 0 ;
28149 wxSizer
*arg2
= (wxSizer
*) 0 ;
28150 bool arg3
= (bool) True
;
28151 PyObject
* obj0
= 0 ;
28152 PyObject
* obj1
= 0 ;
28153 PyObject
* obj2
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28161 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28164 arg3
= (bool) SWIG_AsBool(obj2
);
28165 if (PyErr_Occurred()) SWIG_fail
;
28168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28169 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28171 wxPyEndAllowThreads(__tstate
);
28172 if (PyErr_Occurred()) SWIG_fail
;
28174 Py_INCREF(Py_None
); resultobj
= Py_None
;
28181 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28182 PyObject
*resultobj
;
28183 wxWindow
*arg1
= (wxWindow
*) 0 ;
28185 PyObject
* obj0
= 0 ;
28186 char *kwnames
[] = {
28187 (char *) "self", NULL
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28201 resultobj
= wxPyMake_wxSizer(result
, 0);
28209 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxWindow
*arg1
= (wxWindow
*) 0 ;
28212 wxSizer
*arg2
= (wxSizer
*) 0 ;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "sizer", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28226 (arg1
)->SetContainingSizer(arg2
);
28228 wxPyEndAllowThreads(__tstate
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 Py_INCREF(Py_None
); resultobj
= Py_None
;
28238 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28239 PyObject
*resultobj
;
28240 wxWindow
*arg1
= (wxWindow
*) 0 ;
28242 PyObject
* obj0
= 0 ;
28243 char *kwnames
[] = {
28244 (char *) "self", NULL
28247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= wxPyMake_wxSizer(result
, 0);
28266 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxWindow
*arg1
= (wxWindow
*) 0 ;
28269 PyObject
* obj0
= 0 ;
28270 char *kwnames
[] = {
28271 (char *) "self", NULL
28274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28279 (arg1
)->InheritAttributes();
28281 wxPyEndAllowThreads(__tstate
);
28282 if (PyErr_Occurred()) SWIG_fail
;
28284 Py_INCREF(Py_None
); resultobj
= Py_None
;
28291 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28292 PyObject
*resultobj
;
28293 wxWindow
*arg1
= (wxWindow
*) 0 ;
28295 PyObject
* obj0
= 0 ;
28296 char *kwnames
[] = {
28297 (char *) "self", NULL
28300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28305 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28307 wxPyEndAllowThreads(__tstate
);
28308 if (PyErr_Occurred()) SWIG_fail
;
28311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28319 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28322 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28324 return Py_BuildValue((char *)"");
28326 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28327 PyObject
*resultobj
;
28329 wxWindow
*arg2
= (wxWindow
*) NULL
;
28331 PyObject
* obj0
= 0 ;
28332 PyObject
* obj1
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "id",(char *) "parent", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28338 arg1
= (long) SWIG_AsLong(obj0
);
28339 if (PyErr_Occurred()) SWIG_fail
;
28341 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28345 if (!wxPyCheckForApp()) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28349 wxPyEndAllowThreads(__tstate
);
28350 if (PyErr_Occurred()) SWIG_fail
;
28353 resultobj
= wxPyMake_wxObject(result
, 0);
28361 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28362 PyObject
*resultobj
;
28363 wxString
*arg1
= 0 ;
28364 wxWindow
*arg2
= (wxWindow
*) NULL
;
28366 bool temp1
= False
;
28367 PyObject
* obj0
= 0 ;
28368 PyObject
* obj1
= 0 ;
28369 char *kwnames
[] = {
28370 (char *) "name",(char *) "parent", NULL
28373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28375 arg1
= wxString_in_helper(obj0
);
28376 if (arg1
== NULL
) SWIG_fail
;
28380 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28384 if (!wxPyCheckForApp()) SWIG_fail
;
28385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28386 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28388 wxPyEndAllowThreads(__tstate
);
28389 if (PyErr_Occurred()) SWIG_fail
;
28392 resultobj
= wxPyMake_wxObject(result
, 0);
28408 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxString
*arg1
= 0 ;
28411 wxWindow
*arg2
= (wxWindow
*) NULL
;
28413 bool temp1
= False
;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "label",(char *) "parent", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28422 arg1
= wxString_in_helper(obj0
);
28423 if (arg1
== NULL
) SWIG_fail
;
28427 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28431 if (!wxPyCheckForApp()) SWIG_fail
;
28432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28433 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28435 wxPyEndAllowThreads(__tstate
);
28436 if (PyErr_Occurred()) SWIG_fail
;
28439 resultobj
= wxPyMake_wxObject(result
, 0);
28455 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28456 PyObject
*resultobj
;
28457 wxWindow
*arg1
= (wxWindow
*) 0 ;
28458 unsigned long arg2
;
28460 PyObject
* obj0
= 0 ;
28461 PyObject
* obj1
= 0 ;
28462 char *kwnames
[] = {
28463 (char *) "parent",(char *) "_hWnd", NULL
28466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28469 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28473 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28475 wxPyEndAllowThreads(__tstate
);
28476 if (PyErr_Occurred()) SWIG_fail
;
28479 resultobj
= wxPyMake_wxObject(result
, 0);
28487 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
;
28489 wxValidator
*result
;
28490 char *kwnames
[] = {
28494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28497 result
= (wxValidator
*)new wxValidator();
28499 wxPyEndAllowThreads(__tstate
);
28500 if (PyErr_Occurred()) SWIG_fail
;
28502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28509 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28510 PyObject
*resultobj
;
28511 wxValidator
*arg1
= (wxValidator
*) 0 ;
28512 wxValidator
*result
;
28513 PyObject
* obj0
= 0 ;
28514 char *kwnames
[] = {
28515 (char *) "self", NULL
28518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (wxValidator
*)(arg1
)->Clone();
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28529 resultobj
= wxPyMake_wxObject(result
, 0);
28537 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28538 PyObject
*resultobj
;
28539 wxValidator
*arg1
= (wxValidator
*) 0 ;
28540 wxWindow
*arg2
= (wxWindow
*) 0 ;
28542 PyObject
* obj0
= 0 ;
28543 PyObject
* obj1
= 0 ;
28544 char *kwnames
[] = {
28545 (char *) "self",(char *) "parent", NULL
28548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (bool)(arg1
)->Validate(arg2
);
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28569 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28570 PyObject
*resultobj
;
28571 wxValidator
*arg1
= (wxValidator
*) 0 ;
28573 PyObject
* obj0
= 0 ;
28574 char *kwnames
[] = {
28575 (char *) "self", NULL
28578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (bool)(arg1
)->TransferToWindow();
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28597 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28598 PyObject
*resultobj
;
28599 wxValidator
*arg1
= (wxValidator
*) 0 ;
28601 PyObject
* obj0
= 0 ;
28602 char *kwnames
[] = {
28603 (char *) "self", NULL
28606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (bool)(arg1
)->TransferFromWindow();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28625 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxValidator
*arg1
= (wxValidator
*) 0 ;
28629 PyObject
* obj0
= 0 ;
28630 char *kwnames
[] = {
28631 (char *) "self", NULL
28634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28639 result
= (wxWindow
*)(arg1
)->GetWindow();
28641 wxPyEndAllowThreads(__tstate
);
28642 if (PyErr_Occurred()) SWIG_fail
;
28645 resultobj
= wxPyMake_wxObject(result
, 0);
28653 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28654 PyObject
*resultobj
;
28655 wxValidator
*arg1
= (wxValidator
*) 0 ;
28656 wxWindow
*arg2
= (wxWindow
*) 0 ;
28657 PyObject
* obj0
= 0 ;
28658 PyObject
* obj1
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "window", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28666 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->SetWindow(arg2
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 Py_INCREF(Py_None
); resultobj
= Py_None
;
28682 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28685 char *kwnames
[] = {
28689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 result
= (bool)wxValidator::IsSilent();
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28698 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28706 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28707 PyObject
*resultobj
;
28708 int arg1
= (int) True
;
28709 PyObject
* obj0
= 0 ;
28710 char *kwnames
[] = {
28711 (char *) "doIt", NULL
28714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28716 arg1
= (int) SWIG_AsInt(obj0
);
28717 if (PyErr_Occurred()) SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 wxValidator::SetBellOnError(arg1
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28733 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28736 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28738 return Py_BuildValue((char *)"");
28740 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxPyValidator
*result
;
28743 char *kwnames
[] = {
28747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28750 result
= (wxPyValidator
*)new wxPyValidator();
28752 wxPyEndAllowThreads(__tstate
);
28753 if (PyErr_Occurred()) SWIG_fail
;
28755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28762 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28763 PyObject
*resultobj
;
28764 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28765 PyObject
*arg2
= (PyObject
*) 0 ;
28766 PyObject
*arg3
= (PyObject
*) 0 ;
28767 int arg4
= (int) True
;
28768 PyObject
* obj0
= 0 ;
28769 PyObject
* obj1
= 0 ;
28770 PyObject
* obj2
= 0 ;
28771 PyObject
* obj3
= 0 ;
28772 char *kwnames
[] = {
28773 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28782 arg4
= (int) SWIG_AsInt(obj3
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28789 wxPyEndAllowThreads(__tstate
);
28790 if (PyErr_Occurred()) SWIG_fail
;
28792 Py_INCREF(Py_None
); resultobj
= Py_None
;
28799 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28801 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28802 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28804 return Py_BuildValue((char *)"");
28806 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28807 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28812 static PyObject
*_wrap_DefaultValidator_get() {
28815 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28820 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28821 PyObject
*resultobj
;
28822 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28823 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28824 long arg2
= (long) 0 ;
28826 bool temp1
= False
;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "title",(char *) "style", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28836 arg1
= wxString_in_helper(obj0
);
28837 if (arg1
== NULL
) SWIG_fail
;
28842 arg2
= (long) SWIG_AsLong(obj1
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28846 if (!wxPyCheckForApp()) SWIG_fail
;
28847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28848 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28850 wxPyEndAllowThreads(__tstate
);
28851 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28868 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28869 PyObject
*resultobj
;
28870 wxMenu
*arg1
= (wxMenu
*) 0 ;
28872 wxString
*arg3
= 0 ;
28873 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28874 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28875 int arg5
= (int) wxITEM_NORMAL
;
28876 wxMenuItem
*result
;
28877 bool temp3
= False
;
28878 bool temp4
= False
;
28879 PyObject
* obj0
= 0 ;
28880 PyObject
* obj1
= 0 ;
28881 PyObject
* obj2
= 0 ;
28882 PyObject
* obj3
= 0 ;
28883 PyObject
* obj4
= 0 ;
28884 char *kwnames
[] = {
28885 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28889 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28891 arg2
= (int) SWIG_AsInt(obj1
);
28892 if (PyErr_Occurred()) SWIG_fail
;
28894 arg3
= wxString_in_helper(obj2
);
28895 if (arg3
== NULL
) SWIG_fail
;
28900 arg4
= wxString_in_helper(obj3
);
28901 if (arg4
== NULL
) SWIG_fail
;
28906 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28907 if (PyErr_Occurred()) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= wxPyMake_wxObject(result
, 0);
28941 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxMenu
*arg1
= (wxMenu
*) 0 ;
28944 wxMenuItem
*result
;
28945 PyObject
* obj0
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28955 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28957 wxPyEndAllowThreads(__tstate
);
28958 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= wxPyMake_wxObject(result
, 0);
28969 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28970 PyObject
*resultobj
;
28971 wxMenu
*arg1
= (wxMenu
*) 0 ;
28973 wxString
*arg3
= 0 ;
28974 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28975 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28976 wxMenuItem
*result
;
28977 bool temp3
= False
;
28978 bool temp4
= False
;
28979 PyObject
* obj0
= 0 ;
28980 PyObject
* obj1
= 0 ;
28981 PyObject
* obj2
= 0 ;
28982 PyObject
* obj3
= 0 ;
28983 char *kwnames
[] = {
28984 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28990 arg2
= (int) SWIG_AsInt(obj1
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 arg3
= wxString_in_helper(obj2
);
28994 if (arg3
== NULL
) SWIG_fail
;
28999 arg4
= wxString_in_helper(obj3
);
29000 if (arg4
== NULL
) SWIG_fail
;
29005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29006 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29008 wxPyEndAllowThreads(__tstate
);
29009 if (PyErr_Occurred()) SWIG_fail
;
29012 resultobj
= wxPyMake_wxObject(result
, 0);
29036 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
;
29038 wxMenu
*arg1
= (wxMenu
*) 0 ;
29040 wxString
*arg3
= 0 ;
29041 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29043 wxMenuItem
*result
;
29044 bool temp3
= False
;
29045 bool temp4
= False
;
29046 PyObject
* obj0
= 0 ;
29047 PyObject
* obj1
= 0 ;
29048 PyObject
* obj2
= 0 ;
29049 PyObject
* obj3
= 0 ;
29050 char *kwnames
[] = {
29051 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29057 arg2
= (int) SWIG_AsInt(obj1
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29060 arg3
= wxString_in_helper(obj2
);
29061 if (arg3
== NULL
) SWIG_fail
;
29066 arg4
= wxString_in_helper(obj3
);
29067 if (arg4
== NULL
) SWIG_fail
;
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29075 wxPyEndAllowThreads(__tstate
);
29076 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= wxPyMake_wxObject(result
, 0);
29103 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29104 PyObject
*resultobj
;
29105 wxMenu
*arg1
= (wxMenu
*) 0 ;
29107 wxString
*arg3
= 0 ;
29108 wxMenu
*arg4
= (wxMenu
*) 0 ;
29109 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29110 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29111 wxMenuItem
*result
;
29112 bool temp3
= False
;
29113 bool temp5
= False
;
29114 PyObject
* obj0
= 0 ;
29115 PyObject
* obj1
= 0 ;
29116 PyObject
* obj2
= 0 ;
29117 PyObject
* obj3
= 0 ;
29118 PyObject
* obj4
= 0 ;
29119 char *kwnames
[] = {
29120 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29126 arg2
= (int) SWIG_AsInt(obj1
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 arg3
= wxString_in_helper(obj2
);
29130 if (arg3
== NULL
) SWIG_fail
;
29133 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29137 arg5
= wxString_in_helper(obj4
);
29138 if (arg5
== NULL
) SWIG_fail
;
29143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29144 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29146 wxPyEndAllowThreads(__tstate
);
29147 if (PyErr_Occurred()) SWIG_fail
;
29150 resultobj
= wxPyMake_wxObject(result
, 0);
29174 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
;
29176 wxMenu
*arg1
= (wxMenu
*) 0 ;
29177 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29178 wxMenuItem
*result
;
29179 PyObject
* obj0
= 0 ;
29180 PyObject
* obj1
= 0 ;
29181 char *kwnames
[] = {
29182 (char *) "self",(char *) "item", NULL
29185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29198 resultobj
= wxPyMake_wxObject(result
, 0);
29206 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29207 PyObject
*resultobj
;
29208 wxMenu
*arg1
= (wxMenu
*) 0 ;
29209 PyObject
* obj0
= 0 ;
29210 char *kwnames
[] = {
29211 (char *) "self", NULL
29214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 Py_INCREF(Py_None
); resultobj
= Py_None
;
29231 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29232 PyObject
*resultobj
;
29233 wxMenu
*arg1
= (wxMenu
*) 0 ;
29235 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29236 wxMenuItem
*result
;
29237 PyObject
* obj0
= 0 ;
29238 PyObject
* obj1
= 0 ;
29239 PyObject
* obj2
= 0 ;
29240 char *kwnames
[] = {
29241 (char *) "self",(char *) "pos",(char *) "item", NULL
29244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29247 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29248 if (PyErr_Occurred()) SWIG_fail
;
29249 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29253 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29259 resultobj
= wxPyMake_wxObject(result
, 0);
29267 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29268 PyObject
*resultobj
;
29269 wxMenu
*arg1
= (wxMenu
*) 0 ;
29272 wxString
*arg4
= 0 ;
29273 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29274 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29275 int arg6
= (int) wxITEM_NORMAL
;
29276 wxMenuItem
*result
;
29277 bool temp4
= False
;
29278 bool temp5
= False
;
29279 PyObject
* obj0
= 0 ;
29280 PyObject
* obj1
= 0 ;
29281 PyObject
* obj2
= 0 ;
29282 PyObject
* obj3
= 0 ;
29283 PyObject
* obj4
= 0 ;
29284 PyObject
* obj5
= 0 ;
29285 char *kwnames
[] = {
29286 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29292 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29294 arg3
= (int) SWIG_AsInt(obj2
);
29295 if (PyErr_Occurred()) SWIG_fail
;
29297 arg4
= wxString_in_helper(obj3
);
29298 if (arg4
== NULL
) SWIG_fail
;
29303 arg5
= wxString_in_helper(obj4
);
29304 if (arg5
== NULL
) SWIG_fail
;
29309 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29310 if (PyErr_Occurred()) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29314 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29320 resultobj
= wxPyMake_wxObject(result
, 0);
29344 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxMenu
*arg1
= (wxMenu
*) 0 ;
29348 wxMenuItem
*result
;
29349 PyObject
* obj0
= 0 ;
29350 PyObject
* obj1
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "pos", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29358 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29359 if (PyErr_Occurred()) SWIG_fail
;
29361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29362 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= wxPyMake_wxObject(result
, 0);
29376 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxMenu
*arg1
= (wxMenu
*) 0 ;
29381 wxString
*arg4
= 0 ;
29382 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29383 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29384 wxMenuItem
*result
;
29385 bool temp4
= False
;
29386 bool temp5
= False
;
29387 PyObject
* obj0
= 0 ;
29388 PyObject
* obj1
= 0 ;
29389 PyObject
* obj2
= 0 ;
29390 PyObject
* obj3
= 0 ;
29391 PyObject
* obj4
= 0 ;
29392 char *kwnames
[] = {
29393 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29399 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29400 if (PyErr_Occurred()) SWIG_fail
;
29401 arg3
= (int) SWIG_AsInt(obj2
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 arg4
= wxString_in_helper(obj3
);
29405 if (arg4
== NULL
) SWIG_fail
;
29410 arg5
= wxString_in_helper(obj4
);
29411 if (arg5
== NULL
) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29423 resultobj
= wxPyMake_wxObject(result
, 0);
29447 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29448 PyObject
*resultobj
;
29449 wxMenu
*arg1
= (wxMenu
*) 0 ;
29452 wxString
*arg4
= 0 ;
29453 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29454 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29455 wxMenuItem
*result
;
29456 bool temp4
= False
;
29457 bool temp5
= False
;
29458 PyObject
* obj0
= 0 ;
29459 PyObject
* obj1
= 0 ;
29460 PyObject
* obj2
= 0 ;
29461 PyObject
* obj3
= 0 ;
29462 PyObject
* obj4
= 0 ;
29463 char *kwnames
[] = {
29464 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29470 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29472 arg3
= (int) SWIG_AsInt(obj2
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 arg4
= wxString_in_helper(obj3
);
29476 if (arg4
== NULL
) SWIG_fail
;
29481 arg5
= wxString_in_helper(obj4
);
29482 if (arg5
== NULL
) SWIG_fail
;
29487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29488 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29490 wxPyEndAllowThreads(__tstate
);
29491 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= wxPyMake_wxObject(result
, 0);
29518 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxMenu
*arg1
= (wxMenu
*) 0 ;
29523 wxString
*arg4
= 0 ;
29524 wxMenu
*arg5
= (wxMenu
*) 0 ;
29525 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29526 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29527 wxMenuItem
*result
;
29528 bool temp4
= False
;
29529 bool temp6
= False
;
29530 PyObject
* obj0
= 0 ;
29531 PyObject
* obj1
= 0 ;
29532 PyObject
* obj2
= 0 ;
29533 PyObject
* obj3
= 0 ;
29534 PyObject
* obj4
= 0 ;
29535 PyObject
* obj5
= 0 ;
29536 char *kwnames
[] = {
29537 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29543 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29544 if (PyErr_Occurred()) SWIG_fail
;
29545 arg3
= (int) SWIG_AsInt(obj2
);
29546 if (PyErr_Occurred()) SWIG_fail
;
29548 arg4
= wxString_in_helper(obj3
);
29549 if (arg4
== NULL
) SWIG_fail
;
29552 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29556 arg6
= wxString_in_helper(obj5
);
29557 if (arg6
== NULL
) SWIG_fail
;
29562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29563 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29565 wxPyEndAllowThreads(__tstate
);
29566 if (PyErr_Occurred()) SWIG_fail
;
29569 resultobj
= wxPyMake_wxObject(result
, 0);
29593 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29594 PyObject
*resultobj
;
29595 wxMenu
*arg1
= (wxMenu
*) 0 ;
29596 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29597 wxMenuItem
*result
;
29598 PyObject
* obj0
= 0 ;
29599 PyObject
* obj1
= 0 ;
29600 char *kwnames
[] = {
29601 (char *) "self",(char *) "item", NULL
29604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29607 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 resultobj
= wxPyMake_wxObject(result
, 0);
29625 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
;
29627 wxMenu
*arg1
= (wxMenu
*) 0 ;
29629 wxString
*arg3
= 0 ;
29630 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29631 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29632 int arg5
= (int) wxITEM_NORMAL
;
29633 wxMenuItem
*result
;
29634 bool temp3
= False
;
29635 bool temp4
= False
;
29636 PyObject
* obj0
= 0 ;
29637 PyObject
* obj1
= 0 ;
29638 PyObject
* obj2
= 0 ;
29639 PyObject
* obj3
= 0 ;
29640 PyObject
* obj4
= 0 ;
29641 char *kwnames
[] = {
29642 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29648 arg2
= (int) SWIG_AsInt(obj1
);
29649 if (PyErr_Occurred()) SWIG_fail
;
29651 arg3
= wxString_in_helper(obj2
);
29652 if (arg3
== NULL
) SWIG_fail
;
29657 arg4
= wxString_in_helper(obj3
);
29658 if (arg4
== NULL
) SWIG_fail
;
29663 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29664 if (PyErr_Occurred()) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= wxPyMake_wxObject(result
, 0);
29698 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxMenu
*arg1
= (wxMenu
*) 0 ;
29701 wxMenuItem
*result
;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29712 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29718 resultobj
= wxPyMake_wxObject(result
, 0);
29726 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29727 PyObject
*resultobj
;
29728 wxMenu
*arg1
= (wxMenu
*) 0 ;
29730 wxString
*arg3
= 0 ;
29731 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29732 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29733 wxMenuItem
*result
;
29734 bool temp3
= False
;
29735 bool temp4
= False
;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 PyObject
* obj2
= 0 ;
29739 PyObject
* obj3
= 0 ;
29740 char *kwnames
[] = {
29741 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29747 arg2
= (int) SWIG_AsInt(obj1
);
29748 if (PyErr_Occurred()) SWIG_fail
;
29750 arg3
= wxString_in_helper(obj2
);
29751 if (arg3
== NULL
) SWIG_fail
;
29756 arg4
= wxString_in_helper(obj3
);
29757 if (arg4
== NULL
) SWIG_fail
;
29762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29763 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29765 wxPyEndAllowThreads(__tstate
);
29766 if (PyErr_Occurred()) SWIG_fail
;
29769 resultobj
= wxPyMake_wxObject(result
, 0);
29793 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29794 PyObject
*resultobj
;
29795 wxMenu
*arg1
= (wxMenu
*) 0 ;
29797 wxString
*arg3
= 0 ;
29798 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29799 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29800 wxMenuItem
*result
;
29801 bool temp3
= False
;
29802 bool temp4
= False
;
29803 PyObject
* obj0
= 0 ;
29804 PyObject
* obj1
= 0 ;
29805 PyObject
* obj2
= 0 ;
29806 PyObject
* obj3
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29814 arg2
= (int) SWIG_AsInt(obj1
);
29815 if (PyErr_Occurred()) SWIG_fail
;
29817 arg3
= wxString_in_helper(obj2
);
29818 if (arg3
== NULL
) SWIG_fail
;
29823 arg4
= wxString_in_helper(obj3
);
29824 if (arg4
== NULL
) SWIG_fail
;
29829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29830 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29836 resultobj
= wxPyMake_wxObject(result
, 0);
29860 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
;
29862 wxMenu
*arg1
= (wxMenu
*) 0 ;
29864 wxString
*arg3
= 0 ;
29865 wxMenu
*arg4
= (wxMenu
*) 0 ;
29866 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29867 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29868 wxMenuItem
*result
;
29869 bool temp3
= False
;
29870 bool temp5
= False
;
29871 PyObject
* obj0
= 0 ;
29872 PyObject
* obj1
= 0 ;
29873 PyObject
* obj2
= 0 ;
29874 PyObject
* obj3
= 0 ;
29875 PyObject
* obj4
= 0 ;
29876 char *kwnames
[] = {
29877 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29883 arg2
= (int) SWIG_AsInt(obj1
);
29884 if (PyErr_Occurred()) SWIG_fail
;
29886 arg3
= wxString_in_helper(obj2
);
29887 if (arg3
== NULL
) SWIG_fail
;
29890 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29894 arg5
= wxString_in_helper(obj4
);
29895 if (arg5
== NULL
) SWIG_fail
;
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29901 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29903 wxPyEndAllowThreads(__tstate
);
29904 if (PyErr_Occurred()) SWIG_fail
;
29907 resultobj
= wxPyMake_wxObject(result
, 0);
29931 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxMenu
*arg1
= (wxMenu
*) 0 ;
29935 wxMenuItem
*result
;
29936 PyObject
* obj0
= 0 ;
29937 PyObject
* obj1
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "id", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29945 arg2
= (int) SWIG_AsInt(obj1
);
29946 if (PyErr_Occurred()) SWIG_fail
;
29948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29949 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29951 wxPyEndAllowThreads(__tstate
);
29952 if (PyErr_Occurred()) SWIG_fail
;
29955 resultobj
= wxPyMake_wxObject(result
, 0);
29963 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29964 PyObject
*resultobj
;
29965 wxMenu
*arg1
= (wxMenu
*) 0 ;
29966 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29967 wxMenuItem
*result
;
29968 PyObject
* obj0
= 0 ;
29969 PyObject
* obj1
= 0 ;
29970 char *kwnames
[] = {
29971 (char *) "self",(char *) "item", NULL
29974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29977 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= wxPyMake_wxObject(result
, 0);
29995 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxMenu
*arg1
= (wxMenu
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self",(char *) "id", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
30007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30009 arg2
= (int) SWIG_AsInt(obj1
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (bool)(arg1
)->Delete(arg2
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30027 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30028 PyObject
*resultobj
;
30029 wxMenu
*arg1
= (wxMenu
*) 0 ;
30030 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30032 PyObject
* obj0
= 0 ;
30033 PyObject
* obj1
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "item", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30045 result
= (bool)(arg1
)->Delete(arg2
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30059 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxMenu
*arg1
= (wxMenu
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
30068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30072 wxMenu_Destroy(arg1
);
30074 wxPyEndAllowThreads(__tstate
);
30075 if (PyErr_Occurred()) SWIG_fail
;
30077 Py_INCREF(Py_None
); resultobj
= Py_None
;
30084 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30085 PyObject
*resultobj
;
30086 wxMenu
*arg1
= (wxMenu
*) 0 ;
30089 PyObject
* obj0
= 0 ;
30090 PyObject
* obj1
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self",(char *) "id", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30098 arg2
= (int) SWIG_AsInt(obj1
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30102 result
= (bool)(arg1
)->Destroy(arg2
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30116 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30117 PyObject
*resultobj
;
30118 wxMenu
*arg1
= (wxMenu
*) 0 ;
30119 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30121 PyObject
* obj0
= 0 ;
30122 PyObject
* obj1
= 0 ;
30123 char *kwnames
[] = {
30124 (char *) "self",(char *) "item", NULL
30127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30134 result
= (bool)(arg1
)->Destroy(arg2
);
30136 wxPyEndAllowThreads(__tstate
);
30137 if (PyErr_Occurred()) SWIG_fail
;
30140 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30148 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30149 PyObject
*resultobj
;
30150 wxMenu
*arg1
= (wxMenu
*) 0 ;
30152 PyObject
* obj0
= 0 ;
30153 char *kwnames
[] = {
30154 (char *) "self", NULL
30157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30174 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxMenu
*arg1
= (wxMenu
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30188 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30190 wxPyEndAllowThreads(__tstate
);
30191 if (PyErr_Occurred()) SWIG_fail
;
30193 resultobj
= result
;
30200 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30201 PyObject
*resultobj
;
30202 wxMenu
*arg1
= (wxMenu
*) 0 ;
30203 wxString
*arg2
= 0 ;
30205 bool temp2
= False
;
30206 PyObject
* obj0
= 0 ;
30207 PyObject
* obj1
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self",(char *) "item", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30216 arg2
= wxString_in_helper(obj1
);
30217 if (arg2
== NULL
) SWIG_fail
;
30221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30222 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30224 wxPyEndAllowThreads(__tstate
);
30225 if (PyErr_Occurred()) SWIG_fail
;
30227 resultobj
= SWIG_FromInt((int)result
);
30242 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30243 PyObject
*resultobj
;
30244 wxMenu
*arg1
= (wxMenu
*) 0 ;
30246 wxMenuItem
*result
;
30247 PyObject
* obj0
= 0 ;
30248 PyObject
* obj1
= 0 ;
30249 char *kwnames
[] = {
30250 (char *) "self",(char *) "id", NULL
30253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30256 arg2
= (int) SWIG_AsInt(obj1
);
30257 if (PyErr_Occurred()) SWIG_fail
;
30259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30260 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30262 wxPyEndAllowThreads(__tstate
);
30263 if (PyErr_Occurred()) SWIG_fail
;
30266 resultobj
= wxPyMake_wxObject(result
, 0);
30274 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30275 PyObject
*resultobj
;
30276 wxMenu
*arg1
= (wxMenu
*) 0 ;
30278 wxMenuItem
*result
;
30279 PyObject
* obj0
= 0 ;
30280 PyObject
* obj1
= 0 ;
30281 char *kwnames
[] = {
30282 (char *) "self",(char *) "position", NULL
30285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30288 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30289 if (PyErr_Occurred()) SWIG_fail
;
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30294 wxPyEndAllowThreads(__tstate
);
30295 if (PyErr_Occurred()) SWIG_fail
;
30298 resultobj
= wxPyMake_wxObject(result
, 0);
30306 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxMenu
*arg1
= (wxMenu
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 PyObject
* obj2
= 0 ;
30314 char *kwnames
[] = {
30315 (char *) "self",(char *) "id",(char *) "enable", NULL
30318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30321 arg2
= (int) SWIG_AsInt(obj1
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30323 arg3
= (bool) SWIG_AsBool(obj2
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 (arg1
)->Enable(arg2
,arg3
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30332 Py_INCREF(Py_None
); resultobj
= Py_None
;
30339 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30340 PyObject
*resultobj
;
30341 wxMenu
*arg1
= (wxMenu
*) 0 ;
30344 PyObject
* obj0
= 0 ;
30345 PyObject
* obj1
= 0 ;
30346 char *kwnames
[] = {
30347 (char *) "self",(char *) "id", NULL
30350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30353 arg2
= (int) SWIG_AsInt(obj1
);
30354 if (PyErr_Occurred()) SWIG_fail
;
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30359 wxPyEndAllowThreads(__tstate
);
30360 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30371 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30372 PyObject
*resultobj
;
30373 wxMenu
*arg1
= (wxMenu
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self",(char *) "id",(char *) "check", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30384 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30385 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30386 arg2
= (int) SWIG_AsInt(obj1
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30388 arg3
= (bool) SWIG_AsBool(obj2
);
30389 if (PyErr_Occurred()) SWIG_fail
;
30391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30392 (arg1
)->Check(arg2
,arg3
);
30394 wxPyEndAllowThreads(__tstate
);
30395 if (PyErr_Occurred()) SWIG_fail
;
30397 Py_INCREF(Py_None
); resultobj
= Py_None
;
30404 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxMenu
*arg1
= (wxMenu
*) 0 ;
30409 PyObject
* obj0
= 0 ;
30410 PyObject
* obj1
= 0 ;
30411 char *kwnames
[] = {
30412 (char *) "self",(char *) "id", NULL
30415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30422 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30424 wxPyEndAllowThreads(__tstate
);
30425 if (PyErr_Occurred()) SWIG_fail
;
30428 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30436 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30437 PyObject
*resultobj
;
30438 wxMenu
*arg1
= (wxMenu
*) 0 ;
30440 wxString
*arg3
= 0 ;
30441 bool temp3
= False
;
30442 PyObject
* obj0
= 0 ;
30443 PyObject
* obj1
= 0 ;
30444 PyObject
* obj2
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self",(char *) "id",(char *) "label", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30452 arg2
= (int) SWIG_AsInt(obj1
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 arg3
= wxString_in_helper(obj2
);
30456 if (arg3
== NULL
) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30461 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 Py_INCREF(Py_None
); resultobj
= Py_None
;
30481 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30482 PyObject
*resultobj
;
30483 wxMenu
*arg1
= (wxMenu
*) 0 ;
30486 PyObject
* obj0
= 0 ;
30487 PyObject
* obj1
= 0 ;
30488 char *kwnames
[] = {
30489 (char *) "self",(char *) "id", NULL
30492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30495 arg2
= (int) SWIG_AsInt(obj1
);
30496 if (PyErr_Occurred()) SWIG_fail
;
30498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30501 wxPyEndAllowThreads(__tstate
);
30502 if (PyErr_Occurred()) SWIG_fail
;
30506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30517 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxMenu
*arg1
= (wxMenu
*) 0 ;
30521 wxString
*arg3
= 0 ;
30522 bool temp3
= False
;
30523 PyObject
* obj0
= 0 ;
30524 PyObject
* obj1
= 0 ;
30525 PyObject
* obj2
= 0 ;
30526 char *kwnames
[] = {
30527 (char *) "self",(char *) "id",(char *) "helpString", NULL
30530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30533 arg2
= (int) SWIG_AsInt(obj1
);
30534 if (PyErr_Occurred()) SWIG_fail
;
30536 arg3
= wxString_in_helper(obj2
);
30537 if (arg3
== NULL
) SWIG_fail
;
30541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30542 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30544 wxPyEndAllowThreads(__tstate
);
30545 if (PyErr_Occurred()) SWIG_fail
;
30547 Py_INCREF(Py_None
); resultobj
= Py_None
;
30562 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30563 PyObject
*resultobj
;
30564 wxMenu
*arg1
= (wxMenu
*) 0 ;
30567 PyObject
* obj0
= 0 ;
30568 PyObject
* obj1
= 0 ;
30569 char *kwnames
[] = {
30570 (char *) "self",(char *) "id", NULL
30573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30576 arg2
= (int) SWIG_AsInt(obj1
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30580 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30582 wxPyEndAllowThreads(__tstate
);
30583 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30589 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30598 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30599 PyObject
*resultobj
;
30600 wxMenu
*arg1
= (wxMenu
*) 0 ;
30601 wxString
*arg2
= 0 ;
30602 bool temp2
= False
;
30603 PyObject
* obj0
= 0 ;
30604 PyObject
* obj1
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "title", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30613 arg2
= wxString_in_helper(obj1
);
30614 if (arg2
== NULL
) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 (arg1
)->SetTitle((wxString
const &)*arg2
);
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30624 Py_INCREF(Py_None
); resultobj
= Py_None
;
30639 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30640 PyObject
*resultobj
;
30641 wxMenu
*arg1
= (wxMenu
*) 0 ;
30643 PyObject
* obj0
= 0 ;
30644 char *kwnames
[] = {
30645 (char *) "self", NULL
30648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30653 result
= ((wxMenu
const *)arg1
)->GetTitle();
30655 wxPyEndAllowThreads(__tstate
);
30656 if (PyErr_Occurred()) SWIG_fail
;
30660 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30662 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30671 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30672 PyObject
*resultobj
;
30673 wxMenu
*arg1
= (wxMenu
*) 0 ;
30674 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30675 PyObject
* obj0
= 0 ;
30676 PyObject
* obj1
= 0 ;
30677 char *kwnames
[] = {
30678 (char *) "self",(char *) "handler", NULL
30681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30688 (arg1
)->SetEventHandler(arg2
);
30690 wxPyEndAllowThreads(__tstate
);
30691 if (PyErr_Occurred()) SWIG_fail
;
30693 Py_INCREF(Py_None
); resultobj
= Py_None
;
30700 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30701 PyObject
*resultobj
;
30702 wxMenu
*arg1
= (wxMenu
*) 0 ;
30703 wxEvtHandler
*result
;
30704 PyObject
* obj0
= 0 ;
30705 char *kwnames
[] = {
30706 (char *) "self", NULL
30709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= wxPyMake_wxObject(result
, 0);
30728 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30729 PyObject
*resultobj
;
30730 wxMenu
*arg1
= (wxMenu
*) 0 ;
30731 wxWindow
*arg2
= (wxWindow
*) 0 ;
30732 PyObject
* obj0
= 0 ;
30733 PyObject
* obj1
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "win", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30741 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30745 (arg1
)->SetInvokingWindow(arg2
);
30747 wxPyEndAllowThreads(__tstate
);
30748 if (PyErr_Occurred()) SWIG_fail
;
30750 Py_INCREF(Py_None
); resultobj
= Py_None
;
30757 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30758 PyObject
*resultobj
;
30759 wxMenu
*arg1
= (wxMenu
*) 0 ;
30761 PyObject
* obj0
= 0 ;
30762 char *kwnames
[] = {
30763 (char *) "self", NULL
30766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30771 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30773 wxPyEndAllowThreads(__tstate
);
30774 if (PyErr_Occurred()) SWIG_fail
;
30777 resultobj
= wxPyMake_wxObject(result
, 0);
30785 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxMenu
*arg1
= (wxMenu
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30799 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30801 wxPyEndAllowThreads(__tstate
);
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 resultobj
= SWIG_FromLong((long)result
);
30811 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30812 PyObject
*resultobj
;
30813 wxMenu
*arg1
= (wxMenu
*) 0 ;
30814 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30815 PyObject
* obj0
= 0 ;
30816 PyObject
* obj1
= 0 ;
30817 char *kwnames
[] = {
30818 (char *) "self",(char *) "source", NULL
30821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30825 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30826 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30830 (arg1
)->UpdateUI(arg2
);
30832 wxPyEndAllowThreads(__tstate
);
30833 if (PyErr_Occurred()) SWIG_fail
;
30835 Py_INCREF(Py_None
); resultobj
= Py_None
;
30842 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxMenu
*arg1
= (wxMenu
*) 0 ;
30846 PyObject
* obj0
= 0 ;
30847 char *kwnames
[] = {
30848 (char *) "self", NULL
30851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 resultobj
= wxPyMake_wxObject(result
, 0);
30870 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30871 PyObject
*resultobj
;
30872 wxMenu
*arg1
= (wxMenu
*) 0 ;
30873 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30874 PyObject
* obj0
= 0 ;
30875 PyObject
* obj1
= 0 ;
30876 char *kwnames
[] = {
30877 (char *) "self",(char *) "menubar", NULL
30880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30883 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 (arg1
)->Attach(arg2
);
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 Py_INCREF(Py_None
); resultobj
= Py_None
;
30899 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxMenu
*arg1
= (wxMenu
*) 0 ;
30902 PyObject
* obj0
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30908 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30909 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 Py_INCREF(Py_None
); resultobj
= Py_None
;
30924 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxMenu
*arg1
= (wxMenu
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 char *kwnames
[] = {
30930 (char *) "self", NULL
30933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30952 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30953 PyObject
*resultobj
;
30954 wxMenu
*arg1
= (wxMenu
*) 0 ;
30955 wxMenu
*arg2
= (wxMenu
*) 0 ;
30956 PyObject
* obj0
= 0 ;
30957 PyObject
* obj1
= 0 ;
30958 char *kwnames
[] = {
30959 (char *) "self",(char *) "parent", NULL
30962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30965 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 (arg1
)->SetParent(arg2
);
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 Py_INCREF(Py_None
); resultobj
= Py_None
;
30981 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
;
30983 wxMenu
*arg1
= (wxMenu
*) 0 ;
30985 PyObject
* obj0
= 0 ;
30986 char *kwnames
[] = {
30987 (char *) "self", NULL
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31001 resultobj
= wxPyMake_wxObject(result
, 0);
31009 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
31011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31012 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
31014 return Py_BuildValue((char *)"");
31016 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 long arg1
= (long) 0 ;
31020 PyObject
* obj0
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "style", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
31027 arg1
= (long) SWIG_AsLong(obj0
);
31028 if (PyErr_Occurred()) SWIG_fail
;
31031 if (!wxPyCheckForApp()) SWIG_fail
;
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
31035 wxPyEndAllowThreads(__tstate
);
31036 if (PyErr_Occurred()) SWIG_fail
;
31038 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
31045 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31046 PyObject
*resultobj
;
31047 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31048 wxMenu
*arg2
= (wxMenu
*) 0 ;
31049 wxString
*arg3
= 0 ;
31051 bool temp3
= False
;
31052 PyObject
* obj0
= 0 ;
31053 PyObject
* obj1
= 0 ;
31054 PyObject
* obj2
= 0 ;
31055 char *kwnames
[] = {
31056 (char *) "self",(char *) "menu",(char *) "title", NULL
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31062 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31065 arg3
= wxString_in_helper(obj2
);
31066 if (arg3
== NULL
) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31093 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31097 wxMenu
*arg3
= (wxMenu
*) 0 ;
31098 wxString
*arg4
= 0 ;
31100 bool temp4
= False
;
31101 PyObject
* obj0
= 0 ;
31102 PyObject
* obj1
= 0 ;
31103 PyObject
* obj2
= 0 ;
31104 PyObject
* obj3
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31112 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31113 if (PyErr_Occurred()) SWIG_fail
;
31114 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31117 arg4
= wxString_in_helper(obj3
);
31118 if (arg4
== NULL
) SWIG_fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31145 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31171 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31176 PyObject
* obj0
= 0 ;
31177 PyObject
* obj1
= 0 ;
31178 char *kwnames
[] = {
31179 (char *) "self",(char *) "pos", NULL
31182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31185 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31186 if (PyErr_Occurred()) SWIG_fail
;
31188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31191 wxPyEndAllowThreads(__tstate
);
31192 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= wxPyMake_wxObject(result
, 0);
31203 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31204 PyObject
*resultobj
;
31205 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31207 wxMenu
*arg3
= (wxMenu
*) 0 ;
31208 wxString
*arg4
= 0 ;
31210 bool temp4
= False
;
31211 PyObject
* obj0
= 0 ;
31212 PyObject
* obj1
= 0 ;
31213 PyObject
* obj2
= 0 ;
31214 PyObject
* obj3
= 0 ;
31215 char *kwnames
[] = {
31216 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31222 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31224 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 arg4
= wxString_in_helper(obj3
);
31228 if (arg4
== NULL
) SWIG_fail
;
31232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31233 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31235 wxPyEndAllowThreads(__tstate
);
31236 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= wxPyMake_wxObject(result
, 0);
31255 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31256 PyObject
*resultobj
;
31257 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31260 PyObject
* obj0
= 0 ;
31261 PyObject
* obj1
= 0 ;
31262 char *kwnames
[] = {
31263 (char *) "self",(char *) "pos", NULL
31266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31269 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31270 if (PyErr_Occurred()) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31279 resultobj
= wxPyMake_wxObject(result
, 0);
31287 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31292 PyObject
* obj0
= 0 ;
31293 PyObject
* obj1
= 0 ;
31294 PyObject
* obj2
= 0 ;
31295 char *kwnames
[] = {
31296 (char *) "self",(char *) "pos",(char *) "enable", NULL
31299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31304 arg3
= (bool) SWIG_AsBool(obj2
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 (arg1
)->EnableTop(arg2
,arg3
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31313 Py_INCREF(Py_None
); resultobj
= Py_None
;
31320 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31321 PyObject
*resultobj
;
31322 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31325 PyObject
* obj0
= 0 ;
31326 PyObject
* obj1
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self",(char *) "pos", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31338 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31340 wxPyEndAllowThreads(__tstate
);
31341 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31352 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31353 PyObject
*resultobj
;
31354 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31356 wxString
*arg3
= 0 ;
31357 bool temp3
= False
;
31358 PyObject
* obj0
= 0 ;
31359 PyObject
* obj1
= 0 ;
31360 PyObject
* obj2
= 0 ;
31361 char *kwnames
[] = {
31362 (char *) "self",(char *) "pos",(char *) "label", NULL
31365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31368 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31369 if (PyErr_Occurred()) SWIG_fail
;
31371 arg3
= wxString_in_helper(obj2
);
31372 if (arg3
== NULL
) SWIG_fail
;
31376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31377 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31379 wxPyEndAllowThreads(__tstate
);
31380 if (PyErr_Occurred()) SWIG_fail
;
31382 Py_INCREF(Py_None
); resultobj
= Py_None
;
31397 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31398 PyObject
*resultobj
;
31399 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31402 PyObject
* obj0
= 0 ;
31403 PyObject
* obj1
= 0 ;
31404 char *kwnames
[] = {
31405 (char *) "self",(char *) "pos", NULL
31408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31411 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31412 if (PyErr_Occurred()) SWIG_fail
;
31414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31415 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31417 wxPyEndAllowThreads(__tstate
);
31418 if (PyErr_Occurred()) SWIG_fail
;
31422 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31424 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31433 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31434 PyObject
*resultobj
;
31435 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31436 wxString
*arg2
= 0 ;
31437 wxString
*arg3
= 0 ;
31439 bool temp2
= False
;
31440 bool temp3
= False
;
31441 PyObject
* obj0
= 0 ;
31442 PyObject
* obj1
= 0 ;
31443 PyObject
* obj2
= 0 ;
31444 char *kwnames
[] = {
31445 (char *) "self",(char *) "menu",(char *) "item", NULL
31448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31452 arg2
= wxString_in_helper(obj1
);
31453 if (arg2
== NULL
) SWIG_fail
;
31457 arg3
= wxString_in_helper(obj2
);
31458 if (arg3
== NULL
) SWIG_fail
;
31462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31463 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31465 wxPyEndAllowThreads(__tstate
);
31466 if (PyErr_Occurred()) SWIG_fail
;
31468 resultobj
= SWIG_FromInt((int)result
);
31491 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31495 wxMenuItem
*result
;
31496 PyObject
* obj0
= 0 ;
31497 PyObject
* obj1
= 0 ;
31498 char *kwnames
[] = {
31499 (char *) "self",(char *) "id", NULL
31502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31505 arg2
= (int) SWIG_AsInt(obj1
);
31506 if (PyErr_Occurred()) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31515 resultobj
= wxPyMake_wxObject(result
, 0);
31523 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
;
31525 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31526 wxString
*arg2
= 0 ;
31528 bool temp2
= False
;
31529 PyObject
* obj0
= 0 ;
31530 PyObject
* obj1
= 0 ;
31531 char *kwnames
[] = {
31532 (char *) "self",(char *) "title", NULL
31535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31539 arg2
= wxString_in_helper(obj1
);
31540 if (arg2
== NULL
) SWIG_fail
;
31544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31545 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= SWIG_FromInt((int)result
);
31565 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31566 PyObject
*resultobj
;
31567 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 PyObject
* obj1
= 0 ;
31572 PyObject
* obj2
= 0 ;
31573 char *kwnames
[] = {
31574 (char *) "self",(char *) "id",(char *) "enable", NULL
31577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31578 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31579 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31580 arg2
= (int) SWIG_AsInt(obj1
);
31581 if (PyErr_Occurred()) SWIG_fail
;
31582 arg3
= (bool) SWIG_AsBool(obj2
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 (arg1
)->Enable(arg2
,arg3
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31591 Py_INCREF(Py_None
); resultobj
= Py_None
;
31598 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31599 PyObject
*resultobj
;
31600 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31603 PyObject
* obj0
= 0 ;
31604 PyObject
* obj1
= 0 ;
31605 PyObject
* obj2
= 0 ;
31606 char *kwnames
[] = {
31607 (char *) "self",(char *) "id",(char *) "check", NULL
31610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31613 arg2
= (int) SWIG_AsInt(obj1
);
31614 if (PyErr_Occurred()) SWIG_fail
;
31615 arg3
= (bool) SWIG_AsBool(obj2
);
31616 if (PyErr_Occurred()) SWIG_fail
;
31618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31619 (arg1
)->Check(arg2
,arg3
);
31621 wxPyEndAllowThreads(__tstate
);
31622 if (PyErr_Occurred()) SWIG_fail
;
31624 Py_INCREF(Py_None
); resultobj
= Py_None
;
31631 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31632 PyObject
*resultobj
;
31633 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31636 PyObject
* obj0
= 0 ;
31637 PyObject
* obj1
= 0 ;
31638 char *kwnames
[] = {
31639 (char *) "self",(char *) "id", NULL
31642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31645 arg2
= (int) SWIG_AsInt(obj1
);
31646 if (PyErr_Occurred()) SWIG_fail
;
31648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31649 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31651 wxPyEndAllowThreads(__tstate
);
31652 if (PyErr_Occurred()) SWIG_fail
;
31655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31663 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31664 PyObject
*resultobj
;
31665 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31668 PyObject
* obj0
= 0 ;
31669 PyObject
* obj1
= 0 ;
31670 char *kwnames
[] = {
31671 (char *) "self",(char *) "id", NULL
31674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31681 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31683 wxPyEndAllowThreads(__tstate
);
31684 if (PyErr_Occurred()) SWIG_fail
;
31687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31695 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31696 PyObject
*resultobj
;
31697 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31699 wxString
*arg3
= 0 ;
31700 bool temp3
= False
;
31701 PyObject
* obj0
= 0 ;
31702 PyObject
* obj1
= 0 ;
31703 PyObject
* obj2
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self",(char *) "id",(char *) "label", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31711 arg2
= (int) SWIG_AsInt(obj1
);
31712 if (PyErr_Occurred()) SWIG_fail
;
31714 arg3
= wxString_in_helper(obj2
);
31715 if (arg3
== NULL
) SWIG_fail
;
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 Py_INCREF(Py_None
); resultobj
= Py_None
;
31740 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31741 PyObject
*resultobj
;
31742 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31745 PyObject
* obj0
= 0 ;
31746 PyObject
* obj1
= 0 ;
31747 char *kwnames
[] = {
31748 (char *) "self",(char *) "id", NULL
31751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31754 arg2
= (int) SWIG_AsInt(obj1
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31758 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31760 wxPyEndAllowThreads(__tstate
);
31761 if (PyErr_Occurred()) SWIG_fail
;
31765 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31767 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31776 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31777 PyObject
*resultobj
;
31778 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31780 wxString
*arg3
= 0 ;
31781 bool temp3
= False
;
31782 PyObject
* obj0
= 0 ;
31783 PyObject
* obj1
= 0 ;
31784 PyObject
* obj2
= 0 ;
31785 char *kwnames
[] = {
31786 (char *) "self",(char *) "id",(char *) "helpString", NULL
31789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31792 arg2
= (int) SWIG_AsInt(obj1
);
31793 if (PyErr_Occurred()) SWIG_fail
;
31795 arg3
= wxString_in_helper(obj2
);
31796 if (arg3
== NULL
) SWIG_fail
;
31800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31801 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31803 wxPyEndAllowThreads(__tstate
);
31804 if (PyErr_Occurred()) SWIG_fail
;
31806 Py_INCREF(Py_None
); resultobj
= Py_None
;
31821 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
;
31823 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31826 PyObject
* obj0
= 0 ;
31827 PyObject
* obj1
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self",(char *) "id", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31835 arg2
= (int) SWIG_AsInt(obj1
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31839 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31841 wxPyEndAllowThreads(__tstate
);
31842 if (PyErr_Occurred()) SWIG_fail
;
31846 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31848 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31857 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31858 PyObject
*resultobj
;
31859 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31861 PyObject
* obj0
= 0 ;
31862 char *kwnames
[] = {
31863 (char *) "self", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31871 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31873 wxPyEndAllowThreads(__tstate
);
31874 if (PyErr_Occurred()) SWIG_fail
;
31877 resultobj
= wxPyMake_wxObject(result
, 0);
31885 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31886 PyObject
*resultobj
;
31887 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31889 PyObject
* obj0
= 0 ;
31890 char *kwnames
[] = {
31891 (char *) "self", NULL
31894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31899 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31901 wxPyEndAllowThreads(__tstate
);
31902 if (PyErr_Occurred()) SWIG_fail
;
31905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31913 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31914 PyObject
*resultobj
;
31915 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31916 wxFrame
*arg2
= (wxFrame
*) 0 ;
31917 PyObject
* obj0
= 0 ;
31918 PyObject
* obj1
= 0 ;
31919 char *kwnames
[] = {
31920 (char *) "self",(char *) "frame", NULL
31923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31926 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31930 (arg1
)->Attach(arg2
);
31932 wxPyEndAllowThreads(__tstate
);
31933 if (PyErr_Occurred()) SWIG_fail
;
31935 Py_INCREF(Py_None
); resultobj
= Py_None
;
31942 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31943 PyObject
*resultobj
;
31944 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31945 PyObject
* obj0
= 0 ;
31946 char *kwnames
[] = {
31947 (char *) "self", NULL
31950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31957 wxPyEndAllowThreads(__tstate
);
31958 if (PyErr_Occurred()) SWIG_fail
;
31960 Py_INCREF(Py_None
); resultobj
= Py_None
;
31967 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31970 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31972 return Py_BuildValue((char *)"");
31974 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31975 PyObject
*resultobj
;
31976 wxMenu
*arg1
= (wxMenu
*) NULL
;
31977 int arg2
= (int) wxID_ANY
;
31978 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31979 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31980 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31981 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31982 int arg5
= (int) wxITEM_NORMAL
;
31983 wxMenu
*arg6
= (wxMenu
*) NULL
;
31984 wxMenuItem
*result
;
31985 bool temp3
= False
;
31986 bool temp4
= False
;
31987 PyObject
* obj0
= 0 ;
31988 PyObject
* obj1
= 0 ;
31989 PyObject
* obj2
= 0 ;
31990 PyObject
* obj3
= 0 ;
31991 PyObject
* obj4
= 0 ;
31992 PyObject
* obj5
= 0 ;
31993 char *kwnames
[] = {
31994 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
32000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32003 arg2
= (int) SWIG_AsInt(obj1
);
32004 if (PyErr_Occurred()) SWIG_fail
;
32008 arg3
= wxString_in_helper(obj2
);
32009 if (arg3
== NULL
) SWIG_fail
;
32015 arg4
= wxString_in_helper(obj3
);
32016 if (arg4
== NULL
) SWIG_fail
;
32021 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
32022 if (PyErr_Occurred()) SWIG_fail
;
32025 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
32026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32036 resultobj
= wxPyMake_wxObject(result
, 1);
32060 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32061 PyObject
*resultobj
;
32062 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32064 PyObject
* obj0
= 0 ;
32065 char *kwnames
[] = {
32066 (char *) "self", NULL
32069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
32070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32074 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
32076 wxPyEndAllowThreads(__tstate
);
32077 if (PyErr_Occurred()) SWIG_fail
;
32080 resultobj
= wxPyMake_wxObject(result
, 0);
32088 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32089 PyObject
*resultobj
;
32090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32091 wxMenu
*arg2
= (wxMenu
*) 0 ;
32092 PyObject
* obj0
= 0 ;
32093 PyObject
* obj1
= 0 ;
32094 char *kwnames
[] = {
32095 (char *) "self",(char *) "menu", NULL
32098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32101 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32105 (arg1
)->SetMenu(arg2
);
32107 wxPyEndAllowThreads(__tstate
);
32108 if (PyErr_Occurred()) SWIG_fail
;
32110 Py_INCREF(Py_None
); resultobj
= Py_None
;
32117 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32118 PyObject
*resultobj
;
32119 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32121 PyObject
* obj0
= 0 ;
32122 PyObject
* obj1
= 0 ;
32123 char *kwnames
[] = {
32124 (char *) "self",(char *) "id", NULL
32127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32130 arg2
= (int) SWIG_AsInt(obj1
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32134 (arg1
)->SetId(arg2
);
32136 wxPyEndAllowThreads(__tstate
);
32137 if (PyErr_Occurred()) SWIG_fail
;
32139 Py_INCREF(Py_None
); resultobj
= Py_None
;
32146 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32147 PyObject
*resultobj
;
32148 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32150 PyObject
* obj0
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "self", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= SWIG_FromInt((int)result
);
32172 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32176 PyObject
* obj0
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32200 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32201 PyObject
*resultobj
;
32202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32203 wxString
*arg2
= 0 ;
32204 bool temp2
= False
;
32205 PyObject
* obj0
= 0 ;
32206 PyObject
* obj1
= 0 ;
32207 char *kwnames
[] = {
32208 (char *) "self",(char *) "str", NULL
32211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32215 arg2
= wxString_in_helper(obj1
);
32216 if (arg2
== NULL
) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 (arg1
)->SetText((wxString
const &)*arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 Py_INCREF(Py_None
); resultobj
= Py_None
;
32241 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32245 PyObject
* obj0
= 0 ;
32246 char *kwnames
[] = {
32247 (char *) "self", NULL
32250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
32251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32262 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32264 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32273 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32274 PyObject
*resultobj
;
32275 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32277 PyObject
* obj0
= 0 ;
32278 char *kwnames
[] = {
32279 (char *) "self", NULL
32282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32288 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32289 result
= (wxString
*) &_result_ref
;
32292 wxPyEndAllowThreads(__tstate
);
32293 if (PyErr_Occurred()) SWIG_fail
;
32297 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32299 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32308 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32309 PyObject
*resultobj
;
32310 wxString
*arg1
= 0 ;
32312 bool temp1
= False
;
32313 PyObject
* obj0
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "text", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32320 arg1
= wxString_in_helper(obj0
);
32321 if (arg1
== NULL
) SWIG_fail
;
32325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32326 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32328 wxPyEndAllowThreads(__tstate
);
32329 if (PyErr_Occurred()) SWIG_fail
;
32333 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32335 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32352 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32353 PyObject
*resultobj
;
32354 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32356 PyObject
* obj0
= 0 ;
32357 char *kwnames
[] = {
32358 (char *) "self", NULL
32361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 resultobj
= SWIG_FromInt((int)result
);
32378 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
;
32380 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 PyObject
* obj1
= 0 ;
32384 char *kwnames
[] = {
32385 (char *) "self",(char *) "kind", NULL
32388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32391 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32392 if (PyErr_Occurred()) SWIG_fail
;
32394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32395 (arg1
)->SetKind((wxItemKind
)arg2
);
32397 wxPyEndAllowThreads(__tstate
);
32398 if (PyErr_Occurred()) SWIG_fail
;
32400 Py_INCREF(Py_None
); resultobj
= Py_None
;
32407 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32408 PyObject
*resultobj
;
32409 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32411 PyObject
* obj0
= 0 ;
32412 PyObject
* obj1
= 0 ;
32413 char *kwnames
[] = {
32414 (char *) "self",(char *) "checkable", NULL
32417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32420 arg2
= (bool) SWIG_AsBool(obj1
);
32421 if (PyErr_Occurred()) SWIG_fail
;
32423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32424 (arg1
)->SetCheckable(arg2
);
32426 wxPyEndAllowThreads(__tstate
);
32427 if (PyErr_Occurred()) SWIG_fail
;
32429 Py_INCREF(Py_None
); resultobj
= Py_None
;
32436 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32437 PyObject
*resultobj
;
32438 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32440 PyObject
* obj0
= 0 ;
32441 char *kwnames
[] = {
32442 (char *) "self", NULL
32445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32450 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32464 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32465 PyObject
*resultobj
;
32466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32468 PyObject
* obj0
= 0 ;
32469 char *kwnames
[] = {
32470 (char *) "self", NULL
32473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32478 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32480 wxPyEndAllowThreads(__tstate
);
32481 if (PyErr_Occurred()) SWIG_fail
;
32484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32492 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32493 PyObject
*resultobj
;
32494 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32495 wxMenu
*arg2
= (wxMenu
*) 0 ;
32496 PyObject
* obj0
= 0 ;
32497 PyObject
* obj1
= 0 ;
32498 char *kwnames
[] = {
32499 (char *) "self",(char *) "menu", NULL
32502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32505 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32509 (arg1
)->SetSubMenu(arg2
);
32511 wxPyEndAllowThreads(__tstate
);
32512 if (PyErr_Occurred()) SWIG_fail
;
32514 Py_INCREF(Py_None
); resultobj
= Py_None
;
32521 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32522 PyObject
*resultobj
;
32523 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32525 PyObject
* obj0
= 0 ;
32526 char *kwnames
[] = {
32527 (char *) "self", NULL
32530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32535 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32537 wxPyEndAllowThreads(__tstate
);
32538 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= wxPyMake_wxObject(result
, 0);
32549 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32550 PyObject
*resultobj
;
32551 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32552 bool arg2
= (bool) True
;
32553 PyObject
* obj0
= 0 ;
32554 PyObject
* obj1
= 0 ;
32555 char *kwnames
[] = {
32556 (char *) "self",(char *) "enable", NULL
32559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32563 arg2
= (bool) SWIG_AsBool(obj1
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32568 (arg1
)->Enable(arg2
);
32570 wxPyEndAllowThreads(__tstate
);
32571 if (PyErr_Occurred()) SWIG_fail
;
32573 Py_INCREF(Py_None
); resultobj
= Py_None
;
32580 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32581 PyObject
*resultobj
;
32582 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32584 PyObject
* obj0
= 0 ;
32585 char *kwnames
[] = {
32586 (char *) "self", NULL
32589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32594 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32596 wxPyEndAllowThreads(__tstate
);
32597 if (PyErr_Occurred()) SWIG_fail
;
32600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32608 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32609 PyObject
*resultobj
;
32610 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32611 bool arg2
= (bool) True
;
32612 PyObject
* obj0
= 0 ;
32613 PyObject
* obj1
= 0 ;
32614 char *kwnames
[] = {
32615 (char *) "self",(char *) "check", NULL
32618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32622 arg2
= (bool) SWIG_AsBool(obj1
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 (arg1
)->Check(arg2
);
32629 wxPyEndAllowThreads(__tstate
);
32630 if (PyErr_Occurred()) SWIG_fail
;
32632 Py_INCREF(Py_None
); resultobj
= Py_None
;
32639 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32640 PyObject
*resultobj
;
32641 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32643 PyObject
* obj0
= 0 ;
32644 char *kwnames
[] = {
32645 (char *) "self", NULL
32648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32667 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32668 PyObject
*resultobj
;
32669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32670 PyObject
* obj0
= 0 ;
32671 char *kwnames
[] = {
32672 (char *) "self", NULL
32675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32682 wxPyEndAllowThreads(__tstate
);
32683 if (PyErr_Occurred()) SWIG_fail
;
32685 Py_INCREF(Py_None
); resultobj
= Py_None
;
32692 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32693 PyObject
*resultobj
;
32694 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32695 wxString
*arg2
= 0 ;
32696 bool temp2
= False
;
32697 PyObject
* obj0
= 0 ;
32698 PyObject
* obj1
= 0 ;
32699 char *kwnames
[] = {
32700 (char *) "self",(char *) "str", NULL
32703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32707 arg2
= wxString_in_helper(obj1
);
32708 if (arg2
== NULL
) SWIG_fail
;
32712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32713 (arg1
)->SetHelp((wxString
const &)*arg2
);
32715 wxPyEndAllowThreads(__tstate
);
32716 if (PyErr_Occurred()) SWIG_fail
;
32718 Py_INCREF(Py_None
); resultobj
= Py_None
;
32733 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 char *kwnames
[] = {
32739 (char *) "self", NULL
32742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32749 result
= (wxString
*) &_result_ref
;
32752 wxPyEndAllowThreads(__tstate
);
32753 if (PyErr_Occurred()) SWIG_fail
;
32757 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32759 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32768 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32769 PyObject
*resultobj
;
32770 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32771 wxAcceleratorEntry
*result
;
32772 PyObject
* obj0
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32794 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32797 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32798 PyObject
* obj0
= 0 ;
32799 PyObject
* obj1
= 0 ;
32800 char *kwnames
[] = {
32801 (char *) "self",(char *) "accel", NULL
32804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32807 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32811 (arg1
)->SetAccel(arg2
);
32813 wxPyEndAllowThreads(__tstate
);
32814 if (PyErr_Occurred()) SWIG_fail
;
32816 Py_INCREF(Py_None
); resultobj
= Py_None
;
32823 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32824 PyObject
*resultobj
;
32825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32827 PyObject
* obj0
= 0 ;
32828 PyObject
* obj1
= 0 ;
32829 char *kwnames
[] = {
32830 (char *) "self",(char *) "font", NULL
32833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32836 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32837 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32839 if (arg2
== NULL
) {
32840 PyErr_SetString(PyExc_TypeError
,"null reference");
32844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32845 (arg1
)->SetFont((wxFont
const &)*arg2
);
32847 wxPyEndAllowThreads(__tstate
);
32848 if (PyErr_Occurred()) SWIG_fail
;
32850 Py_INCREF(Py_None
); resultobj
= Py_None
;
32857 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32858 PyObject
*resultobj
;
32859 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32861 PyObject
* obj0
= 0 ;
32862 char *kwnames
[] = {
32863 (char *) "self", NULL
32866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32871 result
= (arg1
)->GetFont();
32873 wxPyEndAllowThreads(__tstate
);
32874 if (PyErr_Occurred()) SWIG_fail
;
32877 wxFont
* resultptr
;
32878 resultptr
= new wxFont((wxFont
&) result
);
32879 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32887 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32888 PyObject
*resultobj
;
32889 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32890 wxColour
*arg2
= 0 ;
32892 PyObject
* obj0
= 0 ;
32893 PyObject
* obj1
= 0 ;
32894 char *kwnames
[] = {
32895 (char *) "self",(char *) "colText", NULL
32898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32903 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32907 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32909 wxPyEndAllowThreads(__tstate
);
32910 if (PyErr_Occurred()) SWIG_fail
;
32912 Py_INCREF(Py_None
); resultobj
= Py_None
;
32919 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32920 PyObject
*resultobj
;
32921 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32923 PyObject
* obj0
= 0 ;
32924 char *kwnames
[] = {
32925 (char *) "self", NULL
32928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32933 result
= (arg1
)->GetTextColour();
32935 wxPyEndAllowThreads(__tstate
);
32936 if (PyErr_Occurred()) SWIG_fail
;
32939 wxColour
* resultptr
;
32940 resultptr
= new wxColour((wxColour
&) result
);
32941 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32949 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32950 PyObject
*resultobj
;
32951 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32952 wxColour
*arg2
= 0 ;
32954 PyObject
* obj0
= 0 ;
32955 PyObject
* obj1
= 0 ;
32956 char *kwnames
[] = {
32957 (char *) "self",(char *) "colBack", NULL
32960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32965 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32969 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 Py_INCREF(Py_None
); resultobj
= Py_None
;
32981 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32985 PyObject
* obj0
= 0 ;
32986 char *kwnames
[] = {
32987 (char *) "self", NULL
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32995 result
= (arg1
)->GetBackgroundColour();
32997 wxPyEndAllowThreads(__tstate
);
32998 if (PyErr_Occurred()) SWIG_fail
;
33001 wxColour
* resultptr
;
33002 resultptr
= new wxColour((wxColour
&) result
);
33003 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
33011 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33014 wxBitmap
*arg2
= 0 ;
33015 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
33016 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
33017 PyObject
* obj0
= 0 ;
33018 PyObject
* obj1
= 0 ;
33019 PyObject
* obj2
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33027 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33028 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33030 if (arg2
== NULL
) {
33031 PyErr_SetString(PyExc_TypeError
,"null reference");
33035 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
33036 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33038 if (arg3
== NULL
) {
33039 PyErr_SetString(PyExc_TypeError
,"null reference");
33044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33045 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
33047 wxPyEndAllowThreads(__tstate
);
33048 if (PyErr_Occurred()) SWIG_fail
;
33050 Py_INCREF(Py_None
); resultobj
= Py_None
;
33057 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33058 PyObject
*resultobj
;
33059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33060 wxBitmap
*arg2
= 0 ;
33061 PyObject
* obj0
= 0 ;
33062 PyObject
* obj1
= 0 ;
33063 char *kwnames
[] = {
33064 (char *) "self",(char *) "bmpDisabled", NULL
33067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33070 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33071 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33073 if (arg2
== NULL
) {
33074 PyErr_SetString(PyExc_TypeError
,"null reference");
33078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33079 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
33081 wxPyEndAllowThreads(__tstate
);
33082 if (PyErr_Occurred()) SWIG_fail
;
33084 Py_INCREF(Py_None
); resultobj
= Py_None
;
33091 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33092 PyObject
*resultobj
;
33093 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33095 PyObject
* obj0
= 0 ;
33096 char *kwnames
[] = {
33097 (char *) "self", NULL
33100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
33101 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33106 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
33107 result
= (wxBitmap
*) &_result_ref
;
33110 wxPyEndAllowThreads(__tstate
);
33111 if (PyErr_Occurred()) SWIG_fail
;
33114 wxBitmap
* resultptr
= new wxBitmap(*result
);
33115 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33123 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33124 PyObject
*resultobj
;
33125 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33127 PyObject
* obj0
= 0 ;
33128 PyObject
* obj1
= 0 ;
33129 char *kwnames
[] = {
33130 (char *) "self",(char *) "nWidth", NULL
33133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
33134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33136 arg2
= (int) SWIG_AsInt(obj1
);
33137 if (PyErr_Occurred()) SWIG_fail
;
33139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33140 (arg1
)->SetMarginWidth(arg2
);
33142 wxPyEndAllowThreads(__tstate
);
33143 if (PyErr_Occurred()) SWIG_fail
;
33145 Py_INCREF(Py_None
); resultobj
= Py_None
;
33152 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33153 PyObject
*resultobj
;
33154 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33156 PyObject
* obj0
= 0 ;
33157 char *kwnames
[] = {
33158 (char *) "self", NULL
33161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
33162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33166 result
= (int)(arg1
)->GetMarginWidth();
33168 wxPyEndAllowThreads(__tstate
);
33169 if (PyErr_Occurred()) SWIG_fail
;
33171 resultobj
= SWIG_FromInt((int)result
);
33178 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33179 PyObject
*resultobj
;
33181 char *kwnames
[] = {
33185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
33187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33188 result
= (int)wxMenuItem::GetDefaultMarginWidth();
33190 wxPyEndAllowThreads(__tstate
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33193 resultobj
= SWIG_FromInt((int)result
);
33200 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33201 PyObject
*resultobj
;
33202 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33204 PyObject
* obj0
= 0 ;
33205 char *kwnames
[] = {
33206 (char *) "self", NULL
33209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (bool)(arg1
)->IsOwnerDrawn();
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33228 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33229 PyObject
*resultobj
;
33230 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33231 bool arg2
= (bool) True
;
33232 PyObject
* obj0
= 0 ;
33233 PyObject
* obj1
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self",(char *) "ownerDrawn", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
33239 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33240 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33242 arg2
= (bool) SWIG_AsBool(obj1
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33247 (arg1
)->SetOwnerDrawn(arg2
);
33249 wxPyEndAllowThreads(__tstate
);
33250 if (PyErr_Occurred()) SWIG_fail
;
33252 Py_INCREF(Py_None
); resultobj
= Py_None
;
33259 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33260 PyObject
*resultobj
;
33261 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33262 PyObject
* obj0
= 0 ;
33263 char *kwnames
[] = {
33264 (char *) "self", NULL
33267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
33268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33272 (arg1
)->ResetOwnerDrawn();
33274 wxPyEndAllowThreads(__tstate
);
33275 if (PyErr_Occurred()) SWIG_fail
;
33277 Py_INCREF(Py_None
); resultobj
= Py_None
;
33284 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33285 PyObject
*resultobj
;
33286 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33287 wxBitmap
*arg2
= 0 ;
33288 PyObject
* obj0
= 0 ;
33289 PyObject
* obj1
= 0 ;
33290 char *kwnames
[] = {
33291 (char *) "self",(char *) "bitmap", NULL
33294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
33295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33297 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
33298 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33300 if (arg2
== NULL
) {
33301 PyErr_SetString(PyExc_TypeError
,"null reference");
33305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33306 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
33308 wxPyEndAllowThreads(__tstate
);
33309 if (PyErr_Occurred()) SWIG_fail
;
33311 Py_INCREF(Py_None
); resultobj
= Py_None
;
33318 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33319 PyObject
*resultobj
;
33320 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
33322 PyObject
* obj0
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
33328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
33329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
33334 result
= (wxBitmap
*) &_result_ref
;
33337 wxPyEndAllowThreads(__tstate
);
33338 if (PyErr_Occurred()) SWIG_fail
;
33341 wxBitmap
* resultptr
= new wxBitmap(*result
);
33342 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
33350 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
33352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33353 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
33355 return Py_BuildValue((char *)"");
33357 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
33358 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
33363 static PyObject
*_wrap_ControlNameStr_get() {
33368 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33370 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
33377 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33378 PyObject
*resultobj
;
33379 wxWindow
*arg1
= (wxWindow
*) 0 ;
33380 int arg2
= (int) -1 ;
33381 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
33382 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
33383 wxSize
const &arg4_defvalue
= wxDefaultSize
;
33384 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
33385 long arg5
= (long) 0 ;
33386 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
33387 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
33388 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
33389 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
33393 bool temp7
= False
;
33394 PyObject
* obj0
= 0 ;
33395 PyObject
* obj1
= 0 ;
33396 PyObject
* obj2
= 0 ;
33397 PyObject
* obj3
= 0 ;
33398 PyObject
* obj4
= 0 ;
33399 PyObject
* obj5
= 0 ;
33400 PyObject
* obj6
= 0 ;
33401 char *kwnames
[] = {
33402 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33409 arg2
= (int) SWIG_AsInt(obj1
);
33410 if (PyErr_Occurred()) SWIG_fail
;
33415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
33421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
33425 arg5
= (long) SWIG_AsLong(obj4
);
33426 if (PyErr_Occurred()) SWIG_fail
;
33429 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
33430 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33432 if (arg6
== NULL
) {
33433 PyErr_SetString(PyExc_TypeError
,"null reference");
33439 arg7
= wxString_in_helper(obj6
);
33440 if (arg7
== NULL
) SWIG_fail
;
33445 if (!wxPyCheckForApp()) SWIG_fail
;
33446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33447 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
33449 wxPyEndAllowThreads(__tstate
);
33450 if (PyErr_Occurred()) SWIG_fail
;
33452 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33467 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33468 PyObject
*resultobj
;
33470 char *kwnames
[] = {
33474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
33476 if (!wxPyCheckForApp()) SWIG_fail
;
33477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33478 result
= (wxControl
*)new wxControl();
33480 wxPyEndAllowThreads(__tstate
);
33481 if (PyErr_Occurred()) SWIG_fail
;
33483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
33490 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33491 PyObject
*resultobj
;
33492 wxControl
*arg1
= (wxControl
*) 0 ;
33493 wxWindow
*arg2
= (wxWindow
*) 0 ;
33494 int arg3
= (int) -1 ;
33495 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33496 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33497 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33498 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33499 long arg6
= (long) 0 ;
33500 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33501 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33502 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33503 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33507 bool temp8
= False
;
33508 PyObject
* obj0
= 0 ;
33509 PyObject
* obj1
= 0 ;
33510 PyObject
* obj2
= 0 ;
33511 PyObject
* obj3
= 0 ;
33512 PyObject
* obj4
= 0 ;
33513 PyObject
* obj5
= 0 ;
33514 PyObject
* obj6
= 0 ;
33515 PyObject
* obj7
= 0 ;
33516 char *kwnames
[] = {
33517 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33526 arg3
= (int) SWIG_AsInt(obj2
);
33527 if (PyErr_Occurred()) SWIG_fail
;
33532 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33538 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33542 arg6
= (long) SWIG_AsLong(obj5
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33546 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33547 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33549 if (arg7
== NULL
) {
33550 PyErr_SetString(PyExc_TypeError
,"null reference");
33556 arg8
= wxString_in_helper(obj7
);
33557 if (arg8
== NULL
) SWIG_fail
;
33562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33563 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33565 wxPyEndAllowThreads(__tstate
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33585 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33586 PyObject
*resultobj
;
33587 wxControl
*arg1
= (wxControl
*) 0 ;
33588 wxCommandEvent
*arg2
= 0 ;
33589 PyObject
* obj0
= 0 ;
33590 PyObject
* obj1
= 0 ;
33591 char *kwnames
[] = {
33592 (char *) "self",(char *) "event", NULL
33595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33598 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33599 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33601 if (arg2
== NULL
) {
33602 PyErr_SetString(PyExc_TypeError
,"null reference");
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 (arg1
)->Command(*arg2
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 Py_INCREF(Py_None
); resultobj
= Py_None
;
33619 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33620 PyObject
*resultobj
;
33621 wxControl
*arg1
= (wxControl
*) 0 ;
33623 PyObject
* obj0
= 0 ;
33624 char *kwnames
[] = {
33625 (char *) "self", NULL
33628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33633 result
= (arg1
)->GetLabel();
33635 wxPyEndAllowThreads(__tstate
);
33636 if (PyErr_Occurred()) SWIG_fail
;
33640 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33642 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33651 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33652 PyObject
*resultobj
;
33653 wxControl
*arg1
= (wxControl
*) 0 ;
33654 wxString
*arg2
= 0 ;
33655 bool temp2
= False
;
33656 PyObject
* obj0
= 0 ;
33657 PyObject
* obj1
= 0 ;
33658 char *kwnames
[] = {
33659 (char *) "self",(char *) "label", NULL
33662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33666 arg2
= wxString_in_helper(obj1
);
33667 if (arg2
== NULL
) SWIG_fail
;
33671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33672 (arg1
)->SetLabel((wxString
const &)*arg2
);
33674 wxPyEndAllowThreads(__tstate
);
33675 if (PyErr_Occurred()) SWIG_fail
;
33677 Py_INCREF(Py_None
); resultobj
= Py_None
;
33692 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33693 PyObject
*resultobj
;
33694 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33695 wxVisualAttributes result
;
33696 PyObject
* obj0
= 0 ;
33697 char *kwnames
[] = {
33698 (char *) "variant", NULL
33701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33703 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33704 if (PyErr_Occurred()) SWIG_fail
;
33707 if (!wxPyCheckForApp()) SWIG_fail
;
33708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33709 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33711 wxPyEndAllowThreads(__tstate
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33715 wxVisualAttributes
* resultptr
;
33716 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33717 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33725 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33727 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33728 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33730 return Py_BuildValue((char *)"");
33732 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33733 PyObject
*resultobj
;
33734 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33735 wxString
*arg2
= 0 ;
33736 PyObject
*arg3
= (PyObject
*) NULL
;
33738 bool temp2
= False
;
33739 PyObject
* obj0
= 0 ;
33740 PyObject
* obj1
= 0 ;
33741 PyObject
* obj2
= 0 ;
33742 char *kwnames
[] = {
33743 (char *) "self",(char *) "item",(char *) "clientData", NULL
33746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33750 arg2
= wxString_in_helper(obj1
);
33751 if (arg2
== NULL
) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33764 resultobj
= SWIG_FromInt((int)result
);
33779 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
;
33781 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33782 wxArrayString
*arg2
= 0 ;
33783 bool temp2
= False
;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 char *kwnames
[] = {
33787 (char *) "self",(char *) "strings", NULL
33790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33794 if (! PySequence_Check(obj1
)) {
33795 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33798 arg2
= new wxArrayString
;
33800 int i
, len
=PySequence_Length(obj1
);
33801 for (i
=0; i
<len
; i
++) {
33802 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33804 PyObject
* str
= PyObject_Unicode(item
);
33806 PyObject
* str
= PyObject_Str(item
);
33808 if (PyErr_Occurred()) SWIG_fail
;
33809 arg2
->Add(Py2wxString(str
));
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 (arg1
)->Append((wxArrayString
const &)*arg2
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 Py_INCREF(Py_None
); resultobj
= Py_None
;
33823 if (temp2
) delete arg2
;
33828 if (temp2
) delete arg2
;
33834 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33835 PyObject
*resultobj
;
33836 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33837 wxString
*arg2
= 0 ;
33839 PyObject
*arg4
= (PyObject
*) NULL
;
33841 bool temp2
= False
;
33842 PyObject
* obj0
= 0 ;
33843 PyObject
* obj1
= 0 ;
33844 PyObject
* obj2
= 0 ;
33845 PyObject
* obj3
= 0 ;
33846 char *kwnames
[] = {
33847 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33854 arg2
= wxString_in_helper(obj1
);
33855 if (arg2
== NULL
) SWIG_fail
;
33858 arg3
= (int) SWIG_AsInt(obj2
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33865 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33867 wxPyEndAllowThreads(__tstate
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33870 resultobj
= SWIG_FromInt((int)result
);
33885 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33888 PyObject
* obj0
= 0 ;
33889 char *kwnames
[] = {
33890 (char *) "self", NULL
33893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33900 wxPyEndAllowThreads(__tstate
);
33901 if (PyErr_Occurred()) SWIG_fail
;
33903 Py_INCREF(Py_None
); resultobj
= Py_None
;
33910 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33911 PyObject
*resultobj
;
33912 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33914 PyObject
* obj0
= 0 ;
33915 PyObject
* obj1
= 0 ;
33916 char *kwnames
[] = {
33917 (char *) "self",(char *) "n", NULL
33920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33923 arg2
= (int) SWIG_AsInt(obj1
);
33924 if (PyErr_Occurred()) SWIG_fail
;
33926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33927 (arg1
)->Delete(arg2
);
33929 wxPyEndAllowThreads(__tstate
);
33930 if (PyErr_Occurred()) SWIG_fail
;
33932 Py_INCREF(Py_None
); resultobj
= Py_None
;
33939 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33940 PyObject
*resultobj
;
33941 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33943 PyObject
* obj0
= 0 ;
33944 char *kwnames
[] = {
33945 (char *) "self", NULL
33948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33953 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33955 wxPyEndAllowThreads(__tstate
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33958 resultobj
= SWIG_FromInt((int)result
);
33965 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33966 PyObject
*resultobj
;
33967 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33969 PyObject
* obj0
= 0 ;
33970 char *kwnames
[] = {
33971 (char *) "self", NULL
33974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33979 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33981 wxPyEndAllowThreads(__tstate
);
33982 if (PyErr_Occurred()) SWIG_fail
;
33985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33993 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33994 PyObject
*resultobj
;
33995 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33998 PyObject
* obj0
= 0 ;
33999 PyObject
* obj1
= 0 ;
34000 char *kwnames
[] = {
34001 (char *) "self",(char *) "n", NULL
34004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
34005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34007 arg2
= (int) SWIG_AsInt(obj1
);
34008 if (PyErr_Occurred()) SWIG_fail
;
34010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34011 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
34013 wxPyEndAllowThreads(__tstate
);
34014 if (PyErr_Occurred()) SWIG_fail
;
34018 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34020 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34029 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34030 PyObject
*resultobj
;
34031 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34032 wxArrayString result
;
34033 PyObject
* obj0
= 0 ;
34034 char *kwnames
[] = {
34035 (char *) "self", NULL
34038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
34039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34043 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
34045 wxPyEndAllowThreads(__tstate
);
34046 if (PyErr_Occurred()) SWIG_fail
;
34049 resultobj
= wxArrayString2PyList_helper(result
);
34057 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34061 wxString
*arg3
= 0 ;
34062 bool temp3
= False
;
34063 PyObject
* obj0
= 0 ;
34064 PyObject
* obj1
= 0 ;
34065 PyObject
* obj2
= 0 ;
34066 char *kwnames
[] = {
34067 (char *) "self",(char *) "n",(char *) "s", NULL
34070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34073 arg2
= (int) SWIG_AsInt(obj1
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 arg3
= wxString_in_helper(obj2
);
34077 if (arg3
== NULL
) SWIG_fail
;
34081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34082 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
34084 wxPyEndAllowThreads(__tstate
);
34085 if (PyErr_Occurred()) SWIG_fail
;
34087 Py_INCREF(Py_None
); resultobj
= Py_None
;
34102 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34103 PyObject
*resultobj
;
34104 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34105 wxString
*arg2
= 0 ;
34107 bool temp2
= False
;
34108 PyObject
* obj0
= 0 ;
34109 PyObject
* obj1
= 0 ;
34110 char *kwnames
[] = {
34111 (char *) "self",(char *) "s", NULL
34114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
34115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34118 arg2
= wxString_in_helper(obj1
);
34119 if (arg2
== NULL
) SWIG_fail
;
34123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34124 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
34126 wxPyEndAllowThreads(__tstate
);
34127 if (PyErr_Occurred()) SWIG_fail
;
34129 resultobj
= SWIG_FromInt((int)result
);
34144 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34148 PyObject
* obj0
= 0 ;
34149 PyObject
* obj1
= 0 ;
34150 char *kwnames
[] = {
34151 (char *) "self",(char *) "n", NULL
34154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
34155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34157 arg2
= (int) SWIG_AsInt(obj1
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34161 (arg1
)->Select(arg2
);
34163 wxPyEndAllowThreads(__tstate
);
34164 if (PyErr_Occurred()) SWIG_fail
;
34166 Py_INCREF(Py_None
); resultobj
= Py_None
;
34173 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34174 PyObject
*resultobj
;
34175 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34177 PyObject
* obj0
= 0 ;
34178 char *kwnames
[] = {
34179 (char *) "self", NULL
34182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
34183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34187 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
34189 wxPyEndAllowThreads(__tstate
);
34190 if (PyErr_Occurred()) SWIG_fail
;
34192 resultobj
= SWIG_FromInt((int)result
);
34199 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34200 PyObject
*resultobj
;
34201 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34203 PyObject
* obj0
= 0 ;
34204 char *kwnames
[] = {
34205 (char *) "self", NULL
34208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34220 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
34222 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
34231 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34232 PyObject
*resultobj
;
34233 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 char *kwnames
[] = {
34239 (char *) "self",(char *) "n", NULL
34242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
34243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34245 arg2
= (int) SWIG_AsInt(obj1
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 resultobj
= result
;
34261 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
34265 PyObject
*arg3
= (PyObject
*) 0 ;
34266 PyObject
* obj0
= 0 ;
34267 PyObject
* obj1
= 0 ;
34268 PyObject
* obj2
= 0 ;
34269 char *kwnames
[] = {
34270 (char *) "self",(char *) "n",(char *) "clientData", NULL
34273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34274 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
34275 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34276 arg2
= (int) SWIG_AsInt(obj1
);
34277 if (PyErr_Occurred()) SWIG_fail
;
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 Py_INCREF(Py_None
); resultobj
= Py_None
;
34293 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
34295 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34296 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
34298 return Py_BuildValue((char *)"");
34300 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
34302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34303 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
34305 return Py_BuildValue((char *)"");
34307 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34308 PyObject
*resultobj
;
34309 wxSizerItem
*result
;
34310 char *kwnames
[] = {
34314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
34316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34317 result
= (wxSizerItem
*)new wxSizerItem();
34319 wxPyEndAllowThreads(__tstate
);
34320 if (PyErr_Occurred()) SWIG_fail
;
34322 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34329 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34330 PyObject
*resultobj
;
34331 wxWindow
*arg1
= (wxWindow
*) 0 ;
34335 PyObject
*arg5
= (PyObject
*) NULL
;
34336 wxSizerItem
*result
;
34337 PyObject
* obj0
= 0 ;
34338 PyObject
* obj1
= 0 ;
34339 PyObject
* obj2
= 0 ;
34340 PyObject
* obj3
= 0 ;
34341 PyObject
* obj4
= 0 ;
34342 char *kwnames
[] = {
34343 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
34348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34349 arg2
= (int) SWIG_AsInt(obj1
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34351 arg3
= (int) SWIG_AsInt(obj2
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34353 arg4
= (int) SWIG_AsInt(obj3
);
34354 if (PyErr_Occurred()) SWIG_fail
;
34359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34360 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34362 wxPyEndAllowThreads(__tstate
);
34363 if (PyErr_Occurred()) SWIG_fail
;
34365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34372 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34373 PyObject
*resultobj
;
34379 PyObject
*arg6
= (PyObject
*) NULL
;
34380 wxSizerItem
*result
;
34381 PyObject
* obj0
= 0 ;
34382 PyObject
* obj1
= 0 ;
34383 PyObject
* obj2
= 0 ;
34384 PyObject
* obj3
= 0 ;
34385 PyObject
* obj4
= 0 ;
34386 PyObject
* obj5
= 0 ;
34387 char *kwnames
[] = {
34388 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34392 arg1
= (int) SWIG_AsInt(obj0
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34394 arg2
= (int) SWIG_AsInt(obj1
);
34395 if (PyErr_Occurred()) SWIG_fail
;
34396 arg3
= (int) SWIG_AsInt(obj2
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34398 arg4
= (int) SWIG_AsInt(obj3
);
34399 if (PyErr_Occurred()) SWIG_fail
;
34400 arg5
= (int) SWIG_AsInt(obj4
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34419 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
;
34421 wxSizer
*arg1
= (wxSizer
*) 0 ;
34425 PyObject
*arg5
= (PyObject
*) NULL
;
34426 wxSizerItem
*result
;
34427 PyObject
* obj0
= 0 ;
34428 PyObject
* obj1
= 0 ;
34429 PyObject
* obj2
= 0 ;
34430 PyObject
* obj3
= 0 ;
34431 PyObject
* obj4
= 0 ;
34432 char *kwnames
[] = {
34433 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
34437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34439 arg2
= (int) SWIG_AsInt(obj1
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34441 arg3
= (int) SWIG_AsInt(obj2
);
34442 if (PyErr_Occurred()) SWIG_fail
;
34443 arg4
= (int) SWIG_AsInt(obj3
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34450 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
34452 wxPyEndAllowThreads(__tstate
);
34453 if (PyErr_Occurred()) SWIG_fail
;
34455 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
34462 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34463 PyObject
*resultobj
;
34464 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34465 PyObject
* obj0
= 0 ;
34466 char *kwnames
[] = {
34467 (char *) "self", NULL
34470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34475 (arg1
)->DeleteWindows();
34477 wxPyEndAllowThreads(__tstate
);
34478 if (PyErr_Occurred()) SWIG_fail
;
34480 Py_INCREF(Py_None
); resultobj
= Py_None
;
34487 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34488 PyObject
*resultobj
;
34489 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34490 PyObject
* obj0
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 (arg1
)->DetachSizer();
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34505 Py_INCREF(Py_None
); resultobj
= Py_None
;
34512 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34516 PyObject
* obj0
= 0 ;
34517 char *kwnames
[] = {
34518 (char *) "self", NULL
34521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34526 result
= (arg1
)->GetSize();
34528 wxPyEndAllowThreads(__tstate
);
34529 if (PyErr_Occurred()) SWIG_fail
;
34532 wxSize
* resultptr
;
34533 resultptr
= new wxSize((wxSize
&) result
);
34534 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34542 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34543 PyObject
*resultobj
;
34544 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 char *kwnames
[] = {
34548 (char *) "self", NULL
34551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34556 result
= (arg1
)->CalcMin();
34558 wxPyEndAllowThreads(__tstate
);
34559 if (PyErr_Occurred()) SWIG_fail
;
34562 wxSize
* resultptr
;
34563 resultptr
= new wxSize((wxSize
&) result
);
34564 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34572 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34573 PyObject
*resultobj
;
34574 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34579 PyObject
* obj0
= 0 ;
34580 PyObject
* obj1
= 0 ;
34581 PyObject
* obj2
= 0 ;
34582 char *kwnames
[] = {
34583 (char *) "self",(char *) "pos",(char *) "size", NULL
34586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34589 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34590 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34592 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34593 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34597 (arg1
)->SetDimension(arg2
,arg3
);
34599 wxPyEndAllowThreads(__tstate
);
34600 if (PyErr_Occurred()) SWIG_fail
;
34602 Py_INCREF(Py_None
); resultobj
= Py_None
;
34609 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34610 PyObject
*resultobj
;
34611 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34613 PyObject
* obj0
= 0 ;
34614 char *kwnames
[] = {
34615 (char *) "self", NULL
34618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34623 result
= (arg1
)->GetMinSize();
34625 wxPyEndAllowThreads(__tstate
);
34626 if (PyErr_Occurred()) SWIG_fail
;
34629 wxSize
* resultptr
;
34630 resultptr
= new wxSize((wxSize
&) result
);
34631 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34639 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34640 PyObject
*resultobj
;
34641 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34643 PyObject
* obj0
= 0 ;
34644 char *kwnames
[] = {
34645 (char *) "self", NULL
34648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34655 wxPyEndAllowThreads(__tstate
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34659 wxSize
* resultptr
;
34660 resultptr
= new wxSize((wxSize
&) result
);
34661 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34669 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34674 PyObject
* obj0
= 0 ;
34675 PyObject
* obj1
= 0 ;
34676 PyObject
* obj2
= 0 ;
34677 char *kwnames
[] = {
34678 (char *) "self",(char *) "x",(char *) "y", NULL
34681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34684 arg2
= (int) SWIG_AsInt(obj1
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34686 arg3
= (int) SWIG_AsInt(obj2
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34690 (arg1
)->SetInitSize(arg2
,arg3
);
34692 wxPyEndAllowThreads(__tstate
);
34693 if (PyErr_Occurred()) SWIG_fail
;
34695 Py_INCREF(Py_None
); resultobj
= Py_None
;
34702 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34703 PyObject
*resultobj
;
34704 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34707 PyObject
* obj0
= 0 ;
34708 PyObject
* obj1
= 0 ;
34709 PyObject
* obj2
= 0 ;
34710 char *kwnames
[] = {
34711 (char *) "self",(char *) "width",(char *) "height", NULL
34714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34717 arg2
= (int) SWIG_AsInt(obj1
);
34718 if (PyErr_Occurred()) SWIG_fail
;
34719 arg3
= (int) SWIG_AsInt(obj2
);
34720 if (PyErr_Occurred()) SWIG_fail
;
34722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34723 (arg1
)->SetRatio(arg2
,arg3
);
34725 wxPyEndAllowThreads(__tstate
);
34726 if (PyErr_Occurred()) SWIG_fail
;
34728 Py_INCREF(Py_None
); resultobj
= Py_None
;
34735 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34736 PyObject
*resultobj
;
34737 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34740 PyObject
* obj0
= 0 ;
34741 PyObject
* obj1
= 0 ;
34742 char *kwnames
[] = {
34743 (char *) "self",(char *) "size", NULL
34746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34749 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34750 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 (arg1
)->SetRatio(arg2
);
34756 wxPyEndAllowThreads(__tstate
);
34757 if (PyErr_Occurred()) SWIG_fail
;
34759 Py_INCREF(Py_None
); resultobj
= Py_None
;
34766 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34767 PyObject
*resultobj
;
34768 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34770 PyObject
* obj0
= 0 ;
34771 PyObject
* obj1
= 0 ;
34772 char *kwnames
[] = {
34773 (char *) "self",(char *) "ratio", NULL
34776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34779 arg2
= (float) SWIG_AsFloat(obj1
);
34780 if (PyErr_Occurred()) SWIG_fail
;
34782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34783 (arg1
)->SetRatio(arg2
);
34785 wxPyEndAllowThreads(__tstate
);
34786 if (PyErr_Occurred()) SWIG_fail
;
34788 Py_INCREF(Py_None
); resultobj
= Py_None
;
34795 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34796 PyObject
*resultobj
;
34797 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34799 PyObject
* obj0
= 0 ;
34800 char *kwnames
[] = {
34801 (char *) "self", NULL
34804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (float)(arg1
)->GetRatio();
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= SWIG_FromFloat((float)result
);
34821 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
;
34823 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34825 PyObject
* obj0
= 0 ;
34826 char *kwnames
[] = {
34827 (char *) "self", NULL
34830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34835 result
= (bool)(arg1
)->IsWindow();
34837 wxPyEndAllowThreads(__tstate
);
34838 if (PyErr_Occurred()) SWIG_fail
;
34841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34849 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34850 PyObject
*resultobj
;
34851 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34853 PyObject
* obj0
= 0 ;
34854 char *kwnames
[] = {
34855 (char *) "self", NULL
34858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34863 result
= (bool)(arg1
)->IsSizer();
34865 wxPyEndAllowThreads(__tstate
);
34866 if (PyErr_Occurred()) SWIG_fail
;
34869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34877 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34878 PyObject
*resultobj
;
34879 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34881 PyObject
* obj0
= 0 ;
34882 char *kwnames
[] = {
34883 (char *) "self", NULL
34886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34891 result
= (bool)(arg1
)->IsSpacer();
34893 wxPyEndAllowThreads(__tstate
);
34894 if (PyErr_Occurred()) SWIG_fail
;
34897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34905 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34906 PyObject
*resultobj
;
34907 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34909 PyObject
* obj0
= 0 ;
34910 PyObject
* obj1
= 0 ;
34911 char *kwnames
[] = {
34912 (char *) "self",(char *) "proportion", NULL
34915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34918 arg2
= (int) SWIG_AsInt(obj1
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34922 (arg1
)->SetProportion(arg2
);
34924 wxPyEndAllowThreads(__tstate
);
34925 if (PyErr_Occurred()) SWIG_fail
;
34927 Py_INCREF(Py_None
); resultobj
= Py_None
;
34934 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34935 PyObject
*resultobj
;
34936 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34938 PyObject
* obj0
= 0 ;
34939 char *kwnames
[] = {
34940 (char *) "self", NULL
34943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34948 result
= (int)(arg1
)->GetProportion();
34950 wxPyEndAllowThreads(__tstate
);
34951 if (PyErr_Occurred()) SWIG_fail
;
34953 resultobj
= SWIG_FromInt((int)result
);
34960 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34961 PyObject
*resultobj
;
34962 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34964 PyObject
* obj0
= 0 ;
34965 PyObject
* obj1
= 0 ;
34966 char *kwnames
[] = {
34967 (char *) "self",(char *) "flag", NULL
34970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34973 arg2
= (int) SWIG_AsInt(obj1
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34977 (arg1
)->SetFlag(arg2
);
34979 wxPyEndAllowThreads(__tstate
);
34980 if (PyErr_Occurred()) SWIG_fail
;
34982 Py_INCREF(Py_None
); resultobj
= Py_None
;
34989 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34990 PyObject
*resultobj
;
34991 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34993 PyObject
* obj0
= 0 ;
34994 char *kwnames
[] = {
34995 (char *) "self", NULL
34998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35003 result
= (int)(arg1
)->GetFlag();
35005 wxPyEndAllowThreads(__tstate
);
35006 if (PyErr_Occurred()) SWIG_fail
;
35008 resultobj
= SWIG_FromInt((int)result
);
35015 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35016 PyObject
*resultobj
;
35017 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35019 PyObject
* obj0
= 0 ;
35020 PyObject
* obj1
= 0 ;
35021 char *kwnames
[] = {
35022 (char *) "self",(char *) "border", NULL
35025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
35026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35028 arg2
= (int) SWIG_AsInt(obj1
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35032 (arg1
)->SetBorder(arg2
);
35034 wxPyEndAllowThreads(__tstate
);
35035 if (PyErr_Occurred()) SWIG_fail
;
35037 Py_INCREF(Py_None
); resultobj
= Py_None
;
35044 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35045 PyObject
*resultobj
;
35046 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35048 PyObject
* obj0
= 0 ;
35049 char *kwnames
[] = {
35050 (char *) "self", NULL
35053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
35054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35058 result
= (int)(arg1
)->GetBorder();
35060 wxPyEndAllowThreads(__tstate
);
35061 if (PyErr_Occurred()) SWIG_fail
;
35063 resultobj
= SWIG_FromInt((int)result
);
35070 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
;
35072 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35074 PyObject
* obj0
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
35080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35084 result
= (wxWindow
*)(arg1
)->GetWindow();
35086 wxPyEndAllowThreads(__tstate
);
35087 if (PyErr_Occurred()) SWIG_fail
;
35090 resultobj
= wxPyMake_wxObject(result
, 0);
35098 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35099 PyObject
*resultobj
;
35100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35101 wxWindow
*arg2
= (wxWindow
*) 0 ;
35102 PyObject
* obj0
= 0 ;
35103 PyObject
* obj1
= 0 ;
35104 char *kwnames
[] = {
35105 (char *) "self",(char *) "window", NULL
35108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
35109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35111 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 (arg1
)->SetWindow(arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 Py_INCREF(Py_None
); resultobj
= Py_None
;
35127 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
;
35129 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35131 PyObject
* obj0
= 0 ;
35132 char *kwnames
[] = {
35133 (char *) "self", NULL
35136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
35137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (wxSizer
*)(arg1
)->GetSizer();
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35147 resultobj
= wxPyMake_wxSizer(result
, 0);
35155 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35156 PyObject
*resultobj
;
35157 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35158 wxSizer
*arg2
= (wxSizer
*) 0 ;
35159 PyObject
* obj0
= 0 ;
35160 PyObject
* obj1
= 0 ;
35161 char *kwnames
[] = {
35162 (char *) "self",(char *) "sizer", NULL
35165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35168 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
35169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35172 (arg1
)->SetSizer(arg2
);
35174 wxPyEndAllowThreads(__tstate
);
35175 if (PyErr_Occurred()) SWIG_fail
;
35177 Py_INCREF(Py_None
); resultobj
= Py_None
;
35184 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35185 PyObject
*resultobj
;
35186 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35188 PyObject
* obj0
= 0 ;
35189 char *kwnames
[] = {
35190 (char *) "self", NULL
35193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
35194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35199 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
35200 result
= (wxSize
*) &_result_ref
;
35203 wxPyEndAllowThreads(__tstate
);
35204 if (PyErr_Occurred()) SWIG_fail
;
35206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
35213 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35214 PyObject
*resultobj
;
35215 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35218 PyObject
* obj0
= 0 ;
35219 PyObject
* obj1
= 0 ;
35220 char *kwnames
[] = {
35221 (char *) "self",(char *) "size", NULL
35224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
35225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 Py_INCREF(Py_None
); resultobj
= Py_None
;
35245 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35246 PyObject
*resultobj
;
35247 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35249 PyObject
* obj0
= 0 ;
35250 PyObject
* obj1
= 0 ;
35251 char *kwnames
[] = {
35252 (char *) "self",(char *) "show", NULL
35255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
35256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35258 arg2
= (bool) SWIG_AsBool(obj1
);
35259 if (PyErr_Occurred()) SWIG_fail
;
35261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35262 (arg1
)->Show(arg2
);
35264 wxPyEndAllowThreads(__tstate
);
35265 if (PyErr_Occurred()) SWIG_fail
;
35267 Py_INCREF(Py_None
); resultobj
= Py_None
;
35274 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35275 PyObject
*resultobj
;
35276 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35278 PyObject
* obj0
= 0 ;
35279 char *kwnames
[] = {
35280 (char *) "self", NULL
35283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
35284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35288 result
= (bool)(arg1
)->IsShown();
35290 wxPyEndAllowThreads(__tstate
);
35291 if (PyErr_Occurred()) SWIG_fail
;
35294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35302 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35303 PyObject
*resultobj
;
35304 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35306 PyObject
* obj0
= 0 ;
35307 char *kwnames
[] = {
35308 (char *) "self", NULL
35311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
35312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35316 result
= (arg1
)->GetPosition();
35318 wxPyEndAllowThreads(__tstate
);
35319 if (PyErr_Occurred()) SWIG_fail
;
35322 wxPoint
* resultptr
;
35323 resultptr
= new wxPoint((wxPoint
&) result
);
35324 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35332 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35333 PyObject
*resultobj
;
35334 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
35336 PyObject
* obj0
= 0 ;
35337 char *kwnames
[] = {
35338 (char *) "self", NULL
35341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
35342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
35343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35346 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
35348 wxPyEndAllowThreads(__tstate
);
35349 if (PyErr_Occurred()) SWIG_fail
;
35351 resultobj
= result
;
35358 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
35360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35361 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
35363 return Py_BuildValue((char *)"");
35365 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35366 PyObject
*resultobj
;
35367 wxSizer
*arg1
= (wxSizer
*) 0 ;
35368 PyObject
*arg2
= (PyObject
*) 0 ;
35369 PyObject
* obj0
= 0 ;
35370 PyObject
* obj1
= 0 ;
35371 char *kwnames
[] = {
35372 (char *) "self",(char *) "_self", NULL
35375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
35376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35381 wxSizer__setOORInfo(arg1
,arg2
);
35383 wxPyEndAllowThreads(__tstate
);
35384 if (PyErr_Occurred()) SWIG_fail
;
35386 Py_INCREF(Py_None
); resultobj
= Py_None
;
35393 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 wxSizer
*arg1
= (wxSizer
*) 0 ;
35396 PyObject
*arg2
= (PyObject
*) 0 ;
35397 int arg3
= (int) 0 ;
35398 int arg4
= (int) 0 ;
35399 int arg5
= (int) 0 ;
35400 PyObject
*arg6
= (PyObject
*) NULL
;
35401 PyObject
* obj0
= 0 ;
35402 PyObject
* obj1
= 0 ;
35403 PyObject
* obj2
= 0 ;
35404 PyObject
* obj3
= 0 ;
35405 PyObject
* obj4
= 0 ;
35406 PyObject
* obj5
= 0 ;
35407 char *kwnames
[] = {
35408 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35416 arg3
= (int) SWIG_AsInt(obj2
);
35417 if (PyErr_Occurred()) SWIG_fail
;
35420 arg4
= (int) SWIG_AsInt(obj3
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35424 arg5
= (int) SWIG_AsInt(obj4
);
35425 if (PyErr_Occurred()) SWIG_fail
;
35431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35432 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35434 wxPyEndAllowThreads(__tstate
);
35435 if (PyErr_Occurred()) SWIG_fail
;
35437 Py_INCREF(Py_None
); resultobj
= Py_None
;
35444 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35445 PyObject
*resultobj
;
35446 wxSizer
*arg1
= (wxSizer
*) 0 ;
35448 PyObject
*arg3
= (PyObject
*) 0 ;
35449 int arg4
= (int) 0 ;
35450 int arg5
= (int) 0 ;
35451 int arg6
= (int) 0 ;
35452 PyObject
*arg7
= (PyObject
*) NULL
;
35453 PyObject
* obj0
= 0 ;
35454 PyObject
* obj1
= 0 ;
35455 PyObject
* obj2
= 0 ;
35456 PyObject
* obj3
= 0 ;
35457 PyObject
* obj4
= 0 ;
35458 PyObject
* obj5
= 0 ;
35459 PyObject
* obj6
= 0 ;
35460 char *kwnames
[] = {
35461 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35467 arg2
= (int) SWIG_AsInt(obj1
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 arg4
= (int) SWIG_AsInt(obj3
);
35472 if (PyErr_Occurred()) SWIG_fail
;
35475 arg5
= (int) SWIG_AsInt(obj4
);
35476 if (PyErr_Occurred()) SWIG_fail
;
35479 arg6
= (int) SWIG_AsInt(obj5
);
35480 if (PyErr_Occurred()) SWIG_fail
;
35486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35487 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
35489 wxPyEndAllowThreads(__tstate
);
35490 if (PyErr_Occurred()) SWIG_fail
;
35492 Py_INCREF(Py_None
); resultobj
= Py_None
;
35499 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35500 PyObject
*resultobj
;
35501 wxSizer
*arg1
= (wxSizer
*) 0 ;
35502 PyObject
*arg2
= (PyObject
*) 0 ;
35503 int arg3
= (int) 0 ;
35504 int arg4
= (int) 0 ;
35505 int arg5
= (int) 0 ;
35506 PyObject
*arg6
= (PyObject
*) NULL
;
35507 PyObject
* obj0
= 0 ;
35508 PyObject
* obj1
= 0 ;
35509 PyObject
* obj2
= 0 ;
35510 PyObject
* obj3
= 0 ;
35511 PyObject
* obj4
= 0 ;
35512 PyObject
* obj5
= 0 ;
35513 char *kwnames
[] = {
35514 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35522 arg3
= (int) SWIG_AsInt(obj2
);
35523 if (PyErr_Occurred()) SWIG_fail
;
35526 arg4
= (int) SWIG_AsInt(obj3
);
35527 if (PyErr_Occurred()) SWIG_fail
;
35530 arg5
= (int) SWIG_AsInt(obj4
);
35531 if (PyErr_Occurred()) SWIG_fail
;
35537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35538 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35540 wxPyEndAllowThreads(__tstate
);
35541 if (PyErr_Occurred()) SWIG_fail
;
35543 Py_INCREF(Py_None
); resultobj
= Py_None
;
35550 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35551 PyObject
*resultobj
;
35552 wxSizer
*arg1
= (wxSizer
*) 0 ;
35553 PyObject
*arg2
= (PyObject
*) 0 ;
35555 PyObject
* obj0
= 0 ;
35556 PyObject
* obj1
= 0 ;
35557 char *kwnames
[] = {
35558 (char *) "self",(char *) "item", NULL
35561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35567 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35569 wxPyEndAllowThreads(__tstate
);
35570 if (PyErr_Occurred()) SWIG_fail
;
35573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35581 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35582 PyObject
*resultobj
;
35583 wxSizer
*arg1
= (wxSizer
*) 0 ;
35584 PyObject
*arg2
= (PyObject
*) 0 ;
35586 PyObject
* obj0
= 0 ;
35587 PyObject
* obj1
= 0 ;
35588 char *kwnames
[] = {
35589 (char *) "self",(char *) "item", NULL
35592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35598 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35600 wxPyEndAllowThreads(__tstate
);
35601 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35612 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
;
35614 wxSizer
*arg1
= (wxSizer
*) 0 ;
35615 PyObject
*arg2
= (PyObject
*) 0 ;
35618 PyObject
* obj0
= 0 ;
35619 PyObject
* obj1
= 0 ;
35620 PyObject
* obj2
= 0 ;
35621 char *kwnames
[] = {
35622 (char *) "self",(char *) "item",(char *) "size", NULL
35625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35631 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35635 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35637 wxPyEndAllowThreads(__tstate
);
35638 if (PyErr_Occurred()) SWIG_fail
;
35640 Py_INCREF(Py_None
); resultobj
= Py_None
;
35647 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35648 PyObject
*resultobj
;
35649 wxSizer
*arg1
= (wxSizer
*) 0 ;
35650 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35651 PyObject
* obj0
= 0 ;
35652 PyObject
* obj1
= 0 ;
35653 char *kwnames
[] = {
35654 (char *) "self",(char *) "item", NULL
35657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35666 wxPyEndAllowThreads(__tstate
);
35667 if (PyErr_Occurred()) SWIG_fail
;
35669 Py_INCREF(Py_None
); resultobj
= Py_None
;
35676 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35677 PyObject
*resultobj
;
35678 wxSizer
*arg1
= (wxSizer
*) 0 ;
35680 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35681 PyObject
* obj0
= 0 ;
35682 PyObject
* obj1
= 0 ;
35683 PyObject
* obj2
= 0 ;
35684 char *kwnames
[] = {
35685 (char *) "self",(char *) "index",(char *) "item", NULL
35688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35691 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35692 if (PyErr_Occurred()) SWIG_fail
;
35693 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35697 (arg1
)->Insert(arg2
,arg3
);
35699 wxPyEndAllowThreads(__tstate
);
35700 if (PyErr_Occurred()) SWIG_fail
;
35702 Py_INCREF(Py_None
); resultobj
= Py_None
;
35709 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35710 PyObject
*resultobj
;
35711 wxSizer
*arg1
= (wxSizer
*) 0 ;
35712 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35713 PyObject
* obj0
= 0 ;
35714 PyObject
* obj1
= 0 ;
35715 char *kwnames
[] = {
35716 (char *) "self",(char *) "item", NULL
35719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35726 (arg1
)->Prepend(arg2
);
35728 wxPyEndAllowThreads(__tstate
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 Py_INCREF(Py_None
); resultobj
= Py_None
;
35738 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35739 PyObject
*resultobj
;
35740 wxSizer
*arg1
= (wxSizer
*) 0 ;
35745 PyObject
* obj0
= 0 ;
35746 PyObject
* obj1
= 0 ;
35747 PyObject
* obj2
= 0 ;
35748 PyObject
* obj3
= 0 ;
35749 PyObject
* obj4
= 0 ;
35750 char *kwnames
[] = {
35751 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35757 arg2
= (int) SWIG_AsInt(obj1
);
35758 if (PyErr_Occurred()) SWIG_fail
;
35759 arg3
= (int) SWIG_AsInt(obj2
);
35760 if (PyErr_Occurred()) SWIG_fail
;
35761 arg4
= (int) SWIG_AsInt(obj3
);
35762 if (PyErr_Occurred()) SWIG_fail
;
35763 arg5
= (int) SWIG_AsInt(obj4
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35767 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35769 wxPyEndAllowThreads(__tstate
);
35770 if (PyErr_Occurred()) SWIG_fail
;
35772 Py_INCREF(Py_None
); resultobj
= Py_None
;
35779 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35780 PyObject
*resultobj
;
35781 wxSizer
*arg1
= (wxSizer
*) 0 ;
35784 PyObject
* obj0
= 0 ;
35785 PyObject
* obj1
= 0 ;
35786 char *kwnames
[] = {
35787 (char *) "self",(char *) "size", NULL
35790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35795 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35799 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35801 wxPyEndAllowThreads(__tstate
);
35802 if (PyErr_Occurred()) SWIG_fail
;
35804 Py_INCREF(Py_None
); resultobj
= Py_None
;
35811 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 wxSizer
*arg1
= (wxSizer
*) 0 ;
35815 PyObject
* obj0
= 0 ;
35816 char *kwnames
[] = {
35817 (char *) "self", NULL
35820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35825 result
= (arg1
)->GetSize();
35827 wxPyEndAllowThreads(__tstate
);
35828 if (PyErr_Occurred()) SWIG_fail
;
35831 wxSize
* resultptr
;
35832 resultptr
= new wxSize((wxSize
&) result
);
35833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35841 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
;
35843 wxSizer
*arg1
= (wxSizer
*) 0 ;
35845 PyObject
* obj0
= 0 ;
35846 char *kwnames
[] = {
35847 (char *) "self", NULL
35850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35855 result
= (arg1
)->GetPosition();
35857 wxPyEndAllowThreads(__tstate
);
35858 if (PyErr_Occurred()) SWIG_fail
;
35861 wxPoint
* resultptr
;
35862 resultptr
= new wxPoint((wxPoint
&) result
);
35863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35871 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35872 PyObject
*resultobj
;
35873 wxSizer
*arg1
= (wxSizer
*) 0 ;
35875 PyObject
* obj0
= 0 ;
35876 char *kwnames
[] = {
35877 (char *) "self", NULL
35880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35885 result
= (arg1
)->GetMinSize();
35887 wxPyEndAllowThreads(__tstate
);
35888 if (PyErr_Occurred()) SWIG_fail
;
35891 wxSize
* resultptr
;
35892 resultptr
= new wxSize((wxSize
&) result
);
35893 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35901 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxSizer
*arg1
= (wxSizer
*) 0 ;
35904 PyObject
* obj0
= 0 ;
35905 char *kwnames
[] = {
35906 (char *) "self", NULL
35909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35914 (arg1
)->RecalcSizes();
35916 wxPyEndAllowThreads(__tstate
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35919 Py_INCREF(Py_None
); resultobj
= Py_None
;
35926 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35927 PyObject
*resultobj
;
35928 wxSizer
*arg1
= (wxSizer
*) 0 ;
35930 PyObject
* obj0
= 0 ;
35931 char *kwnames
[] = {
35932 (char *) "self", NULL
35935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35940 result
= (arg1
)->CalcMin();
35942 wxPyEndAllowThreads(__tstate
);
35943 if (PyErr_Occurred()) SWIG_fail
;
35946 wxSize
* resultptr
;
35947 resultptr
= new wxSize((wxSize
&) result
);
35948 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35956 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35957 PyObject
*resultobj
;
35958 wxSizer
*arg1
= (wxSizer
*) 0 ;
35959 PyObject
* obj0
= 0 ;
35960 char *kwnames
[] = {
35961 (char *) "self", NULL
35964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35971 wxPyEndAllowThreads(__tstate
);
35972 if (PyErr_Occurred()) SWIG_fail
;
35974 Py_INCREF(Py_None
); resultobj
= Py_None
;
35981 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35982 PyObject
*resultobj
;
35983 wxSizer
*arg1
= (wxSizer
*) 0 ;
35984 wxWindow
*arg2
= (wxWindow
*) 0 ;
35986 PyObject
* obj0
= 0 ;
35987 PyObject
* obj1
= 0 ;
35988 char *kwnames
[] = {
35989 (char *) "self",(char *) "window", NULL
35992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35995 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35999 result
= (arg1
)->Fit(arg2
);
36001 wxPyEndAllowThreads(__tstate
);
36002 if (PyErr_Occurred()) SWIG_fail
;
36005 wxSize
* resultptr
;
36006 resultptr
= new wxSize((wxSize
&) result
);
36007 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36015 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36016 PyObject
*resultobj
;
36017 wxSizer
*arg1
= (wxSizer
*) 0 ;
36018 wxWindow
*arg2
= (wxWindow
*) 0 ;
36019 PyObject
* obj0
= 0 ;
36020 PyObject
* obj1
= 0 ;
36021 char *kwnames
[] = {
36022 (char *) "self",(char *) "window", NULL
36025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
36026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36028 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36032 (arg1
)->FitInside(arg2
);
36034 wxPyEndAllowThreads(__tstate
);
36035 if (PyErr_Occurred()) SWIG_fail
;
36037 Py_INCREF(Py_None
); resultobj
= Py_None
;
36044 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36045 PyObject
*resultobj
;
36046 wxSizer
*arg1
= (wxSizer
*) 0 ;
36047 wxWindow
*arg2
= (wxWindow
*) 0 ;
36048 PyObject
* obj0
= 0 ;
36049 PyObject
* obj1
= 0 ;
36050 char *kwnames
[] = {
36051 (char *) "self",(char *) "window", NULL
36054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36057 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36061 (arg1
)->SetSizeHints(arg2
);
36063 wxPyEndAllowThreads(__tstate
);
36064 if (PyErr_Occurred()) SWIG_fail
;
36066 Py_INCREF(Py_None
); resultobj
= Py_None
;
36073 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36074 PyObject
*resultobj
;
36075 wxSizer
*arg1
= (wxSizer
*) 0 ;
36076 wxWindow
*arg2
= (wxWindow
*) 0 ;
36077 PyObject
* obj0
= 0 ;
36078 PyObject
* obj1
= 0 ;
36079 char *kwnames
[] = {
36080 (char *) "self",(char *) "window", NULL
36083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
36084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36090 (arg1
)->SetVirtualSizeHints(arg2
);
36092 wxPyEndAllowThreads(__tstate
);
36093 if (PyErr_Occurred()) SWIG_fail
;
36095 Py_INCREF(Py_None
); resultobj
= Py_None
;
36102 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36103 PyObject
*resultobj
;
36104 wxSizer
*arg1
= (wxSizer
*) 0 ;
36105 bool arg2
= (bool) False
;
36106 PyObject
* obj0
= 0 ;
36107 PyObject
* obj1
= 0 ;
36108 char *kwnames
[] = {
36109 (char *) "self",(char *) "deleteWindows", NULL
36112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
36113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36116 arg2
= (bool) SWIG_AsBool(obj1
);
36117 if (PyErr_Occurred()) SWIG_fail
;
36120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36121 (arg1
)->Clear(arg2
);
36123 wxPyEndAllowThreads(__tstate
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36126 Py_INCREF(Py_None
); resultobj
= Py_None
;
36133 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36134 PyObject
*resultobj
;
36135 wxSizer
*arg1
= (wxSizer
*) 0 ;
36136 PyObject
* obj0
= 0 ;
36137 char *kwnames
[] = {
36138 (char *) "self", NULL
36141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
36142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36146 (arg1
)->DeleteWindows();
36148 wxPyEndAllowThreads(__tstate
);
36149 if (PyErr_Occurred()) SWIG_fail
;
36151 Py_INCREF(Py_None
); resultobj
= Py_None
;
36158 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36159 PyObject
*resultobj
;
36160 wxSizer
*arg1
= (wxSizer
*) 0 ;
36162 PyObject
* obj0
= 0 ;
36163 char *kwnames
[] = {
36164 (char *) "self", NULL
36167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
36168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36172 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
36174 wxPyEndAllowThreads(__tstate
);
36175 if (PyErr_Occurred()) SWIG_fail
;
36177 resultobj
= result
;
36184 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36185 PyObject
*resultobj
;
36186 wxSizer
*arg1
= (wxSizer
*) 0 ;
36187 PyObject
*arg2
= (PyObject
*) 0 ;
36188 bool arg3
= (bool) True
;
36189 PyObject
* obj0
= 0 ;
36190 PyObject
* obj1
= 0 ;
36191 PyObject
* obj2
= 0 ;
36192 char *kwnames
[] = {
36193 (char *) "self",(char *) "item",(char *) "show", NULL
36196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36201 arg3
= (bool) SWIG_AsBool(obj2
);
36202 if (PyErr_Occurred()) SWIG_fail
;
36205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36206 wxSizer_Show(arg1
,arg2
,arg3
);
36208 wxPyEndAllowThreads(__tstate
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 Py_INCREF(Py_None
); resultobj
= Py_None
;
36218 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36219 PyObject
*resultobj
;
36220 wxSizer
*arg1
= (wxSizer
*) 0 ;
36221 PyObject
*arg2
= (PyObject
*) 0 ;
36223 PyObject
* obj0
= 0 ;
36224 PyObject
* obj1
= 0 ;
36225 char *kwnames
[] = {
36226 (char *) "self",(char *) "item", NULL
36229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
36230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36235 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
36237 wxPyEndAllowThreads(__tstate
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36249 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36250 PyObject
*resultobj
;
36251 wxSizer
*arg1
= (wxSizer
*) 0 ;
36253 PyObject
* obj0
= 0 ;
36254 PyObject
* obj1
= 0 ;
36255 char *kwnames
[] = {
36256 (char *) "self",(char *) "show", NULL
36259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
36260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36262 arg2
= (bool) SWIG_AsBool(obj1
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36266 (arg1
)->ShowItems(arg2
);
36268 wxPyEndAllowThreads(__tstate
);
36269 if (PyErr_Occurred()) SWIG_fail
;
36271 Py_INCREF(Py_None
); resultobj
= Py_None
;
36278 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
36280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36281 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
36283 return Py_BuildValue((char *)"");
36285 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36286 PyObject
*resultobj
;
36288 char *kwnames
[] = {
36292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
36294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36295 result
= (wxPySizer
*)new wxPySizer();
36297 wxPyEndAllowThreads(__tstate
);
36298 if (PyErr_Occurred()) SWIG_fail
;
36300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
36307 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36308 PyObject
*resultobj
;
36309 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
36310 PyObject
*arg2
= (PyObject
*) 0 ;
36311 PyObject
*arg3
= (PyObject
*) 0 ;
36312 PyObject
* obj0
= 0 ;
36313 PyObject
* obj1
= 0 ;
36314 PyObject
* obj2
= 0 ;
36315 char *kwnames
[] = {
36316 (char *) "self",(char *) "self",(char *) "_class", NULL
36319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
36321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36326 (arg1
)->_setCallbackInfo(arg2
,arg3
);
36328 wxPyEndAllowThreads(__tstate
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36331 Py_INCREF(Py_None
); resultobj
= Py_None
;
36338 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
36340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36341 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
36343 return Py_BuildValue((char *)"");
36345 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36346 PyObject
*resultobj
;
36347 int arg1
= (int) wxHORIZONTAL
;
36348 wxBoxSizer
*result
;
36349 PyObject
* obj0
= 0 ;
36350 char *kwnames
[] = {
36351 (char *) "orient", NULL
36354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
36356 arg1
= (int) SWIG_AsInt(obj0
);
36357 if (PyErr_Occurred()) SWIG_fail
;
36360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36361 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
36363 wxPyEndAllowThreads(__tstate
);
36364 if (PyErr_Occurred()) SWIG_fail
;
36366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
36373 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36374 PyObject
*resultobj
;
36375 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36377 PyObject
* obj0
= 0 ;
36378 char *kwnames
[] = {
36379 (char *) "self", NULL
36382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
36383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36387 result
= (int)(arg1
)->GetOrientation();
36389 wxPyEndAllowThreads(__tstate
);
36390 if (PyErr_Occurred()) SWIG_fail
;
36392 resultobj
= SWIG_FromInt((int)result
);
36399 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36400 PyObject
*resultobj
;
36401 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
36403 PyObject
* obj0
= 0 ;
36404 PyObject
* obj1
= 0 ;
36405 char *kwnames
[] = {
36406 (char *) "self",(char *) "orient", NULL
36409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
36410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
36411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36412 arg2
= (int) SWIG_AsInt(obj1
);
36413 if (PyErr_Occurred()) SWIG_fail
;
36415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36416 (arg1
)->SetOrientation(arg2
);
36418 wxPyEndAllowThreads(__tstate
);
36419 if (PyErr_Occurred()) SWIG_fail
;
36421 Py_INCREF(Py_None
); resultobj
= Py_None
;
36428 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36431 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
36433 return Py_BuildValue((char *)"");
36435 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36436 PyObject
*resultobj
;
36437 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
36438 int arg2
= (int) wxHORIZONTAL
;
36439 wxStaticBoxSizer
*result
;
36440 PyObject
* obj0
= 0 ;
36441 PyObject
* obj1
= 0 ;
36442 char *kwnames
[] = {
36443 (char *) "box",(char *) "orient", NULL
36446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
36448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36450 arg2
= (int) SWIG_AsInt(obj1
);
36451 if (PyErr_Occurred()) SWIG_fail
;
36454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36455 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
36457 wxPyEndAllowThreads(__tstate
);
36458 if (PyErr_Occurred()) SWIG_fail
;
36460 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36467 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36468 PyObject
*resultobj
;
36469 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36470 wxStaticBox
*result
;
36471 PyObject
* obj0
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36487 resultobj
= wxPyMake_wxObject(result
, 0);
36495 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36497 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36498 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36500 return Py_BuildValue((char *)"");
36502 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36503 PyObject
*resultobj
;
36504 int arg1
= (int) 1 ;
36505 int arg2
= (int) 0 ;
36506 int arg3
= (int) 0 ;
36507 int arg4
= (int) 0 ;
36508 wxGridSizer
*result
;
36509 PyObject
* obj0
= 0 ;
36510 PyObject
* obj1
= 0 ;
36511 PyObject
* obj2
= 0 ;
36512 PyObject
* obj3
= 0 ;
36513 char *kwnames
[] = {
36514 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36519 arg1
= (int) SWIG_AsInt(obj0
);
36520 if (PyErr_Occurred()) SWIG_fail
;
36523 arg2
= (int) SWIG_AsInt(obj1
);
36524 if (PyErr_Occurred()) SWIG_fail
;
36527 arg3
= (int) SWIG_AsInt(obj2
);
36528 if (PyErr_Occurred()) SWIG_fail
;
36531 arg4
= (int) SWIG_AsInt(obj3
);
36532 if (PyErr_Occurred()) SWIG_fail
;
36535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36536 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36538 wxPyEndAllowThreads(__tstate
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36548 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36549 PyObject
*resultobj
;
36550 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36552 PyObject
* obj0
= 0 ;
36553 PyObject
* obj1
= 0 ;
36554 char *kwnames
[] = {
36555 (char *) "self",(char *) "cols", NULL
36558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36561 arg2
= (int) SWIG_AsInt(obj1
);
36562 if (PyErr_Occurred()) SWIG_fail
;
36564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36565 (arg1
)->SetCols(arg2
);
36567 wxPyEndAllowThreads(__tstate
);
36568 if (PyErr_Occurred()) SWIG_fail
;
36570 Py_INCREF(Py_None
); resultobj
= Py_None
;
36577 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36578 PyObject
*resultobj
;
36579 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36581 PyObject
* obj0
= 0 ;
36582 PyObject
* obj1
= 0 ;
36583 char *kwnames
[] = {
36584 (char *) "self",(char *) "rows", NULL
36587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36590 arg2
= (int) SWIG_AsInt(obj1
);
36591 if (PyErr_Occurred()) SWIG_fail
;
36593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36594 (arg1
)->SetRows(arg2
);
36596 wxPyEndAllowThreads(__tstate
);
36597 if (PyErr_Occurred()) SWIG_fail
;
36599 Py_INCREF(Py_None
); resultobj
= Py_None
;
36606 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
;
36608 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36610 PyObject
* obj0
= 0 ;
36611 PyObject
* obj1
= 0 ;
36612 char *kwnames
[] = {
36613 (char *) "self",(char *) "gap", NULL
36616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36619 arg2
= (int) SWIG_AsInt(obj1
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36623 (arg1
)->SetVGap(arg2
);
36625 wxPyEndAllowThreads(__tstate
);
36626 if (PyErr_Occurred()) SWIG_fail
;
36628 Py_INCREF(Py_None
); resultobj
= Py_None
;
36635 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36636 PyObject
*resultobj
;
36637 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36639 PyObject
* obj0
= 0 ;
36640 PyObject
* obj1
= 0 ;
36641 char *kwnames
[] = {
36642 (char *) "self",(char *) "gap", NULL
36645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36648 arg2
= (int) SWIG_AsInt(obj1
);
36649 if (PyErr_Occurred()) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 (arg1
)->SetHGap(arg2
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 Py_INCREF(Py_None
); resultobj
= Py_None
;
36664 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36665 PyObject
*resultobj
;
36666 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36668 PyObject
* obj0
= 0 ;
36669 char *kwnames
[] = {
36670 (char *) "self", NULL
36673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36678 result
= (int)(arg1
)->GetCols();
36680 wxPyEndAllowThreads(__tstate
);
36681 if (PyErr_Occurred()) SWIG_fail
;
36683 resultobj
= SWIG_FromInt((int)result
);
36690 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36691 PyObject
*resultobj
;
36692 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36694 PyObject
* obj0
= 0 ;
36695 char *kwnames
[] = {
36696 (char *) "self", NULL
36699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36704 result
= (int)(arg1
)->GetRows();
36706 wxPyEndAllowThreads(__tstate
);
36707 if (PyErr_Occurred()) SWIG_fail
;
36709 resultobj
= SWIG_FromInt((int)result
);
36716 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36717 PyObject
*resultobj
;
36718 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36720 PyObject
* obj0
= 0 ;
36721 char *kwnames
[] = {
36722 (char *) "self", NULL
36725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36730 result
= (int)(arg1
)->GetVGap();
36732 wxPyEndAllowThreads(__tstate
);
36733 if (PyErr_Occurred()) SWIG_fail
;
36735 resultobj
= SWIG_FromInt((int)result
);
36742 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36743 PyObject
*resultobj
;
36744 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36746 PyObject
* obj0
= 0 ;
36747 char *kwnames
[] = {
36748 (char *) "self", NULL
36751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36756 result
= (int)(arg1
)->GetHGap();
36758 wxPyEndAllowThreads(__tstate
);
36759 if (PyErr_Occurred()) SWIG_fail
;
36761 resultobj
= SWIG_FromInt((int)result
);
36768 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36770 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36771 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36773 return Py_BuildValue((char *)"");
36775 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36776 PyObject
*resultobj
;
36777 int arg1
= (int) 1 ;
36778 int arg2
= (int) 0 ;
36779 int arg3
= (int) 0 ;
36780 int arg4
= (int) 0 ;
36781 wxFlexGridSizer
*result
;
36782 PyObject
* obj0
= 0 ;
36783 PyObject
* obj1
= 0 ;
36784 PyObject
* obj2
= 0 ;
36785 PyObject
* obj3
= 0 ;
36786 char *kwnames
[] = {
36787 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36792 arg1
= (int) SWIG_AsInt(obj0
);
36793 if (PyErr_Occurred()) SWIG_fail
;
36796 arg2
= (int) SWIG_AsInt(obj1
);
36797 if (PyErr_Occurred()) SWIG_fail
;
36800 arg3
= (int) SWIG_AsInt(obj2
);
36801 if (PyErr_Occurred()) SWIG_fail
;
36804 arg4
= (int) SWIG_AsInt(obj3
);
36805 if (PyErr_Occurred()) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36821 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36825 int arg3
= (int) 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 PyObject
* obj2
= 0 ;
36829 char *kwnames
[] = {
36830 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36836 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36839 arg3
= (int) SWIG_AsInt(obj2
);
36840 if (PyErr_Occurred()) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 (arg1
)->AddGrowableRow(arg2
,arg3
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36849 Py_INCREF(Py_None
); resultobj
= Py_None
;
36856 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36857 PyObject
*resultobj
;
36858 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36860 PyObject
* obj0
= 0 ;
36861 PyObject
* obj1
= 0 ;
36862 char *kwnames
[] = {
36863 (char *) "self",(char *) "idx", NULL
36866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36869 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36870 if (PyErr_Occurred()) SWIG_fail
;
36872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36873 (arg1
)->RemoveGrowableRow(arg2
);
36875 wxPyEndAllowThreads(__tstate
);
36876 if (PyErr_Occurred()) SWIG_fail
;
36878 Py_INCREF(Py_None
); resultobj
= Py_None
;
36885 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36886 PyObject
*resultobj
;
36887 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36889 int arg3
= (int) 0 ;
36890 PyObject
* obj0
= 0 ;
36891 PyObject
* obj1
= 0 ;
36892 PyObject
* obj2
= 0 ;
36893 char *kwnames
[] = {
36894 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36900 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36901 if (PyErr_Occurred()) SWIG_fail
;
36903 arg3
= (int) SWIG_AsInt(obj2
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36908 (arg1
)->AddGrowableCol(arg2
,arg3
);
36910 wxPyEndAllowThreads(__tstate
);
36911 if (PyErr_Occurred()) SWIG_fail
;
36913 Py_INCREF(Py_None
); resultobj
= Py_None
;
36920 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36921 PyObject
*resultobj
;
36922 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36924 PyObject
* obj0
= 0 ;
36925 PyObject
* obj1
= 0 ;
36926 char *kwnames
[] = {
36927 (char *) "self",(char *) "idx", NULL
36930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36933 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36934 if (PyErr_Occurred()) SWIG_fail
;
36936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36937 (arg1
)->RemoveGrowableCol(arg2
);
36939 wxPyEndAllowThreads(__tstate
);
36940 if (PyErr_Occurred()) SWIG_fail
;
36942 Py_INCREF(Py_None
); resultobj
= Py_None
;
36949 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36950 PyObject
*resultobj
;
36951 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36953 PyObject
* obj0
= 0 ;
36954 PyObject
* obj1
= 0 ;
36955 char *kwnames
[] = {
36956 (char *) "self",(char *) "direction", NULL
36959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36962 arg2
= (int) SWIG_AsInt(obj1
);
36963 if (PyErr_Occurred()) SWIG_fail
;
36965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36966 (arg1
)->SetFlexibleDirection(arg2
);
36968 wxPyEndAllowThreads(__tstate
);
36969 if (PyErr_Occurred()) SWIG_fail
;
36971 Py_INCREF(Py_None
); resultobj
= Py_None
;
36978 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36979 PyObject
*resultobj
;
36980 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36982 PyObject
* obj0
= 0 ;
36983 char *kwnames
[] = {
36984 (char *) "self", NULL
36987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36992 result
= (int)(arg1
)->GetFlexibleDirection();
36994 wxPyEndAllowThreads(__tstate
);
36995 if (PyErr_Occurred()) SWIG_fail
;
36997 resultobj
= SWIG_FromInt((int)result
);
37004 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37005 PyObject
*resultobj
;
37006 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37008 PyObject
* obj0
= 0 ;
37009 PyObject
* obj1
= 0 ;
37010 char *kwnames
[] = {
37011 (char *) "self",(char *) "mode", NULL
37014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
37015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37017 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
37018 if (PyErr_Occurred()) SWIG_fail
;
37020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37021 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
37023 wxPyEndAllowThreads(__tstate
);
37024 if (PyErr_Occurred()) SWIG_fail
;
37026 Py_INCREF(Py_None
); resultobj
= Py_None
;
37033 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37034 PyObject
*resultobj
;
37035 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37037 PyObject
* obj0
= 0 ;
37038 char *kwnames
[] = {
37039 (char *) "self", NULL
37042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
37043 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37044 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37047 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
37049 wxPyEndAllowThreads(__tstate
);
37050 if (PyErr_Occurred()) SWIG_fail
;
37052 resultobj
= SWIG_FromInt((int)result
);
37059 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37060 PyObject
*resultobj
;
37061 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37062 wxArrayInt
*result
;
37063 PyObject
* obj0
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37074 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
37075 result
= (wxArrayInt
*) &_result_ref
;
37078 wxPyEndAllowThreads(__tstate
);
37079 if (PyErr_Occurred()) SWIG_fail
;
37082 resultobj
= PyList_New(0);
37084 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37085 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37086 PyList_Append(resultobj
, val
);
37096 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37097 PyObject
*resultobj
;
37098 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
37099 wxArrayInt
*result
;
37100 PyObject
* obj0
= 0 ;
37101 char *kwnames
[] = {
37102 (char *) "self", NULL
37105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
37106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
37107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37111 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
37112 result
= (wxArrayInt
*) &_result_ref
;
37115 wxPyEndAllowThreads(__tstate
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37119 resultobj
= PyList_New(0);
37121 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
37122 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
37123 PyList_Append(resultobj
, val
);
37133 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
37135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37136 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
37138 return Py_BuildValue((char *)"");
37140 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37141 PyObject
*resultobj
;
37142 int arg1
= (int) 0 ;
37143 int arg2
= (int) 0 ;
37144 wxGBPosition
*result
;
37145 PyObject
* obj0
= 0 ;
37146 PyObject
* obj1
= 0 ;
37147 char *kwnames
[] = {
37148 (char *) "row",(char *) "col", NULL
37151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37153 arg1
= (int) SWIG_AsInt(obj0
);
37154 if (PyErr_Occurred()) SWIG_fail
;
37157 arg2
= (int) SWIG_AsInt(obj1
);
37158 if (PyErr_Occurred()) SWIG_fail
;
37161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37162 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
37164 wxPyEndAllowThreads(__tstate
);
37165 if (PyErr_Occurred()) SWIG_fail
;
37167 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
37174 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37175 PyObject
*resultobj
;
37176 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37178 PyObject
* obj0
= 0 ;
37179 char *kwnames
[] = {
37180 (char *) "self", NULL
37183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
37184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37188 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
37190 wxPyEndAllowThreads(__tstate
);
37191 if (PyErr_Occurred()) SWIG_fail
;
37193 resultobj
= SWIG_FromInt((int)result
);
37200 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37201 PyObject
*resultobj
;
37202 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37204 PyObject
* obj0
= 0 ;
37205 char *kwnames
[] = {
37206 (char *) "self", NULL
37209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
37210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37214 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
37216 wxPyEndAllowThreads(__tstate
);
37217 if (PyErr_Occurred()) SWIG_fail
;
37219 resultobj
= SWIG_FromInt((int)result
);
37226 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37227 PyObject
*resultobj
;
37228 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37230 PyObject
* obj0
= 0 ;
37231 PyObject
* obj1
= 0 ;
37232 char *kwnames
[] = {
37233 (char *) "self",(char *) "row", NULL
37236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
37237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37239 arg2
= (int) SWIG_AsInt(obj1
);
37240 if (PyErr_Occurred()) SWIG_fail
;
37242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37243 (arg1
)->SetRow(arg2
);
37245 wxPyEndAllowThreads(__tstate
);
37246 if (PyErr_Occurred()) SWIG_fail
;
37248 Py_INCREF(Py_None
); resultobj
= Py_None
;
37255 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37256 PyObject
*resultobj
;
37257 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37259 PyObject
* obj0
= 0 ;
37260 PyObject
* obj1
= 0 ;
37261 char *kwnames
[] = {
37262 (char *) "self",(char *) "col", NULL
37265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
37266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37268 arg2
= (int) SWIG_AsInt(obj1
);
37269 if (PyErr_Occurred()) SWIG_fail
;
37271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37272 (arg1
)->SetCol(arg2
);
37274 wxPyEndAllowThreads(__tstate
);
37275 if (PyErr_Occurred()) SWIG_fail
;
37277 Py_INCREF(Py_None
); resultobj
= Py_None
;
37284 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37285 PyObject
*resultobj
;
37286 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37287 wxGBPosition
*arg2
= 0 ;
37289 wxGBPosition temp2
;
37290 PyObject
* obj0
= 0 ;
37291 PyObject
* obj1
= 0 ;
37292 char *kwnames
[] = {
37293 (char *) "self",(char *) "other", NULL
37296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37301 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37305 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37307 wxPyEndAllowThreads(__tstate
);
37308 if (PyErr_Occurred()) SWIG_fail
;
37311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37319 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37320 PyObject
*resultobj
;
37321 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37322 wxGBPosition
*arg2
= 0 ;
37324 wxGBPosition temp2
;
37325 PyObject
* obj0
= 0 ;
37326 PyObject
* obj1
= 0 ;
37327 char *kwnames
[] = {
37328 (char *) "self",(char *) "other", NULL
37331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37336 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37340 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37342 wxPyEndAllowThreads(__tstate
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37354 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37355 PyObject
*resultobj
;
37356 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37357 int arg2
= (int) 0 ;
37358 int arg3
= (int) 0 ;
37359 PyObject
* obj0
= 0 ;
37360 PyObject
* obj1
= 0 ;
37361 PyObject
* obj2
= 0 ;
37362 char *kwnames
[] = {
37363 (char *) "self",(char *) "row",(char *) "col", NULL
37366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37370 arg2
= (int) SWIG_AsInt(obj1
);
37371 if (PyErr_Occurred()) SWIG_fail
;
37374 arg3
= (int) SWIG_AsInt(obj2
);
37375 if (PyErr_Occurred()) SWIG_fail
;
37378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37379 wxGBPosition_Set(arg1
,arg2
,arg3
);
37381 wxPyEndAllowThreads(__tstate
);
37382 if (PyErr_Occurred()) SWIG_fail
;
37384 Py_INCREF(Py_None
); resultobj
= Py_None
;
37391 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37392 PyObject
*resultobj
;
37393 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37395 PyObject
* obj0
= 0 ;
37396 char *kwnames
[] = {
37397 (char *) "self", NULL
37400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37405 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37407 wxPyEndAllowThreads(__tstate
);
37408 if (PyErr_Occurred()) SWIG_fail
;
37410 resultobj
= result
;
37417 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37419 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37420 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37422 return Py_BuildValue((char *)"");
37424 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
;
37426 int arg1
= (int) 1 ;
37427 int arg2
= (int) 1 ;
37429 PyObject
* obj0
= 0 ;
37430 PyObject
* obj1
= 0 ;
37431 char *kwnames
[] = {
37432 (char *) "rowspan",(char *) "colspan", NULL
37435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37437 arg1
= (int) SWIG_AsInt(obj0
);
37438 if (PyErr_Occurred()) SWIG_fail
;
37441 arg2
= (int) SWIG_AsInt(obj1
);
37442 if (PyErr_Occurred()) SWIG_fail
;
37445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37446 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37448 wxPyEndAllowThreads(__tstate
);
37449 if (PyErr_Occurred()) SWIG_fail
;
37451 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37458 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37459 PyObject
*resultobj
;
37460 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37462 PyObject
* obj0
= 0 ;
37463 char *kwnames
[] = {
37464 (char *) "self", NULL
37467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37472 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37474 wxPyEndAllowThreads(__tstate
);
37475 if (PyErr_Occurred()) SWIG_fail
;
37477 resultobj
= SWIG_FromInt((int)result
);
37484 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37485 PyObject
*resultobj
;
37486 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37488 PyObject
* obj0
= 0 ;
37489 char *kwnames
[] = {
37490 (char *) "self", NULL
37493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37498 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37500 wxPyEndAllowThreads(__tstate
);
37501 if (PyErr_Occurred()) SWIG_fail
;
37503 resultobj
= SWIG_FromInt((int)result
);
37510 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37511 PyObject
*resultobj
;
37512 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37514 PyObject
* obj0
= 0 ;
37515 PyObject
* obj1
= 0 ;
37516 char *kwnames
[] = {
37517 (char *) "self",(char *) "rowspan", NULL
37520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37523 arg2
= (int) SWIG_AsInt(obj1
);
37524 if (PyErr_Occurred()) SWIG_fail
;
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 (arg1
)->SetRowspan(arg2
);
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 Py_INCREF(Py_None
); resultobj
= Py_None
;
37539 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37540 PyObject
*resultobj
;
37541 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37543 PyObject
* obj0
= 0 ;
37544 PyObject
* obj1
= 0 ;
37545 char *kwnames
[] = {
37546 (char *) "self",(char *) "colspan", NULL
37549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37552 arg2
= (int) SWIG_AsInt(obj1
);
37553 if (PyErr_Occurred()) SWIG_fail
;
37555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37556 (arg1
)->SetColspan(arg2
);
37558 wxPyEndAllowThreads(__tstate
);
37559 if (PyErr_Occurred()) SWIG_fail
;
37561 Py_INCREF(Py_None
); resultobj
= Py_None
;
37568 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37569 PyObject
*resultobj
;
37570 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37571 wxGBSpan
*arg2
= 0 ;
37574 PyObject
* obj0
= 0 ;
37575 PyObject
* obj1
= 0 ;
37576 char *kwnames
[] = {
37577 (char *) "self",(char *) "other", NULL
37580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37585 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37589 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37591 wxPyEndAllowThreads(__tstate
);
37592 if (PyErr_Occurred()) SWIG_fail
;
37595 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37603 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37604 PyObject
*resultobj
;
37605 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37606 wxGBSpan
*arg2
= 0 ;
37609 PyObject
* obj0
= 0 ;
37610 PyObject
* obj1
= 0 ;
37611 char *kwnames
[] = {
37612 (char *) "self",(char *) "other", NULL
37615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37620 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37624 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37626 wxPyEndAllowThreads(__tstate
);
37627 if (PyErr_Occurred()) SWIG_fail
;
37630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37638 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37641 int arg2
= (int) 1 ;
37642 int arg3
= (int) 1 ;
37643 PyObject
* obj0
= 0 ;
37644 PyObject
* obj1
= 0 ;
37645 PyObject
* obj2
= 0 ;
37646 char *kwnames
[] = {
37647 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37654 arg2
= (int) SWIG_AsInt(obj1
);
37655 if (PyErr_Occurred()) SWIG_fail
;
37658 arg3
= (int) SWIG_AsInt(obj2
);
37659 if (PyErr_Occurred()) SWIG_fail
;
37662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37663 wxGBSpan_Set(arg1
,arg2
,arg3
);
37665 wxPyEndAllowThreads(__tstate
);
37666 if (PyErr_Occurred()) SWIG_fail
;
37668 Py_INCREF(Py_None
); resultobj
= Py_None
;
37675 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37676 PyObject
*resultobj
;
37677 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37679 PyObject
* obj0
= 0 ;
37680 char *kwnames
[] = {
37681 (char *) "self", NULL
37684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37685 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37686 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37689 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37691 wxPyEndAllowThreads(__tstate
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37694 resultobj
= result
;
37701 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37703 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37704 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37706 return Py_BuildValue((char *)"");
37708 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37709 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37714 static PyObject
*_wrap_DefaultSpan_get() {
37717 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37722 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37723 PyObject
*resultobj
;
37724 wxGBSizerItem
*result
;
37725 char *kwnames
[] = {
37729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37732 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37734 wxPyEndAllowThreads(__tstate
);
37735 if (PyErr_Occurred()) SWIG_fail
;
37737 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37744 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37745 PyObject
*resultobj
;
37746 wxWindow
*arg1
= (wxWindow
*) 0 ;
37747 wxGBPosition
*arg2
= 0 ;
37748 wxGBSpan
*arg3
= 0 ;
37751 PyObject
*arg6
= (PyObject
*) NULL
;
37752 wxGBSizerItem
*result
;
37753 wxGBPosition temp2
;
37755 PyObject
* obj0
= 0 ;
37756 PyObject
* obj1
= 0 ;
37757 PyObject
* obj2
= 0 ;
37758 PyObject
* obj3
= 0 ;
37759 PyObject
* obj4
= 0 ;
37760 PyObject
* obj5
= 0 ;
37761 char *kwnames
[] = {
37762 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37770 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37774 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37776 arg4
= (int) SWIG_AsInt(obj3
);
37777 if (PyErr_Occurred()) SWIG_fail
;
37778 arg5
= (int) SWIG_AsInt(obj4
);
37779 if (PyErr_Occurred()) SWIG_fail
;
37784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37785 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37787 wxPyEndAllowThreads(__tstate
);
37788 if (PyErr_Occurred()) SWIG_fail
;
37790 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37797 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37798 PyObject
*resultobj
;
37799 wxSizer
*arg1
= (wxSizer
*) 0 ;
37800 wxGBPosition
*arg2
= 0 ;
37801 wxGBSpan
*arg3
= 0 ;
37804 PyObject
*arg6
= (PyObject
*) NULL
;
37805 wxGBSizerItem
*result
;
37806 wxGBPosition temp2
;
37808 PyObject
* obj0
= 0 ;
37809 PyObject
* obj1
= 0 ;
37810 PyObject
* obj2
= 0 ;
37811 PyObject
* obj3
= 0 ;
37812 PyObject
* obj4
= 0 ;
37813 PyObject
* obj5
= 0 ;
37814 char *kwnames
[] = {
37815 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37819 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37823 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37827 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37829 arg4
= (int) SWIG_AsInt(obj3
);
37830 if (PyErr_Occurred()) SWIG_fail
;
37831 arg5
= (int) SWIG_AsInt(obj4
);
37832 if (PyErr_Occurred()) SWIG_fail
;
37837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37838 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37840 wxPyEndAllowThreads(__tstate
);
37841 if (PyErr_Occurred()) SWIG_fail
;
37843 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37850 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37851 PyObject
*resultobj
;
37854 wxGBPosition
*arg3
= 0 ;
37855 wxGBSpan
*arg4
= 0 ;
37858 PyObject
*arg7
= (PyObject
*) NULL
;
37859 wxGBSizerItem
*result
;
37860 wxGBPosition temp3
;
37862 PyObject
* obj0
= 0 ;
37863 PyObject
* obj1
= 0 ;
37864 PyObject
* obj2
= 0 ;
37865 PyObject
* obj3
= 0 ;
37866 PyObject
* obj4
= 0 ;
37867 PyObject
* obj5
= 0 ;
37868 PyObject
* obj6
= 0 ;
37869 char *kwnames
[] = {
37870 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37874 arg1
= (int) SWIG_AsInt(obj0
);
37875 if (PyErr_Occurred()) SWIG_fail
;
37876 arg2
= (int) SWIG_AsInt(obj1
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37880 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37884 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37886 arg5
= (int) SWIG_AsInt(obj4
);
37887 if (PyErr_Occurred()) SWIG_fail
;
37888 arg6
= (int) SWIG_AsInt(obj5
);
37889 if (PyErr_Occurred()) SWIG_fail
;
37894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37895 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37897 wxPyEndAllowThreads(__tstate
);
37898 if (PyErr_Occurred()) SWIG_fail
;
37900 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37907 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37908 PyObject
*resultobj
;
37909 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37910 wxGBPosition result
;
37911 PyObject
* obj0
= 0 ;
37912 char *kwnames
[] = {
37913 (char *) "self", NULL
37916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37921 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37923 wxPyEndAllowThreads(__tstate
);
37924 if (PyErr_Occurred()) SWIG_fail
;
37927 wxGBPosition
* resultptr
;
37928 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37929 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37937 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37938 PyObject
*resultobj
;
37939 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37941 PyObject
* obj0
= 0 ;
37942 char *kwnames
[] = {
37943 (char *) "self", NULL
37946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37951 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37953 wxPyEndAllowThreads(__tstate
);
37954 if (PyErr_Occurred()) SWIG_fail
;
37957 wxGBSpan
* resultptr
;
37958 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37967 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37968 PyObject
*resultobj
;
37969 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37970 wxGBPosition
*arg2
= 0 ;
37972 wxGBPosition temp2
;
37973 PyObject
* obj0
= 0 ;
37974 PyObject
* obj1
= 0 ;
37975 char *kwnames
[] = {
37976 (char *) "self",(char *) "pos", NULL
37979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37984 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37988 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37990 wxPyEndAllowThreads(__tstate
);
37991 if (PyErr_Occurred()) SWIG_fail
;
37994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38002 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38003 PyObject
*resultobj
;
38004 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38005 wxGBSpan
*arg2
= 0 ;
38008 PyObject
* obj0
= 0 ;
38009 PyObject
* obj1
= 0 ;
38010 char *kwnames
[] = {
38011 (char *) "self",(char *) "span", NULL
38014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
38015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38019 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
38022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38023 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
38025 wxPyEndAllowThreads(__tstate
);
38026 if (PyErr_Occurred()) SWIG_fail
;
38029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38037 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38038 PyObject
*resultobj
;
38039 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38040 wxGBSizerItem
*arg2
= 0 ;
38042 PyObject
* obj0
= 0 ;
38043 PyObject
* obj1
= 0 ;
38044 char *kwnames
[] = {
38045 (char *) "self",(char *) "other", NULL
38048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
38049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
38054 if (arg2
== NULL
) {
38055 PyErr_SetString(PyExc_TypeError
,"null reference");
38059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38060 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
38062 wxPyEndAllowThreads(__tstate
);
38063 if (PyErr_Occurred()) SWIG_fail
;
38066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38074 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38075 PyObject
*resultobj
;
38076 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38077 wxGBPosition
*arg2
= 0 ;
38078 wxGBSpan
*arg3
= 0 ;
38080 wxGBPosition temp2
;
38082 PyObject
* obj0
= 0 ;
38083 PyObject
* obj1
= 0 ;
38084 PyObject
* obj2
= 0 ;
38085 char *kwnames
[] = {
38086 (char *) "self",(char *) "pos",(char *) "span", NULL
38089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38094 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38098 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38102 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
38104 wxPyEndAllowThreads(__tstate
);
38105 if (PyErr_Occurred()) SWIG_fail
;
38108 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38116 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38117 PyObject
*resultobj
;
38118 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38119 wxGBPosition result
;
38120 PyObject
* obj0
= 0 ;
38121 char *kwnames
[] = {
38122 (char *) "self", NULL
38125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
38126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38130 result
= wxGBSizerItem_GetEndPos(arg1
);
38132 wxPyEndAllowThreads(__tstate
);
38133 if (PyErr_Occurred()) SWIG_fail
;
38136 wxGBPosition
* resultptr
;
38137 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38146 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38147 PyObject
*resultobj
;
38148 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38149 wxGridBagSizer
*result
;
38150 PyObject
* obj0
= 0 ;
38151 char *kwnames
[] = {
38152 (char *) "self", NULL
38155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
38156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38160 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
38162 wxPyEndAllowThreads(__tstate
);
38163 if (PyErr_Occurred()) SWIG_fail
;
38165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
38172 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38173 PyObject
*resultobj
;
38174 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
38175 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 char *kwnames
[] = {
38179 (char *) "self",(char *) "sizer", NULL
38182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
38184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38185 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
38186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38189 (arg1
)->SetGBSizer(arg2
);
38191 wxPyEndAllowThreads(__tstate
);
38192 if (PyErr_Occurred()) SWIG_fail
;
38194 Py_INCREF(Py_None
); resultobj
= Py_None
;
38201 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
38203 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38204 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
38206 return Py_BuildValue((char *)"");
38208 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38209 PyObject
*resultobj
;
38210 int arg1
= (int) 0 ;
38211 int arg2
= (int) 0 ;
38212 wxGridBagSizer
*result
;
38213 PyObject
* obj0
= 0 ;
38214 PyObject
* obj1
= 0 ;
38215 char *kwnames
[] = {
38216 (char *) "vgap",(char *) "hgap", NULL
38219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
38221 arg1
= (int) SWIG_AsInt(obj0
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 arg2
= (int) SWIG_AsInt(obj1
);
38226 if (PyErr_Occurred()) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38242 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
;
38244 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38245 PyObject
*arg2
= (PyObject
*) 0 ;
38246 wxGBPosition
*arg3
= 0 ;
38247 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38248 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38249 int arg5
= (int) 0 ;
38250 int arg6
= (int) 0 ;
38251 PyObject
*arg7
= (PyObject
*) NULL
;
38253 wxGBPosition temp3
;
38255 PyObject
* obj0
= 0 ;
38256 PyObject
* obj1
= 0 ;
38257 PyObject
* obj2
= 0 ;
38258 PyObject
* obj3
= 0 ;
38259 PyObject
* obj4
= 0 ;
38260 PyObject
* obj5
= 0 ;
38261 PyObject
* obj6
= 0 ;
38262 char *kwnames
[] = {
38263 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38272 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38277 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38281 arg5
= (int) SWIG_AsInt(obj4
);
38282 if (PyErr_Occurred()) SWIG_fail
;
38285 arg6
= (int) SWIG_AsInt(obj5
);
38286 if (PyErr_Occurred()) SWIG_fail
;
38292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38293 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38295 wxPyEndAllowThreads(__tstate
);
38296 if (PyErr_Occurred()) SWIG_fail
;
38299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38307 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38308 PyObject
*resultobj
;
38309 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38310 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38312 PyObject
* obj0
= 0 ;
38313 PyObject
* obj1
= 0 ;
38314 char *kwnames
[] = {
38315 (char *) "self",(char *) "item", NULL
38318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38321 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38325 result
= (bool)(arg1
)->Add(arg2
);
38327 wxPyEndAllowThreads(__tstate
);
38328 if (PyErr_Occurred()) SWIG_fail
;
38331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38339 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38340 PyObject
*resultobj
;
38341 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38343 PyObject
* obj0
= 0 ;
38344 char *kwnames
[] = {
38345 (char *) "self", NULL
38348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38353 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38355 wxPyEndAllowThreads(__tstate
);
38356 if (PyErr_Occurred()) SWIG_fail
;
38359 wxSize
* resultptr
;
38360 resultptr
= new wxSize((wxSize
&) result
);
38361 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38369 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38370 PyObject
*resultobj
;
38371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38374 PyObject
* obj0
= 0 ;
38375 PyObject
* obj1
= 0 ;
38376 char *kwnames
[] = {
38377 (char *) "self",(char *) "sz", NULL
38380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38389 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38391 wxPyEndAllowThreads(__tstate
);
38392 if (PyErr_Occurred()) SWIG_fail
;
38394 Py_INCREF(Py_None
); resultobj
= Py_None
;
38401 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38402 PyObject
*resultobj
;
38403 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38404 wxWindow
*arg2
= (wxWindow
*) 0 ;
38405 wxGBPosition result
;
38406 PyObject
* obj0
= 0 ;
38407 PyObject
* obj1
= 0 ;
38409 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38412 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38416 result
= (arg1
)->GetItemPosition(arg2
);
38418 wxPyEndAllowThreads(__tstate
);
38419 if (PyErr_Occurred()) SWIG_fail
;
38422 wxGBPosition
* resultptr
;
38423 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38424 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38432 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38433 PyObject
*resultobj
;
38434 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38435 wxSizer
*arg2
= (wxSizer
*) 0 ;
38436 wxGBPosition result
;
38437 PyObject
* obj0
= 0 ;
38438 PyObject
* obj1
= 0 ;
38440 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38443 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38447 result
= (arg1
)->GetItemPosition(arg2
);
38449 wxPyEndAllowThreads(__tstate
);
38450 if (PyErr_Occurred()) SWIG_fail
;
38453 wxGBPosition
* resultptr
;
38454 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38463 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38464 PyObject
*resultobj
;
38465 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38467 wxGBPosition result
;
38468 PyObject
* obj0
= 0 ;
38469 PyObject
* obj1
= 0 ;
38471 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38474 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38475 if (PyErr_Occurred()) SWIG_fail
;
38477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38478 result
= (arg1
)->GetItemPosition(arg2
);
38480 wxPyEndAllowThreads(__tstate
);
38481 if (PyErr_Occurred()) SWIG_fail
;
38484 wxGBPosition
* resultptr
;
38485 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38486 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38494 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38499 argc
= PyObject_Length(args
);
38500 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38501 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38507 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38517 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38525 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38533 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38543 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38551 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38559 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38567 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38569 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38574 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38579 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38580 PyObject
*resultobj
;
38581 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38582 wxWindow
*arg2
= (wxWindow
*) 0 ;
38583 wxGBPosition
*arg3
= 0 ;
38585 wxGBPosition temp3
;
38586 PyObject
* obj0
= 0 ;
38587 PyObject
* obj1
= 0 ;
38588 PyObject
* obj2
= 0 ;
38590 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38593 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38597 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38601 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38603 wxPyEndAllowThreads(__tstate
);
38604 if (PyErr_Occurred()) SWIG_fail
;
38607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38615 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38616 PyObject
*resultobj
;
38617 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38618 wxSizer
*arg2
= (wxSizer
*) 0 ;
38619 wxGBPosition
*arg3
= 0 ;
38621 wxGBPosition temp3
;
38622 PyObject
* obj0
= 0 ;
38623 PyObject
* obj1
= 0 ;
38624 PyObject
* obj2
= 0 ;
38626 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38633 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38637 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38639 wxPyEndAllowThreads(__tstate
);
38640 if (PyErr_Occurred()) SWIG_fail
;
38643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38651 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38652 PyObject
*resultobj
;
38653 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38655 wxGBPosition
*arg3
= 0 ;
38657 wxGBPosition temp3
;
38658 PyObject
* obj0
= 0 ;
38659 PyObject
* obj1
= 0 ;
38660 PyObject
* obj2
= 0 ;
38662 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38665 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38666 if (PyErr_Occurred()) SWIG_fail
;
38669 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38687 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38692 argc
= PyObject_Length(args
);
38693 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38694 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38700 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38710 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38719 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38722 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38731 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38741 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38750 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38753 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38762 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38770 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38773 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38776 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38782 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38787 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38788 PyObject
*resultobj
;
38789 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38790 wxWindow
*arg2
= (wxWindow
*) 0 ;
38792 PyObject
* obj0
= 0 ;
38793 PyObject
* obj1
= 0 ;
38795 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38802 result
= (arg1
)->GetItemSpan(arg2
);
38804 wxPyEndAllowThreads(__tstate
);
38805 if (PyErr_Occurred()) SWIG_fail
;
38808 wxGBSpan
* resultptr
;
38809 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38810 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38818 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38819 PyObject
*resultobj
;
38820 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38821 wxSizer
*arg2
= (wxSizer
*) 0 ;
38823 PyObject
* obj0
= 0 ;
38824 PyObject
* obj1
= 0 ;
38826 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38829 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38833 result
= (arg1
)->GetItemSpan(arg2
);
38835 wxPyEndAllowThreads(__tstate
);
38836 if (PyErr_Occurred()) SWIG_fail
;
38839 wxGBSpan
* resultptr
;
38840 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38841 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38849 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38850 PyObject
*resultobj
;
38851 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38854 PyObject
* obj0
= 0 ;
38855 PyObject
* obj1
= 0 ;
38857 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38860 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38861 if (PyErr_Occurred()) SWIG_fail
;
38863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38864 result
= (arg1
)->GetItemSpan(arg2
);
38866 wxPyEndAllowThreads(__tstate
);
38867 if (PyErr_Occurred()) SWIG_fail
;
38870 wxGBSpan
* resultptr
;
38871 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38872 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38880 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38885 argc
= PyObject_Length(args
);
38886 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38887 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38893 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38903 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38911 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38919 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38929 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38937 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38945 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38953 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38955 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38960 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38965 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38966 PyObject
*resultobj
;
38967 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38968 wxWindow
*arg2
= (wxWindow
*) 0 ;
38969 wxGBSpan
*arg3
= 0 ;
38972 PyObject
* obj0
= 0 ;
38973 PyObject
* obj1
= 0 ;
38974 PyObject
* obj2
= 0 ;
38976 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38979 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38983 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39001 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
39002 PyObject
*resultobj
;
39003 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39004 wxSizer
*arg2
= (wxSizer
*) 0 ;
39005 wxGBSpan
*arg3
= 0 ;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39010 PyObject
* obj2
= 0 ;
39012 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39015 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39019 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39023 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39025 wxPyEndAllowThreads(__tstate
);
39026 if (PyErr_Occurred()) SWIG_fail
;
39029 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39037 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
39038 PyObject
*resultobj
;
39039 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39041 wxGBSpan
*arg3
= 0 ;
39044 PyObject
* obj0
= 0 ;
39045 PyObject
* obj1
= 0 ;
39046 PyObject
* obj2
= 0 ;
39048 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
39049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39051 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
39052 if (PyErr_Occurred()) SWIG_fail
;
39055 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39059 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
39061 wxPyEndAllowThreads(__tstate
);
39062 if (PyErr_Occurred()) SWIG_fail
;
39065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39073 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
39078 argc
= PyObject_Length(args
);
39079 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
39080 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39086 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39096 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39105 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39108 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
39117 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39127 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39136 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39139 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
39148 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39156 _v
= SWIG_CheckUnsignedLong(argv
[1]);
39159 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39162 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
39168 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
39173 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
39174 PyObject
*resultobj
;
39175 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39176 wxWindow
*arg2
= (wxWindow
*) 0 ;
39177 wxGBSizerItem
*result
;
39178 PyObject
* obj0
= 0 ;
39179 PyObject
* obj1
= 0 ;
39181 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39188 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39190 wxPyEndAllowThreads(__tstate
);
39191 if (PyErr_Occurred()) SWIG_fail
;
39193 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39200 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
39201 PyObject
*resultobj
;
39202 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39203 wxSizer
*arg2
= (wxSizer
*) 0 ;
39204 wxGBSizerItem
*result
;
39205 PyObject
* obj0
= 0 ;
39206 PyObject
* obj1
= 0 ;
39208 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
39209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39211 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
39212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39215 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
39217 wxPyEndAllowThreads(__tstate
);
39218 if (PyErr_Occurred()) SWIG_fail
;
39220 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39227 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39232 argc
= PyObject_Length(args
);
39233 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39234 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39240 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39250 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39258 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39266 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39276 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39284 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39289 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39294 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39295 PyObject
*resultobj
;
39296 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39297 wxGBPosition
*arg2
= 0 ;
39298 wxGBSizerItem
*result
;
39299 wxGBPosition temp2
;
39300 PyObject
* obj0
= 0 ;
39301 PyObject
* obj1
= 0 ;
39302 char *kwnames
[] = {
39303 (char *) "self",(char *) "pos", NULL
39306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39311 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39315 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39317 wxPyEndAllowThreads(__tstate
);
39318 if (PyErr_Occurred()) SWIG_fail
;
39320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39327 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39328 PyObject
*resultobj
;
39329 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39330 wxPoint
*arg2
= 0 ;
39331 wxGBSizerItem
*result
;
39333 PyObject
* obj0
= 0 ;
39334 PyObject
* obj1
= 0 ;
39335 char *kwnames
[] = {
39336 (char *) "self",(char *) "pt", NULL
39339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39344 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39348 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39350 wxPyEndAllowThreads(__tstate
);
39351 if (PyErr_Occurred()) SWIG_fail
;
39353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39360 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39361 PyObject
*resultobj
;
39362 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39363 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39364 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39366 PyObject
* obj0
= 0 ;
39367 PyObject
* obj1
= 0 ;
39368 PyObject
* obj2
= 0 ;
39369 char *kwnames
[] = {
39370 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
39373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39376 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39379 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39384 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39386 wxPyEndAllowThreads(__tstate
);
39387 if (PyErr_Occurred()) SWIG_fail
;
39390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39398 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39401 wxGBPosition
*arg2
= 0 ;
39402 wxGBSpan
*arg3
= 0 ;
39403 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39405 wxGBPosition temp2
;
39407 PyObject
* obj0
= 0 ;
39408 PyObject
* obj1
= 0 ;
39409 PyObject
* obj2
= 0 ;
39410 PyObject
* obj3
= 0 ;
39411 char *kwnames
[] = {
39412 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
39415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39420 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39424 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39427 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39432 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39434 wxPyEndAllowThreads(__tstate
);
39435 if (PyErr_Occurred()) SWIG_fail
;
39438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39446 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39448 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39449 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39451 return Py_BuildValue((char *)"");
39453 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39454 PyObject
*resultobj
;
39455 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39457 wxWindow
*arg3
= (wxWindow
*) 0 ;
39459 int arg5
= (int) 0 ;
39460 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39461 PyObject
* obj0
= 0 ;
39462 PyObject
* obj1
= 0 ;
39463 PyObject
* obj2
= 0 ;
39464 PyObject
* obj3
= 0 ;
39465 PyObject
* obj4
= 0 ;
39466 PyObject
* obj5
= 0 ;
39467 char *kwnames
[] = {
39468 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39474 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39475 if (PyErr_Occurred()) SWIG_fail
;
39476 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39478 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39479 if (PyErr_Occurred()) SWIG_fail
;
39481 arg5
= (int) SWIG_AsInt(obj4
);
39482 if (PyErr_Occurred()) SWIG_fail
;
39485 arg6
= (int) SWIG_AsInt(obj5
);
39486 if (PyErr_Occurred()) SWIG_fail
;
39489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39490 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39492 wxPyEndAllowThreads(__tstate
);
39493 if (PyErr_Occurred()) SWIG_fail
;
39495 Py_INCREF(Py_None
); resultobj
= Py_None
;
39502 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39503 PyObject
*resultobj
;
39504 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39505 wxWindow
*arg2
= (wxWindow
*) 0 ;
39506 int arg3
= (int) 0 ;
39507 PyObject
* obj0
= 0 ;
39508 PyObject
* obj1
= 0 ;
39509 PyObject
* obj2
= 0 ;
39510 char *kwnames
[] = {
39511 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39520 arg3
= (int) SWIG_AsInt(obj2
);
39521 if (PyErr_Occurred()) SWIG_fail
;
39524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39525 (arg1
)->LeftOf(arg2
,arg3
);
39527 wxPyEndAllowThreads(__tstate
);
39528 if (PyErr_Occurred()) SWIG_fail
;
39530 Py_INCREF(Py_None
); resultobj
= Py_None
;
39537 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39538 PyObject
*resultobj
;
39539 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39540 wxWindow
*arg2
= (wxWindow
*) 0 ;
39541 int arg3
= (int) 0 ;
39542 PyObject
* obj0
= 0 ;
39543 PyObject
* obj1
= 0 ;
39544 PyObject
* obj2
= 0 ;
39545 char *kwnames
[] = {
39546 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39555 arg3
= (int) SWIG_AsInt(obj2
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39560 (arg1
)->RightOf(arg2
,arg3
);
39562 wxPyEndAllowThreads(__tstate
);
39563 if (PyErr_Occurred()) SWIG_fail
;
39565 Py_INCREF(Py_None
); resultobj
= Py_None
;
39572 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39573 PyObject
*resultobj
;
39574 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39575 wxWindow
*arg2
= (wxWindow
*) 0 ;
39576 int arg3
= (int) 0 ;
39577 PyObject
* obj0
= 0 ;
39578 PyObject
* obj1
= 0 ;
39579 PyObject
* obj2
= 0 ;
39580 char *kwnames
[] = {
39581 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39587 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39590 arg3
= (int) SWIG_AsInt(obj2
);
39591 if (PyErr_Occurred()) SWIG_fail
;
39594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39595 (arg1
)->Above(arg2
,arg3
);
39597 wxPyEndAllowThreads(__tstate
);
39598 if (PyErr_Occurred()) SWIG_fail
;
39600 Py_INCREF(Py_None
); resultobj
= Py_None
;
39607 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39608 PyObject
*resultobj
;
39609 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39610 wxWindow
*arg2
= (wxWindow
*) 0 ;
39611 int arg3
= (int) 0 ;
39612 PyObject
* obj0
= 0 ;
39613 PyObject
* obj1
= 0 ;
39614 PyObject
* obj2
= 0 ;
39615 char *kwnames
[] = {
39616 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39625 arg3
= (int) SWIG_AsInt(obj2
);
39626 if (PyErr_Occurred()) SWIG_fail
;
39629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39630 (arg1
)->Below(arg2
,arg3
);
39632 wxPyEndAllowThreads(__tstate
);
39633 if (PyErr_Occurred()) SWIG_fail
;
39635 Py_INCREF(Py_None
); resultobj
= Py_None
;
39642 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39643 PyObject
*resultobj
;
39644 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39645 wxWindow
*arg2
= (wxWindow
*) 0 ;
39647 int arg4
= (int) 0 ;
39648 PyObject
* obj0
= 0 ;
39649 PyObject
* obj1
= 0 ;
39650 PyObject
* obj2
= 0 ;
39651 PyObject
* obj3
= 0 ;
39652 char *kwnames
[] = {
39653 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39659 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39661 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39662 if (PyErr_Occurred()) SWIG_fail
;
39664 arg4
= (int) SWIG_AsInt(obj3
);
39665 if (PyErr_Occurred()) SWIG_fail
;
39668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39669 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39671 wxPyEndAllowThreads(__tstate
);
39672 if (PyErr_Occurred()) SWIG_fail
;
39674 Py_INCREF(Py_None
); resultobj
= Py_None
;
39681 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39682 PyObject
*resultobj
;
39683 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39684 wxWindow
*arg2
= (wxWindow
*) 0 ;
39687 PyObject
* obj0
= 0 ;
39688 PyObject
* obj1
= 0 ;
39689 PyObject
* obj2
= 0 ;
39690 PyObject
* obj3
= 0 ;
39691 char *kwnames
[] = {
39692 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39698 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39700 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39701 if (PyErr_Occurred()) SWIG_fail
;
39702 arg4
= (int) SWIG_AsInt(obj3
);
39703 if (PyErr_Occurred()) SWIG_fail
;
39705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39706 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39708 wxPyEndAllowThreads(__tstate
);
39709 if (PyErr_Occurred()) SWIG_fail
;
39711 Py_INCREF(Py_None
); resultobj
= Py_None
;
39718 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39719 PyObject
*resultobj
;
39720 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39722 PyObject
* obj0
= 0 ;
39723 PyObject
* obj1
= 0 ;
39724 char *kwnames
[] = {
39725 (char *) "self",(char *) "val", NULL
39728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39731 arg2
= (int) SWIG_AsInt(obj1
);
39732 if (PyErr_Occurred()) SWIG_fail
;
39734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39735 (arg1
)->Absolute(arg2
);
39737 wxPyEndAllowThreads(__tstate
);
39738 if (PyErr_Occurred()) SWIG_fail
;
39740 Py_INCREF(Py_None
); resultobj
= Py_None
;
39747 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39748 PyObject
*resultobj
;
39749 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39750 PyObject
* obj0
= 0 ;
39751 char *kwnames
[] = {
39752 (char *) "self", NULL
39755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39760 (arg1
)->Unconstrained();
39762 wxPyEndAllowThreads(__tstate
);
39763 if (PyErr_Occurred()) SWIG_fail
;
39765 Py_INCREF(Py_None
); resultobj
= Py_None
;
39772 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39773 PyObject
*resultobj
;
39774 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39775 PyObject
* obj0
= 0 ;
39776 char *kwnames
[] = {
39777 (char *) "self", NULL
39780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39787 wxPyEndAllowThreads(__tstate
);
39788 if (PyErr_Occurred()) SWIG_fail
;
39790 Py_INCREF(Py_None
); resultobj
= Py_None
;
39797 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39798 PyObject
*resultobj
;
39799 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39801 PyObject
* obj0
= 0 ;
39802 char *kwnames
[] = {
39803 (char *) "self", NULL
39806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39811 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39813 wxPyEndAllowThreads(__tstate
);
39814 if (PyErr_Occurred()) SWIG_fail
;
39817 resultobj
= wxPyMake_wxObject(result
, 0);
39825 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39826 PyObject
*resultobj
;
39827 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39829 PyObject
* obj0
= 0 ;
39830 char *kwnames
[] = {
39831 (char *) "self", NULL
39834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39839 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39841 wxPyEndAllowThreads(__tstate
);
39842 if (PyErr_Occurred()) SWIG_fail
;
39844 resultobj
= SWIG_FromInt((int)result
);
39851 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39852 PyObject
*resultobj
;
39853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39855 PyObject
* obj0
= 0 ;
39856 PyObject
* obj1
= 0 ;
39857 char *kwnames
[] = {
39858 (char *) "self",(char *) "which", NULL
39861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39864 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39865 if (PyErr_Occurred()) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 (arg1
)->SetEdge((wxEdge
)arg2
);
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39873 Py_INCREF(Py_None
); resultobj
= Py_None
;
39880 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39884 PyObject
* obj0
= 0 ;
39885 PyObject
* obj1
= 0 ;
39886 char *kwnames
[] = {
39887 (char *) "self",(char *) "v", NULL
39890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39893 arg2
= (int) SWIG_AsInt(obj1
);
39894 if (PyErr_Occurred()) SWIG_fail
;
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 (arg1
)->SetValue(arg2
);
39899 wxPyEndAllowThreads(__tstate
);
39900 if (PyErr_Occurred()) SWIG_fail
;
39902 Py_INCREF(Py_None
); resultobj
= Py_None
;
39909 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39910 PyObject
*resultobj
;
39911 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39913 PyObject
* obj0
= 0 ;
39914 char *kwnames
[] = {
39915 (char *) "self", NULL
39918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39923 result
= (int)(arg1
)->GetMargin();
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39928 resultobj
= SWIG_FromInt((int)result
);
39935 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39936 PyObject
*resultobj
;
39937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39939 PyObject
* obj0
= 0 ;
39940 PyObject
* obj1
= 0 ;
39941 char *kwnames
[] = {
39942 (char *) "self",(char *) "m", NULL
39945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39948 arg2
= (int) SWIG_AsInt(obj1
);
39949 if (PyErr_Occurred()) SWIG_fail
;
39951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39952 (arg1
)->SetMargin(arg2
);
39954 wxPyEndAllowThreads(__tstate
);
39955 if (PyErr_Occurred()) SWIG_fail
;
39957 Py_INCREF(Py_None
); resultobj
= Py_None
;
39964 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39965 PyObject
*resultobj
;
39966 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39968 PyObject
* obj0
= 0 ;
39969 char *kwnames
[] = {
39970 (char *) "self", NULL
39973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39978 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39980 wxPyEndAllowThreads(__tstate
);
39981 if (PyErr_Occurred()) SWIG_fail
;
39983 resultobj
= SWIG_FromInt((int)result
);
39990 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39991 PyObject
*resultobj
;
39992 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39994 PyObject
* obj0
= 0 ;
39995 char *kwnames
[] = {
39996 (char *) "self", NULL
39999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
40000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40004 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
40006 wxPyEndAllowThreads(__tstate
);
40007 if (PyErr_Occurred()) SWIG_fail
;
40009 resultobj
= SWIG_FromInt((int)result
);
40016 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40017 PyObject
*resultobj
;
40018 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40020 PyObject
* obj0
= 0 ;
40021 char *kwnames
[] = {
40022 (char *) "self", NULL
40025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
40026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40030 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
40032 wxPyEndAllowThreads(__tstate
);
40033 if (PyErr_Occurred()) SWIG_fail
;
40035 resultobj
= SWIG_FromInt((int)result
);
40042 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40043 PyObject
*resultobj
;
40044 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40046 PyObject
* obj0
= 0 ;
40047 char *kwnames
[] = {
40048 (char *) "self", NULL
40051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
40052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40056 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40058 wxPyEndAllowThreads(__tstate
);
40059 if (PyErr_Occurred()) SWIG_fail
;
40062 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40070 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40074 PyObject
* obj0
= 0 ;
40075 PyObject
* obj1
= 0 ;
40076 char *kwnames
[] = {
40077 (char *) "self",(char *) "d", NULL
40080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40083 arg2
= (bool) SWIG_AsBool(obj1
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40087 (arg1
)->SetDone(arg2
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 Py_INCREF(Py_None
); resultobj
= Py_None
;
40099 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40100 PyObject
*resultobj
;
40101 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40103 PyObject
* obj0
= 0 ;
40104 char *kwnames
[] = {
40105 (char *) "self", NULL
40108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40113 result
= (int)(arg1
)->GetRelationship();
40115 wxPyEndAllowThreads(__tstate
);
40116 if (PyErr_Occurred()) SWIG_fail
;
40118 resultobj
= SWIG_FromInt((int)result
);
40125 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40126 PyObject
*resultobj
;
40127 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40129 PyObject
* obj0
= 0 ;
40130 PyObject
* obj1
= 0 ;
40131 char *kwnames
[] = {
40132 (char *) "self",(char *) "r", NULL
40135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40138 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40139 if (PyErr_Occurred()) SWIG_fail
;
40141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40142 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40144 wxPyEndAllowThreads(__tstate
);
40145 if (PyErr_Occurred()) SWIG_fail
;
40147 Py_INCREF(Py_None
); resultobj
= Py_None
;
40154 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40155 PyObject
*resultobj
;
40156 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40157 wxWindow
*arg2
= (wxWindow
*) 0 ;
40159 PyObject
* obj0
= 0 ;
40160 PyObject
* obj1
= 0 ;
40161 char *kwnames
[] = {
40162 (char *) "self",(char *) "otherW", NULL
40165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) 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_wxWindow
,
40169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40172 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40174 wxPyEndAllowThreads(__tstate
);
40175 if (PyErr_Occurred()) SWIG_fail
;
40178 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40186 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40187 PyObject
*resultobj
;
40188 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40189 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40190 wxWindow
*arg3
= (wxWindow
*) 0 ;
40192 PyObject
* obj0
= 0 ;
40193 PyObject
* obj1
= 0 ;
40194 PyObject
* obj2
= 0 ;
40195 char *kwnames
[] = {
40196 (char *) "self",(char *) "constraints",(char *) "win", NULL
40199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40202 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40204 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40208 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40210 wxPyEndAllowThreads(__tstate
);
40211 if (PyErr_Occurred()) SWIG_fail
;
40214 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40222 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40223 PyObject
*resultobj
;
40224 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40226 wxWindow
*arg3
= (wxWindow
*) 0 ;
40227 wxWindow
*arg4
= (wxWindow
*) 0 ;
40229 PyObject
* obj0
= 0 ;
40230 PyObject
* obj1
= 0 ;
40231 PyObject
* obj2
= 0 ;
40232 PyObject
* obj3
= 0 ;
40233 char *kwnames
[] = {
40234 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40240 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40241 if (PyErr_Occurred()) SWIG_fail
;
40242 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40244 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40248 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40250 wxPyEndAllowThreads(__tstate
);
40251 if (PyErr_Occurred()) SWIG_fail
;
40253 resultobj
= SWIG_FromInt((int)result
);
40260 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40262 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40263 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40265 return Py_BuildValue((char *)"");
40267 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40268 PyObject
*resultobj
;
40269 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40270 wxIndividualLayoutConstraint
*result
;
40271 PyObject
* obj0
= 0 ;
40272 char *kwnames
[] = {
40273 (char *) "self", NULL
40276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40279 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40281 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40288 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40289 PyObject
*resultobj
;
40290 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40291 wxIndividualLayoutConstraint
*result
;
40292 PyObject
* obj0
= 0 ;
40293 char *kwnames
[] = {
40294 (char *) "self", NULL
40297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40300 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40309 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40310 PyObject
*resultobj
;
40311 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40312 wxIndividualLayoutConstraint
*result
;
40313 PyObject
* obj0
= 0 ;
40314 char *kwnames
[] = {
40315 (char *) "self", NULL
40318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40321 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40323 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40330 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40331 PyObject
*resultobj
;
40332 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40333 wxIndividualLayoutConstraint
*result
;
40334 PyObject
* obj0
= 0 ;
40335 char *kwnames
[] = {
40336 (char *) "self", NULL
40339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40342 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40344 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40351 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40352 PyObject
*resultobj
;
40353 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40354 wxIndividualLayoutConstraint
*result
;
40355 PyObject
* obj0
= 0 ;
40356 char *kwnames
[] = {
40357 (char *) "self", NULL
40360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40363 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40365 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40372 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40373 PyObject
*resultobj
;
40374 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40375 wxIndividualLayoutConstraint
*result
;
40376 PyObject
* obj0
= 0 ;
40377 char *kwnames
[] = {
40378 (char *) "self", NULL
40381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40384 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40393 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40394 PyObject
*resultobj
;
40395 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40396 wxIndividualLayoutConstraint
*result
;
40397 PyObject
* obj0
= 0 ;
40398 char *kwnames
[] = {
40399 (char *) "self", NULL
40402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40405 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40414 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40415 PyObject
*resultobj
;
40416 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40417 wxIndividualLayoutConstraint
*result
;
40418 PyObject
* obj0
= 0 ;
40419 char *kwnames
[] = {
40420 (char *) "self", NULL
40423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40426 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40428 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40435 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40436 PyObject
*resultobj
;
40437 wxLayoutConstraints
*result
;
40438 char *kwnames
[] = {
40442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40445 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40447 wxPyEndAllowThreads(__tstate
);
40448 if (PyErr_Occurred()) SWIG_fail
;
40450 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40457 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40458 PyObject
*resultobj
;
40459 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40460 wxWindow
*arg2
= (wxWindow
*) 0 ;
40461 int *arg3
= (int *) 0 ;
40464 PyObject
* obj0
= 0 ;
40465 PyObject
* obj1
= 0 ;
40466 char *kwnames
[] = {
40467 (char *) "self",(char *) "win", NULL
40471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40478 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40480 wxPyEndAllowThreads(__tstate
);
40481 if (PyErr_Occurred()) SWIG_fail
;
40484 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40487 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40488 resultobj
= t_output_helper(resultobj
,o
);
40496 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40497 PyObject
*resultobj
;
40498 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40500 PyObject
* obj0
= 0 ;
40501 char *kwnames
[] = {
40502 (char *) "self", NULL
40505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40510 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40512 wxPyEndAllowThreads(__tstate
);
40513 if (PyErr_Occurred()) SWIG_fail
;
40516 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40524 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40527 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40529 return Py_BuildValue((char *)"");
40531 static PyMethodDef SwigMethods
[] = {
40532 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40533 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40534 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40537 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40558 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40571 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40586 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40637 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40665 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40683 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40685 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40693 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40694 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40706 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40717 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40722 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40728 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40738 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40748 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40752 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Image_ConvertAlphaToMask", (PyCFunction
) _wrap_Image_ConvertAlphaToMask
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40824 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40826 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40828 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40830 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40832 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40834 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40836 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40838 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40840 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40842 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40844 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40846 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
},
40848 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40862 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40880 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40883 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40886 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40898 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40903 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40909 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40915 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40978 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40985 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
41021 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41026 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
41031 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
41041 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
41043 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
41045 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
41048 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
41052 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
41055 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
41058 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41060 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41065 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41073 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41077 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41080 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41082 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41086 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41088 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41103 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41105 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41108 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41110 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41114 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41118 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41127 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41130 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41133 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41137 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41144 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41149 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41154 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41198 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41213 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41217 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41227 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41322 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41360 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41374 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41377 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41394 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41432 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41434 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41448 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41451 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41459 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41502 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41506 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41510 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41527 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41528 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41533 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41563 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41577 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41585 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41592 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41595 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41601 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41602 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41603 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41606 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41618 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41632 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41639 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41642 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41652 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41661 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41665 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41668 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41671 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41672 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41673 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41674 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41675 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41678 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41681 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41682 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41688 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41700 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41709 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41710 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41720 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41721 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41722 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41723 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41724 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41725 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41726 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41727 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41728 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41729 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41730 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41731 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41732 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41733 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41734 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41735 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41736 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41737 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41738 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41739 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41740 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41741 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41742 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41743 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41744 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41745 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41746 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41747 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41748 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41749 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41750 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41751 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41752 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41753 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41754 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41755 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41756 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41757 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41758 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41759 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41760 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41761 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41762 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41763 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41764 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41765 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41766 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41767 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41768 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41769 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41770 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41771 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41772 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41773 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41774 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41775 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41776 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41777 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41778 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41779 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41780 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41781 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41782 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41783 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41784 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41785 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41786 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41787 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41792 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41794 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41795 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41797 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41798 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41800 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41801 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41803 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41804 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41806 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41807 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41809 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41810 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41812 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41813 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41815 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41816 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41818 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41819 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41821 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41822 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41824 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41825 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41827 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41828 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41830 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41831 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41833 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41834 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41836 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41837 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41839 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41840 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41842 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41843 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41845 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41846 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41848 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41849 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41851 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41852 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41854 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41855 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41857 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41858 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41860 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41861 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41863 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41864 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41866 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41867 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41869 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41870 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41872 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41873 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41875 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41876 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41878 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41879 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41881 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41882 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41884 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41885 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41887 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41888 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41890 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41891 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41893 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41894 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41896 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41897 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41899 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41900 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41902 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41903 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41905 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41906 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41908 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41909 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41911 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41912 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41914 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41915 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41917 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41918 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41920 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41921 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41923 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41924 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41926 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41927 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41929 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41930 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41932 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41933 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41935 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41936 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41938 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41939 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41941 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41942 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41944 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41945 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41947 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41948 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41950 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41951 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41953 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41954 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41956 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41957 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41959 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41960 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41962 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41963 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41965 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41966 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41968 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41969 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41971 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41972 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41974 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41975 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41977 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41978 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41980 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41981 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41983 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41984 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41986 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41987 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41989 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41990 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41992 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41993 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41995 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41996 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41998 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41999 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
42001 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
42002 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
42004 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
42005 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
42007 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
42008 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
42010 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
42011 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
42013 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
42014 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
42016 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42017 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
42019 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42020 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
42022 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
42023 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
42025 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
42026 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
42028 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
42029 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
42031 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
42032 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42034 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
42035 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
42037 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
42038 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
42040 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
42041 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
42043 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
42044 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
42046 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
42047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
42049 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
42050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
42052 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
42053 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
42055 static void *_p_wxSizerTo_p_wxObject(void *x
) {
42056 return (void *)((wxObject
*) ((wxSizer
*) x
));
42058 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
42059 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
42061 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
42062 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
42064 static void *_p_wxMenuTo_p_wxObject(void *x
) {
42065 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42067 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42068 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42070 static void *_p_wxImageTo_p_wxObject(void *x
) {
42071 return (void *)((wxObject
*) ((wxImage
*) x
));
42073 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42074 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42076 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42077 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42079 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42080 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42082 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42083 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42085 static void *_p_wxControlTo_p_wxObject(void *x
) {
42086 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42088 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42089 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42091 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42092 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42094 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42095 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42097 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42098 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42100 static void *_p_wxEventTo_p_wxObject(void *x
) {
42101 return (void *)((wxObject
*) ((wxEvent
*) x
));
42103 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42104 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42106 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42107 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42109 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42110 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42112 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42113 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42115 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42116 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42118 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42119 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42121 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42124 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42125 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42127 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42128 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42130 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42131 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42133 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42134 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42136 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42137 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42139 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42140 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42142 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42143 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42145 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42146 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42148 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42149 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42151 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42152 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42154 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42155 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42157 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42158 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42160 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42161 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42163 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42164 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42166 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42167 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42169 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42170 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42172 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42173 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42175 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42176 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42178 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42179 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42181 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42182 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42184 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42185 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42187 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42188 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42190 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42191 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42193 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42194 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42196 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42197 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42199 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42200 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42202 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42203 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42205 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42206 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42208 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42209 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42211 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42212 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42214 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42215 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42217 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42218 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42220 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42221 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42223 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42224 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42226 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42227 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42229 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42230 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42232 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42233 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42235 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42236 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42238 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42239 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42241 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42242 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42244 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42245 return (void *)((wxWindow
*) ((wxControl
*) x
));
42247 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42248 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42250 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42251 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42253 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42254 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42256 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42257 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42259 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42260 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42262 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42263 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42265 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42266 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42268 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42269 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42271 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42272 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42274 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42275 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42277 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42278 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42280 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}};
42281 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}};
42282 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}};
42283 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}};
42284 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}};
42285 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}};
42286 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}};
42287 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}};
42288 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}};
42289 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}};
42290 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}};
42291 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}};
42292 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}};
42293 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}};
42294 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}};
42295 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}};
42296 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}};
42297 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}};
42298 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}};
42299 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}};
42300 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}};
42301 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}};
42302 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}};
42303 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}};
42304 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}};
42305 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}};
42306 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}};
42307 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}};
42308 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}};
42309 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}};
42310 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}};
42311 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}};
42312 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}};
42313 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}};
42314 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}};
42315 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}};
42316 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}};
42317 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}};
42318 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}};
42319 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}};
42320 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}};
42321 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}};
42322 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}};
42323 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}};
42324 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}};
42325 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}};
42326 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}};
42327 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}};
42328 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}};
42329 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}};
42330 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}};
42331 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}};
42332 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}};
42333 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}};
42334 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}};
42335 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}};
42336 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}};
42337 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}};
42338 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}};
42339 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}};
42340 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}};
42341 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}};
42342 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}};
42343 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}};
42344 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}};
42345 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}};
42346 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}};
42347 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}};
42348 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}};
42349 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}};
42350 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}};
42351 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}};
42352 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}};
42353 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}};
42354 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}};
42355 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}};
42356 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}};
42357 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}};
42358 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}};
42359 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}};
42360 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}};
42361 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}};
42362 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}};
42363 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}};
42364 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}};
42365 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}};
42366 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}};
42367 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}};
42368 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}};
42369 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}};
42370 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}};
42371 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}};
42372 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}};
42373 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}};
42374 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}};
42375 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}};
42376 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}};
42377 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}};
42378 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}};
42379 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}};
42380 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}};
42381 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}};
42382 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}};
42383 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}};
42384 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}};
42385 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}};
42386 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}};
42387 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}};
42388 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}};
42389 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}};
42390 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}};
42391 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}};
42392 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}};
42393 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}};
42394 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}};
42395 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}};
42397 static swig_type_info
*swig_types_initial
[] = {
42398 _swigt__p_wxLayoutConstraints
,
42399 _swigt__p_wxRealPoint
,
42400 _swigt__p_wxSizerItem
,
42401 _swigt__p_wxGBSizerItem
,
42402 _swigt__p_wxScrollEvent
,
42403 _swigt__p_wxIndividualLayoutConstraint
,
42405 _swigt__p_wxBoxSizer
,
42406 _swigt__p_wxStaticBoxSizer
,
42407 _swigt__p_wxGridBagSizer
,
42408 _swigt__p_wxAcceleratorEntry
,
42409 _swigt__p_wxUpdateUIEvent
,
42412 _swigt__p_wxGridSizer
,
42413 _swigt__p_wxFlexGridSizer
,
42414 _swigt__p_wxInitDialogEvent
,
42415 _swigt__p_wxItemContainer
,
42416 _swigt__p_wxNcPaintEvent
,
42417 _swigt__p_wxPaintEvent
,
42418 _swigt__p_wxSysColourChangedEvent
,
42419 _swigt__p_wxMouseCaptureChangedEvent
,
42420 _swigt__p_wxDisplayChangedEvent
,
42421 _swigt__p_wxPaletteChangedEvent
,
42422 _swigt__p_wxControl
,
42424 _swigt__p_wxMenuBarBase
,
42425 _swigt__p_wxSetCursorEvent
,
42426 _swigt__p_wxFSFile
,
42428 _swigt__p_wxRegion
,
42429 _swigt__p_wxPoint2D
,
42433 _swigt__p_wxPySizer
,
42434 _swigt__p_wxVisualAttributes
,
42435 _swigt__p_wxNotifyEvent
,
42436 _swigt__p_wxPyEvent
,
42437 _swigt__p_wxPropagationDisabler
,
42438 _swigt__p_wxAppTraits
,
42439 _swigt__p_wxArrayString
,
42440 _swigt__p_wxShowEvent
,
42441 _swigt__p_wxToolTip
,
42442 _swigt__p_wxIconizeEvent
,
42443 _swigt__p_wxActivateEvent
,
42444 _swigt__p_wxMoveEvent
,
42445 _swigt__p_wxSizeEvent
,
42446 _swigt__p_wxMaximizeEvent
,
42447 _swigt__p_wxQueryNewPaletteEvent
,
42448 _swigt__p_wxWindowCreateEvent
,
42449 _swigt__p_wxIdleEvent
,
42450 _swigt__p_wxMenuItem
,
42451 _swigt__p_wxStaticBox
,
42453 _swigt__p_wxTIFFHandler
,
42454 _swigt__p_wxXPMHandler
,
42455 _swigt__p_wxPNMHandler
,
42456 _swigt__p_wxJPEGHandler
,
42457 _swigt__p_wxPCXHandler
,
42458 _swigt__p_wxGIFHandler
,
42459 _swigt__p_wxPNGHandler
,
42460 _swigt__p_wxANIHandler
,
42461 _swigt__p_wxMemoryFSHandler
,
42462 _swigt__p_wxEvtHandler
,
42463 _swigt__p_wxCURHandler
,
42464 _swigt__p_wxICOHandler
,
42465 _swigt__p_wxBMPHandler
,
42466 _swigt__p_wxImageHandler
,
42467 _swigt__p_wxFileSystemHandler
,
42468 _swigt__p_wxPyFileSystemHandler
,
42469 _swigt__p_wxInternetFSHandler
,
42470 _swigt__p_wxZipFSHandler
,
42472 _swigt__p_wxGBSpan
,
42473 _swigt__p_wxPropagateOnce
,
42474 _swigt__p_wxAcceleratorTable
,
42476 _swigt__p_wxGBPosition
,
42479 _swigt__p_wxScrollWinEvent
,
42480 _swigt__p_wxImageHistogram
,
42483 _swigt__p_wxCursor
,
42484 _swigt__p_wxObject
,
42485 _swigt__p_wxPyInputStream
,
42486 _swigt__p_wxOutputStream
,
42487 _swigt__p_wxInputStream
,
42488 _swigt__p_wxDateTime
,
42489 _swigt__p_wxKeyEvent
,
42490 _swigt__p_wxNavigationKeyEvent
,
42491 _swigt__p_wxWindowDestroyEvent
,
42492 _swigt__p_wxWindow
,
42493 _swigt__p_wxMenuBar
,
42494 _swigt__p_wxFileSystem
,
42495 _swigt__p_wxBitmap
,
42496 _swigt__p_wxMenuEvent
,
42497 _swigt__p_wxContextMenuEvent
,
42498 _swigt__p_unsigned_char
,
42499 _swigt__p_wxCloseEvent
,
42500 _swigt__p_wxEraseEvent
,
42501 _swigt__p_wxMouseEvent
,
42503 _swigt__p_wxCommandEvent
,
42504 _swigt__p_wxPyCommandEvent
,
42505 _swigt__p_wxPyDropTarget
,
42506 _swigt__p_wxQuantize
,
42507 _swigt__p_wxChildFocusEvent
,
42508 _swigt__p_wxFocusEvent
,
42509 _swigt__p_wxDropFilesEvent
,
42510 _swigt__p_wxControlWithItems
,
42511 _swigt__p_wxColour
,
42512 _swigt__p_wxValidator
,
42513 _swigt__p_wxPyValidator
,
42518 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42520 static swig_const_info swig_const_table
[] = {
42530 SWIGEXPORT(void) SWIG_init(void) {
42531 static PyObject
*SWIG_globals
= 0;
42532 static int typeinit
= 0;
42535 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42536 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42537 d
= PyModule_GetDict(m
);
42540 for (i
= 0; swig_types_initial
[i
]; i
++) {
42541 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42545 SWIG_InstallConstants(d
,swig_const_table
);
42548 #ifndef wxPyUSE_EXPORT
42549 // Make our API structure a CObject so other modules can import it
42550 // from this module.
42551 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42552 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42556 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42557 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42558 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42559 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42560 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42561 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42562 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42563 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42564 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42565 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42566 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42567 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42568 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42569 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42570 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42571 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42572 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42573 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42574 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42575 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42576 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42577 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42578 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42579 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42580 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42581 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42582 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42583 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42584 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42585 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42586 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42587 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42588 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42589 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42590 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42591 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42592 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42593 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42594 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42595 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42596 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42597 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42598 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42599 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42600 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42601 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42602 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42603 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42604 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42605 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42606 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42607 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42608 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42609 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42610 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42611 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42612 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42613 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42614 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42615 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42616 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42617 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42618 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42619 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42620 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42621 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42622 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42623 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42624 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42625 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42626 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42627 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42628 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42629 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42630 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42631 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42632 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42633 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42634 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42635 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42636 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42637 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42638 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42639 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42640 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42641 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42642 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42643 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42644 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42645 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42646 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42647 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42648 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42649 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42650 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42651 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42652 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42653 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42654 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42655 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42656 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42657 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42658 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42659 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42660 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42661 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42662 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42663 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42664 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42665 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42666 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42667 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42668 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42669 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42670 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42671 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42672 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42673 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42674 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42675 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42676 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42677 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42678 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42679 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42680 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42681 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42682 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42683 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42684 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42685 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42686 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42687 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42688 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42689 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42690 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42691 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42692 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42693 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42694 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42695 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42696 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42697 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42698 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42699 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42700 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42701 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42702 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42703 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42704 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42705 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42706 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42707 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42708 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42709 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42710 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42711 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42712 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42713 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42714 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42715 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42716 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42717 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42718 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42719 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42720 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42721 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42722 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42723 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42724 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42725 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42726 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42727 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42728 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42729 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42730 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42731 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42732 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42733 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42734 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42735 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42736 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42737 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42738 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42739 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42740 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42741 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42742 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42743 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42744 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42745 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42746 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42747 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42748 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42749 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42750 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42751 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42752 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42753 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42754 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42755 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42756 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42757 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42758 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42759 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42760 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42761 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42762 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42763 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42764 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42765 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42766 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42767 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42768 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42769 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42770 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42771 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42772 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42773 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42774 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42775 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42776 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42777 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42778 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42779 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42780 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42781 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42782 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42783 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42784 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42785 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42786 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42787 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42788 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42789 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42790 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42791 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42792 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42793 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42794 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42795 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42796 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42797 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42798 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42799 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42800 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42801 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42802 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42803 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42804 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42805 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42806 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42807 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42808 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42809 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42810 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42811 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42812 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42813 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42814 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42815 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42816 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42817 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42818 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42819 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42820 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42821 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42822 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42823 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42824 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42825 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42826 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42827 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42828 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42829 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42830 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42831 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42832 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42833 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42834 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42835 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42836 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42837 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42838 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42839 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42840 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42841 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42842 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42843 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42844 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42845 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42846 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42847 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42848 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42849 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42850 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42851 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42852 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42853 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42854 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42855 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42856 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42857 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42858 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42859 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42860 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42861 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42862 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42863 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42864 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42865 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42866 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42867 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42868 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42869 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42870 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42871 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42872 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42873 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42874 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42875 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42876 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42877 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42878 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42879 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42880 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42881 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42882 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42883 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42884 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42885 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42886 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42887 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42888 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42889 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42890 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42891 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42892 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42893 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42894 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42895 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42896 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42897 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42898 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42899 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42900 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42901 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42902 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42903 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42904 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42905 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42906 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42907 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42908 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42909 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42910 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42911 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42912 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42913 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42914 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42915 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42916 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42917 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42918 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42919 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42920 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42921 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42922 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42923 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42924 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42925 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42926 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42927 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42928 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42929 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42930 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42931 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42932 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42933 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42934 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42935 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42936 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42937 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42938 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42939 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42940 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42941 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42942 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42943 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42944 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42945 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42946 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42947 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42948 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42949 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42950 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42951 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42952 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42953 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42954 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42955 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42956 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42957 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42958 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42959 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42960 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42961 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42962 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42963 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42964 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42965 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42966 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42967 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42968 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42969 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42970 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42971 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42972 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42973 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42974 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42975 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42976 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42977 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42978 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42979 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42980 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42981 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42982 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42983 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42984 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42985 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42986 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42987 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42988 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42989 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42990 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42991 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42992 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42993 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42994 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42995 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42996 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42997 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42998 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42999 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
43000 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
43001 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
43002 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
43003 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
43004 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
43005 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
43006 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
43007 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
43008 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
43009 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
43010 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
43011 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
43012 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
43013 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
43014 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
43015 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
43016 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
43017 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
43018 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
43019 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
43020 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
43021 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
43022 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
43023 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
43024 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
43025 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
43026 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
43027 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
43028 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
43029 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
43030 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
43031 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
43032 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
43033 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
43034 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
43035 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
43036 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
43037 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
43038 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
43039 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
43040 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
43041 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
43042 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
43043 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
43044 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43045 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43046 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43047 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43048 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43049 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43050 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43051 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43052 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43053 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43054 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43055 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43056 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43057 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43058 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43059 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43060 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43061 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43062 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43063 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43064 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43065 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43066 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43067 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43068 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43069 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43070 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43071 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43072 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43073 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43074 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43075 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43076 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43077 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43078 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43079 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43080 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43081 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43082 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43083 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43084 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43085 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43086 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43087 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43088 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43089 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43090 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43091 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43092 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43093 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43094 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43095 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43096 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43097 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43098 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43099 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43100 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43101 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43102 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43103 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43104 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43105 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43106 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43107 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43108 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43109 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43110 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43111 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43112 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43113 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43114 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43115 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43116 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43117 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43118 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43119 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43120 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43121 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43122 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43123 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43124 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43125 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43126 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43127 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43128 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43130 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43133 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43135 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43136 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43137 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43138 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43139 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43140 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43141 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43142 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43143 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43144 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43145 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43146 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43147 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43148 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43149 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43150 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43151 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43152 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_FromInt((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
43153 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_FromInt((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
43154 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43155 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43156 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43157 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43158 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43159 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43160 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43161 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43162 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43163 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43164 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43165 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43166 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43167 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43168 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43169 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43170 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43171 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43172 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43173 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43174 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43175 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43176 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43177 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43178 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43179 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43180 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43181 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43182 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43183 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43184 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43185 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43186 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43187 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43188 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43189 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43190 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43191 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43192 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43193 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43194 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43195 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43196 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43197 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43198 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43199 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43200 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43201 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43202 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43203 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43204 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43205 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43206 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43207 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43208 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43209 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43210 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43211 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43212 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43213 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43214 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43215 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43216 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43217 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43218 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43219 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43220 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43221 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43222 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43223 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43224 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43225 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43226 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43227 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43228 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43229 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43230 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43231 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43232 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43233 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43234 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43235 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43236 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43237 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43238 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43239 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43240 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43241 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43242 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43243 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43244 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43245 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43246 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43247 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43248 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43249 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43250 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43251 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43252 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43253 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43254 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43255 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43256 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43257 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43258 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43259 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43260 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43261 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43262 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43263 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43264 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43265 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43266 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43267 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43268 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43269 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43270 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43271 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43272 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43273 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43274 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43275 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43276 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43277 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
43278 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
43279 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
43280 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43281 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43282 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43283 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43284 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43285 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43286 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43287 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43288 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43289 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43290 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43291 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43292 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43293 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43294 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43295 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43296 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43297 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43298 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43299 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43300 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43301 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43302 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43303 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43304 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43305 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43306 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43307 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43308 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43309 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43310 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43311 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43312 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43313 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43314 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43315 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43316 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43317 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43318 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43319 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43321 // Initialize threading, some globals and such
43325 // Although these are defined in __version__ they need to be here too so
43326 // that an assert can be done to ensure that the wxPython and the wxWindows
43328 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43329 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43330 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));