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();
1351 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1353 void wxApp_CleanUp() {
1358 wxPyApp
* wxPyGetApp() { return (wxPyApp
*)wxTheApp
; }
1362 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1363 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1364 void delete_wxVisualAttributes(wxVisualAttributes
*self
){ delete self
; }
1365 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1366 wxWindowList
& list
= self
->GetChildren();
1367 return wxPy_ConvertList(&list
);
1369 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1371 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1376 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1383 long wxWindow_GetHandle(wxWindow
*self
){
1384 return wxPyGetWinHandle(self
);
1387 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1388 return wxWindow::FindWindowById(id
, parent
);
1391 wxWindow
* wxFindWindowByName( const wxString
& name
,
1392 const wxWindow
*parent
= NULL
) {
1393 return wxWindow::FindWindowByName(name
, parent
);
1396 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1397 const wxWindow
*parent
= NULL
) {
1398 return wxWindow::FindWindowByLabel(label
, parent
);
1403 #include <wx/msw/private.h> // to get wxGetWindowId
1407 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1409 WXHWND hWnd
= (WXHWND
)_hWnd
;
1410 long id
= wxGetWindowId(hWnd
);
1411 wxWindow
* win
= new wxWindow
;
1412 parent
->AddChild(win
);
1413 win
->SetEventHandler(win
);
1416 win
->SubclassWin(hWnd
);
1417 win
->AdoptAttributesFromHWND();
1418 win
->SetupColours();
1421 wxPyRaiseNotImplemented();
1427 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1428 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1429 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1431 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1433 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1434 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1435 wxMenuItemList
& list
= self
->GetMenuItems();
1436 return wxPy_ConvertList(&list
);
1438 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1439 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1440 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1442 wxPyClientData
* data
= new wxPyClientData(clientData
);
1443 return self
->Append(item
, data
);
1445 return self
->Append(item
);
1447 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1449 wxPyClientData
* data
= new wxPyClientData(clientData
);
1450 return self
->Insert(item
, pos
, data
);
1452 return self
->Insert(item
, pos
);
1454 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1455 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1457 Py_INCREF(data
->m_obj
);
1464 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1465 wxPyClientData
* data
= new wxPyClientData(clientData
);
1466 self
->SetClientObject(n
, data
);
1470 wxSizerItem
*new_wxSizerItem(wxWindow
*window
,int proportion
,int flag
,int border
,PyObject
*userData
){
1471 wxPyUserData
* data
= NULL
;
1473 bool blocked
= wxPyBeginBlockThreads();
1474 data
= new wxPyUserData(userData
);
1475 wxPyEndBlockThreads(blocked
);
1477 return new wxSizerItem(window
, proportion
, flag
, border
, data
);
1479 wxSizerItem
*new_wxSizerItem(int width
,int height
,int proportion
,int flag
,int border
,PyObject
*userData
){
1480 wxPyUserData
* data
= NULL
;
1482 bool blocked
= wxPyBeginBlockThreads();
1483 data
= new wxPyUserData(userData
);
1484 wxPyEndBlockThreads(blocked
);
1486 return new wxSizerItem(width
, height
, proportion
, flag
, border
, data
);
1488 wxSizerItem
*new_wxSizerItem(wxSizer
*sizer
,int proportion
,int flag
,int border
,PyObject
*userData
){
1489 wxPyUserData
* data
= NULL
;
1491 bool blocked
= wxPyBeginBlockThreads();
1492 data
= new wxPyUserData(userData
);
1493 wxPyEndBlockThreads(blocked
);
1495 return new wxSizerItem(sizer
, proportion
, flag
, border
, data
);
1501 SWIG_FloatCast(double value
)
1504 if (!PyErr_Occurred()) {
1505 if (value
< FLT_MIN
) {
1507 PyString_FromFormat("value %g is less than float minimum %g",
1509 PyErr_SetObject(PyExc_OverflowError
, err
);
1511 } else if (value
> FLT_MAX
) {
1513 PyString_FromFormat("value %g is greater than float maximum %g",
1515 PyErr_SetObject(PyExc_OverflowError
, err
);
1518 f
= swig_numeric_cast(float, value
);
1525 SWIGSTATICINLINE(float)
1526 SWIG_AsFloat(PyObject
*obj
)
1528 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1532 SWIGSTATICINLINE(int)
1533 SWIG_CheckFloat(PyObject
* obj
)
1536 if (PyErr_Occurred()) {
1544 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1545 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1547 Py_INCREF(data
->m_obj
);
1555 // Figure out the type of the sizer item
1557 struct wxPySizerItemInfo
{
1559 : window(NULL
), sizer(NULL
), gotSize(False
),
1560 size(wxDefaultSize
), gotPos(False
), pos(-1)
1571 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1573 wxPySizerItemInfo info
;
1575 wxSize
* sizePtr
= &size
;
1577 // Find out what the type of the item is
1579 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1584 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1588 // try wxSize or (w,h)
1589 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1590 info
.size
= *sizePtr
;
1591 info
.gotSize
= True
;
1595 if (checkIdx
&& PyInt_Check(item
)) {
1596 info
.pos
= PyInt_AsLong(item
);
1602 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1603 // no expected type, figure out what kind of error message to generate
1604 if ( !checkSize
&& !checkIdx
)
1605 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1606 else if ( checkSize
&& !checkIdx
)
1607 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1608 else if ( !checkSize
&& checkIdx
)
1609 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1611 // can this one happen?
1612 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1618 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1619 if (!self
->GetClientObject())
1620 self
->SetClientObject(new wxPyOORClientData(_self
));
1622 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1624 wxPyUserData
* data
= NULL
;
1625 bool blocked
= wxPyBeginBlockThreads();
1626 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1627 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1628 data
= new wxPyUserData(userData
);
1629 wxPyEndBlockThreads(blocked
);
1631 // Now call the real Add method if a valid item type was found
1633 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1634 else if ( info
.sizer
)
1635 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1636 else if (info
.gotSize
)
1637 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1638 proportion
, flag
, border
, data
);
1640 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1642 wxPyUserData
* data
= NULL
;
1643 bool blocked
= wxPyBeginBlockThreads();
1644 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1645 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1646 data
= new wxPyUserData(userData
);
1647 wxPyEndBlockThreads(blocked
);
1649 // Now call the real Insert method if a valid item type was found
1651 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1652 else if ( info
.sizer
)
1653 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1654 else if (info
.gotSize
)
1655 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1656 proportion
, flag
, border
, data
);
1658 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1660 wxPyUserData
* data
= NULL
;
1661 bool blocked
= wxPyBeginBlockThreads();
1662 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1663 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1664 data
= new wxPyUserData(userData
);
1665 wxPyEndBlockThreads(blocked
);
1667 // Now call the real Prepend method if a valid item type was found
1669 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1670 else if ( info
.sizer
)
1671 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1672 else if (info
.gotSize
)
1673 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1674 proportion
, flag
, border
, data
);
1676 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1677 bool blocked
= wxPyBeginBlockThreads();
1678 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1679 wxPyEndBlockThreads(blocked
);
1681 return self
->Remove(info
.window
);
1682 else if ( info
.sizer
)
1683 return self
->Remove(info
.sizer
);
1684 else if ( info
.gotPos
)
1685 return self
->Remove(info
.pos
);
1689 bool wxSizer_Detach(wxSizer
*self
,PyObject
*item
){
1690 bool blocked
= wxPyBeginBlockThreads();
1691 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1692 wxPyEndBlockThreads(blocked
);
1694 return self
->Detach(info
.window
);
1695 else if ( info
.sizer
)
1696 return self
->Detach(info
.sizer
);
1697 else if ( info
.gotPos
)
1698 return self
->Detach(info
.pos
);
1702 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1703 bool blocked
= wxPyBeginBlockThreads();
1704 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1705 wxPyEndBlockThreads(blocked
);
1707 self
->SetItemMinSize(info
.window
, size
);
1708 else if ( info
.sizer
)
1709 self
->SetItemMinSize(info
.sizer
, size
);
1710 else if ( info
.gotPos
)
1711 self
->SetItemMinSize(info
.pos
, size
);
1713 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1714 wxSizerItemList
& list
= self
->GetChildren();
1715 return wxPy_ConvertList(&list
);
1717 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1718 bool blocked
= wxPyBeginBlockThreads();
1719 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1720 wxPyEndBlockThreads(blocked
);
1722 self
->Show(info
.window
, show
);
1723 else if ( info
.sizer
)
1724 self
->Show(info
.sizer
, show
);
1725 else if ( info
.gotPos
)
1726 self
->Show(info
.pos
, show
);
1728 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1729 bool blocked
= wxPyBeginBlockThreads();
1730 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1731 wxPyEndBlockThreads(blocked
);
1733 return self
->IsShown(info
.window
);
1734 else if ( info
.sizer
)
1735 return self
->IsShown(info
.sizer
);
1736 else if ( info
.gotPos
)
1737 return self
->IsShown(info
.pos
);
1743 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1744 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1745 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1750 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1752 if (source
== Py_None
) {
1753 **obj
= wxGBPosition(-1,-1);
1756 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1759 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1761 if (source
== Py_None
) {
1762 **obj
= wxGBSpan(-1,-1);
1765 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1769 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1773 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1774 bool blocked
= wxPyBeginBlockThreads();
1775 PyObject
* tup
= PyTuple_New(2);
1776 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1777 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1778 wxPyEndBlockThreads(blocked
);
1781 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1782 self
->SetRowspan(rowspan
);
1783 self
->SetColspan(colspan
);
1785 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1786 bool blocked
= wxPyBeginBlockThreads();
1787 PyObject
* tup
= PyTuple_New(2);
1788 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1789 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1790 wxPyEndBlockThreads(blocked
);
1793 wxGBSizerItem
*new_wxGBSizerItem(wxWindow
*window
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1794 wxPyUserData
* data
= NULL
;
1796 bool blocked
= wxPyBeginBlockThreads();
1797 data
= new wxPyUserData(userData
);
1798 wxPyEndBlockThreads(blocked
);
1800 return new wxGBSizerItem(window
, pos
, span
, flag
, border
, data
);
1802 wxGBSizerItem
*new_wxGBSizerItem(wxSizer
*sizer
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1803 wxPyUserData
* data
= NULL
;
1805 bool blocked
= wxPyBeginBlockThreads();
1806 data
= new wxPyUserData(userData
);
1807 wxPyEndBlockThreads(blocked
);
1809 return new wxGBSizerItem(sizer
, pos
, span
, flag
, border
, data
);
1811 wxGBSizerItem
*new_wxGBSizerItem(int width
,int height
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1812 wxPyUserData
* data
= NULL
;
1814 bool blocked
= wxPyBeginBlockThreads();
1815 data
= new wxPyUserData(userData
);
1816 wxPyEndBlockThreads(blocked
);
1818 return new wxGBSizerItem(width
, height
, pos
, span
, flag
, border
, data
);
1820 wxGBPosition
wxGBSizerItem_GetEndPos(wxGBSizerItem
*self
){
1822 self
->GetEndPos(row
, col
);
1823 return wxGBPosition(row
, col
);
1825 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1827 wxPyUserData
* data
= NULL
;
1828 bool blocked
= wxPyBeginBlockThreads();
1829 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1830 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1831 data
= new wxPyUserData(userData
);
1832 wxPyEndBlockThreads(blocked
);
1834 // Now call the real Add method if a valid item type was found
1836 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1837 else if ( info
.sizer
)
1838 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1839 else if (info
.gotSize
)
1840 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1841 pos
, span
, flag
, border
, data
);
1849 static int _wrap_EmptyString_set(PyObject
*_val
) {
1850 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1855 static PyObject
*_wrap_EmptyString_get() {
1860 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1862 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1869 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1870 PyObject
*resultobj
;
1871 wxObject
*arg1
= (wxObject
*) 0 ;
1873 PyObject
* obj0
= 0 ;
1875 (char *) "self", NULL
1878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1883 result
= wxObject_GetClassName(arg1
);
1885 wxPyEndAllowThreads(__tstate
);
1886 if (PyErr_Occurred()) SWIG_fail
;
1890 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1892 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1901 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1902 PyObject
*resultobj
;
1903 wxObject
*arg1
= (wxObject
*) 0 ;
1904 PyObject
* obj0
= 0 ;
1906 (char *) "self", NULL
1909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1914 wxObject_Destroy(arg1
);
1916 wxPyEndAllowThreads(__tstate
);
1917 if (PyErr_Occurred()) SWIG_fail
;
1919 Py_INCREF(Py_None
); resultobj
= Py_None
;
1926 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1928 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1929 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1931 return Py_BuildValue((char *)"");
1933 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1934 PyObject
*resultobj
;
1935 wxSize
*arg1
= (wxSize
*) 0 ;
1937 PyObject
* obj0
= 0 ;
1938 PyObject
* obj1
= 0 ;
1940 (char *) "self",(char *) "x", NULL
1943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1946 arg2
= (int) SWIG_AsInt(obj1
);
1947 if (PyErr_Occurred()) SWIG_fail
;
1948 if (arg1
) (arg1
)->x
= arg2
;
1950 Py_INCREF(Py_None
); resultobj
= Py_None
;
1957 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1958 PyObject
*resultobj
;
1959 wxSize
*arg1
= (wxSize
*) 0 ;
1961 PyObject
* obj0
= 0 ;
1963 (char *) "self", NULL
1966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1969 result
= (int) ((arg1
)->x
);
1971 resultobj
= SWIG_FromInt((int)result
);
1978 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1979 PyObject
*resultobj
;
1980 wxSize
*arg1
= (wxSize
*) 0 ;
1982 PyObject
* obj0
= 0 ;
1983 PyObject
* obj1
= 0 ;
1985 (char *) "self",(char *) "y", NULL
1988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1991 arg2
= (int) SWIG_AsInt(obj1
);
1992 if (PyErr_Occurred()) SWIG_fail
;
1993 if (arg1
) (arg1
)->y
= arg2
;
1995 Py_INCREF(Py_None
); resultobj
= Py_None
;
2002 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2003 PyObject
*resultobj
;
2004 wxSize
*arg1
= (wxSize
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2008 (char *) "self", NULL
2011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
2012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2014 result
= (int) ((arg1
)->y
);
2016 resultobj
= SWIG_FromInt((int)result
);
2023 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 int arg1
= (int) 0 ;
2026 int arg2
= (int) 0 ;
2028 PyObject
* obj0
= 0 ;
2029 PyObject
* obj1
= 0 ;
2031 (char *) "w",(char *) "h", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
2036 arg1
= (int) SWIG_AsInt(obj0
);
2037 if (PyErr_Occurred()) SWIG_fail
;
2040 arg2
= (int) SWIG_AsInt(obj1
);
2041 if (PyErr_Occurred()) SWIG_fail
;
2044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2045 result
= (wxSize
*)new wxSize(arg1
,arg2
);
2047 wxPyEndAllowThreads(__tstate
);
2048 if (PyErr_Occurred()) SWIG_fail
;
2050 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
2057 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2058 PyObject
*resultobj
;
2059 wxSize
*arg1
= (wxSize
*) 0 ;
2060 PyObject
* obj0
= 0 ;
2062 (char *) "self", NULL
2065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
2066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2072 wxPyEndAllowThreads(__tstate
);
2073 if (PyErr_Occurred()) SWIG_fail
;
2075 Py_INCREF(Py_None
); resultobj
= Py_None
;
2082 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2083 PyObject
*resultobj
;
2084 wxSize
*arg1
= (wxSize
*) 0 ;
2088 PyObject
* obj0
= 0 ;
2089 PyObject
* obj1
= 0 ;
2091 (char *) "self",(char *) "sz", NULL
2094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2099 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2103 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2105 wxPyEndAllowThreads(__tstate
);
2106 if (PyErr_Occurred()) SWIG_fail
;
2109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2117 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2118 PyObject
*resultobj
;
2119 wxSize
*arg1
= (wxSize
*) 0 ;
2123 PyObject
* obj0
= 0 ;
2124 PyObject
* obj1
= 0 ;
2126 (char *) "self",(char *) "sz", NULL
2129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2138 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2140 wxPyEndAllowThreads(__tstate
);
2141 if (PyErr_Occurred()) SWIG_fail
;
2144 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2152 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxSize
*arg1
= (wxSize
*) 0 ;
2158 PyObject
* obj0
= 0 ;
2159 PyObject
* obj1
= 0 ;
2161 (char *) "self",(char *) "sz", NULL
2164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2180 resultptr
= new wxSize((wxSize
&) result
);
2181 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2189 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2190 PyObject
*resultobj
;
2191 wxSize
*arg1
= (wxSize
*) 0 ;
2195 PyObject
* obj0
= 0 ;
2196 PyObject
* obj1
= 0 ;
2198 (char *) "self",(char *) "sz", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2206 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2210 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2212 wxPyEndAllowThreads(__tstate
);
2213 if (PyErr_Occurred()) SWIG_fail
;
2217 resultptr
= new wxSize((wxSize
&) result
);
2218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2226 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2227 PyObject
*resultobj
;
2228 wxSize
*arg1
= (wxSize
*) 0 ;
2231 PyObject
* obj0
= 0 ;
2232 PyObject
* obj1
= 0 ;
2234 (char *) "self",(char *) "sz", NULL
2237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2242 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2246 (arg1
)->IncTo((wxSize
const &)*arg2
);
2248 wxPyEndAllowThreads(__tstate
);
2249 if (PyErr_Occurred()) SWIG_fail
;
2251 Py_INCREF(Py_None
); resultobj
= Py_None
;
2258 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2259 PyObject
*resultobj
;
2260 wxSize
*arg1
= (wxSize
*) 0 ;
2263 PyObject
* obj0
= 0 ;
2264 PyObject
* obj1
= 0 ;
2266 (char *) "self",(char *) "sz", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2274 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2278 (arg1
)->DecTo((wxSize
const &)*arg2
);
2280 wxPyEndAllowThreads(__tstate
);
2281 if (PyErr_Occurred()) SWIG_fail
;
2283 Py_INCREF(Py_None
); resultobj
= Py_None
;
2290 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2291 PyObject
*resultobj
;
2292 wxSize
*arg1
= (wxSize
*) 0 ;
2295 PyObject
* obj0
= 0 ;
2296 PyObject
* obj1
= 0 ;
2297 PyObject
* obj2
= 0 ;
2299 (char *) "self",(char *) "w",(char *) "h", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2305 arg2
= (int) SWIG_AsInt(obj1
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2307 arg3
= (int) SWIG_AsInt(obj2
);
2308 if (PyErr_Occurred()) SWIG_fail
;
2310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2311 (arg1
)->Set(arg2
,arg3
);
2313 wxPyEndAllowThreads(__tstate
);
2314 if (PyErr_Occurred()) SWIG_fail
;
2316 Py_INCREF(Py_None
); resultobj
= Py_None
;
2323 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 wxSize
*arg1
= (wxSize
*) 0 ;
2327 PyObject
* obj0
= 0 ;
2328 PyObject
* obj1
= 0 ;
2330 (char *) "self",(char *) "w", NULL
2333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2336 arg2
= (int) SWIG_AsInt(obj1
);
2337 if (PyErr_Occurred()) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 (arg1
)->SetWidth(arg2
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 Py_INCREF(Py_None
); resultobj
= Py_None
;
2352 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxSize
*arg1
= (wxSize
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "h", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2365 arg2
= (int) SWIG_AsInt(obj1
);
2366 if (PyErr_Occurred()) SWIG_fail
;
2368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2369 (arg1
)->SetHeight(arg2
);
2371 wxPyEndAllowThreads(__tstate
);
2372 if (PyErr_Occurred()) SWIG_fail
;
2374 Py_INCREF(Py_None
); resultobj
= Py_None
;
2381 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2382 PyObject
*resultobj
;
2383 wxSize
*arg1
= (wxSize
*) 0 ;
2385 PyObject
* obj0
= 0 ;
2387 (char *) "self", NULL
2390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2395 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2397 wxPyEndAllowThreads(__tstate
);
2398 if (PyErr_Occurred()) SWIG_fail
;
2400 resultobj
= SWIG_FromInt((int)result
);
2407 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2408 PyObject
*resultobj
;
2409 wxSize
*arg1
= (wxSize
*) 0 ;
2411 PyObject
* obj0
= 0 ;
2413 (char *) "self", NULL
2416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2421 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2423 wxPyEndAllowThreads(__tstate
);
2424 if (PyErr_Occurred()) SWIG_fail
;
2426 resultobj
= SWIG_FromInt((int)result
);
2433 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2434 PyObject
*resultobj
;
2435 wxSize
*arg1
= (wxSize
*) 0 ;
2437 PyObject
* obj0
= 0 ;
2439 (char *) "self", NULL
2442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2447 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2449 wxPyEndAllowThreads(__tstate
);
2450 if (PyErr_Occurred()) SWIG_fail
;
2453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2461 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2462 PyObject
*resultobj
;
2463 wxSize
*arg1
= (wxSize
*) 0 ;
2466 PyObject
* obj0
= 0 ;
2467 PyObject
* obj1
= 0 ;
2469 (char *) "self",(char *) "size", NULL
2472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2477 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2481 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 Py_INCREF(Py_None
); resultobj
= Py_None
;
2493 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxSize
*arg1
= (wxSize
*) 0 ;
2497 PyObject
* obj0
= 0 ;
2499 (char *) "self", NULL
2502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2507 result
= (PyObject
*)wxSize_Get(arg1
);
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2519 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2522 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2524 return Py_BuildValue((char *)"");
2526 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2530 PyObject
* obj0
= 0 ;
2531 PyObject
* obj1
= 0 ;
2533 (char *) "self",(char *) "x", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2539 arg2
= (double) SWIG_AsDouble(obj1
);
2540 if (PyErr_Occurred()) SWIG_fail
;
2541 if (arg1
) (arg1
)->x
= arg2
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2554 PyObject
* obj0
= 0 ;
2556 (char *) "self", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2562 result
= (double) ((arg1
)->x
);
2564 resultobj
= SWIG_FromDouble((double)result
);
2571 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2572 PyObject
*resultobj
;
2573 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2575 PyObject
* obj0
= 0 ;
2576 PyObject
* obj1
= 0 ;
2578 (char *) "self",(char *) "y", NULL
2581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2584 arg2
= (double) SWIG_AsDouble(obj1
);
2585 if (PyErr_Occurred()) SWIG_fail
;
2586 if (arg1
) (arg1
)->y
= arg2
;
2588 Py_INCREF(Py_None
); resultobj
= Py_None
;
2595 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2596 PyObject
*resultobj
;
2597 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2599 PyObject
* obj0
= 0 ;
2601 (char *) "self", NULL
2604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2607 result
= (double) ((arg1
)->y
);
2609 resultobj
= SWIG_FromDouble((double)result
);
2616 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2617 PyObject
*resultobj
;
2618 double arg1
= (double) 0.0 ;
2619 double arg2
= (double) 0.0 ;
2620 wxRealPoint
*result
;
2621 PyObject
* obj0
= 0 ;
2622 PyObject
* obj1
= 0 ;
2624 (char *) "x",(char *) "y", NULL
2627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2629 arg1
= (double) SWIG_AsDouble(obj0
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2633 arg2
= (double) SWIG_AsDouble(obj1
);
2634 if (PyErr_Occurred()) SWIG_fail
;
2637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2638 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2640 wxPyEndAllowThreads(__tstate
);
2641 if (PyErr_Occurred()) SWIG_fail
;
2643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2650 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2651 PyObject
*resultobj
;
2652 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2653 PyObject
* obj0
= 0 ;
2655 (char *) "self", NULL
2658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 Py_INCREF(Py_None
); resultobj
= Py_None
;
2675 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2678 wxRealPoint
*arg2
= 0 ;
2681 PyObject
* obj0
= 0 ;
2682 PyObject
* obj1
= 0 ;
2684 (char *) "self",(char *) "pt", NULL
2687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2692 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2710 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2711 PyObject
*resultobj
;
2712 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2713 wxRealPoint
*arg2
= 0 ;
2716 PyObject
* obj0
= 0 ;
2717 PyObject
* obj1
= 0 ;
2719 (char *) "self",(char *) "pt", NULL
2722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2727 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2731 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2733 wxPyEndAllowThreads(__tstate
);
2734 if (PyErr_Occurred()) SWIG_fail
;
2737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2745 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2748 wxRealPoint
*arg2
= 0 ;
2751 PyObject
* obj0
= 0 ;
2752 PyObject
* obj1
= 0 ;
2754 (char *) "self",(char *) "pt", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2762 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2766 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2768 wxPyEndAllowThreads(__tstate
);
2769 if (PyErr_Occurred()) SWIG_fail
;
2772 wxRealPoint
* resultptr
;
2773 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2774 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2782 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2785 wxRealPoint
*arg2
= 0 ;
2788 PyObject
* obj0
= 0 ;
2789 PyObject
* obj1
= 0 ;
2791 (char *) "self",(char *) "pt", NULL
2794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2799 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2803 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2805 wxPyEndAllowThreads(__tstate
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2809 wxRealPoint
* resultptr
;
2810 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2811 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2819 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2820 PyObject
*resultobj
;
2821 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2824 PyObject
* obj0
= 0 ;
2825 PyObject
* obj1
= 0 ;
2826 PyObject
* obj2
= 0 ;
2828 (char *) "self",(char *) "x",(char *) "y", NULL
2831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2834 arg2
= (double) SWIG_AsDouble(obj1
);
2835 if (PyErr_Occurred()) SWIG_fail
;
2836 arg3
= (double) SWIG_AsDouble(obj2
);
2837 if (PyErr_Occurred()) SWIG_fail
;
2839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2840 wxRealPoint_Set(arg1
,arg2
,arg3
);
2842 wxPyEndAllowThreads(__tstate
);
2843 if (PyErr_Occurred()) SWIG_fail
;
2845 Py_INCREF(Py_None
); resultobj
= Py_None
;
2852 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2853 PyObject
*resultobj
;
2854 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2856 PyObject
* obj0
= 0 ;
2858 (char *) "self", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2866 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2868 wxPyEndAllowThreads(__tstate
);
2869 if (PyErr_Occurred()) SWIG_fail
;
2878 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2880 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2881 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2883 return Py_BuildValue((char *)"");
2885 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2886 PyObject
*resultobj
;
2887 wxPoint
*arg1
= (wxPoint
*) 0 ;
2889 PyObject
* obj0
= 0 ;
2890 PyObject
* obj1
= 0 ;
2892 (char *) "self",(char *) "x", NULL
2895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2898 arg2
= (int) SWIG_AsInt(obj1
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2900 if (arg1
) (arg1
)->x
= arg2
;
2902 Py_INCREF(Py_None
); resultobj
= Py_None
;
2909 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2910 PyObject
*resultobj
;
2911 wxPoint
*arg1
= (wxPoint
*) 0 ;
2913 PyObject
* obj0
= 0 ;
2915 (char *) "self", NULL
2918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2921 result
= (int) ((arg1
)->x
);
2923 resultobj
= SWIG_FromInt((int)result
);
2930 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2931 PyObject
*resultobj
;
2932 wxPoint
*arg1
= (wxPoint
*) 0 ;
2934 PyObject
* obj0
= 0 ;
2935 PyObject
* obj1
= 0 ;
2937 (char *) "self",(char *) "y", NULL
2940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2943 arg2
= (int) SWIG_AsInt(obj1
);
2944 if (PyErr_Occurred()) SWIG_fail
;
2945 if (arg1
) (arg1
)->y
= arg2
;
2947 Py_INCREF(Py_None
); resultobj
= Py_None
;
2954 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxPoint
*arg1
= (wxPoint
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2960 (char *) "self", NULL
2963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2964 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2966 result
= (int) ((arg1
)->y
);
2968 resultobj
= SWIG_FromInt((int)result
);
2975 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2976 PyObject
*resultobj
;
2977 int arg1
= (int) 0 ;
2978 int arg2
= (int) 0 ;
2980 PyObject
* obj0
= 0 ;
2981 PyObject
* obj1
= 0 ;
2983 (char *) "x",(char *) "y", NULL
2986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2988 arg1
= (int) SWIG_AsInt(obj0
);
2989 if (PyErr_Occurred()) SWIG_fail
;
2992 arg2
= (int) SWIG_AsInt(obj1
);
2993 if (PyErr_Occurred()) SWIG_fail
;
2996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2997 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2999 wxPyEndAllowThreads(__tstate
);
3000 if (PyErr_Occurred()) SWIG_fail
;
3002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
3009 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3010 PyObject
*resultobj
;
3011 wxPoint
*arg1
= (wxPoint
*) 0 ;
3012 PyObject
* obj0
= 0 ;
3014 (char *) "self", NULL
3017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
3018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3024 wxPyEndAllowThreads(__tstate
);
3025 if (PyErr_Occurred()) SWIG_fail
;
3027 Py_INCREF(Py_None
); resultobj
= Py_None
;
3034 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3035 PyObject
*resultobj
;
3036 wxPoint
*arg1
= (wxPoint
*) 0 ;
3040 PyObject
* obj0
= 0 ;
3041 PyObject
* obj1
= 0 ;
3043 (char *) "self",(char *) "pt", NULL
3046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3051 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3055 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
3057 wxPyEndAllowThreads(__tstate
);
3058 if (PyErr_Occurred()) SWIG_fail
;
3061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3069 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxPoint
*arg1
= (wxPoint
*) 0 ;
3075 PyObject
* obj0
= 0 ;
3076 PyObject
* obj1
= 0 ;
3078 (char *) "self",(char *) "pt", NULL
3081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3086 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3104 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3105 PyObject
*resultobj
;
3106 wxPoint
*arg1
= (wxPoint
*) 0 ;
3110 PyObject
* obj0
= 0 ;
3111 PyObject
* obj1
= 0 ;
3113 (char *) "self",(char *) "pt", NULL
3116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3121 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3125 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3127 wxPyEndAllowThreads(__tstate
);
3128 if (PyErr_Occurred()) SWIG_fail
;
3131 wxPoint
* resultptr
;
3132 resultptr
= new wxPoint((wxPoint
&) result
);
3133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3141 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3142 PyObject
*resultobj
;
3143 wxPoint
*arg1
= (wxPoint
*) 0 ;
3147 PyObject
* obj0
= 0 ;
3148 PyObject
* obj1
= 0 ;
3150 (char *) "self",(char *) "pt", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3158 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3168 wxPoint
* resultptr
;
3169 resultptr
= new wxPoint((wxPoint
&) result
);
3170 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3178 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxPoint
*arg1
= (wxPoint
*) 0 ;
3184 PyObject
* obj0
= 0 ;
3185 PyObject
* obj1
= 0 ;
3187 (char *) "self",(char *) "pt", NULL
3190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3200 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3201 result
= (wxPoint
*) &_result_ref
;
3204 wxPyEndAllowThreads(__tstate
);
3205 if (PyErr_Occurred()) SWIG_fail
;
3207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3214 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3215 PyObject
*resultobj
;
3216 wxPoint
*arg1
= (wxPoint
*) 0 ;
3220 PyObject
* obj0
= 0 ;
3221 PyObject
* obj1
= 0 ;
3223 (char *) "self",(char *) "pt", NULL
3226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3231 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3236 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3237 result
= (wxPoint
*) &_result_ref
;
3240 wxPyEndAllowThreads(__tstate
);
3241 if (PyErr_Occurred()) SWIG_fail
;
3243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3250 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3251 PyObject
*resultobj
;
3252 wxPoint
*arg1
= (wxPoint
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3256 PyObject
* obj1
= 0 ;
3257 PyObject
* obj2
= 0 ;
3259 (char *) "self",(char *) "x",(char *) "y", NULL
3262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3265 arg2
= (long) SWIG_AsLong(obj1
);
3266 if (PyErr_Occurred()) SWIG_fail
;
3267 arg3
= (long) SWIG_AsLong(obj2
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3271 wxPoint_Set(arg1
,arg2
,arg3
);
3273 wxPyEndAllowThreads(__tstate
);
3274 if (PyErr_Occurred()) SWIG_fail
;
3276 Py_INCREF(Py_None
); resultobj
= Py_None
;
3283 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3284 PyObject
*resultobj
;
3285 wxPoint
*arg1
= (wxPoint
*) 0 ;
3287 PyObject
* obj0
= 0 ;
3289 (char *) "self", NULL
3292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3297 result
= (PyObject
*)wxPoint_Get(arg1
);
3299 wxPyEndAllowThreads(__tstate
);
3300 if (PyErr_Occurred()) SWIG_fail
;
3309 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3312 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3314 return Py_BuildValue((char *)"");
3316 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3317 PyObject
*resultobj
;
3318 int arg1
= (int) 0 ;
3319 int arg2
= (int) 0 ;
3320 int arg3
= (int) 0 ;
3321 int arg4
= (int) 0 ;
3323 PyObject
* obj0
= 0 ;
3324 PyObject
* obj1
= 0 ;
3325 PyObject
* obj2
= 0 ;
3326 PyObject
* obj3
= 0 ;
3328 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3333 arg1
= (int) SWIG_AsInt(obj0
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3337 arg2
= (int) SWIG_AsInt(obj1
);
3338 if (PyErr_Occurred()) SWIG_fail
;
3341 arg3
= (int) SWIG_AsInt(obj2
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3345 arg4
= (int) SWIG_AsInt(obj3
);
3346 if (PyErr_Occurred()) SWIG_fail
;
3349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3350 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3352 wxPyEndAllowThreads(__tstate
);
3353 if (PyErr_Occurred()) SWIG_fail
;
3355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3362 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3363 PyObject
*resultobj
;
3369 PyObject
* obj0
= 0 ;
3370 PyObject
* obj1
= 0 ;
3372 (char *) "topLeft",(char *) "bottomRight", NULL
3375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3378 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3382 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3386 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3398 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3405 PyObject
* obj0
= 0 ;
3406 PyObject
* obj1
= 0 ;
3408 (char *) "pos",(char *) "size", NULL
3411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3414 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3418 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3422 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3424 wxPyEndAllowThreads(__tstate
);
3425 if (PyErr_Occurred()) SWIG_fail
;
3427 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3434 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3435 PyObject
*resultobj
;
3436 wxRect
*arg1
= (wxRect
*) 0 ;
3437 PyObject
* obj0
= 0 ;
3439 (char *) "self", NULL
3442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 wxPyEndAllowThreads(__tstate
);
3450 if (PyErr_Occurred()) SWIG_fail
;
3452 Py_INCREF(Py_None
); resultobj
= Py_None
;
3459 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3460 PyObject
*resultobj
;
3461 wxRect
*arg1
= (wxRect
*) 0 ;
3463 PyObject
* obj0
= 0 ;
3465 (char *) "self", NULL
3468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3473 result
= (int)((wxRect
const *)arg1
)->GetX();
3475 wxPyEndAllowThreads(__tstate
);
3476 if (PyErr_Occurred()) SWIG_fail
;
3478 resultobj
= SWIG_FromInt((int)result
);
3485 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3486 PyObject
*resultobj
;
3487 wxRect
*arg1
= (wxRect
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "self",(char *) "x", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3498 arg2
= (int) SWIG_AsInt(obj1
);
3499 if (PyErr_Occurred()) SWIG_fail
;
3501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 wxPyEndAllowThreads(__tstate
);
3505 if (PyErr_Occurred()) SWIG_fail
;
3507 Py_INCREF(Py_None
); resultobj
= Py_None
;
3514 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3515 PyObject
*resultobj
;
3516 wxRect
*arg1
= (wxRect
*) 0 ;
3518 PyObject
* obj0
= 0 ;
3520 (char *) "self", NULL
3523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (int)(arg1
)->GetY();
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= SWIG_FromInt((int)result
);
3540 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxRect
*arg1
= (wxRect
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3545 PyObject
* obj1
= 0 ;
3547 (char *) "self",(char *) "y", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3553 arg2
= (int) SWIG_AsInt(obj1
);
3554 if (PyErr_Occurred()) SWIG_fail
;
3556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3559 wxPyEndAllowThreads(__tstate
);
3560 if (PyErr_Occurred()) SWIG_fail
;
3562 Py_INCREF(Py_None
); resultobj
= Py_None
;
3569 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3570 PyObject
*resultobj
;
3571 wxRect
*arg1
= (wxRect
*) 0 ;
3573 PyObject
* obj0
= 0 ;
3575 (char *) "self", NULL
3578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3583 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3585 wxPyEndAllowThreads(__tstate
);
3586 if (PyErr_Occurred()) SWIG_fail
;
3588 resultobj
= SWIG_FromInt((int)result
);
3595 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3596 PyObject
*resultobj
;
3597 wxRect
*arg1
= (wxRect
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "w", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3608 arg2
= (int) SWIG_AsInt(obj1
);
3609 if (PyErr_Occurred()) SWIG_fail
;
3611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3612 (arg1
)->SetWidth(arg2
);
3614 wxPyEndAllowThreads(__tstate
);
3615 if (PyErr_Occurred()) SWIG_fail
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3638 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3640 wxPyEndAllowThreads(__tstate
);
3641 if (PyErr_Occurred()) SWIG_fail
;
3643 resultobj
= SWIG_FromInt((int)result
);
3650 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3651 PyObject
*resultobj
;
3652 wxRect
*arg1
= (wxRect
*) 0 ;
3654 PyObject
* obj0
= 0 ;
3655 PyObject
* obj1
= 0 ;
3657 (char *) "self",(char *) "h", NULL
3660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3663 arg2
= (int) SWIG_AsInt(obj1
);
3664 if (PyErr_Occurred()) SWIG_fail
;
3666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3667 (arg1
)->SetHeight(arg2
);
3669 wxPyEndAllowThreads(__tstate
);
3670 if (PyErr_Occurred()) SWIG_fail
;
3672 Py_INCREF(Py_None
); resultobj
= Py_None
;
3679 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxRect
*arg1
= (wxRect
*) 0 ;
3683 PyObject
* obj0
= 0 ;
3685 (char *) "self", NULL
3688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3693 result
= ((wxRect
const *)arg1
)->GetPosition();
3695 wxPyEndAllowThreads(__tstate
);
3696 if (PyErr_Occurred()) SWIG_fail
;
3699 wxPoint
* resultptr
;
3700 resultptr
= new wxPoint((wxPoint
&) result
);
3701 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3709 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3710 PyObject
*resultobj
;
3711 wxRect
*arg1
= (wxRect
*) 0 ;
3714 PyObject
* obj0
= 0 ;
3715 PyObject
* obj1
= 0 ;
3717 (char *) "self",(char *) "p", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3725 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3729 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3731 wxPyEndAllowThreads(__tstate
);
3732 if (PyErr_Occurred()) SWIG_fail
;
3734 Py_INCREF(Py_None
); resultobj
= Py_None
;
3741 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxRect
*arg1
= (wxRect
*) 0 ;
3745 PyObject
* obj0
= 0 ;
3747 (char *) "self", NULL
3750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3755 result
= ((wxRect
const *)arg1
)->GetSize();
3757 wxPyEndAllowThreads(__tstate
);
3758 if (PyErr_Occurred()) SWIG_fail
;
3762 resultptr
= new wxSize((wxSize
&) result
);
3763 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3771 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3772 PyObject
*resultobj
;
3773 wxRect
*arg1
= (wxRect
*) 0 ;
3776 PyObject
* obj0
= 0 ;
3777 PyObject
* obj1
= 0 ;
3779 (char *) "self",(char *) "s", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3787 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3791 (arg1
)->SetSize((wxSize
const &)*arg2
);
3793 wxPyEndAllowThreads(__tstate
);
3794 if (PyErr_Occurred()) SWIG_fail
;
3796 Py_INCREF(Py_None
); resultobj
= Py_None
;
3803 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxRect
*arg1
= (wxRect
*) 0 ;
3807 PyObject
* obj0
= 0 ;
3809 (char *) "self", NULL
3812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3817 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3819 wxPyEndAllowThreads(__tstate
);
3820 if (PyErr_Occurred()) SWIG_fail
;
3823 wxPoint
* resultptr
;
3824 resultptr
= new wxPoint((wxPoint
&) result
);
3825 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3833 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3834 PyObject
*resultobj
;
3835 wxRect
*arg1
= (wxRect
*) 0 ;
3838 PyObject
* obj0
= 0 ;
3839 PyObject
* obj1
= 0 ;
3841 (char *) "self",(char *) "p", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3849 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3853 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3855 wxPyEndAllowThreads(__tstate
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 Py_INCREF(Py_None
); resultobj
= Py_None
;
3865 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3866 PyObject
*resultobj
;
3867 wxRect
*arg1
= (wxRect
*) 0 ;
3869 PyObject
* obj0
= 0 ;
3871 (char *) "self", NULL
3874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3879 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3881 wxPyEndAllowThreads(__tstate
);
3882 if (PyErr_Occurred()) SWIG_fail
;
3885 wxPoint
* resultptr
;
3886 resultptr
= new wxPoint((wxPoint
&) result
);
3887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3895 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3896 PyObject
*resultobj
;
3897 wxRect
*arg1
= (wxRect
*) 0 ;
3900 PyObject
* obj0
= 0 ;
3901 PyObject
* obj1
= 0 ;
3903 (char *) "self",(char *) "p", NULL
3906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3911 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 Py_INCREF(Py_None
); resultobj
= Py_None
;
3927 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxRect
*arg1
= (wxRect
*) 0 ;
3931 PyObject
* obj0
= 0 ;
3933 (char *) "self", NULL
3936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3941 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3943 wxPyEndAllowThreads(__tstate
);
3944 if (PyErr_Occurred()) SWIG_fail
;
3946 resultobj
= SWIG_FromInt((int)result
);
3953 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3954 PyObject
*resultobj
;
3955 wxRect
*arg1
= (wxRect
*) 0 ;
3957 PyObject
* obj0
= 0 ;
3959 (char *) "self", NULL
3962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3967 result
= (int)((wxRect
const *)arg1
)->GetTop();
3969 wxPyEndAllowThreads(__tstate
);
3970 if (PyErr_Occurred()) SWIG_fail
;
3972 resultobj
= SWIG_FromInt((int)result
);
3979 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3980 PyObject
*resultobj
;
3981 wxRect
*arg1
= (wxRect
*) 0 ;
3983 PyObject
* obj0
= 0 ;
3985 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3993 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3995 wxPyEndAllowThreads(__tstate
);
3996 if (PyErr_Occurred()) SWIG_fail
;
3998 resultobj
= SWIG_FromInt((int)result
);
4005 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4006 PyObject
*resultobj
;
4007 wxRect
*arg1
= (wxRect
*) 0 ;
4009 PyObject
* obj0
= 0 ;
4011 (char *) "self", NULL
4014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
4015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4019 result
= (int)((wxRect
const *)arg1
)->GetRight();
4021 wxPyEndAllowThreads(__tstate
);
4022 if (PyErr_Occurred()) SWIG_fail
;
4024 resultobj
= SWIG_FromInt((int)result
);
4031 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4032 PyObject
*resultobj
;
4033 wxRect
*arg1
= (wxRect
*) 0 ;
4035 PyObject
* obj0
= 0 ;
4036 PyObject
* obj1
= 0 ;
4038 (char *) "self",(char *) "left", NULL
4041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
4042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4044 arg2
= (int) SWIG_AsInt(obj1
);
4045 if (PyErr_Occurred()) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 (arg1
)->SetLeft(arg2
);
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 Py_INCREF(Py_None
); resultobj
= Py_None
;
4060 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxRect
*arg1
= (wxRect
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4065 PyObject
* obj1
= 0 ;
4067 (char *) "self",(char *) "right", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4073 arg2
= (int) SWIG_AsInt(obj1
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4077 (arg1
)->SetRight(arg2
);
4079 wxPyEndAllowThreads(__tstate
);
4080 if (PyErr_Occurred()) SWIG_fail
;
4082 Py_INCREF(Py_None
); resultobj
= Py_None
;
4089 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4090 PyObject
*resultobj
;
4091 wxRect
*arg1
= (wxRect
*) 0 ;
4093 PyObject
* obj0
= 0 ;
4094 PyObject
* obj1
= 0 ;
4096 (char *) "self",(char *) "top", NULL
4099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4102 arg2
= (int) SWIG_AsInt(obj1
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4106 (arg1
)->SetTop(arg2
);
4108 wxPyEndAllowThreads(__tstate
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4111 Py_INCREF(Py_None
); resultobj
= Py_None
;
4118 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4119 PyObject
*resultobj
;
4120 wxRect
*arg1
= (wxRect
*) 0 ;
4122 PyObject
* obj0
= 0 ;
4123 PyObject
* obj1
= 0 ;
4125 (char *) "self",(char *) "bottom", NULL
4128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4131 arg2
= (int) SWIG_AsInt(obj1
);
4132 if (PyErr_Occurred()) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 (arg1
)->SetBottom(arg2
);
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 Py_INCREF(Py_None
); resultobj
= Py_None
;
4147 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxRect
*arg1
= (wxRect
*) 0 ;
4153 PyObject
* obj0
= 0 ;
4154 PyObject
* obj1
= 0 ;
4155 PyObject
* obj2
= 0 ;
4157 (char *) "self",(char *) "dx",(char *) "dy", NULL
4160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4163 arg2
= (int) SWIG_AsInt(obj1
);
4164 if (PyErr_Occurred()) SWIG_fail
;
4165 arg3
= (int) SWIG_AsInt(obj2
);
4166 if (PyErr_Occurred()) SWIG_fail
;
4168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4170 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4171 result
= (wxRect
*) &_result_ref
;
4174 wxPyEndAllowThreads(__tstate
);
4175 if (PyErr_Occurred()) SWIG_fail
;
4177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4184 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4185 PyObject
*resultobj
;
4186 wxRect
*arg1
= (wxRect
*) 0 ;
4190 PyObject
* obj0
= 0 ;
4191 PyObject
* obj1
= 0 ;
4192 PyObject
* obj2
= 0 ;
4194 (char *) "self",(char *) "dx",(char *) "dy", NULL
4197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4200 arg2
= (int) SWIG_AsInt(obj1
);
4201 if (PyErr_Occurred()) SWIG_fail
;
4202 arg3
= (int) SWIG_AsInt(obj2
);
4203 if (PyErr_Occurred()) SWIG_fail
;
4205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4207 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4208 result
= (wxRect
*) &_result_ref
;
4211 wxPyEndAllowThreads(__tstate
);
4212 if (PyErr_Occurred()) SWIG_fail
;
4214 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4221 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4222 PyObject
*resultobj
;
4223 wxRect
*arg1
= (wxRect
*) 0 ;
4226 PyObject
* obj0
= 0 ;
4227 PyObject
* obj1
= 0 ;
4228 PyObject
* obj2
= 0 ;
4230 (char *) "self",(char *) "dx",(char *) "dy", NULL
4233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4236 arg2
= (int) SWIG_AsInt(obj1
);
4237 if (PyErr_Occurred()) SWIG_fail
;
4238 arg3
= (int) SWIG_AsInt(obj2
);
4239 if (PyErr_Occurred()) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 (arg1
)->Offset(arg2
,arg3
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 Py_INCREF(Py_None
); resultobj
= Py_None
;
4254 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxRect
*arg1
= (wxRect
*) 0 ;
4259 PyObject
* obj0
= 0 ;
4260 PyObject
* obj1
= 0 ;
4262 (char *) "self",(char *) "pt", NULL
4265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4266 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4267 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4270 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 (arg1
)->Offset((wxPoint
const &)*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 Py_INCREF(Py_None
); resultobj
= Py_None
;
4286 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxRect
*arg1
= (wxRect
*) 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4295 (char *) "self",(char *) "rect", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4303 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4308 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4309 result
= (wxRect
*) &_result_ref
;
4312 wxPyEndAllowThreads(__tstate
);
4313 if (PyErr_Occurred()) SWIG_fail
;
4315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4322 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4323 PyObject
*resultobj
;
4324 wxRect
*arg1
= (wxRect
*) 0 ;
4328 PyObject
* obj0
= 0 ;
4329 PyObject
* obj1
= 0 ;
4331 (char *) "self",(char *) "rect", NULL
4334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4339 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4343 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4350 resultptr
= new wxRect((wxRect
&) result
);
4351 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4359 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4360 PyObject
*resultobj
;
4361 wxRect
*arg1
= (wxRect
*) 0 ;
4365 PyObject
* obj0
= 0 ;
4366 PyObject
* obj1
= 0 ;
4368 (char *) "self",(char *) "rect", NULL
4371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4376 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4381 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4382 result
= (wxRect
*) &_result_ref
;
4385 wxPyEndAllowThreads(__tstate
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4395 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4396 PyObject
*resultobj
;
4397 wxRect
*arg1
= (wxRect
*) 0 ;
4401 PyObject
* obj0
= 0 ;
4402 PyObject
* obj1
= 0 ;
4404 (char *) "self",(char *) "rect", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4412 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4418 wxPyEndAllowThreads(__tstate
);
4419 if (PyErr_Occurred()) SWIG_fail
;
4422 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4430 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4431 PyObject
*resultobj
;
4432 wxRect
*arg1
= (wxRect
*) 0 ;
4436 PyObject
* obj0
= 0 ;
4437 PyObject
* obj1
= 0 ;
4439 (char *) "self",(char *) "rect", NULL
4442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4447 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4451 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4453 wxPyEndAllowThreads(__tstate
);
4454 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4465 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4466 PyObject
*resultobj
;
4467 wxRect
*arg1
= (wxRect
*) 0 ;
4471 PyObject
* obj0
= 0 ;
4472 PyObject
* obj1
= 0 ;
4473 PyObject
* obj2
= 0 ;
4475 (char *) "self",(char *) "x",(char *) "y", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4481 arg2
= (int) SWIG_AsInt(obj1
);
4482 if (PyErr_Occurred()) SWIG_fail
;
4483 arg3
= (int) SWIG_AsInt(obj2
);
4484 if (PyErr_Occurred()) SWIG_fail
;
4486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4487 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4489 wxPyEndAllowThreads(__tstate
);
4490 if (PyErr_Occurred()) SWIG_fail
;
4493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4501 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4502 PyObject
*resultobj
;
4503 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4508 PyObject
* obj1
= 0 ;
4510 (char *) "self",(char *) "pt", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4518 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4522 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4524 wxPyEndAllowThreads(__tstate
);
4525 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4536 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4537 PyObject
*resultobj
;
4538 wxRect
*arg1
= (wxRect
*) 0 ;
4542 PyObject
* obj0
= 0 ;
4543 PyObject
* obj1
= 0 ;
4545 (char *) "self",(char *) "rect", NULL
4548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4553 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4559 wxPyEndAllowThreads(__tstate
);
4560 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4571 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4572 PyObject
*resultobj
;
4573 wxRect
*arg1
= (wxRect
*) 0 ;
4575 PyObject
* obj0
= 0 ;
4576 PyObject
* obj1
= 0 ;
4578 (char *) "self",(char *) "x", NULL
4581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4584 arg2
= (int) SWIG_AsInt(obj1
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4586 if (arg1
) (arg1
)->x
= arg2
;
4588 Py_INCREF(Py_None
); resultobj
= Py_None
;
4595 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4596 PyObject
*resultobj
;
4597 wxRect
*arg1
= (wxRect
*) 0 ;
4599 PyObject
* obj0
= 0 ;
4601 (char *) "self", NULL
4604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4607 result
= (int) ((arg1
)->x
);
4609 resultobj
= SWIG_FromInt((int)result
);
4616 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4617 PyObject
*resultobj
;
4618 wxRect
*arg1
= (wxRect
*) 0 ;
4620 PyObject
* obj0
= 0 ;
4621 PyObject
* obj1
= 0 ;
4623 (char *) "self",(char *) "y", NULL
4626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4629 arg2
= (int) SWIG_AsInt(obj1
);
4630 if (PyErr_Occurred()) SWIG_fail
;
4631 if (arg1
) (arg1
)->y
= arg2
;
4633 Py_INCREF(Py_None
); resultobj
= Py_None
;
4640 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4641 PyObject
*resultobj
;
4642 wxRect
*arg1
= (wxRect
*) 0 ;
4644 PyObject
* obj0
= 0 ;
4646 (char *) "self", NULL
4649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4652 result
= (int) ((arg1
)->y
);
4654 resultobj
= SWIG_FromInt((int)result
);
4661 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4662 PyObject
*resultobj
;
4663 wxRect
*arg1
= (wxRect
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4666 PyObject
* obj1
= 0 ;
4668 (char *) "self",(char *) "width", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4674 arg2
= (int) SWIG_AsInt(obj1
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4676 if (arg1
) (arg1
)->width
= arg2
;
4678 Py_INCREF(Py_None
); resultobj
= Py_None
;
4685 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4686 PyObject
*resultobj
;
4687 wxRect
*arg1
= (wxRect
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4697 result
= (int) ((arg1
)->width
);
4699 resultobj
= SWIG_FromInt((int)result
);
4706 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4707 PyObject
*resultobj
;
4708 wxRect
*arg1
= (wxRect
*) 0 ;
4710 PyObject
* obj0
= 0 ;
4711 PyObject
* obj1
= 0 ;
4713 (char *) "self",(char *) "height", NULL
4716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4719 arg2
= (int) SWIG_AsInt(obj1
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4721 if (arg1
) (arg1
)->height
= arg2
;
4723 Py_INCREF(Py_None
); resultobj
= Py_None
;
4730 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4731 PyObject
*resultobj
;
4732 wxRect
*arg1
= (wxRect
*) 0 ;
4734 PyObject
* obj0
= 0 ;
4736 (char *) "self", NULL
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4742 result
= (int) ((arg1
)->height
);
4744 resultobj
= SWIG_FromInt((int)result
);
4751 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4752 PyObject
*resultobj
;
4753 wxRect
*arg1
= (wxRect
*) 0 ;
4754 int arg2
= (int) 0 ;
4755 int arg3
= (int) 0 ;
4756 int arg4
= (int) 0 ;
4757 int arg5
= (int) 0 ;
4758 PyObject
* obj0
= 0 ;
4759 PyObject
* obj1
= 0 ;
4760 PyObject
* obj2
= 0 ;
4761 PyObject
* obj3
= 0 ;
4762 PyObject
* obj4
= 0 ;
4764 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4771 arg2
= (int) SWIG_AsInt(obj1
);
4772 if (PyErr_Occurred()) SWIG_fail
;
4775 arg3
= (int) SWIG_AsInt(obj2
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4779 arg4
= (int) SWIG_AsInt(obj3
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4783 arg5
= (int) SWIG_AsInt(obj4
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4790 wxPyEndAllowThreads(__tstate
);
4791 if (PyErr_Occurred()) SWIG_fail
;
4793 Py_INCREF(Py_None
); resultobj
= Py_None
;
4800 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4801 PyObject
*resultobj
;
4802 wxRect
*arg1
= (wxRect
*) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 result
= (PyObject
*)wxRect_Get(arg1
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4826 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4828 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4829 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4831 return Py_BuildValue((char *)"");
4833 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4834 PyObject
*resultobj
;
4835 wxRect
*arg1
= (wxRect
*) 0 ;
4836 wxRect
*arg2
= (wxRect
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4839 PyObject
* obj1
= 0 ;
4841 (char *) "r1",(char *) "r2", NULL
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4850 if (!wxPyCheckForApp()) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4864 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 double arg1
= (double) 0.0 ;
4867 double arg2
= (double) 0.0 ;
4869 PyObject
* obj0
= 0 ;
4870 PyObject
* obj1
= 0 ;
4872 (char *) "x",(char *) "y", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4877 arg1
= (double) SWIG_AsDouble(obj0
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4881 arg2
= (double) SWIG_AsDouble(obj1
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4886 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4888 wxPyEndAllowThreads(__tstate
);
4889 if (PyErr_Occurred()) SWIG_fail
;
4891 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4898 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4899 PyObject
*resultobj
;
4900 wxPoint2D
*arg1
= 0 ;
4903 PyObject
* obj0
= 0 ;
4908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4911 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4915 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4917 wxPyEndAllowThreads(__tstate
);
4918 if (PyErr_Occurred()) SWIG_fail
;
4920 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4927 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4928 PyObject
*resultobj
;
4932 PyObject
* obj0
= 0 ;
4937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4940 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4944 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4946 wxPyEndAllowThreads(__tstate
);
4947 if (PyErr_Occurred()) SWIG_fail
;
4949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4956 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4957 PyObject
*resultobj
;
4958 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4959 int *arg2
= (int *) 0 ;
4960 int *arg3
= (int *) 0 ;
4963 PyObject
* obj0
= 0 ;
4965 (char *) "self", NULL
4970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 Py_INCREF(Py_None
); resultobj
= Py_None
;
4982 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4983 resultobj
= t_output_helper(resultobj
,o
);
4986 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4987 resultobj
= t_output_helper(resultobj
,o
);
4995 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4998 int *arg2
= (int *) 0 ;
4999 int *arg3
= (int *) 0 ;
5002 PyObject
* obj0
= 0 ;
5004 (char *) "self", NULL
5009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
5010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 Py_INCREF(Py_None
); resultobj
= Py_None
;
5021 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
5022 resultobj
= t_output_helper(resultobj
,o
);
5025 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
5026 resultobj
= t_output_helper(resultobj
,o
);
5034 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5035 PyObject
*resultobj
;
5036 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5038 PyObject
* obj0
= 0 ;
5040 (char *) "self", NULL
5043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
5044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= SWIG_FromDouble((double)result
);
5060 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5061 PyObject
*resultobj
;
5062 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5064 PyObject
* obj0
= 0 ;
5066 (char *) "self", NULL
5069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
5070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5074 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
5076 wxPyEndAllowThreads(__tstate
);
5077 if (PyErr_Occurred()) SWIG_fail
;
5079 resultobj
= SWIG_FromDouble((double)result
);
5086 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5087 PyObject
*resultobj
;
5088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5093 (char *) "self",(char *) "length", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5099 arg2
= (double) SWIG_AsDouble(obj1
);
5100 if (PyErr_Occurred()) SWIG_fail
;
5102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5103 (arg1
)->SetVectorLength(arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 Py_INCREF(Py_None
); resultobj
= Py_None
;
5115 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5116 PyObject
*resultobj
;
5117 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5119 PyObject
* obj0
= 0 ;
5120 PyObject
* obj1
= 0 ;
5122 (char *) "self",(char *) "degrees", NULL
5125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5128 arg2
= (double) SWIG_AsDouble(obj1
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 (arg1
)->SetVectorAngle(arg2
);
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 Py_INCREF(Py_None
); resultobj
= Py_None
;
5144 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5147 wxPoint2D
*arg2
= 0 ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5153 (char *) "self",(char *) "pt", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5170 resultobj
= SWIG_FromDouble((double)result
);
5177 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5178 PyObject
*resultobj
;
5179 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5180 wxPoint2D
*arg2
= 0 ;
5183 PyObject
* obj0
= 0 ;
5184 PyObject
* obj1
= 0 ;
5186 (char *) "self",(char *) "pt", NULL
5189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5194 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5198 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5200 wxPyEndAllowThreads(__tstate
);
5201 if (PyErr_Occurred()) SWIG_fail
;
5203 resultobj
= SWIG_FromDouble((double)result
);
5210 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5211 PyObject
*resultobj
;
5212 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5213 wxPoint2D
*arg2
= 0 ;
5216 PyObject
* obj0
= 0 ;
5217 PyObject
* obj1
= 0 ;
5219 (char *) "self",(char *) "vec", NULL
5222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5227 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5231 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5233 wxPyEndAllowThreads(__tstate
);
5234 if (PyErr_Occurred()) SWIG_fail
;
5236 resultobj
= SWIG_FromDouble((double)result
);
5243 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5244 PyObject
*resultobj
;
5245 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5246 wxPoint2D
*arg2
= 0 ;
5249 PyObject
* obj0
= 0 ;
5250 PyObject
* obj1
= 0 ;
5252 (char *) "self",(char *) "vec", NULL
5255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5260 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5264 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5266 wxPyEndAllowThreads(__tstate
);
5267 if (PyErr_Occurred()) SWIG_fail
;
5269 resultobj
= SWIG_FromDouble((double)result
);
5276 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5277 PyObject
*resultobj
;
5278 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5280 PyObject
* obj0
= 0 ;
5282 (char *) "self", NULL
5285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5290 result
= (arg1
)->operator -();
5292 wxPyEndAllowThreads(__tstate
);
5293 if (PyErr_Occurred()) SWIG_fail
;
5296 wxPoint2D
* resultptr
;
5297 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5298 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5306 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5307 PyObject
*resultobj
;
5308 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5309 wxPoint2D
*arg2
= 0 ;
5312 PyObject
* obj0
= 0 ;
5313 PyObject
* obj1
= 0 ;
5315 (char *) "self",(char *) "pt", NULL
5318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5323 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5328 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5329 result
= (wxPoint2D
*) &_result_ref
;
5332 wxPyEndAllowThreads(__tstate
);
5333 if (PyErr_Occurred()) SWIG_fail
;
5335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5342 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5345 wxPoint2D
*arg2
= 0 ;
5348 PyObject
* obj0
= 0 ;
5349 PyObject
* obj1
= 0 ;
5351 (char *) "self",(char *) "pt", NULL
5354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5359 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5365 result
= (wxPoint2D
*) &_result_ref
;
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5378 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5379 PyObject
*resultobj
;
5380 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5381 wxPoint2D
*arg2
= 0 ;
5384 PyObject
* obj0
= 0 ;
5385 PyObject
* obj1
= 0 ;
5387 (char *) "self",(char *) "pt", NULL
5390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5395 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5400 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5401 result
= (wxPoint2D
*) &_result_ref
;
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5414 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5417 wxPoint2D
*arg2
= 0 ;
5420 PyObject
* obj0
= 0 ;
5421 PyObject
* obj1
= 0 ;
5423 (char *) "self",(char *) "pt", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5431 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5437 result
= (wxPoint2D
*) &_result_ref
;
5440 wxPyEndAllowThreads(__tstate
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5450 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5451 PyObject
*resultobj
;
5452 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5453 wxPoint2D
*arg2
= 0 ;
5456 PyObject
* obj0
= 0 ;
5457 PyObject
* obj1
= 0 ;
5459 (char *) "self",(char *) "pt", NULL
5462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5467 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5471 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5473 wxPyEndAllowThreads(__tstate
);
5474 if (PyErr_Occurred()) SWIG_fail
;
5477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5485 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5488 wxPoint2D
*arg2
= 0 ;
5491 PyObject
* obj0
= 0 ;
5492 PyObject
* obj1
= 0 ;
5494 (char *) "self",(char *) "pt", NULL
5497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5502 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5506 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5508 wxPyEndAllowThreads(__tstate
);
5509 if (PyErr_Occurred()) SWIG_fail
;
5512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5520 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5521 PyObject
*resultobj
;
5522 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5524 PyObject
* obj0
= 0 ;
5525 PyObject
* obj1
= 0 ;
5527 (char *) "self",(char *) "m_x", NULL
5530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (double) SWIG_AsDouble(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5535 if (arg1
) (arg1
)->m_x
= arg2
;
5537 Py_INCREF(Py_None
); resultobj
= Py_None
;
5544 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
;
5546 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5548 PyObject
* obj0
= 0 ;
5550 (char *) "self", NULL
5553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5556 result
= (double) ((arg1
)->m_x
);
5558 resultobj
= SWIG_FromDouble((double)result
);
5565 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5566 PyObject
*resultobj
;
5567 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5569 PyObject
* obj0
= 0 ;
5570 PyObject
* obj1
= 0 ;
5572 (char *) "self",(char *) "m_y", NULL
5575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5578 arg2
= (double) SWIG_AsDouble(obj1
);
5579 if (PyErr_Occurred()) SWIG_fail
;
5580 if (arg1
) (arg1
)->m_y
= arg2
;
5582 Py_INCREF(Py_None
); resultobj
= Py_None
;
5589 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5590 PyObject
*resultobj
;
5591 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5593 PyObject
* obj0
= 0 ;
5595 (char *) "self", NULL
5598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5601 result
= (double) ((arg1
)->m_y
);
5603 resultobj
= SWIG_FromDouble((double)result
);
5610 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5611 PyObject
*resultobj
;
5612 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5613 double arg2
= (double) 0 ;
5614 double arg3
= (double) 0 ;
5615 PyObject
* obj0
= 0 ;
5616 PyObject
* obj1
= 0 ;
5617 PyObject
* obj2
= 0 ;
5619 (char *) "self",(char *) "x",(char *) "y", NULL
5622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5626 arg2
= (double) SWIG_AsDouble(obj1
);
5627 if (PyErr_Occurred()) SWIG_fail
;
5630 arg3
= (double) SWIG_AsDouble(obj2
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5635 wxPoint2D_Set(arg1
,arg2
,arg3
);
5637 wxPyEndAllowThreads(__tstate
);
5638 if (PyErr_Occurred()) SWIG_fail
;
5640 Py_INCREF(Py_None
); resultobj
= Py_None
;
5647 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5648 PyObject
*resultobj
;
5649 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5651 PyObject
* obj0
= 0 ;
5653 (char *) "self", NULL
5656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5661 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5663 wxPyEndAllowThreads(__tstate
);
5664 if (PyErr_Occurred()) SWIG_fail
;
5673 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5675 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5676 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5678 return Py_BuildValue((char *)"");
5680 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5681 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5686 static PyObject
*_wrap_DefaultPosition_get() {
5689 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5694 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5695 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5700 static PyObject
*_wrap_DefaultSize_get() {
5703 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5708 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5709 PyObject
*resultobj
;
5710 PyObject
*arg1
= (PyObject
*) 0 ;
5711 wxPyInputStream
*result
;
5712 PyObject
* obj0
= 0 ;
5717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5721 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5723 wxPyEndAllowThreads(__tstate
);
5724 if (PyErr_Occurred()) SWIG_fail
;
5726 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5733 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5734 PyObject
*resultobj
;
5735 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5736 PyObject
* obj0
= 0 ;
5738 (char *) "self", NULL
5741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5748 wxPyEndAllowThreads(__tstate
);
5749 if (PyErr_Occurred()) SWIG_fail
;
5751 Py_INCREF(Py_None
); resultobj
= Py_None
;
5758 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5761 PyObject
* obj0
= 0 ;
5763 (char *) "self", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5773 wxPyEndAllowThreads(__tstate
);
5774 if (PyErr_Occurred()) SWIG_fail
;
5776 Py_INCREF(Py_None
); resultobj
= Py_None
;
5783 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5784 PyObject
*resultobj
;
5785 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5787 PyObject
* obj0
= 0 ;
5789 (char *) "self", NULL
5792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5797 result
= (bool)(arg1
)->eof();
5799 wxPyEndAllowThreads(__tstate
);
5800 if (PyErr_Occurred()) SWIG_fail
;
5803 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5811 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5812 PyObject
*resultobj
;
5813 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5814 int arg2
= (int) -1 ;
5816 PyObject
* obj0
= 0 ;
5817 PyObject
* obj1
= 0 ;
5819 (char *) "self",(char *) "size", NULL
5822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5826 arg2
= (int) SWIG_AsInt(obj1
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5831 result
= (PyObject
*)(arg1
)->read(arg2
);
5833 wxPyEndAllowThreads(__tstate
);
5834 if (PyErr_Occurred()) SWIG_fail
;
5843 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5844 PyObject
*resultobj
;
5845 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5846 int arg2
= (int) -1 ;
5848 PyObject
* obj0
= 0 ;
5849 PyObject
* obj1
= 0 ;
5851 (char *) "self",(char *) "size", NULL
5854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5858 arg2
= (int) SWIG_AsInt(obj1
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (PyObject
*)(arg1
)->readline(arg2
);
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5875 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5878 int arg2
= (int) -1 ;
5880 PyObject
* obj0
= 0 ;
5881 PyObject
* obj1
= 0 ;
5883 (char *) "self",(char *) "sizehint", NULL
5886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5890 arg2
= (int) SWIG_AsInt(obj1
);
5891 if (PyErr_Occurred()) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5907 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5911 int arg3
= (int) 0 ;
5912 PyObject
* obj0
= 0 ;
5913 PyObject
* obj1
= 0 ;
5914 PyObject
* obj2
= 0 ;
5916 (char *) "self",(char *) "offset",(char *) "whence", NULL
5919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5922 arg2
= (int) SWIG_AsInt(obj1
);
5923 if (PyErr_Occurred()) SWIG_fail
;
5925 arg3
= (int) SWIG_AsInt(obj2
);
5926 if (PyErr_Occurred()) SWIG_fail
;
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 (arg1
)->seek(arg2
,arg3
);
5932 wxPyEndAllowThreads(__tstate
);
5933 if (PyErr_Occurred()) SWIG_fail
;
5935 Py_INCREF(Py_None
); resultobj
= Py_None
;
5942 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5943 PyObject
*resultobj
;
5944 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5946 PyObject
* obj0
= 0 ;
5948 (char *) "self", NULL
5951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5956 result
= (int)(arg1
)->tell();
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_FromInt((int)result
);
5968 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5969 PyObject
*resultobj
;
5970 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5972 PyObject
* obj0
= 0 ;
5974 (char *) "self", NULL
5977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5982 result
= (char)(arg1
)->Peek();
5984 wxPyEndAllowThreads(__tstate
);
5985 if (PyErr_Occurred()) SWIG_fail
;
5987 resultobj
= SWIG_FromChar((char)result
);
5994 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5995 PyObject
*resultobj
;
5996 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5998 PyObject
* obj0
= 0 ;
6000 (char *) "self", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6008 result
= (char)(arg1
)->GetC();
6010 wxPyEndAllowThreads(__tstate
);
6011 if (PyErr_Occurred()) SWIG_fail
;
6013 resultobj
= SWIG_FromChar((char)result
);
6020 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6021 PyObject
*resultobj
;
6022 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6024 PyObject
* obj0
= 0 ;
6026 (char *) "self", NULL
6029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
6030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6034 result
= (size_t)(arg1
)->LastRead();
6036 wxPyEndAllowThreads(__tstate
);
6037 if (PyErr_Occurred()) SWIG_fail
;
6039 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
6046 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6047 PyObject
*resultobj
;
6048 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6050 PyObject
* obj0
= 0 ;
6052 (char *) "self", NULL
6055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
6056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6060 result
= (bool)(arg1
)->CanRead();
6062 wxPyEndAllowThreads(__tstate
);
6063 if (PyErr_Occurred()) SWIG_fail
;
6066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6074 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6075 PyObject
*resultobj
;
6076 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6078 PyObject
* obj0
= 0 ;
6080 (char *) "self", NULL
6083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
6084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (bool)(arg1
)->Eof();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6094 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6102 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6108 PyObject
* obj1
= 0 ;
6110 (char *) "self",(char *) "c", NULL
6113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6116 arg2
= (char) SWIG_AsChar(obj1
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6120 result
= (bool)(arg1
)->Ungetch(arg2
);
6122 wxPyEndAllowThreads(__tstate
);
6123 if (PyErr_Occurred()) SWIG_fail
;
6126 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6134 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6135 PyObject
*resultobj
;
6136 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6138 int arg3
= (int) wxFromStart
;
6140 PyObject
* obj0
= 0 ;
6141 PyObject
* obj1
= 0 ;
6142 PyObject
* obj2
= 0 ;
6144 (char *) "self",(char *) "pos",(char *) "mode", NULL
6147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6150 arg2
= (long) SWIG_AsLong(obj1
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6160 wxPyEndAllowThreads(__tstate
);
6161 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= SWIG_FromLong((long)result
);
6170 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6171 PyObject
*resultobj
;
6172 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6174 PyObject
* obj0
= 0 ;
6176 (char *) "self", NULL
6179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6184 result
= (long)(arg1
)->TellI();
6186 wxPyEndAllowThreads(__tstate
);
6187 if (PyErr_Occurred()) SWIG_fail
;
6189 resultobj
= SWIG_FromLong((long)result
);
6196 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6199 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6201 return Py_BuildValue((char *)"");
6203 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6206 PyObject
*arg2
= (PyObject
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6208 PyObject
* obj1
= 0 ;
6210 (char *) "self",(char *) "obj", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6219 wxOutputStream_write(arg1
,arg2
);
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6224 Py_INCREF(Py_None
); resultobj
= Py_None
;
6231 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6233 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6234 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6236 return Py_BuildValue((char *)"");
6238 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6239 PyObject
*resultobj
;
6240 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6241 wxString
*arg2
= 0 ;
6242 wxString
*arg3
= 0 ;
6243 wxString
*arg4
= 0 ;
6246 wxPyInputStream
*temp1
;
6248 bool temp2
= False
;
6249 bool temp3
= False
;
6250 bool temp4
= False
;
6252 PyObject
* obj0
= 0 ;
6253 PyObject
* obj1
= 0 ;
6254 PyObject
* obj2
= 0 ;
6255 PyObject
* obj3
= 0 ;
6256 PyObject
* obj4
= 0 ;
6258 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6263 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6264 arg1
= temp1
->m_wxis
;
6267 PyErr_Clear(); // clear the failure of the wxPyConvert above
6268 arg1
= wxPyCBInputStream_create(obj0
, False
);
6270 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6277 arg2
= wxString_in_helper(obj1
);
6278 if (arg2
== NULL
) SWIG_fail
;
6282 arg3
= wxString_in_helper(obj2
);
6283 if (arg3
== NULL
) SWIG_fail
;
6287 arg4
= wxString_in_helper(obj3
);
6288 if (arg4
== NULL
) SWIG_fail
;
6291 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6292 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6296 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6298 wxPyEndAllowThreads(__tstate
);
6299 if (PyErr_Occurred()) SWIG_fail
;
6302 resultobj
= wxPyMake_wxObject(result
, 1);
6342 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6345 PyObject
* obj0
= 0 ;
6347 (char *) "self", NULL
6350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 wxPyEndAllowThreads(__tstate
);
6358 if (PyErr_Occurred()) SWIG_fail
;
6360 Py_INCREF(Py_None
); resultobj
= Py_None
;
6367 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6368 PyObject
*resultobj
;
6369 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6370 wxInputStream
*result
;
6371 PyObject
* obj0
= 0 ;
6373 (char *) "self", NULL
6376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6381 result
= (wxInputStream
*)(arg1
)->GetStream();
6383 wxPyEndAllowThreads(__tstate
);
6384 if (PyErr_Occurred()) SWIG_fail
;
6387 wxPyInputStream
* _ptr
= NULL
;
6390 _ptr
= new wxPyInputStream(result
);
6392 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6400 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6401 PyObject
*resultobj
;
6402 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6404 PyObject
* obj0
= 0 ;
6406 (char *) "self", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6415 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6416 result
= (wxString
*) &_result_ref
;
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6424 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6426 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6435 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6436 PyObject
*resultobj
;
6437 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6439 PyObject
* obj0
= 0 ;
6441 (char *) "self", NULL
6444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6450 wxString
const &_result_ref
= (arg1
)->GetLocation();
6451 result
= (wxString
*) &_result_ref
;
6454 wxPyEndAllowThreads(__tstate
);
6455 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6461 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6470 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6471 PyObject
*resultobj
;
6472 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6474 PyObject
* obj0
= 0 ;
6476 (char *) "self", NULL
6479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6485 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6486 result
= (wxString
*) &_result_ref
;
6489 wxPyEndAllowThreads(__tstate
);
6490 if (PyErr_Occurred()) SWIG_fail
;
6494 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6496 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6505 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6506 PyObject
*resultobj
;
6507 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6509 PyObject
* obj0
= 0 ;
6511 (char *) "self", NULL
6514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6519 result
= (arg1
)->GetModificationTime();
6521 wxPyEndAllowThreads(__tstate
);
6522 if (PyErr_Occurred()) SWIG_fail
;
6525 wxDateTime
* resultptr
;
6526 resultptr
= new wxDateTime((wxDateTime
&) result
);
6527 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6535 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6538 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6540 return Py_BuildValue((char *)"");
6542 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6545 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6547 return Py_BuildValue((char *)"");
6549 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6550 PyObject
*resultobj
;
6551 wxPyFileSystemHandler
*result
;
6556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6559 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6561 wxPyEndAllowThreads(__tstate
);
6562 if (PyErr_Occurred()) SWIG_fail
;
6564 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6571 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6574 PyObject
*arg2
= (PyObject
*) 0 ;
6575 PyObject
*arg3
= (PyObject
*) 0 ;
6576 PyObject
* obj0
= 0 ;
6577 PyObject
* obj1
= 0 ;
6578 PyObject
* obj2
= 0 ;
6580 (char *) "self",(char *) "self",(char *) "_class", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6590 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6592 wxPyEndAllowThreads(__tstate
);
6593 if (PyErr_Occurred()) SWIG_fail
;
6595 Py_INCREF(Py_None
); resultobj
= Py_None
;
6602 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6603 PyObject
*resultobj
;
6604 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6605 wxString
*arg2
= 0 ;
6607 bool temp2
= False
;
6608 PyObject
* obj0
= 0 ;
6609 PyObject
* obj1
= 0 ;
6611 (char *) "self",(char *) "location", NULL
6614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6618 arg2
= wxString_in_helper(obj1
);
6619 if (arg2
== NULL
) SWIG_fail
;
6623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6624 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6626 wxPyEndAllowThreads(__tstate
);
6627 if (PyErr_Occurred()) SWIG_fail
;
6630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6646 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6647 PyObject
*resultobj
;
6648 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6649 wxFileSystem
*arg2
= 0 ;
6650 wxString
*arg3
= 0 ;
6652 bool temp3
= False
;
6653 PyObject
* obj0
= 0 ;
6654 PyObject
* obj1
= 0 ;
6655 PyObject
* obj2
= 0 ;
6657 (char *) "self",(char *) "fs",(char *) "location", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6663 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6664 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6667 PyErr_SetString(PyExc_TypeError
,"null reference");
6671 arg3
= wxString_in_helper(obj2
);
6672 if (arg3
== NULL
) SWIG_fail
;
6676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6677 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6679 wxPyEndAllowThreads(__tstate
);
6680 if (PyErr_Occurred()) SWIG_fail
;
6683 resultobj
= wxPyMake_wxObject(result
, 0);
6699 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6700 PyObject
*resultobj
;
6701 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6702 wxString
*arg2
= 0 ;
6703 int arg3
= (int) 0 ;
6705 bool temp2
= False
;
6706 PyObject
* obj0
= 0 ;
6707 PyObject
* obj1
= 0 ;
6708 PyObject
* obj2
= 0 ;
6710 (char *) "self",(char *) "spec",(char *) "flags", NULL
6713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6717 arg2
= wxString_in_helper(obj1
);
6718 if (arg2
== NULL
) SWIG_fail
;
6722 arg3
= (int) SWIG_AsInt(obj2
);
6723 if (PyErr_Occurred()) SWIG_fail
;
6726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6727 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6753 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6754 PyObject
*resultobj
;
6755 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6757 PyObject
* obj0
= 0 ;
6759 (char *) "self", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (arg1
)->FindNext();
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6785 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
;
6787 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6788 wxString
*arg2
= 0 ;
6790 bool temp2
= False
;
6791 PyObject
* obj0
= 0 ;
6792 PyObject
* obj1
= 0 ;
6794 (char *) "self",(char *) "location", NULL
6797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6801 arg2
= wxString_in_helper(obj1
);
6802 if (arg2
== NULL
) SWIG_fail
;
6806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6807 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6814 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6816 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6833 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6834 PyObject
*resultobj
;
6835 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6836 wxString
*arg2
= 0 ;
6838 bool temp2
= False
;
6839 PyObject
* obj0
= 0 ;
6840 PyObject
* obj1
= 0 ;
6842 (char *) "self",(char *) "location", NULL
6845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6849 arg2
= wxString_in_helper(obj1
);
6850 if (arg2
== NULL
) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6855 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6881 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6882 PyObject
*resultobj
;
6883 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6884 wxString
*arg2
= 0 ;
6886 bool temp2
= False
;
6887 PyObject
* obj0
= 0 ;
6888 PyObject
* obj1
= 0 ;
6890 (char *) "self",(char *) "location", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6897 arg2
= wxString_in_helper(obj1
);
6898 if (arg2
== NULL
) SWIG_fail
;
6902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6903 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6905 wxPyEndAllowThreads(__tstate
);
6906 if (PyErr_Occurred()) SWIG_fail
;
6910 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6912 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6929 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6930 PyObject
*resultobj
;
6931 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6932 wxString
*arg2
= 0 ;
6934 bool temp2
= False
;
6935 PyObject
* obj0
= 0 ;
6936 PyObject
* obj1
= 0 ;
6938 (char *) "self",(char *) "location", NULL
6941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6945 arg2
= wxString_in_helper(obj1
);
6946 if (arg2
== NULL
) SWIG_fail
;
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6953 wxPyEndAllowThreads(__tstate
);
6954 if (PyErr_Occurred()) SWIG_fail
;
6958 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6960 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6977 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6978 PyObject
*resultobj
;
6979 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6980 wxString
*arg2
= 0 ;
6982 bool temp2
= False
;
6983 PyObject
* obj0
= 0 ;
6984 PyObject
* obj1
= 0 ;
6986 (char *) "self",(char *) "location", NULL
6989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6993 arg2
= wxString_in_helper(obj1
);
6994 if (arg2
== NULL
) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7008 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7025 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7028 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
7030 return Py_BuildValue((char *)"");
7032 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7033 PyObject
*resultobj
;
7034 wxFileSystem
*result
;
7039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
7041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7042 result
= (wxFileSystem
*)new wxFileSystem();
7044 wxPyEndAllowThreads(__tstate
);
7045 if (PyErr_Occurred()) SWIG_fail
;
7048 resultobj
= wxPyMake_wxObject(result
, 1);
7056 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7057 PyObject
*resultobj
;
7058 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 wxPyEndAllowThreads(__tstate
);
7072 if (PyErr_Occurred()) SWIG_fail
;
7074 Py_INCREF(Py_None
); resultobj
= Py_None
;
7081 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7084 wxString
*arg2
= 0 ;
7085 bool arg3
= (bool) False
;
7086 bool temp2
= False
;
7087 PyObject
* obj0
= 0 ;
7088 PyObject
* obj1
= 0 ;
7089 PyObject
* obj2
= 0 ;
7091 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7098 arg2
= wxString_in_helper(obj1
);
7099 if (arg2
== NULL
) SWIG_fail
;
7103 arg3
= (bool) SWIG_AsBool(obj2
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7108 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7110 wxPyEndAllowThreads(__tstate
);
7111 if (PyErr_Occurred()) SWIG_fail
;
7113 Py_INCREF(Py_None
); resultobj
= Py_None
;
7128 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7129 PyObject
*resultobj
;
7130 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7132 PyObject
* obj0
= 0 ;
7134 (char *) "self", NULL
7137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= (arg1
)->GetPath();
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7160 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7161 PyObject
*resultobj
;
7162 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7163 wxString
*arg2
= 0 ;
7165 bool temp2
= False
;
7166 PyObject
* obj0
= 0 ;
7167 PyObject
* obj1
= 0 ;
7169 (char *) "self",(char *) "location", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7176 arg2
= wxString_in_helper(obj1
);
7177 if (arg2
== NULL
) SWIG_fail
;
7181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7182 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7184 wxPyEndAllowThreads(__tstate
);
7185 if (PyErr_Occurred()) SWIG_fail
;
7188 resultobj
= wxPyMake_wxObject(result
, 0);
7204 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7205 PyObject
*resultobj
;
7206 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7207 wxString
*arg2
= 0 ;
7208 int arg3
= (int) 0 ;
7210 bool temp2
= False
;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7215 (char *) "self",(char *) "spec",(char *) "flags", NULL
7218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7222 arg2
= wxString_in_helper(obj1
);
7223 if (arg2
== NULL
) SWIG_fail
;
7227 arg3
= (int) SWIG_AsInt(obj2
);
7228 if (PyErr_Occurred()) SWIG_fail
;
7231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7232 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7234 wxPyEndAllowThreads(__tstate
);
7235 if (PyErr_Occurred()) SWIG_fail
;
7239 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7241 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7258 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7259 PyObject
*resultobj
;
7260 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7262 PyObject
* obj0
= 0 ;
7264 (char *) "self", NULL
7267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7272 result
= (arg1
)->FindNext();
7274 wxPyEndAllowThreads(__tstate
);
7275 if (PyErr_Occurred()) SWIG_fail
;
7279 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7281 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7290 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7291 PyObject
*resultobj
;
7292 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7293 PyObject
* obj0
= 0 ;
7295 (char *) "handler", NULL
7298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 wxFileSystem::AddHandler(arg1
);
7305 wxPyEndAllowThreads(__tstate
);
7306 if (PyErr_Occurred()) SWIG_fail
;
7308 Py_INCREF(Py_None
); resultobj
= Py_None
;
7315 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7316 PyObject
*resultobj
;
7321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7324 wxFileSystem::CleanUpHandlers();
7326 wxPyEndAllowThreads(__tstate
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7329 Py_INCREF(Py_None
); resultobj
= Py_None
;
7336 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7337 PyObject
*resultobj
;
7338 wxString
*arg1
= 0 ;
7340 bool temp1
= False
;
7341 PyObject
* obj0
= 0 ;
7343 (char *) "filename", NULL
7346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7348 arg1
= wxString_in_helper(obj0
);
7349 if (arg1
== NULL
) SWIG_fail
;
7353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7354 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7356 wxPyEndAllowThreads(__tstate
);
7357 if (PyErr_Occurred()) SWIG_fail
;
7361 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7363 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7380 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7383 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7385 return Py_BuildValue((char *)"");
7387 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 wxString
*arg1
= 0 ;
7391 bool temp1
= False
;
7392 PyObject
* obj0
= 0 ;
7394 (char *) "url", NULL
7397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7399 arg1
= wxString_in_helper(obj0
);
7400 if (arg1
== NULL
) SWIG_fail
;
7404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7405 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7407 wxPyEndAllowThreads(__tstate
);
7408 if (PyErr_Occurred()) SWIG_fail
;
7412 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7414 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7431 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7432 PyObject
*resultobj
;
7433 wxInternetFSHandler
*result
;
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7441 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7443 wxPyEndAllowThreads(__tstate
);
7444 if (PyErr_Occurred()) SWIG_fail
;
7446 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7453 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7454 PyObject
*resultobj
;
7455 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7456 wxString
*arg2
= 0 ;
7458 bool temp2
= False
;
7459 PyObject
* obj0
= 0 ;
7460 PyObject
* obj1
= 0 ;
7462 (char *) "self",(char *) "location", NULL
7465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7469 arg2
= wxString_in_helper(obj1
);
7470 if (arg2
== NULL
) SWIG_fail
;
7474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7475 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7477 wxPyEndAllowThreads(__tstate
);
7478 if (PyErr_Occurred()) SWIG_fail
;
7481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7497 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7498 PyObject
*resultobj
;
7499 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7500 wxFileSystem
*arg2
= 0 ;
7501 wxString
*arg3
= 0 ;
7503 bool temp3
= False
;
7504 PyObject
* obj0
= 0 ;
7505 PyObject
* obj1
= 0 ;
7506 PyObject
* obj2
= 0 ;
7508 (char *) "self",(char *) "fs",(char *) "location", NULL
7511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7515 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7518 PyErr_SetString(PyExc_TypeError
,"null reference");
7522 arg3
= wxString_in_helper(obj2
);
7523 if (arg3
== NULL
) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7534 resultobj
= wxPyMake_wxObject(result
, 0);
7550 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7553 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7555 return Py_BuildValue((char *)"");
7557 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxZipFSHandler
*result
;
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7567 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7569 wxPyEndAllowThreads(__tstate
);
7570 if (PyErr_Occurred()) SWIG_fail
;
7572 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7579 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7580 PyObject
*resultobj
;
7581 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7582 wxString
*arg2
= 0 ;
7584 bool temp2
= False
;
7585 PyObject
* obj0
= 0 ;
7586 PyObject
* obj1
= 0 ;
7588 (char *) "self",(char *) "location", NULL
7591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7595 arg2
= wxString_in_helper(obj1
);
7596 if (arg2
== NULL
) SWIG_fail
;
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7623 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
;
7625 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7626 wxFileSystem
*arg2
= 0 ;
7627 wxString
*arg3
= 0 ;
7629 bool temp3
= False
;
7630 PyObject
* obj0
= 0 ;
7631 PyObject
* obj1
= 0 ;
7632 PyObject
* obj2
= 0 ;
7634 (char *) "self",(char *) "fs",(char *) "location", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7641 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7644 PyErr_SetString(PyExc_TypeError
,"null reference");
7648 arg3
= wxString_in_helper(obj2
);
7649 if (arg3
== NULL
) SWIG_fail
;
7653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7654 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7656 wxPyEndAllowThreads(__tstate
);
7657 if (PyErr_Occurred()) SWIG_fail
;
7660 resultobj
= wxPyMake_wxObject(result
, 0);
7676 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7679 wxString
*arg2
= 0 ;
7680 int arg3
= (int) 0 ;
7682 bool temp2
= False
;
7683 PyObject
* obj0
= 0 ;
7684 PyObject
* obj1
= 0 ;
7685 PyObject
* obj2
= 0 ;
7687 (char *) "self",(char *) "spec",(char *) "flags", NULL
7690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7694 arg2
= wxString_in_helper(obj1
);
7695 if (arg2
== NULL
) SWIG_fail
;
7699 arg3
= (int) SWIG_AsInt(obj2
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7704 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7706 wxPyEndAllowThreads(__tstate
);
7707 if (PyErr_Occurred()) SWIG_fail
;
7711 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7713 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7730 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7731 PyObject
*resultobj
;
7732 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7734 PyObject
* obj0
= 0 ;
7736 (char *) "self", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (arg1
)->FindNext();
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7762 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7765 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7767 return Py_BuildValue((char *)"");
7769 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7770 PyObject
*resultobj
;
7771 wxString
*arg1
= 0 ;
7774 bool temp1
= False
;
7775 PyObject
* obj0
= 0 ;
7776 PyObject
* obj1
= 0 ;
7777 PyObject
* obj2
= 0 ;
7779 (char *) "filename",(char *) "image",(char *) "type", NULL
7782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7784 arg1
= wxString_in_helper(obj0
);
7785 if (arg1
== NULL
) SWIG_fail
;
7788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7789 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7792 PyErr_SetString(PyExc_TypeError
,"null reference");
7795 arg3
= (long) SWIG_AsLong(obj2
);
7796 if (PyErr_Occurred()) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 Py_INCREF(Py_None
); resultobj
= Py_None
;
7819 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7820 PyObject
*resultobj
;
7821 wxString
*arg1
= 0 ;
7822 wxBitmap
*arg2
= 0 ;
7824 bool temp1
= False
;
7825 PyObject
* obj0
= 0 ;
7826 PyObject
* obj1
= 0 ;
7827 PyObject
* obj2
= 0 ;
7829 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7834 arg1
= wxString_in_helper(obj0
);
7835 if (arg1
== NULL
) SWIG_fail
;
7838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7839 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7842 PyErr_SetString(PyExc_TypeError
,"null reference");
7845 arg3
= (long) SWIG_AsLong(obj2
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7869 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7870 PyObject
*resultobj
;
7871 wxString
*arg1
= 0 ;
7872 PyObject
*arg2
= (PyObject
*) 0 ;
7873 bool temp1
= False
;
7874 PyObject
* obj0
= 0 ;
7875 PyObject
* obj1
= 0 ;
7877 (char *) "filename",(char *) "data", NULL
7880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7882 arg1
= wxString_in_helper(obj0
);
7883 if (arg1
== NULL
) SWIG_fail
;
7888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7889 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7891 wxPyEndAllowThreads(__tstate
);
7892 if (PyErr_Occurred()) SWIG_fail
;
7894 Py_INCREF(Py_None
); resultobj
= Py_None
;
7909 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7910 PyObject
*resultobj
;
7911 wxMemoryFSHandler
*result
;
7916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7919 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7921 wxPyEndAllowThreads(__tstate
);
7922 if (PyErr_Occurred()) SWIG_fail
;
7924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7931 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7932 PyObject
*resultobj
;
7933 wxString
*arg1
= 0 ;
7934 bool temp1
= False
;
7935 PyObject
* obj0
= 0 ;
7937 (char *) "filename", NULL
7940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7942 arg1
= wxString_in_helper(obj0
);
7943 if (arg1
== NULL
) SWIG_fail
;
7947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7948 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 Py_INCREF(Py_None
); resultobj
= Py_None
;
7968 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7969 PyObject
*resultobj
;
7970 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7971 wxString
*arg2
= 0 ;
7973 bool temp2
= False
;
7974 PyObject
* obj0
= 0 ;
7975 PyObject
* obj1
= 0 ;
7977 (char *) "self",(char *) "location", NULL
7980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7984 arg2
= wxString_in_helper(obj1
);
7985 if (arg2
== NULL
) SWIG_fail
;
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7992 wxPyEndAllowThreads(__tstate
);
7993 if (PyErr_Occurred()) SWIG_fail
;
7996 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8012 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8013 PyObject
*resultobj
;
8014 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8015 wxFileSystem
*arg2
= 0 ;
8016 wxString
*arg3
= 0 ;
8018 bool temp3
= False
;
8019 PyObject
* obj0
= 0 ;
8020 PyObject
* obj1
= 0 ;
8021 PyObject
* obj2
= 0 ;
8023 (char *) "self",(char *) "fs",(char *) "location", NULL
8026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8029 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
8030 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8033 PyErr_SetString(PyExc_TypeError
,"null reference");
8037 arg3
= wxString_in_helper(obj2
);
8038 if (arg3
== NULL
) SWIG_fail
;
8042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8043 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
8045 wxPyEndAllowThreads(__tstate
);
8046 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= wxPyMake_wxObject(result
, 0);
8065 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8068 wxString
*arg2
= 0 ;
8069 int arg3
= (int) 0 ;
8071 bool temp2
= False
;
8072 PyObject
* obj0
= 0 ;
8073 PyObject
* obj1
= 0 ;
8074 PyObject
* obj2
= 0 ;
8076 (char *) "self",(char *) "spec",(char *) "flags", NULL
8079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8083 arg2
= wxString_in_helper(obj1
);
8084 if (arg2
== NULL
) SWIG_fail
;
8088 arg3
= (int) SWIG_AsInt(obj2
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8093 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8095 wxPyEndAllowThreads(__tstate
);
8096 if (PyErr_Occurred()) SWIG_fail
;
8100 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8102 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8119 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8120 PyObject
*resultobj
;
8121 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8123 PyObject
* obj0
= 0 ;
8125 (char *) "self", NULL
8128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8133 result
= (arg1
)->FindNext();
8135 wxPyEndAllowThreads(__tstate
);
8136 if (PyErr_Occurred()) SWIG_fail
;
8140 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8142 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8151 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8154 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8156 return Py_BuildValue((char *)"");
8158 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8159 PyObject
*resultobj
;
8160 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8162 PyObject
* obj0
= 0 ;
8164 (char *) "self", NULL
8167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8168 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8169 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8172 result
= (arg1
)->GetName();
8174 wxPyEndAllowThreads(__tstate
);
8175 if (PyErr_Occurred()) SWIG_fail
;
8179 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8181 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8190 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8191 PyObject
*resultobj
;
8192 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8194 PyObject
* obj0
= 0 ;
8196 (char *) "self", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8204 result
= (arg1
)->GetExtension();
8206 wxPyEndAllowThreads(__tstate
);
8207 if (PyErr_Occurred()) SWIG_fail
;
8211 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8213 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8222 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8223 PyObject
*resultobj
;
8224 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8228 (char *) "self", NULL
8231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 result
= (long)(arg1
)->GetType();
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 resultobj
= SWIG_FromLong((long)result
);
8248 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8249 PyObject
*resultobj
;
8250 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8252 PyObject
* obj0
= 0 ;
8254 (char *) "self", NULL
8257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8262 result
= (arg1
)->GetMimeType();
8264 wxPyEndAllowThreads(__tstate
);
8265 if (PyErr_Occurred()) SWIG_fail
;
8269 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8271 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8280 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8281 PyObject
*resultobj
;
8282 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8283 wxString
*arg2
= 0 ;
8285 bool temp2
= False
;
8286 PyObject
* obj0
= 0 ;
8287 PyObject
* obj1
= 0 ;
8289 (char *) "self",(char *) "name", NULL
8292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8296 arg2
= wxString_in_helper(obj1
);
8297 if (arg2
== NULL
) SWIG_fail
;
8301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8302 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8304 wxPyEndAllowThreads(__tstate
);
8305 if (PyErr_Occurred()) SWIG_fail
;
8308 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8324 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8325 PyObject
*resultobj
;
8326 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8327 wxString
*arg2
= 0 ;
8328 bool temp2
= False
;
8329 PyObject
* obj0
= 0 ;
8330 PyObject
* obj1
= 0 ;
8332 (char *) "self",(char *) "name", NULL
8335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8339 arg2
= wxString_in_helper(obj1
);
8340 if (arg2
== NULL
) SWIG_fail
;
8344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8345 (arg1
)->SetName((wxString
const &)*arg2
);
8347 wxPyEndAllowThreads(__tstate
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8350 Py_INCREF(Py_None
); resultobj
= Py_None
;
8365 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8366 PyObject
*resultobj
;
8367 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8368 wxString
*arg2
= 0 ;
8369 bool temp2
= False
;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8373 (char *) "self",(char *) "extension", NULL
8376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8380 arg2
= wxString_in_helper(obj1
);
8381 if (arg2
== NULL
) SWIG_fail
;
8385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8386 (arg1
)->SetExtension((wxString
const &)*arg2
);
8388 wxPyEndAllowThreads(__tstate
);
8389 if (PyErr_Occurred()) SWIG_fail
;
8391 Py_INCREF(Py_None
); resultobj
= Py_None
;
8406 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8410 PyObject
* obj0
= 0 ;
8411 PyObject
* obj1
= 0 ;
8413 (char *) "self",(char *) "type", NULL
8416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8419 arg2
= (long) SWIG_AsLong(obj1
);
8420 if (PyErr_Occurred()) SWIG_fail
;
8422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8423 (arg1
)->SetType(arg2
);
8425 wxPyEndAllowThreads(__tstate
);
8426 if (PyErr_Occurred()) SWIG_fail
;
8428 Py_INCREF(Py_None
); resultobj
= Py_None
;
8435 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8436 PyObject
*resultobj
;
8437 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8438 wxString
*arg2
= 0 ;
8439 bool temp2
= False
;
8440 PyObject
* obj0
= 0 ;
8441 PyObject
* obj1
= 0 ;
8443 (char *) "self",(char *) "mimetype", NULL
8446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8450 arg2
= wxString_in_helper(obj1
);
8451 if (arg2
== NULL
) SWIG_fail
;
8455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8458 wxPyEndAllowThreads(__tstate
);
8459 if (PyErr_Occurred()) SWIG_fail
;
8461 Py_INCREF(Py_None
); resultobj
= Py_None
;
8476 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8479 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8481 return Py_BuildValue((char *)"");
8483 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8484 PyObject
*resultobj
;
8485 wxImageHistogram
*result
;
8490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8493 result
= (wxImageHistogram
*)new wxImageHistogram();
8495 wxPyEndAllowThreads(__tstate
);
8496 if (PyErr_Occurred()) SWIG_fail
;
8498 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8505 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8506 PyObject
*resultobj
;
8507 unsigned char arg1
;
8508 unsigned char arg2
;
8509 unsigned char arg3
;
8510 unsigned long result
;
8511 PyObject
* obj0
= 0 ;
8512 PyObject
* obj1
= 0 ;
8513 PyObject
* obj2
= 0 ;
8515 (char *) "r",(char *) "g",(char *) "b", NULL
8518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8519 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8520 if (PyErr_Occurred()) SWIG_fail
;
8521 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8522 if (PyErr_Occurred()) SWIG_fail
;
8523 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8524 if (PyErr_Occurred()) SWIG_fail
;
8526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8527 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8529 wxPyEndAllowThreads(__tstate
);
8530 if (PyErr_Occurred()) SWIG_fail
;
8532 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8539 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8542 unsigned char *arg2
= (unsigned char *) 0 ;
8543 unsigned char *arg3
= (unsigned char *) 0 ;
8544 unsigned char *arg4
= (unsigned char *) 0 ;
8545 unsigned char arg5
= (unsigned char) 1 ;
8546 unsigned char arg6
= (unsigned char) 0 ;
8547 unsigned char arg7
= (unsigned char) 0 ;
8549 unsigned char temp2
;
8550 unsigned char temp3
;
8551 unsigned char temp4
;
8552 PyObject
* obj0
= 0 ;
8553 PyObject
* obj1
= 0 ;
8554 PyObject
* obj2
= 0 ;
8555 PyObject
* obj3
= 0 ;
8557 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8567 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8568 if (PyErr_Occurred()) SWIG_fail
;
8571 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8572 if (PyErr_Occurred()) SWIG_fail
;
8575 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8580 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8589 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8590 resultobj
= t_output_helper(resultobj
,o
);
8593 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8594 resultobj
= t_output_helper(resultobj
,o
);
8597 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8598 resultobj
= t_output_helper(resultobj
,o
);
8606 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8609 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8611 return Py_BuildValue((char *)"");
8613 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxString
*arg1
= 0 ;
8616 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8617 int arg3
= (int) -1 ;
8619 bool temp1
= False
;
8620 PyObject
* obj0
= 0 ;
8621 PyObject
* obj1
= 0 ;
8622 PyObject
* obj2
= 0 ;
8624 (char *) "name",(char *) "type",(char *) "index", NULL
8627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8629 arg1
= wxString_in_helper(obj0
);
8630 if (arg1
== NULL
) SWIG_fail
;
8634 arg2
= (long) SWIG_AsLong(obj1
);
8635 if (PyErr_Occurred()) SWIG_fail
;
8638 arg3
= (int) SWIG_AsInt(obj2
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8643 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8645 wxPyEndAllowThreads(__tstate
);
8646 if (PyErr_Occurred()) SWIG_fail
;
8648 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8663 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxImage
*arg1
= (wxImage
*) 0 ;
8666 PyObject
* obj0
= 0 ;
8668 (char *) "self", NULL
8671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8678 wxPyEndAllowThreads(__tstate
);
8679 if (PyErr_Occurred()) SWIG_fail
;
8681 Py_INCREF(Py_None
); resultobj
= Py_None
;
8688 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxString
*arg1
= 0 ;
8691 wxString
*arg2
= 0 ;
8692 int arg3
= (int) -1 ;
8694 bool temp1
= False
;
8695 bool temp2
= False
;
8696 PyObject
* obj0
= 0 ;
8697 PyObject
* obj1
= 0 ;
8698 PyObject
* obj2
= 0 ;
8700 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8705 arg1
= wxString_in_helper(obj0
);
8706 if (arg1
== NULL
) SWIG_fail
;
8710 arg2
= wxString_in_helper(obj1
);
8711 if (arg2
== NULL
) SWIG_fail
;
8715 arg3
= (int) SWIG_AsInt(obj2
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8748 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8749 PyObject
*resultobj
;
8750 wxInputStream
*arg1
= 0 ;
8751 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8752 int arg3
= (int) -1 ;
8754 wxPyInputStream
*temp1
;
8756 PyObject
* obj0
= 0 ;
8757 PyObject
* obj1
= 0 ;
8758 PyObject
* obj2
= 0 ;
8760 (char *) "stream",(char *) "type",(char *) "index", NULL
8763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8765 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8766 arg1
= temp1
->m_wxis
;
8769 PyErr_Clear(); // clear the failure of the wxPyConvert above
8770 arg1
= wxPyCBInputStream_create(obj0
, False
);
8772 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8779 arg2
= (long) SWIG_AsLong(obj1
);
8780 if (PyErr_Occurred()) SWIG_fail
;
8783 arg3
= (int) SWIG_AsInt(obj2
);
8784 if (PyErr_Occurred()) SWIG_fail
;
8787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8788 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8790 wxPyEndAllowThreads(__tstate
);
8791 if (PyErr_Occurred()) SWIG_fail
;
8793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8808 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8809 PyObject
*resultobj
;
8810 wxInputStream
*arg1
= 0 ;
8811 wxString
*arg2
= 0 ;
8812 int arg3
= (int) -1 ;
8814 wxPyInputStream
*temp1
;
8816 bool temp2
= False
;
8817 PyObject
* obj0
= 0 ;
8818 PyObject
* obj1
= 0 ;
8819 PyObject
* obj2
= 0 ;
8821 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8826 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8827 arg1
= temp1
->m_wxis
;
8830 PyErr_Clear(); // clear the failure of the wxPyConvert above
8831 arg1
= wxPyCBInputStream_create(obj0
, False
);
8833 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8840 arg2
= wxString_in_helper(obj1
);
8841 if (arg2
== NULL
) SWIG_fail
;
8845 arg3
= (int) SWIG_AsInt(obj2
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8850 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8878 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 int arg1
= (int) 0 ;
8881 int arg2
= (int) 0 ;
8882 bool arg3
= (bool) True
;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8886 PyObject
* obj2
= 0 ;
8888 (char *) "width",(char *) "height",(char *) "clear", NULL
8891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8893 arg1
= (int) SWIG_AsInt(obj0
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8897 arg2
= (int) SWIG_AsInt(obj1
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8901 arg3
= (bool) SWIG_AsBool(obj2
);
8902 if (PyErr_Occurred()) SWIG_fail
;
8905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8906 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8908 wxPyEndAllowThreads(__tstate
);
8909 if (PyErr_Occurred()) SWIG_fail
;
8911 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8918 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8919 PyObject
*resultobj
;
8920 wxBitmap
*arg1
= 0 ;
8922 PyObject
* obj0
= 0 ;
8924 (char *) "bitmap", NULL
8927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8929 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8932 PyErr_SetString(PyExc_TypeError
,"null reference");
8936 if (!wxPyCheckForApp()) SWIG_fail
;
8937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8940 wxPyEndAllowThreads(__tstate
);
8941 if (PyErr_Occurred()) SWIG_fail
;
8943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8950 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8951 PyObject
*resultobj
;
8954 unsigned char *arg3
= (unsigned char *) 0 ;
8956 PyObject
* obj0
= 0 ;
8957 PyObject
* obj1
= 0 ;
8958 PyObject
* obj2
= 0 ;
8960 (char *) "width",(char *) "height",(char *) "data", NULL
8963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8964 arg1
= (int) SWIG_AsInt(obj0
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8966 arg2
= (int) SWIG_AsInt(obj1
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8968 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8984 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxImage
*arg1
= (wxImage
*) 0 ;
8989 PyObject
* obj0
= 0 ;
8990 PyObject
* obj1
= 0 ;
8991 PyObject
* obj2
= 0 ;
8993 (char *) "self",(char *) "width",(char *) "height", NULL
8996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8999 arg2
= (int) SWIG_AsInt(obj1
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9001 arg3
= (int) SWIG_AsInt(obj2
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9005 (arg1
)->Create(arg2
,arg3
);
9007 wxPyEndAllowThreads(__tstate
);
9008 if (PyErr_Occurred()) SWIG_fail
;
9010 Py_INCREF(Py_None
); resultobj
= Py_None
;
9017 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9018 PyObject
*resultobj
;
9019 wxImage
*arg1
= (wxImage
*) 0 ;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9032 wxPyEndAllowThreads(__tstate
);
9033 if (PyErr_Occurred()) SWIG_fail
;
9035 Py_INCREF(Py_None
); resultobj
= Py_None
;
9042 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9043 PyObject
*resultobj
;
9044 wxImage
*arg1
= (wxImage
*) 0 ;
9047 SwigValueWrapper
< wxImage
> result
;
9048 PyObject
* obj0
= 0 ;
9049 PyObject
* obj1
= 0 ;
9050 PyObject
* obj2
= 0 ;
9052 (char *) "self",(char *) "width",(char *) "height", NULL
9055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9058 arg2
= (int) SWIG_AsInt(obj1
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9060 arg3
= (int) SWIG_AsInt(obj2
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9064 result
= (arg1
)->Scale(arg2
,arg3
);
9066 wxPyEndAllowThreads(__tstate
);
9067 if (PyErr_Occurred()) SWIG_fail
;
9070 wxImage
* resultptr
;
9071 resultptr
= new wxImage((wxImage
&) result
);
9072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9080 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9081 PyObject
*resultobj
;
9082 wxImage
*arg1
= (wxImage
*) 0 ;
9085 SwigValueWrapper
< wxImage
> result
;
9086 PyObject
* obj0
= 0 ;
9087 PyObject
* obj1
= 0 ;
9088 PyObject
* obj2
= 0 ;
9090 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 arg2
= (int) SWIG_AsInt(obj1
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9098 arg3
= (int) SWIG_AsInt(obj2
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9108 wxImage
* resultptr
;
9109 resultptr
= new wxImage((wxImage
&) result
);
9110 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9118 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9119 PyObject
*resultobj
;
9120 wxImage
*arg1
= (wxImage
*) 0 ;
9124 PyObject
* obj0
= 0 ;
9125 PyObject
* obj1
= 0 ;
9126 PyObject
* obj2
= 0 ;
9128 (char *) "self",(char *) "width",(char *) "height", NULL
9131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9134 arg2
= (int) SWIG_AsInt(obj1
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9136 arg3
= (int) SWIG_AsInt(obj2
);
9137 if (PyErr_Occurred()) SWIG_fail
;
9139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9142 result
= (wxImage
*) &_result_ref
;
9145 wxPyEndAllowThreads(__tstate
);
9146 if (PyErr_Occurred()) SWIG_fail
;
9148 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9155 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9156 PyObject
*resultobj
;
9157 wxImage
*arg1
= (wxImage
*) 0 ;
9160 unsigned char arg4
;
9161 unsigned char arg5
;
9162 unsigned char arg6
;
9163 PyObject
* obj0
= 0 ;
9164 PyObject
* obj1
= 0 ;
9165 PyObject
* obj2
= 0 ;
9166 PyObject
* obj3
= 0 ;
9167 PyObject
* obj4
= 0 ;
9168 PyObject
* obj5
= 0 ;
9170 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9176 arg2
= (int) SWIG_AsInt(obj1
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9178 arg3
= (int) SWIG_AsInt(obj2
);
9179 if (PyErr_Occurred()) SWIG_fail
;
9180 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9181 if (PyErr_Occurred()) SWIG_fail
;
9182 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9183 if (PyErr_Occurred()) SWIG_fail
;
9184 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9185 if (PyErr_Occurred()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9193 Py_INCREF(Py_None
); resultobj
= Py_None
;
9200 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9201 PyObject
*resultobj
;
9202 wxImage
*arg1
= (wxImage
*) 0 ;
9205 unsigned char result
;
9206 PyObject
* obj0
= 0 ;
9207 PyObject
* obj1
= 0 ;
9208 PyObject
* obj2
= 0 ;
9210 (char *) "self",(char *) "x",(char *) "y", NULL
9213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9216 arg2
= (int) SWIG_AsInt(obj1
);
9217 if (PyErr_Occurred()) SWIG_fail
;
9218 arg3
= (int) SWIG_AsInt(obj2
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9222 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9224 wxPyEndAllowThreads(__tstate
);
9225 if (PyErr_Occurred()) SWIG_fail
;
9227 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9234 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9235 PyObject
*resultobj
;
9236 wxImage
*arg1
= (wxImage
*) 0 ;
9239 unsigned char result
;
9240 PyObject
* obj0
= 0 ;
9241 PyObject
* obj1
= 0 ;
9242 PyObject
* obj2
= 0 ;
9244 (char *) "self",(char *) "x",(char *) "y", NULL
9247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9250 arg2
= (int) SWIG_AsInt(obj1
);
9251 if (PyErr_Occurred()) SWIG_fail
;
9252 arg3
= (int) SWIG_AsInt(obj2
);
9253 if (PyErr_Occurred()) SWIG_fail
;
9255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9256 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9258 wxPyEndAllowThreads(__tstate
);
9259 if (PyErr_Occurred()) SWIG_fail
;
9261 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9268 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9269 PyObject
*resultobj
;
9270 wxImage
*arg1
= (wxImage
*) 0 ;
9273 unsigned char result
;
9274 PyObject
* obj0
= 0 ;
9275 PyObject
* obj1
= 0 ;
9276 PyObject
* obj2
= 0 ;
9278 (char *) "self",(char *) "x",(char *) "y", NULL
9281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9284 arg2
= (int) SWIG_AsInt(obj1
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9286 arg3
= (int) SWIG_AsInt(obj2
);
9287 if (PyErr_Occurred()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9292 wxPyEndAllowThreads(__tstate
);
9293 if (PyErr_Occurred()) SWIG_fail
;
9295 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9302 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxImage
*arg1
= (wxImage
*) 0 ;
9307 unsigned char arg4
;
9308 PyObject
* obj0
= 0 ;
9309 PyObject
* obj1
= 0 ;
9310 PyObject
* obj2
= 0 ;
9311 PyObject
* obj3
= 0 ;
9313 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9319 arg2
= (int) SWIG_AsInt(obj1
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg3
= (int) SWIG_AsInt(obj2
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9323 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9327 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9329 wxPyEndAllowThreads(__tstate
);
9330 if (PyErr_Occurred()) SWIG_fail
;
9332 Py_INCREF(Py_None
); resultobj
= Py_None
;
9339 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9340 PyObject
*resultobj
;
9341 wxImage
*arg1
= (wxImage
*) 0 ;
9344 unsigned char result
;
9345 PyObject
* obj0
= 0 ;
9346 PyObject
* obj1
= 0 ;
9347 PyObject
* obj2
= 0 ;
9349 (char *) "self",(char *) "x",(char *) "y", NULL
9352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9355 arg2
= (int) SWIG_AsInt(obj1
);
9356 if (PyErr_Occurred()) SWIG_fail
;
9357 arg3
= (int) SWIG_AsInt(obj2
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9361 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9363 wxPyEndAllowThreads(__tstate
);
9364 if (PyErr_Occurred()) SWIG_fail
;
9366 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9373 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9374 PyObject
*resultobj
;
9375 wxImage
*arg1
= (wxImage
*) 0 ;
9377 PyObject
* obj0
= 0 ;
9379 (char *) "self", NULL
9382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9387 result
= (bool)(arg1
)->HasAlpha();
9389 wxPyEndAllowThreads(__tstate
);
9390 if (PyErr_Occurred()) SWIG_fail
;
9393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9401 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9402 PyObject
*resultobj
;
9403 wxImage
*arg1
= (wxImage
*) 0 ;
9404 byte
*arg2
= (byte
*) 0 ;
9405 byte
*arg3
= (byte
*) 0 ;
9406 byte
*arg4
= (byte
*) 0 ;
9407 byte arg5
= (byte
) 0 ;
9408 byte arg6
= (byte
) 0 ;
9409 byte arg7
= (byte
) 0 ;
9414 PyObject
* obj0
= 0 ;
9415 PyObject
* obj1
= 0 ;
9416 PyObject
* obj2
= 0 ;
9417 PyObject
* obj3
= 0 ;
9419 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9429 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9430 if (PyErr_Occurred()) SWIG_fail
;
9433 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9434 if (PyErr_Occurred()) SWIG_fail
;
9437 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9442 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9444 wxPyEndAllowThreads(__tstate
);
9445 if (PyErr_Occurred()) SWIG_fail
;
9448 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9451 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9452 resultobj
= t_output_helper(resultobj
,o
);
9455 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9456 resultobj
= t_output_helper(resultobj
,o
);
9459 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9460 resultobj
= t_output_helper(resultobj
,o
);
9468 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9469 PyObject
*resultobj
;
9470 wxImage
*arg1
= (wxImage
*) 0 ;
9476 PyObject
* obj0
= 0 ;
9477 PyObject
* obj1
= 0 ;
9478 PyObject
* obj2
= 0 ;
9479 PyObject
* obj3
= 0 ;
9480 PyObject
* obj4
= 0 ;
9482 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9488 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9489 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9492 PyErr_SetString(PyExc_TypeError
,"null reference");
9495 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9497 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9499 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9503 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9505 wxPyEndAllowThreads(__tstate
);
9506 if (PyErr_Occurred()) SWIG_fail
;
9509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9517 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxString
*arg1
= 0 ;
9521 bool temp1
= False
;
9522 PyObject
* obj0
= 0 ;
9524 (char *) "name", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9529 arg1
= wxString_in_helper(obj0
);
9530 if (arg1
== NULL
) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9537 wxPyEndAllowThreads(__tstate
);
9538 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9557 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxString
*arg1
= 0 ;
9560 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9562 bool temp1
= False
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "name",(char *) "type", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 arg1
= wxString_in_helper(obj0
);
9572 if (arg1
== NULL
) SWIG_fail
;
9576 arg2
= (long) SWIG_AsLong(obj1
);
9577 if (PyErr_Occurred()) SWIG_fail
;
9580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9581 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9583 wxPyEndAllowThreads(__tstate
);
9584 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= SWIG_FromInt((int)result
);
9601 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9602 PyObject
*resultobj
;
9603 wxImage
*arg1
= (wxImage
*) 0 ;
9604 wxString
*arg2
= 0 ;
9605 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9606 int arg4
= (int) -1 ;
9608 bool temp2
= False
;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 PyObject
* obj2
= 0 ;
9612 PyObject
* obj3
= 0 ;
9614 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9621 arg2
= wxString_in_helper(obj1
);
9622 if (arg2
== NULL
) SWIG_fail
;
9626 arg3
= (long) SWIG_AsLong(obj2
);
9627 if (PyErr_Occurred()) SWIG_fail
;
9630 arg4
= (int) SWIG_AsInt(obj3
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9635 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9637 wxPyEndAllowThreads(__tstate
);
9638 if (PyErr_Occurred()) SWIG_fail
;
9641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9657 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9658 PyObject
*resultobj
;
9659 wxImage
*arg1
= (wxImage
*) 0 ;
9660 wxString
*arg2
= 0 ;
9661 wxString
*arg3
= 0 ;
9662 int arg4
= (int) -1 ;
9664 bool temp2
= False
;
9665 bool temp3
= False
;
9666 PyObject
* obj0
= 0 ;
9667 PyObject
* obj1
= 0 ;
9668 PyObject
* obj2
= 0 ;
9669 PyObject
* obj3
= 0 ;
9671 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9678 arg2
= wxString_in_helper(obj1
);
9679 if (arg2
== NULL
) SWIG_fail
;
9683 arg3
= wxString_in_helper(obj2
);
9684 if (arg3
== NULL
) SWIG_fail
;
9688 arg4
= (int) SWIG_AsInt(obj3
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9693 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9695 wxPyEndAllowThreads(__tstate
);
9696 if (PyErr_Occurred()) SWIG_fail
;
9699 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9723 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9724 PyObject
*resultobj
;
9725 wxImage
*arg1
= (wxImage
*) 0 ;
9726 wxString
*arg2
= 0 ;
9729 bool temp2
= False
;
9730 PyObject
* obj0
= 0 ;
9731 PyObject
* obj1
= 0 ;
9732 PyObject
* obj2
= 0 ;
9734 (char *) "self",(char *) "name",(char *) "type", NULL
9737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9741 arg2
= wxString_in_helper(obj1
);
9742 if (arg2
== NULL
) SWIG_fail
;
9745 arg3
= (int) SWIG_AsInt(obj2
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9749 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9751 wxPyEndAllowThreads(__tstate
);
9752 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9771 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9772 PyObject
*resultobj
;
9773 wxImage
*arg1
= (wxImage
*) 0 ;
9774 wxString
*arg2
= 0 ;
9775 wxString
*arg3
= 0 ;
9777 bool temp2
= False
;
9778 bool temp3
= False
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9783 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9790 arg2
= wxString_in_helper(obj1
);
9791 if (arg2
== NULL
) SWIG_fail
;
9795 arg3
= wxString_in_helper(obj2
);
9796 if (arg3
== NULL
) SWIG_fail
;
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9803 wxPyEndAllowThreads(__tstate
);
9804 if (PyErr_Occurred()) SWIG_fail
;
9807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9831 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9832 PyObject
*resultobj
;
9833 wxInputStream
*arg1
= 0 ;
9835 wxPyInputStream
*temp1
;
9837 PyObject
* obj0
= 0 ;
9839 (char *) "stream", NULL
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9844 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9845 arg1
= temp1
->m_wxis
;
9848 PyErr_Clear(); // clear the failure of the wxPyConvert above
9849 arg1
= wxPyCBInputStream_create(obj0
, False
);
9851 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 result
= (bool)wxImage::CanRead(*arg1
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9881 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9882 PyObject
*resultobj
;
9883 wxImage
*arg1
= (wxImage
*) 0 ;
9884 wxInputStream
*arg2
= 0 ;
9885 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9886 int arg4
= (int) -1 ;
9888 wxPyInputStream
*temp2
;
9890 PyObject
* obj0
= 0 ;
9891 PyObject
* obj1
= 0 ;
9892 PyObject
* obj2
= 0 ;
9893 PyObject
* obj3
= 0 ;
9895 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9902 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9903 arg2
= temp2
->m_wxis
;
9906 PyErr_Clear(); // clear the failure of the wxPyConvert above
9907 arg2
= wxPyCBInputStream_create(obj1
, False
);
9909 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9916 arg3
= (long) SWIG_AsLong(obj2
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9920 arg4
= (int) SWIG_AsInt(obj3
);
9921 if (PyErr_Occurred()) SWIG_fail
;
9924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9925 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9927 wxPyEndAllowThreads(__tstate
);
9928 if (PyErr_Occurred()) SWIG_fail
;
9931 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9947 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9948 PyObject
*resultobj
;
9949 wxImage
*arg1
= (wxImage
*) 0 ;
9950 wxInputStream
*arg2
= 0 ;
9951 wxString
*arg3
= 0 ;
9952 int arg4
= (int) -1 ;
9954 wxPyInputStream
*temp2
;
9956 bool temp3
= False
;
9957 PyObject
* obj0
= 0 ;
9958 PyObject
* obj1
= 0 ;
9959 PyObject
* obj2
= 0 ;
9960 PyObject
* obj3
= 0 ;
9962 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9966 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9969 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9970 arg2
= temp2
->m_wxis
;
9973 PyErr_Clear(); // clear the failure of the wxPyConvert above
9974 arg2
= wxPyCBInputStream_create(obj1
, False
);
9976 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9983 arg3
= wxString_in_helper(obj2
);
9984 if (arg3
== NULL
) SWIG_fail
;
9988 arg4
= (int) SWIG_AsInt(obj3
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9993 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9995 wxPyEndAllowThreads(__tstate
);
9996 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10023 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10024 PyObject
*resultobj
;
10025 wxImage
*arg1
= (wxImage
*) 0 ;
10027 PyObject
* obj0
= 0 ;
10028 char *kwnames
[] = {
10029 (char *) "self", NULL
10032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
10033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10037 result
= (bool)(arg1
)->Ok();
10039 wxPyEndAllowThreads(__tstate
);
10040 if (PyErr_Occurred()) SWIG_fail
;
10043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10051 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10052 PyObject
*resultobj
;
10053 wxImage
*arg1
= (wxImage
*) 0 ;
10055 PyObject
* obj0
= 0 ;
10056 char *kwnames
[] = {
10057 (char *) "self", NULL
10060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
10061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10065 result
= (int)(arg1
)->GetWidth();
10067 wxPyEndAllowThreads(__tstate
);
10068 if (PyErr_Occurred()) SWIG_fail
;
10070 resultobj
= SWIG_FromInt((int)result
);
10077 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10078 PyObject
*resultobj
;
10079 wxImage
*arg1
= (wxImage
*) 0 ;
10081 PyObject
* obj0
= 0 ;
10082 char *kwnames
[] = {
10083 (char *) "self", NULL
10086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
10087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10091 result
= (int)(arg1
)->GetHeight();
10093 wxPyEndAllowThreads(__tstate
);
10094 if (PyErr_Occurred()) SWIG_fail
;
10096 resultobj
= SWIG_FromInt((int)result
);
10103 static PyObject
*_wrap_Image_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxImage
*arg1
= (wxImage
*) 0 ;
10107 PyObject
* obj0
= 0 ;
10108 char *kwnames
[] = {
10109 (char *) "self", NULL
10112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetSize",kwnames
,&obj0
)) goto fail
;
10113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10117 result
= wxImage_GetSize(arg1
);
10119 wxPyEndAllowThreads(__tstate
);
10120 if (PyErr_Occurred()) SWIG_fail
;
10123 wxSize
* resultptr
;
10124 resultptr
= new wxSize((wxSize
&) result
);
10125 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
10133 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxImage
*arg1
= (wxImage
*) 0 ;
10137 SwigValueWrapper
< wxImage
> result
;
10139 PyObject
* obj0
= 0 ;
10140 PyObject
* obj1
= 0 ;
10141 char *kwnames
[] = {
10142 (char *) "self",(char *) "rect", NULL
10145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10154 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10156 wxPyEndAllowThreads(__tstate
);
10157 if (PyErr_Occurred()) SWIG_fail
;
10160 wxImage
* resultptr
;
10161 resultptr
= new wxImage((wxImage
&) result
);
10162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10170 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10171 PyObject
*resultobj
;
10172 wxImage
*arg1
= (wxImage
*) 0 ;
10173 SwigValueWrapper
< wxImage
> result
;
10174 PyObject
* obj0
= 0 ;
10175 char *kwnames
[] = {
10176 (char *) "self", NULL
10179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (arg1
)->Copy();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10190 wxImage
* resultptr
;
10191 resultptr
= new wxImage((wxImage
&) result
);
10192 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10200 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10201 PyObject
*resultobj
;
10202 wxImage
*arg1
= (wxImage
*) 0 ;
10203 wxImage
*arg2
= 0 ;
10206 PyObject
* obj0
= 0 ;
10207 PyObject
* obj1
= 0 ;
10208 PyObject
* obj2
= 0 ;
10209 PyObject
* obj3
= 0 ;
10210 char *kwnames
[] = {
10211 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10217 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10218 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10220 if (arg2
== NULL
) {
10221 PyErr_SetString(PyExc_TypeError
,"null reference");
10224 arg3
= (int) SWIG_AsInt(obj2
);
10225 if (PyErr_Occurred()) SWIG_fail
;
10226 arg4
= (int) SWIG_AsInt(obj3
);
10227 if (PyErr_Occurred()) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 Py_INCREF(Py_None
); resultobj
= Py_None
;
10242 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxImage
*arg1
= (wxImage
*) 0 ;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (PyObject
*)wxImage_GetData(arg1
);
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= result
;
10268 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxImage
*arg1
= (wxImage
*) 0 ;
10271 PyObject
*arg2
= (PyObject
*) 0 ;
10272 PyObject
* obj0
= 0 ;
10273 PyObject
* obj1
= 0 ;
10274 char *kwnames
[] = {
10275 (char *) "self",(char *) "data", NULL
10278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 wxImage_SetData(arg1
,arg2
);
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 Py_INCREF(Py_None
); resultobj
= Py_None
;
10296 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxImage
*arg1
= (wxImage
*) 0 ;
10300 PyObject
* obj0
= 0 ;
10301 char *kwnames
[] = {
10302 (char *) "self", NULL
10305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10310 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10312 wxPyEndAllowThreads(__tstate
);
10313 if (PyErr_Occurred()) SWIG_fail
;
10315 resultobj
= result
;
10322 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10323 PyObject
*resultobj
;
10324 wxImage
*arg1
= (wxImage
*) 0 ;
10325 PyObject
*arg2
= (PyObject
*) 0 ;
10326 PyObject
* obj0
= 0 ;
10327 PyObject
* obj1
= 0 ;
10328 char *kwnames
[] = {
10329 (char *) "self",(char *) "data", NULL
10332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 wxImage_SetDataBuffer(arg1
,arg2
);
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10343 Py_INCREF(Py_None
); resultobj
= Py_None
;
10350 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10351 PyObject
*resultobj
;
10352 wxImage
*arg1
= (wxImage
*) 0 ;
10354 PyObject
* obj0
= 0 ;
10355 char *kwnames
[] = {
10356 (char *) "self", NULL
10359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10364 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10366 wxPyEndAllowThreads(__tstate
);
10367 if (PyErr_Occurred()) SWIG_fail
;
10369 resultobj
= result
;
10376 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10377 PyObject
*resultobj
;
10378 wxImage
*arg1
= (wxImage
*) 0 ;
10379 PyObject
*arg2
= (PyObject
*) 0 ;
10380 PyObject
* obj0
= 0 ;
10381 PyObject
* obj1
= 0 ;
10382 char *kwnames
[] = {
10383 (char *) "self",(char *) "data", NULL
10386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10392 wxImage_SetAlphaData(arg1
,arg2
);
10394 wxPyEndAllowThreads(__tstate
);
10395 if (PyErr_Occurred()) SWIG_fail
;
10397 Py_INCREF(Py_None
); resultobj
= Py_None
;
10404 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxImage
*arg1
= (wxImage
*) 0 ;
10408 PyObject
* obj0
= 0 ;
10409 char *kwnames
[] = {
10410 (char *) "self", NULL
10413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10418 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10420 wxPyEndAllowThreads(__tstate
);
10421 if (PyErr_Occurred()) SWIG_fail
;
10423 resultobj
= result
;
10430 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10431 PyObject
*resultobj
;
10432 wxImage
*arg1
= (wxImage
*) 0 ;
10433 PyObject
*arg2
= (PyObject
*) 0 ;
10434 PyObject
* obj0
= 0 ;
10435 PyObject
* obj1
= 0 ;
10436 char *kwnames
[] = {
10437 (char *) "self",(char *) "data", NULL
10440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10446 wxImage_SetAlphaBuffer(arg1
,arg2
);
10448 wxPyEndAllowThreads(__tstate
);
10449 if (PyErr_Occurred()) SWIG_fail
;
10451 Py_INCREF(Py_None
); resultobj
= Py_None
;
10458 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10459 PyObject
*resultobj
;
10460 wxImage
*arg1
= (wxImage
*) 0 ;
10461 unsigned char arg2
;
10462 unsigned char arg3
;
10463 unsigned char arg4
;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 PyObject
* obj2
= 0 ;
10467 PyObject
* obj3
= 0 ;
10468 char *kwnames
[] = {
10469 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10475 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10476 if (PyErr_Occurred()) SWIG_fail
;
10477 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10478 if (PyErr_Occurred()) SWIG_fail
;
10479 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10480 if (PyErr_Occurred()) SWIG_fail
;
10482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10483 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10485 wxPyEndAllowThreads(__tstate
);
10486 if (PyErr_Occurred()) SWIG_fail
;
10488 Py_INCREF(Py_None
); resultobj
= Py_None
;
10495 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10496 PyObject
*resultobj
;
10497 wxImage
*arg1
= (wxImage
*) 0 ;
10498 unsigned char result
;
10499 PyObject
* obj0
= 0 ;
10500 char *kwnames
[] = {
10501 (char *) "self", NULL
10504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10509 result
= (unsigned char)(arg1
)->GetMaskRed();
10511 wxPyEndAllowThreads(__tstate
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10521 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10522 PyObject
*resultobj
;
10523 wxImage
*arg1
= (wxImage
*) 0 ;
10524 unsigned char result
;
10525 PyObject
* obj0
= 0 ;
10526 char *kwnames
[] = {
10527 (char *) "self", NULL
10530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10535 result
= (unsigned char)(arg1
)->GetMaskGreen();
10537 wxPyEndAllowThreads(__tstate
);
10538 if (PyErr_Occurred()) SWIG_fail
;
10540 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10547 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10548 PyObject
*resultobj
;
10549 wxImage
*arg1
= (wxImage
*) 0 ;
10550 unsigned char result
;
10551 PyObject
* obj0
= 0 ;
10552 char *kwnames
[] = {
10553 (char *) "self", NULL
10556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10561 result
= (unsigned char)(arg1
)->GetMaskBlue();
10563 wxPyEndAllowThreads(__tstate
);
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10573 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10574 PyObject
*resultobj
;
10575 wxImage
*arg1
= (wxImage
*) 0 ;
10576 bool arg2
= (bool) True
;
10577 PyObject
* obj0
= 0 ;
10578 PyObject
* obj1
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "mask", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= (bool) SWIG_AsBool(obj1
);
10588 if (PyErr_Occurred()) SWIG_fail
;
10591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10592 (arg1
)->SetMask(arg2
);
10594 wxPyEndAllowThreads(__tstate
);
10595 if (PyErr_Occurred()) SWIG_fail
;
10597 Py_INCREF(Py_None
); resultobj
= Py_None
;
10604 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10605 PyObject
*resultobj
;
10606 wxImage
*arg1
= (wxImage
*) 0 ;
10608 PyObject
* obj0
= 0 ;
10609 char *kwnames
[] = {
10610 (char *) "self", NULL
10613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10618 result
= (bool)(arg1
)->HasMask();
10620 wxPyEndAllowThreads(__tstate
);
10621 if (PyErr_Occurred()) SWIG_fail
;
10624 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10632 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10633 PyObject
*resultobj
;
10634 wxImage
*arg1
= (wxImage
*) 0 ;
10636 wxPoint
*arg3
= 0 ;
10637 bool arg4
= (bool) True
;
10638 wxPoint
*arg5
= (wxPoint
*) NULL
;
10639 SwigValueWrapper
< wxImage
> result
;
10641 PyObject
* obj0
= 0 ;
10642 PyObject
* obj1
= 0 ;
10643 PyObject
* obj2
= 0 ;
10644 PyObject
* obj3
= 0 ;
10645 PyObject
* obj4
= 0 ;
10646 char *kwnames
[] = {
10647 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10653 arg2
= (double) SWIG_AsDouble(obj1
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10657 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10660 arg4
= (bool) SWIG_AsBool(obj3
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10664 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10669 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10675 wxImage
* resultptr
;
10676 resultptr
= new wxImage((wxImage
&) result
);
10677 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10685 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10686 PyObject
*resultobj
;
10687 wxImage
*arg1
= (wxImage
*) 0 ;
10688 bool arg2
= (bool) True
;
10689 SwigValueWrapper
< wxImage
> result
;
10690 PyObject
* obj0
= 0 ;
10691 PyObject
* obj1
= 0 ;
10692 char *kwnames
[] = {
10693 (char *) "self",(char *) "clockwise", NULL
10696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 arg2
= (bool) SWIG_AsBool(obj1
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10705 result
= (arg1
)->Rotate90(arg2
);
10707 wxPyEndAllowThreads(__tstate
);
10708 if (PyErr_Occurred()) SWIG_fail
;
10711 wxImage
* resultptr
;
10712 resultptr
= new wxImage((wxImage
&) result
);
10713 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10721 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxImage
*arg1
= (wxImage
*) 0 ;
10724 bool arg2
= (bool) True
;
10725 SwigValueWrapper
< wxImage
> result
;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "horizontally", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10736 arg2
= (bool) SWIG_AsBool(obj1
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (arg1
)->Mirror(arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10747 wxImage
* resultptr
;
10748 resultptr
= new wxImage((wxImage
&) result
);
10749 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10757 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10758 PyObject
*resultobj
;
10759 wxImage
*arg1
= (wxImage
*) 0 ;
10760 unsigned char arg2
;
10761 unsigned char arg3
;
10762 unsigned char arg4
;
10763 unsigned char arg5
;
10764 unsigned char arg6
;
10765 unsigned char arg7
;
10766 PyObject
* obj0
= 0 ;
10767 PyObject
* obj1
= 0 ;
10768 PyObject
* obj2
= 0 ;
10769 PyObject
* obj3
= 0 ;
10770 PyObject
* obj4
= 0 ;
10771 PyObject
* obj5
= 0 ;
10772 PyObject
* obj6
= 0 ;
10773 char *kwnames
[] = {
10774 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10780 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10781 if (PyErr_Occurred()) SWIG_fail
;
10782 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10784 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10785 if (PyErr_Occurred()) SWIG_fail
;
10786 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10787 if (PyErr_Occurred()) SWIG_fail
;
10788 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10790 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10794 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10796 wxPyEndAllowThreads(__tstate
);
10797 if (PyErr_Occurred()) SWIG_fail
;
10799 Py_INCREF(Py_None
); resultobj
= Py_None
;
10806 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10807 PyObject
*resultobj
;
10808 wxImage
*arg1
= (wxImage
*) 0 ;
10809 unsigned char arg2
;
10810 unsigned char arg3
;
10811 unsigned char arg4
;
10812 SwigValueWrapper
< wxImage
> result
;
10813 PyObject
* obj0
= 0 ;
10814 PyObject
* obj1
= 0 ;
10815 PyObject
* obj2
= 0 ;
10816 PyObject
* obj3
= 0 ;
10817 char *kwnames
[] = {
10818 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10824 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10825 if (PyErr_Occurred()) SWIG_fail
;
10826 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10828 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10829 if (PyErr_Occurred()) SWIG_fail
;
10831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10832 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10834 wxPyEndAllowThreads(__tstate
);
10835 if (PyErr_Occurred()) SWIG_fail
;
10838 wxImage
* resultptr
;
10839 resultptr
= new wxImage((wxImage
&) result
);
10840 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10848 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxImage
*arg1
= (wxImage
*) 0 ;
10851 wxString
*arg2
= 0 ;
10852 wxString
*arg3
= 0 ;
10853 bool temp2
= False
;
10854 bool temp3
= False
;
10855 PyObject
* obj0
= 0 ;
10856 PyObject
* obj1
= 0 ;
10857 PyObject
* obj2
= 0 ;
10858 char *kwnames
[] = {
10859 (char *) "self",(char *) "name",(char *) "value", NULL
10862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10866 arg2
= wxString_in_helper(obj1
);
10867 if (arg2
== NULL
) SWIG_fail
;
10871 arg3
= wxString_in_helper(obj2
);
10872 if (arg3
== NULL
) SWIG_fail
;
10876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10877 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10879 wxPyEndAllowThreads(__tstate
);
10880 if (PyErr_Occurred()) SWIG_fail
;
10882 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxImage
*arg1
= (wxImage
*) 0 ;
10908 wxString
*arg2
= 0 ;
10910 bool temp2
= False
;
10911 PyObject
* obj0
= 0 ;
10912 PyObject
* obj1
= 0 ;
10913 PyObject
* obj2
= 0 ;
10914 char *kwnames
[] = {
10915 (char *) "self",(char *) "name",(char *) "value", NULL
10918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10922 arg2
= wxString_in_helper(obj1
);
10923 if (arg2
== NULL
) SWIG_fail
;
10926 arg3
= (int) SWIG_AsInt(obj2
);
10927 if (PyErr_Occurred()) SWIG_fail
;
10929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10930 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10932 wxPyEndAllowThreads(__tstate
);
10933 if (PyErr_Occurred()) SWIG_fail
;
10935 Py_INCREF(Py_None
); resultobj
= Py_None
;
10950 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10951 PyObject
*resultobj
;
10952 wxImage
*arg1
= (wxImage
*) 0 ;
10953 wxString
*arg2
= 0 ;
10955 bool temp2
= False
;
10956 PyObject
* obj0
= 0 ;
10957 PyObject
* obj1
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self",(char *) "name", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10966 arg2
= wxString_in_helper(obj1
);
10967 if (arg2
== NULL
) SWIG_fail
;
10971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10972 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10974 wxPyEndAllowThreads(__tstate
);
10975 if (PyErr_Occurred()) SWIG_fail
;
10979 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10981 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10998 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10999 PyObject
*resultobj
;
11000 wxImage
*arg1
= (wxImage
*) 0 ;
11001 wxString
*arg2
= 0 ;
11003 bool temp2
= False
;
11004 PyObject
* obj0
= 0 ;
11005 PyObject
* obj1
= 0 ;
11006 char *kwnames
[] = {
11007 (char *) "self",(char *) "name", NULL
11010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
11011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11014 arg2
= wxString_in_helper(obj1
);
11015 if (arg2
== NULL
) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 resultobj
= SWIG_FromInt((int)result
);
11040 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11041 PyObject
*resultobj
;
11042 wxImage
*arg1
= (wxImage
*) 0 ;
11043 wxString
*arg2
= 0 ;
11045 bool temp2
= False
;
11046 PyObject
* obj0
= 0 ;
11047 PyObject
* obj1
= 0 ;
11048 char *kwnames
[] = {
11049 (char *) "self",(char *) "name", NULL
11052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
11053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11056 arg2
= wxString_in_helper(obj1
);
11057 if (arg2
== NULL
) SWIG_fail
;
11061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11062 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11084 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
;
11086 wxImage
*arg1
= (wxImage
*) 0 ;
11087 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
11088 unsigned long result
;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self",(char *) "stopafter", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11099 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
11100 if (PyErr_Occurred()) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 result
= (unsigned long)(arg1
)->CountColours(arg2
);
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11116 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11117 PyObject
*resultobj
;
11118 wxImage
*arg1
= (wxImage
*) 0 ;
11119 wxImageHistogram
*arg2
= 0 ;
11120 unsigned long result
;
11121 PyObject
* obj0
= 0 ;
11122 PyObject
* obj1
= 0 ;
11123 char *kwnames
[] = {
11124 (char *) "self",(char *) "h", NULL
11127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11130 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11131 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11133 if (arg2
== NULL
) {
11134 PyErr_SetString(PyExc_TypeError
,"null reference");
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11151 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "handler", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11164 wxImage::AddHandler(arg1
);
11166 wxPyEndAllowThreads(__tstate
);
11167 if (PyErr_Occurred()) SWIG_fail
;
11169 Py_INCREF(Py_None
); resultobj
= Py_None
;
11176 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11177 PyObject
*resultobj
;
11178 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11179 PyObject
* obj0
= 0 ;
11180 char *kwnames
[] = {
11181 (char *) "handler", NULL
11184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11189 wxImage::InsertHandler(arg1
);
11191 wxPyEndAllowThreads(__tstate
);
11192 if (PyErr_Occurred()) SWIG_fail
;
11194 Py_INCREF(Py_None
); resultobj
= Py_None
;
11201 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11202 PyObject
*resultobj
;
11203 wxString
*arg1
= 0 ;
11205 bool temp1
= False
;
11206 PyObject
* obj0
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "name", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11213 arg1
= wxString_in_helper(obj0
);
11214 if (arg1
== NULL
) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11225 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11241 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11242 PyObject
*resultobj
;
11244 char *kwnames
[] = {
11248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 result
= wxImage::GetImageExtWildcard();
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11258 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11260 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11269 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxImage
*arg1
= (wxImage
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11282 if (!wxPyCheckForApp()) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= wxImage_ConvertToBitmap(arg1
);
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11290 wxBitmap
* resultptr
;
11291 resultptr
= new wxBitmap((wxBitmap
&) result
);
11292 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11300 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxImage
*arg1
= (wxImage
*) 0 ;
11303 unsigned char arg2
;
11304 unsigned char arg3
;
11305 unsigned char arg4
;
11307 PyObject
* obj0
= 0 ;
11308 PyObject
* obj1
= 0 ;
11309 PyObject
* obj2
= 0 ;
11310 PyObject
* obj3
= 0 ;
11311 char *kwnames
[] = {
11312 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11318 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11319 if (PyErr_Occurred()) SWIG_fail
;
11320 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11321 if (PyErr_Occurred()) SWIG_fail
;
11322 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11323 if (PyErr_Occurred()) SWIG_fail
;
11325 if (!wxPyCheckForApp()) SWIG_fail
;
11326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11327 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11329 wxPyEndAllowThreads(__tstate
);
11330 if (PyErr_Occurred()) SWIG_fail
;
11333 wxBitmap
* resultptr
;
11334 resultptr
= new wxBitmap((wxBitmap
&) result
);
11335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11343 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11346 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11348 return Py_BuildValue((char *)"");
11350 static int _wrap_NullImage_set(PyObject
*_val
) {
11351 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11356 static PyObject
*_wrap_NullImage_get() {
11359 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11364 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11365 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11370 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11375 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11377 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11384 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11385 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11390 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11395 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11397 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11404 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11405 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11410 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11415 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11417 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11424 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11425 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11430 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11435 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11437 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11444 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11445 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11450 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11455 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11457 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11464 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11465 PyObject
*resultobj
;
11466 wxBMPHandler
*result
;
11467 char *kwnames
[] = {
11471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxBMPHandler
*)new wxBMPHandler();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11486 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11489 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11491 return Py_BuildValue((char *)"");
11493 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxICOHandler
*result
;
11496 char *kwnames
[] = {
11500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11503 result
= (wxICOHandler
*)new wxICOHandler();
11505 wxPyEndAllowThreads(__tstate
);
11506 if (PyErr_Occurred()) SWIG_fail
;
11508 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11515 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11517 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11518 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11520 return Py_BuildValue((char *)"");
11522 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11523 PyObject
*resultobj
;
11524 wxCURHandler
*result
;
11525 char *kwnames
[] = {
11529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11532 result
= (wxCURHandler
*)new wxCURHandler();
11534 wxPyEndAllowThreads(__tstate
);
11535 if (PyErr_Occurred()) SWIG_fail
;
11537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11544 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11547 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11549 return Py_BuildValue((char *)"");
11551 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11552 PyObject
*resultobj
;
11553 wxANIHandler
*result
;
11554 char *kwnames
[] = {
11558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11561 result
= (wxANIHandler
*)new wxANIHandler();
11563 wxPyEndAllowThreads(__tstate
);
11564 if (PyErr_Occurred()) SWIG_fail
;
11566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11573 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11575 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11576 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11578 return Py_BuildValue((char *)"");
11580 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxPNGHandler
*result
;
11583 char *kwnames
[] = {
11587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11590 result
= (wxPNGHandler
*)new wxPNGHandler();
11592 wxPyEndAllowThreads(__tstate
);
11593 if (PyErr_Occurred()) SWIG_fail
;
11595 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11602 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11605 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11607 return Py_BuildValue((char *)"");
11609 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11610 PyObject
*resultobj
;
11611 wxGIFHandler
*result
;
11612 char *kwnames
[] = {
11616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11619 result
= (wxGIFHandler
*)new wxGIFHandler();
11621 wxPyEndAllowThreads(__tstate
);
11622 if (PyErr_Occurred()) SWIG_fail
;
11624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11631 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11634 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11636 return Py_BuildValue((char *)"");
11638 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11639 PyObject
*resultobj
;
11640 wxPCXHandler
*result
;
11641 char *kwnames
[] = {
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (wxPCXHandler
*)new wxPCXHandler();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11660 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11663 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11665 return Py_BuildValue((char *)"");
11667 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11668 PyObject
*resultobj
;
11669 wxJPEGHandler
*result
;
11670 char *kwnames
[] = {
11674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11689 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11692 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11694 return Py_BuildValue((char *)"");
11696 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11697 PyObject
*resultobj
;
11698 wxPNMHandler
*result
;
11699 char *kwnames
[] = {
11703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11706 result
= (wxPNMHandler
*)new wxPNMHandler();
11708 wxPyEndAllowThreads(__tstate
);
11709 if (PyErr_Occurred()) SWIG_fail
;
11711 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11718 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11720 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11723 return Py_BuildValue((char *)"");
11725 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11726 PyObject
*resultobj
;
11727 wxXPMHandler
*result
;
11728 char *kwnames
[] = {
11732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (wxXPMHandler
*)new wxXPMHandler();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11747 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11750 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11752 return Py_BuildValue((char *)"");
11754 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11755 PyObject
*resultobj
;
11756 wxTIFFHandler
*result
;
11757 char *kwnames
[] = {
11761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11764 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11766 wxPyEndAllowThreads(__tstate
);
11767 if (PyErr_Occurred()) SWIG_fail
;
11769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11776 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11779 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11781 return Py_BuildValue((char *)"");
11783 static PyObject
*_wrap_Quantize_Quantize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11784 PyObject
*resultobj
;
11785 wxImage
*arg1
= 0 ;
11786 wxImage
*arg2
= 0 ;
11787 int arg3
= (int) 236 ;
11788 int arg4
= (int) wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
|wxQUANTIZE_FILL_DESTINATION_IMAGE
;
11790 PyObject
* obj0
= 0 ;
11791 PyObject
* obj1
= 0 ;
11792 PyObject
* obj2
= 0 ;
11793 PyObject
* obj3
= 0 ;
11794 char *kwnames
[] = {
11795 (char *) "src",(char *) "dest",(char *) "desiredNoColours",(char *) "flags", NULL
11798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Quantize_Quantize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11802 if (arg1
== NULL
) {
11803 PyErr_SetString(PyExc_TypeError
,"null reference");
11806 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
11807 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11809 if (arg2
== NULL
) {
11810 PyErr_SetString(PyExc_TypeError
,"null reference");
11814 arg3
= (int) SWIG_AsInt(obj2
);
11815 if (PyErr_Occurred()) SWIG_fail
;
11818 arg4
= (int) SWIG_AsInt(obj3
);
11819 if (PyErr_Occurred()) SWIG_fail
;
11822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11823 result
= (bool)Quantize_Quantize((wxImage
const &)*arg1
,*arg2
,arg3
,arg4
);
11825 wxPyEndAllowThreads(__tstate
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11837 static PyObject
* Quantize_swigregister(PyObject
*self
, PyObject
*args
) {
11839 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11840 SWIG_TypeClientData(SWIGTYPE_p_wxQuantize
, obj
);
11842 return Py_BuildValue((char *)"");
11844 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxEvtHandler
*result
;
11847 char *kwnames
[] = {
11851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11854 result
= (wxEvtHandler
*)new wxEvtHandler();
11856 wxPyEndAllowThreads(__tstate
);
11857 if (PyErr_Occurred()) SWIG_fail
;
11859 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvtHandler
, 1);
11866 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11867 PyObject
*resultobj
;
11868 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11869 wxEvtHandler
*result
;
11870 PyObject
* obj0
= 0 ;
11871 char *kwnames
[] = {
11872 (char *) "self", NULL
11875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11880 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11882 wxPyEndAllowThreads(__tstate
);
11883 if (PyErr_Occurred()) SWIG_fail
;
11886 resultobj
= wxPyMake_wxObject(result
, 0);
11894 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11895 PyObject
*resultobj
;
11896 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11897 wxEvtHandler
*result
;
11898 PyObject
* obj0
= 0 ;
11899 char *kwnames
[] = {
11900 (char *) "self", NULL
11903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11908 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11910 wxPyEndAllowThreads(__tstate
);
11911 if (PyErr_Occurred()) SWIG_fail
;
11914 resultobj
= wxPyMake_wxObject(result
, 0);
11922 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
;
11924 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11925 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11926 PyObject
* obj0
= 0 ;
11927 PyObject
* obj1
= 0 ;
11928 char *kwnames
[] = {
11929 (char *) "self",(char *) "handler", NULL
11932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11935 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11936 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 (arg1
)->SetNextHandler(arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 Py_INCREF(Py_None
); resultobj
= Py_None
;
11951 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11954 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11955 PyObject
* obj0
= 0 ;
11956 PyObject
* obj1
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "handler", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11968 (arg1
)->SetPreviousHandler(arg2
);
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 Py_INCREF(Py_None
); resultobj
= Py_None
;
11980 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
;
11982 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11994 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12008 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12009 PyObject
*resultobj
;
12010 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 PyObject
* obj1
= 0 ;
12014 char *kwnames
[] = {
12015 (char *) "self",(char *) "enabled", NULL
12018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
12019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12021 arg2
= (bool) SWIG_AsBool(obj1
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12025 (arg1
)->SetEvtHandlerEnabled(arg2
);
12027 wxPyEndAllowThreads(__tstate
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 Py_INCREF(Py_None
); resultobj
= Py_None
;
12037 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12038 PyObject
*resultobj
;
12039 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12040 wxEvent
*arg2
= 0 ;
12042 PyObject
* obj0
= 0 ;
12043 PyObject
* obj1
= 0 ;
12044 char *kwnames
[] = {
12045 (char *) "self",(char *) "event", NULL
12048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12051 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12052 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12054 if (arg2
== NULL
) {
12055 PyErr_SetString(PyExc_TypeError
,"null reference");
12059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12060 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
12062 wxPyEndAllowThreads(__tstate
);
12063 if (PyErr_Occurred()) SWIG_fail
;
12066 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12074 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12075 PyObject
*resultobj
;
12076 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12077 wxEvent
*arg2
= 0 ;
12078 PyObject
* obj0
= 0 ;
12079 PyObject
* obj1
= 0 ;
12080 char *kwnames
[] = {
12081 (char *) "self",(char *) "event", NULL
12084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12087 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
12088 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12090 if (arg2
== NULL
) {
12091 PyErr_SetString(PyExc_TypeError
,"null reference");
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 (arg1
)->AddPendingEvent(*arg2
);
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 Py_INCREF(Py_None
); resultobj
= Py_None
;
12108 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12111 PyObject
* obj0
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 (arg1
)->ProcessPendingEvents();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 Py_INCREF(Py_None
); resultobj
= Py_None
;
12133 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12139 PyObject
*arg5
= (PyObject
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 PyObject
* obj1
= 0 ;
12142 PyObject
* obj2
= 0 ;
12143 PyObject
* obj3
= 0 ;
12144 PyObject
* obj4
= 0 ;
12145 char *kwnames
[] = {
12146 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
12149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
12150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 arg2
= (int) SWIG_AsInt(obj1
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12154 arg3
= (int) SWIG_AsInt(obj2
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12156 arg4
= (int) SWIG_AsInt(obj3
);
12157 if (PyErr_Occurred()) SWIG_fail
;
12160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12161 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
12163 wxPyEndAllowThreads(__tstate
);
12164 if (PyErr_Occurred()) SWIG_fail
;
12166 Py_INCREF(Py_None
); resultobj
= Py_None
;
12173 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12174 PyObject
*resultobj
;
12175 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12177 int arg3
= (int) -1 ;
12178 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12180 PyObject
* obj0
= 0 ;
12181 PyObject
* obj1
= 0 ;
12182 PyObject
* obj2
= 0 ;
12183 PyObject
* obj3
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12191 arg2
= (int) SWIG_AsInt(obj1
);
12192 if (PyErr_Occurred()) SWIG_fail
;
12194 arg3
= (int) SWIG_AsInt(obj2
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12198 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12203 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12205 wxPyEndAllowThreads(__tstate
);
12206 if (PyErr_Occurred()) SWIG_fail
;
12209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12217 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12220 PyObject
*arg2
= (PyObject
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 PyObject
* obj1
= 0 ;
12223 char *kwnames
[] = {
12224 (char *) "self",(char *) "_self", NULL
12227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12233 wxEvtHandler__setOORInfo(arg1
,arg2
);
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 Py_INCREF(Py_None
); resultobj
= Py_None
;
12245 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12250 return Py_BuildValue((char *)"");
12252 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12253 PyObject
*resultobj
;
12254 wxEventType result
;
12255 char *kwnames
[] = {
12259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12262 result
= (wxEventType
)wxNewEventType();
12264 wxPyEndAllowThreads(__tstate
);
12265 if (PyErr_Occurred()) SWIG_fail
;
12267 resultobj
= SWIG_FromInt((int)result
);
12274 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12275 PyObject
*resultobj
;
12276 wxEvent
*arg1
= (wxEvent
*) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 char *kwnames
[] = {
12279 (char *) "self", NULL
12282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 wxPyEndAllowThreads(__tstate
);
12290 if (PyErr_Occurred()) SWIG_fail
;
12292 Py_INCREF(Py_None
); resultobj
= Py_None
;
12299 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12300 PyObject
*resultobj
;
12301 wxEvent
*arg1
= (wxEvent
*) 0 ;
12303 PyObject
* obj0
= 0 ;
12304 PyObject
* obj1
= 0 ;
12305 char *kwnames
[] = {
12306 (char *) "self",(char *) "typ", NULL
12309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12312 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12313 if (PyErr_Occurred()) SWIG_fail
;
12315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12316 (arg1
)->SetEventType(arg2
);
12318 wxPyEndAllowThreads(__tstate
);
12319 if (PyErr_Occurred()) SWIG_fail
;
12321 Py_INCREF(Py_None
); resultobj
= Py_None
;
12328 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12329 PyObject
*resultobj
;
12330 wxEvent
*arg1
= (wxEvent
*) 0 ;
12331 wxEventType result
;
12332 PyObject
* obj0
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= SWIG_FromInt((int)result
);
12354 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxEvent
*arg1
= (wxEvent
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12368 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= wxPyMake_wxObject(result
, 0);
12382 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12383 PyObject
*resultobj
;
12384 wxEvent
*arg1
= (wxEvent
*) 0 ;
12385 wxObject
*arg2
= (wxObject
*) 0 ;
12386 PyObject
* obj0
= 0 ;
12387 PyObject
* obj1
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self",(char *) "obj", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12395 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 (arg1
)->SetEventObject(arg2
);
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 Py_INCREF(Py_None
); resultobj
= Py_None
;
12411 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxEvent
*arg1
= (wxEvent
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= SWIG_FromLong((long)result
);
12437 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxEvent
*arg1
= (wxEvent
*) 0 ;
12440 long arg2
= (long) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 PyObject
* obj1
= 0 ;
12443 char *kwnames
[] = {
12444 (char *) "self",(char *) "ts", NULL
12447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12451 arg2
= (long) SWIG_AsLong(obj1
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12456 (arg1
)->SetTimestamp(arg2
);
12458 wxPyEndAllowThreads(__tstate
);
12459 if (PyErr_Occurred()) SWIG_fail
;
12461 Py_INCREF(Py_None
); resultobj
= Py_None
;
12468 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12469 PyObject
*resultobj
;
12470 wxEvent
*arg1
= (wxEvent
*) 0 ;
12472 PyObject
* obj0
= 0 ;
12473 char *kwnames
[] = {
12474 (char *) "self", NULL
12477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12482 result
= (int)((wxEvent
const *)arg1
)->GetId();
12484 wxPyEndAllowThreads(__tstate
);
12485 if (PyErr_Occurred()) SWIG_fail
;
12487 resultobj
= SWIG_FromInt((int)result
);
12494 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12495 PyObject
*resultobj
;
12496 wxEvent
*arg1
= (wxEvent
*) 0 ;
12498 PyObject
* obj0
= 0 ;
12499 PyObject
* obj1
= 0 ;
12500 char *kwnames
[] = {
12501 (char *) "self",(char *) "Id", NULL
12504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12507 arg2
= (int) SWIG_AsInt(obj1
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetId(arg2
);
12513 wxPyEndAllowThreads(__tstate
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 Py_INCREF(Py_None
); resultobj
= Py_None
;
12523 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12524 PyObject
*resultobj
;
12525 wxEvent
*arg1
= (wxEvent
*) 0 ;
12527 PyObject
* obj0
= 0 ;
12528 char *kwnames
[] = {
12529 (char *) "self", NULL
12532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12551 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxEvent
*arg1
= (wxEvent
*) 0 ;
12554 bool arg2
= (bool) True
;
12555 PyObject
* obj0
= 0 ;
12556 PyObject
* obj1
= 0 ;
12557 char *kwnames
[] = {
12558 (char *) "self",(char *) "skip", NULL
12561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12565 arg2
= (bool) SWIG_AsBool(obj1
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12570 (arg1
)->Skip(arg2
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 Py_INCREF(Py_None
); resultobj
= Py_None
;
12582 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12583 PyObject
*resultobj
;
12584 wxEvent
*arg1
= (wxEvent
*) 0 ;
12586 PyObject
* obj0
= 0 ;
12587 char *kwnames
[] = {
12588 (char *) "self", NULL
12591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12610 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12611 PyObject
*resultobj
;
12612 wxEvent
*arg1
= (wxEvent
*) 0 ;
12614 PyObject
* obj0
= 0 ;
12615 char *kwnames
[] = {
12616 (char *) "self", NULL
12619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12638 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12639 PyObject
*resultobj
;
12640 wxEvent
*arg1
= (wxEvent
*) 0 ;
12642 PyObject
* obj0
= 0 ;
12643 char *kwnames
[] = {
12644 (char *) "self", NULL
12647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12652 result
= (int)(arg1
)->StopPropagation();
12654 wxPyEndAllowThreads(__tstate
);
12655 if (PyErr_Occurred()) SWIG_fail
;
12657 resultobj
= SWIG_FromInt((int)result
);
12664 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12665 PyObject
*resultobj
;
12666 wxEvent
*arg1
= (wxEvent
*) 0 ;
12668 PyObject
* obj0
= 0 ;
12669 PyObject
* obj1
= 0 ;
12670 char *kwnames
[] = {
12671 (char *) "self",(char *) "propagationLevel", NULL
12674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12677 arg2
= (int) SWIG_AsInt(obj1
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12681 (arg1
)->ResumePropagation(arg2
);
12683 wxPyEndAllowThreads(__tstate
);
12684 if (PyErr_Occurred()) SWIG_fail
;
12686 Py_INCREF(Py_None
); resultobj
= Py_None
;
12693 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12694 PyObject
*resultobj
;
12695 wxEvent
*arg1
= (wxEvent
*) 0 ;
12697 PyObject
* obj0
= 0 ;
12698 char *kwnames
[] = {
12699 (char *) "self", NULL
12702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (wxEvent
*)(arg1
)->Clone();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12719 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12721 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12722 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12724 return Py_BuildValue((char *)"");
12726 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12727 PyObject
*resultobj
;
12728 wxEvent
*arg1
= 0 ;
12729 wxPropagationDisabler
*result
;
12730 PyObject
* obj0
= 0 ;
12731 char *kwnames
[] = {
12732 (char *) "event", NULL
12735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12737 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12739 if (arg1
== NULL
) {
12740 PyErr_SetString(PyExc_TypeError
,"null reference");
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12757 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 wxPyEndAllowThreads(__tstate
);
12773 if (PyErr_Occurred()) SWIG_fail
;
12775 Py_INCREF(Py_None
); resultobj
= Py_None
;
12782 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12784 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12785 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12787 return Py_BuildValue((char *)"");
12789 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxEvent
*arg1
= 0 ;
12792 wxPropagateOnce
*result
;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "event", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12802 if (arg1
== NULL
) {
12803 PyErr_SetString(PyExc_TypeError
,"null reference");
12807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12808 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12810 wxPyEndAllowThreads(__tstate
);
12811 if (PyErr_Occurred()) SWIG_fail
;
12813 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12820 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12821 PyObject
*resultobj
;
12822 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 wxPyEndAllowThreads(__tstate
);
12836 if (PyErr_Occurred()) SWIG_fail
;
12838 Py_INCREF(Py_None
); resultobj
= Py_None
;
12845 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12848 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12850 return Py_BuildValue((char *)"");
12852 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12853 PyObject
*resultobj
;
12854 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12855 int arg2
= (int) 0 ;
12856 wxCommandEvent
*result
;
12857 PyObject
* obj0
= 0 ;
12858 PyObject
* obj1
= 0 ;
12859 char *kwnames
[] = {
12860 (char *) "commandType",(char *) "winid", NULL
12863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12865 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 arg2
= (int) SWIG_AsInt(obj1
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12874 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12876 wxPyEndAllowThreads(__tstate
);
12877 if (PyErr_Occurred()) SWIG_fail
;
12879 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12886 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 char *kwnames
[] = {
12892 (char *) "self", NULL
12895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12900 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12902 wxPyEndAllowThreads(__tstate
);
12903 if (PyErr_Occurred()) SWIG_fail
;
12905 resultobj
= SWIG_FromInt((int)result
);
12912 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12913 PyObject
*resultobj
;
12914 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12915 wxString
*arg2
= 0 ;
12916 bool temp2
= False
;
12917 PyObject
* obj0
= 0 ;
12918 PyObject
* obj1
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self",(char *) "s", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12927 arg2
= wxString_in_helper(obj1
);
12928 if (arg2
== NULL
) SWIG_fail
;
12932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12933 (arg1
)->SetString((wxString
const &)*arg2
);
12935 wxPyEndAllowThreads(__tstate
);
12936 if (PyErr_Occurred()) SWIG_fail
;
12938 Py_INCREF(Py_None
); resultobj
= Py_None
;
12953 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12954 PyObject
*resultobj
;
12955 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12957 PyObject
* obj0
= 0 ;
12958 char *kwnames
[] = {
12959 (char *) "self", NULL
12962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12967 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12969 wxPyEndAllowThreads(__tstate
);
12970 if (PyErr_Occurred()) SWIG_fail
;
12974 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12976 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12985 static PyObject
*_wrap_CommandEvent_IsChecked(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_IsChecked",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
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
13001 wxPyEndAllowThreads(__tstate
);
13002 if (PyErr_Occurred()) SWIG_fail
;
13005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13013 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13014 PyObject
*resultobj
;
13015 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13017 PyObject
* obj0
= 0 ;
13018 char *kwnames
[] = {
13019 (char *) "self", NULL
13022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
13023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
13029 wxPyEndAllowThreads(__tstate
);
13030 if (PyErr_Occurred()) SWIG_fail
;
13033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13041 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 PyObject
* obj1
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self",(char *) "extraLong", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13054 arg2
= (long) SWIG_AsLong(obj1
);
13055 if (PyErr_Occurred()) SWIG_fail
;
13057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13058 (arg1
)->SetExtraLong(arg2
);
13060 wxPyEndAllowThreads(__tstate
);
13061 if (PyErr_Occurred()) SWIG_fail
;
13063 Py_INCREF(Py_None
); resultobj
= Py_None
;
13070 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13071 PyObject
*resultobj
;
13072 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13074 PyObject
* obj0
= 0 ;
13075 char *kwnames
[] = {
13076 (char *) "self", NULL
13079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
13080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13084 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
13086 wxPyEndAllowThreads(__tstate
);
13087 if (PyErr_Occurred()) SWIG_fail
;
13089 resultobj
= SWIG_FromLong((long)result
);
13096 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13097 PyObject
*resultobj
;
13098 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13100 PyObject
* obj0
= 0 ;
13101 PyObject
* obj1
= 0 ;
13102 char *kwnames
[] = {
13103 (char *) "self",(char *) "i", NULL
13106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
13107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13109 arg2
= (int) SWIG_AsInt(obj1
);
13110 if (PyErr_Occurred()) SWIG_fail
;
13112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13113 (arg1
)->SetInt(arg2
);
13115 wxPyEndAllowThreads(__tstate
);
13116 if (PyErr_Occurred()) SWIG_fail
;
13118 Py_INCREF(Py_None
); resultobj
= Py_None
;
13125 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13129 PyObject
* obj0
= 0 ;
13130 char *kwnames
[] = {
13131 (char *) "self", NULL
13134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
13135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13139 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
13141 wxPyEndAllowThreads(__tstate
);
13142 if (PyErr_Occurred()) SWIG_fail
;
13144 resultobj
= SWIG_FromLong((long)result
);
13151 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13152 PyObject
*resultobj
;
13153 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
13155 PyObject
* obj0
= 0 ;
13156 char *kwnames
[] = {
13157 (char *) "self", NULL
13160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
13161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
13162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13165 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13167 wxPyEndAllowThreads(__tstate
);
13168 if (PyErr_Occurred()) SWIG_fail
;
13170 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13177 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13180 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13182 return Py_BuildValue((char *)"");
13184 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13185 PyObject
*resultobj
;
13186 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13187 int arg2
= (int) 0 ;
13188 wxNotifyEvent
*result
;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char *kwnames
[] = {
13192 (char *) "commandType",(char *) "winid", NULL
13195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13197 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13201 arg2
= (int) SWIG_AsInt(obj1
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13206 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13218 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13219 PyObject
*resultobj
;
13220 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 char *kwnames
[] = {
13223 (char *) "self", NULL
13226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13233 wxPyEndAllowThreads(__tstate
);
13234 if (PyErr_Occurred()) SWIG_fail
;
13236 Py_INCREF(Py_None
); resultobj
= Py_None
;
13243 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
;
13245 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13246 PyObject
* obj0
= 0 ;
13247 char *kwnames
[] = {
13248 (char *) "self", NULL
13251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13258 wxPyEndAllowThreads(__tstate
);
13259 if (PyErr_Occurred()) SWIG_fail
;
13261 Py_INCREF(Py_None
); resultobj
= Py_None
;
13268 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13269 PyObject
*resultobj
;
13270 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13272 PyObject
* obj0
= 0 ;
13273 char *kwnames
[] = {
13274 (char *) "self", NULL
13277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13282 result
= (bool)(arg1
)->IsAllowed();
13284 wxPyEndAllowThreads(__tstate
);
13285 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13296 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13298 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13299 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13301 return Py_BuildValue((char *)"");
13303 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13304 PyObject
*resultobj
;
13305 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13306 int arg2
= (int) 0 ;
13307 int arg3
= (int) 0 ;
13308 int arg4
= (int) 0 ;
13309 wxScrollEvent
*result
;
13310 PyObject
* obj0
= 0 ;
13311 PyObject
* obj1
= 0 ;
13312 PyObject
* obj2
= 0 ;
13313 PyObject
* obj3
= 0 ;
13314 char *kwnames
[] = {
13315 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13320 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13321 if (PyErr_Occurred()) SWIG_fail
;
13324 arg2
= (int) SWIG_AsInt(obj1
);
13325 if (PyErr_Occurred()) SWIG_fail
;
13328 arg3
= (int) SWIG_AsInt(obj2
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13332 arg4
= (int) SWIG_AsInt(obj3
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13339 wxPyEndAllowThreads(__tstate
);
13340 if (PyErr_Occurred()) SWIG_fail
;
13342 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13349 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13350 PyObject
*resultobj
;
13351 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13353 PyObject
* obj0
= 0 ;
13354 char *kwnames
[] = {
13355 (char *) "self", NULL
13358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13363 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_FromInt((int)result
);
13375 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
;
13377 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13379 PyObject
* obj0
= 0 ;
13380 char *kwnames
[] = {
13381 (char *) "self", NULL
13384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= SWIG_FromInt((int)result
);
13401 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "orient", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13414 arg2
= (int) SWIG_AsInt(obj1
);
13415 if (PyErr_Occurred()) SWIG_fail
;
13417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13418 (arg1
)->SetOrientation(arg2
);
13420 wxPyEndAllowThreads(__tstate
);
13421 if (PyErr_Occurred()) SWIG_fail
;
13423 Py_INCREF(Py_None
); resultobj
= Py_None
;
13430 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13431 PyObject
*resultobj
;
13432 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13434 PyObject
* obj0
= 0 ;
13435 PyObject
* obj1
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self",(char *) "pos", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13443 arg2
= (int) SWIG_AsInt(obj1
);
13444 if (PyErr_Occurred()) SWIG_fail
;
13446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13447 (arg1
)->SetPosition(arg2
);
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 Py_INCREF(Py_None
); resultobj
= Py_None
;
13459 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13461 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13462 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13464 return Py_BuildValue((char *)"");
13466 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13467 PyObject
*resultobj
;
13468 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13469 int arg2
= (int) 0 ;
13470 int arg3
= (int) 0 ;
13471 wxScrollWinEvent
*result
;
13472 PyObject
* obj0
= 0 ;
13473 PyObject
* obj1
= 0 ;
13474 PyObject
* obj2
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13481 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13482 if (PyErr_Occurred()) SWIG_fail
;
13485 arg2
= (int) SWIG_AsInt(obj1
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13489 arg3
= (int) SWIG_AsInt(obj2
);
13490 if (PyErr_Occurred()) SWIG_fail
;
13493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13494 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13496 wxPyEndAllowThreads(__tstate
);
13497 if (PyErr_Occurred()) SWIG_fail
;
13499 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13506 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13507 PyObject
*resultobj
;
13508 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13510 PyObject
* obj0
= 0 ;
13511 char *kwnames
[] = {
13512 (char *) "self", NULL
13515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_FromInt((int)result
);
13532 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
;
13534 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13536 PyObject
* obj0
= 0 ;
13537 char *kwnames
[] = {
13538 (char *) "self", NULL
13541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13546 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13548 wxPyEndAllowThreads(__tstate
);
13549 if (PyErr_Occurred()) SWIG_fail
;
13551 resultobj
= SWIG_FromInt((int)result
);
13558 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13559 PyObject
*resultobj
;
13560 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13562 PyObject
* obj0
= 0 ;
13563 PyObject
* obj1
= 0 ;
13564 char *kwnames
[] = {
13565 (char *) "self",(char *) "orient", NULL
13568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13571 arg2
= (int) SWIG_AsInt(obj1
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13575 (arg1
)->SetOrientation(arg2
);
13577 wxPyEndAllowThreads(__tstate
);
13578 if (PyErr_Occurred()) SWIG_fail
;
13580 Py_INCREF(Py_None
); resultobj
= Py_None
;
13587 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13588 PyObject
*resultobj
;
13589 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char *kwnames
[] = {
13594 (char *) "self",(char *) "pos", NULL
13597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 arg2
= (int) SWIG_AsInt(obj1
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13604 (arg1
)->SetPosition(arg2
);
13606 wxPyEndAllowThreads(__tstate
);
13607 if (PyErr_Occurred()) SWIG_fail
;
13609 Py_INCREF(Py_None
); resultobj
= Py_None
;
13616 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13619 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13621 return Py_BuildValue((char *)"");
13623 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13624 PyObject
*resultobj
;
13625 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13626 wxMouseEvent
*result
;
13627 PyObject
* obj0
= 0 ;
13628 char *kwnames
[] = {
13629 (char *) "mouseType", NULL
13632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13634 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13635 if (PyErr_Occurred()) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13645 resultobj
= wxPyMake_wxObject(result
, 1);
13653 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13667 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13669 wxPyEndAllowThreads(__tstate
);
13670 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13681 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13682 PyObject
*resultobj
;
13683 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13684 int arg2
= (int) wxMOUSE_BTN_ANY
;
13686 PyObject
* obj0
= 0 ;
13687 PyObject
* obj1
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self",(char *) "but", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 arg2
= (int) SWIG_AsInt(obj1
);
13697 if (PyErr_Occurred()) SWIG_fail
;
13700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13701 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13703 wxPyEndAllowThreads(__tstate
);
13704 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13715 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13716 PyObject
*resultobj
;
13717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13718 int arg2
= (int) wxMOUSE_BTN_ANY
;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char *kwnames
[] = {
13723 (char *) "self",(char *) "but", NULL
13726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13730 arg2
= (int) SWIG_AsInt(obj1
);
13731 if (PyErr_Occurred()) SWIG_fail
;
13734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13735 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13737 wxPyEndAllowThreads(__tstate
);
13738 if (PyErr_Occurred()) SWIG_fail
;
13741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13749 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13750 PyObject
*resultobj
;
13751 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13752 int arg2
= (int) wxMOUSE_BTN_ANY
;
13754 PyObject
* obj0
= 0 ;
13755 PyObject
* obj1
= 0 ;
13756 char *kwnames
[] = {
13757 (char *) "self",(char *) "but", NULL
13760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13764 arg2
= (int) SWIG_AsInt(obj1
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13771 wxPyEndAllowThreads(__tstate
);
13772 if (PyErr_Occurred()) SWIG_fail
;
13775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13783 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 PyObject
* obj1
= 0 ;
13790 char *kwnames
[] = {
13791 (char *) "self",(char *) "but", NULL
13794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13797 arg2
= (int) SWIG_AsInt(obj1
);
13798 if (PyErr_Occurred()) SWIG_fail
;
13800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13801 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(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_ButtonIsDown(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_ButtonIsDown",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
)->ButtonIsDown(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_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13861 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13863 wxPyEndAllowThreads(__tstate
);
13864 if (PyErr_Occurred()) SWIG_fail
;
13866 resultobj
= SWIG_FromInt((int)result
);
13873 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13874 PyObject
*resultobj
;
13875 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13877 PyObject
* obj0
= 0 ;
13878 char *kwnames
[] = {
13879 (char *) "self", NULL
13882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13887 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13889 wxPyEndAllowThreads(__tstate
);
13890 if (PyErr_Occurred()) SWIG_fail
;
13893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13901 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13902 PyObject
*resultobj
;
13903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13905 PyObject
* obj0
= 0 ;
13906 char *kwnames
[] = {
13907 (char *) "self", NULL
13910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13915 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13917 wxPyEndAllowThreads(__tstate
);
13918 if (PyErr_Occurred()) SWIG_fail
;
13921 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13929 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13930 PyObject
*resultobj
;
13931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13933 PyObject
* obj0
= 0 ;
13934 char *kwnames
[] = {
13935 (char *) "self", NULL
13938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13943 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13945 wxPyEndAllowThreads(__tstate
);
13946 if (PyErr_Occurred()) SWIG_fail
;
13949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13957 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13958 PyObject
*resultobj
;
13959 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13961 PyObject
* obj0
= 0 ;
13962 char *kwnames
[] = {
13963 (char *) "self", NULL
13966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13971 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13973 wxPyEndAllowThreads(__tstate
);
13974 if (PyErr_Occurred()) SWIG_fail
;
13977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13985 static PyObject
*_wrap_MouseEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13986 PyObject
*resultobj
;
13987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13989 PyObject
* obj0
= 0 ;
13990 char *kwnames
[] = {
13991 (char *) "self", NULL
13994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
13995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13999 result
= (bool)((wxMouseEvent
const *)arg1
)->CmdDown();
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14013 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14014 PyObject
*resultobj
;
14015 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14017 PyObject
* obj0
= 0 ;
14018 char *kwnames
[] = {
14019 (char *) "self", NULL
14022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
14023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14027 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
14029 wxPyEndAllowThreads(__tstate
);
14030 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14041 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14042 PyObject
*resultobj
;
14043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14045 PyObject
* obj0
= 0 ;
14046 char *kwnames
[] = {
14047 (char *) "self", NULL
14050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
14051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14055 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
14057 wxPyEndAllowThreads(__tstate
);
14058 if (PyErr_Occurred()) SWIG_fail
;
14061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14069 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14070 PyObject
*resultobj
;
14071 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14073 PyObject
* obj0
= 0 ;
14074 char *kwnames
[] = {
14075 (char *) "self", NULL
14078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
14079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14083 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
14085 wxPyEndAllowThreads(__tstate
);
14086 if (PyErr_Occurred()) SWIG_fail
;
14089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14097 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14098 PyObject
*resultobj
;
14099 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14101 PyObject
* obj0
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14111 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
14113 wxPyEndAllowThreads(__tstate
);
14114 if (PyErr_Occurred()) SWIG_fail
;
14117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14125 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14126 PyObject
*resultobj
;
14127 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14129 PyObject
* obj0
= 0 ;
14130 char *kwnames
[] = {
14131 (char *) "self", NULL
14134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
14135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14139 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
14141 wxPyEndAllowThreads(__tstate
);
14142 if (PyErr_Occurred()) SWIG_fail
;
14145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14153 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14154 PyObject
*resultobj
;
14155 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14157 PyObject
* obj0
= 0 ;
14158 char *kwnames
[] = {
14159 (char *) "self", NULL
14162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
14163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14167 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
14169 wxPyEndAllowThreads(__tstate
);
14170 if (PyErr_Occurred()) SWIG_fail
;
14173 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14181 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14195 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14197 wxPyEndAllowThreads(__tstate
);
14198 if (PyErr_Occurred()) SWIG_fail
;
14201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14209 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14210 PyObject
*resultobj
;
14211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14213 PyObject
* obj0
= 0 ;
14214 char *kwnames
[] = {
14215 (char *) "self", NULL
14218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14223 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14225 wxPyEndAllowThreads(__tstate
);
14226 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14237 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14238 PyObject
*resultobj
;
14239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14241 PyObject
* obj0
= 0 ;
14242 char *kwnames
[] = {
14243 (char *) "self", NULL
14246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14251 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14253 wxPyEndAllowThreads(__tstate
);
14254 if (PyErr_Occurred()) SWIG_fail
;
14257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14265 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14266 PyObject
*resultobj
;
14267 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14269 PyObject
* obj0
= 0 ;
14270 char *kwnames
[] = {
14271 (char *) "self", NULL
14274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14279 result
= (bool)(arg1
)->LeftIsDown();
14281 wxPyEndAllowThreads(__tstate
);
14282 if (PyErr_Occurred()) SWIG_fail
;
14285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14293 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14294 PyObject
*resultobj
;
14295 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14297 PyObject
* obj0
= 0 ;
14298 char *kwnames
[] = {
14299 (char *) "self", NULL
14302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14307 result
= (bool)(arg1
)->MiddleIsDown();
14309 wxPyEndAllowThreads(__tstate
);
14310 if (PyErr_Occurred()) SWIG_fail
;
14313 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14321 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14322 PyObject
*resultobj
;
14323 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14325 PyObject
* obj0
= 0 ;
14326 char *kwnames
[] = {
14327 (char *) "self", NULL
14330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14335 result
= (bool)(arg1
)->RightIsDown();
14337 wxPyEndAllowThreads(__tstate
);
14338 if (PyErr_Occurred()) SWIG_fail
;
14341 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14349 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 char *kwnames
[] = {
14355 (char *) "self", NULL
14358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14363 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14365 wxPyEndAllowThreads(__tstate
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14369 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14377 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14391 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14405 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14406 PyObject
*resultobj
;
14407 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 char *kwnames
[] = {
14411 (char *) "self", NULL
14414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14419 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14421 wxPyEndAllowThreads(__tstate
);
14422 if (PyErr_Occurred()) SWIG_fail
;
14425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14433 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 char *kwnames
[] = {
14439 (char *) "self", NULL
14442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14449 wxPyEndAllowThreads(__tstate
);
14450 if (PyErr_Occurred()) SWIG_fail
;
14453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14461 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14475 result
= (arg1
)->GetPosition();
14477 wxPyEndAllowThreads(__tstate
);
14478 if (PyErr_Occurred()) SWIG_fail
;
14481 wxPoint
* resultptr
;
14482 resultptr
= new wxPoint((wxPoint
&) result
);
14483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14491 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14492 PyObject
*resultobj
;
14493 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14494 long *arg2
= (long *) 0 ;
14495 long *arg3
= (long *) 0 ;
14498 PyObject
* obj0
= 0 ;
14499 char *kwnames
[] = {
14500 (char *) "self", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 (arg1
)->GetPosition(arg2
,arg3
);
14512 wxPyEndAllowThreads(__tstate
);
14513 if (PyErr_Occurred()) SWIG_fail
;
14515 Py_INCREF(Py_None
); resultobj
= Py_None
;
14517 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14518 resultobj
= t_output_helper(resultobj
,o
);
14521 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14522 resultobj
= t_output_helper(resultobj
,o
);
14530 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14531 PyObject
*resultobj
;
14532 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14535 PyObject
* obj0
= 0 ;
14536 PyObject
* obj1
= 0 ;
14537 char *kwnames
[] = {
14538 (char *) "self",(char *) "dc", NULL
14541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14545 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14547 if (arg2
== NULL
) {
14548 PyErr_SetString(PyExc_TypeError
,"null reference");
14552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14553 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14555 wxPyEndAllowThreads(__tstate
);
14556 if (PyErr_Occurred()) SWIG_fail
;
14559 wxPoint
* resultptr
;
14560 resultptr
= new wxPoint((wxPoint
&) result
);
14561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14569 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14570 PyObject
*resultobj
;
14571 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14573 PyObject
* obj0
= 0 ;
14574 char *kwnames
[] = {
14575 (char *) "self", NULL
14578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14583 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14585 wxPyEndAllowThreads(__tstate
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14588 resultobj
= SWIG_FromInt((int)result
);
14595 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14609 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14611 wxPyEndAllowThreads(__tstate
);
14612 if (PyErr_Occurred()) SWIG_fail
;
14614 resultobj
= SWIG_FromInt((int)result
);
14621 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14622 PyObject
*resultobj
;
14623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14625 PyObject
* obj0
= 0 ;
14626 char *kwnames
[] = {
14627 (char *) "self", NULL
14630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14635 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14637 wxPyEndAllowThreads(__tstate
);
14638 if (PyErr_Occurred()) SWIG_fail
;
14640 resultobj
= SWIG_FromInt((int)result
);
14647 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14648 PyObject
*resultobj
;
14649 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "self", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 resultobj
= SWIG_FromInt((int)result
);
14673 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14689 wxPyEndAllowThreads(__tstate
);
14690 if (PyErr_Occurred()) SWIG_fail
;
14692 resultobj
= SWIG_FromInt((int)result
);
14699 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14700 PyObject
*resultobj
;
14701 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14703 PyObject
* obj0
= 0 ;
14704 char *kwnames
[] = {
14705 (char *) "self", NULL
14708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14713 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14727 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14728 PyObject
*resultobj
;
14729 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14731 PyObject
* obj0
= 0 ;
14732 PyObject
* obj1
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self",(char *) "m_x", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14740 arg2
= (int) SWIG_AsInt(obj1
);
14741 if (PyErr_Occurred()) SWIG_fail
;
14742 if (arg1
) (arg1
)->m_x
= arg2
;
14744 Py_INCREF(Py_None
); resultobj
= Py_None
;
14751 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14755 PyObject
* obj0
= 0 ;
14756 char *kwnames
[] = {
14757 (char *) "self", NULL
14760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14763 result
= (int) ((arg1
)->m_x
);
14765 resultobj
= SWIG_FromInt((int)result
);
14772 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14773 PyObject
*resultobj
;
14774 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14776 PyObject
* obj0
= 0 ;
14777 PyObject
* obj1
= 0 ;
14778 char *kwnames
[] = {
14779 (char *) "self",(char *) "m_y", NULL
14782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14785 arg2
= (int) SWIG_AsInt(obj1
);
14786 if (PyErr_Occurred()) SWIG_fail
;
14787 if (arg1
) (arg1
)->m_y
= arg2
;
14789 Py_INCREF(Py_None
); resultobj
= Py_None
;
14796 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14797 PyObject
*resultobj
;
14798 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14800 PyObject
* obj0
= 0 ;
14801 char *kwnames
[] = {
14802 (char *) "self", NULL
14805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14808 result
= (int) ((arg1
)->m_y
);
14810 resultobj
= SWIG_FromInt((int)result
);
14817 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14818 PyObject
*resultobj
;
14819 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14821 PyObject
* obj0
= 0 ;
14822 PyObject
* obj1
= 0 ;
14823 char *kwnames
[] = {
14824 (char *) "self",(char *) "m_leftDown", NULL
14827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14830 arg2
= (bool) SWIG_AsBool(obj1
);
14831 if (PyErr_Occurred()) SWIG_fail
;
14832 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14834 Py_INCREF(Py_None
); resultobj
= Py_None
;
14841 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14853 result
= (bool) ((arg1
)->m_leftDown
);
14856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14864 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14865 PyObject
*resultobj
;
14866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14868 PyObject
* obj0
= 0 ;
14869 PyObject
* obj1
= 0 ;
14870 char *kwnames
[] = {
14871 (char *) "self",(char *) "m_middleDown", NULL
14874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14877 arg2
= (bool) SWIG_AsBool(obj1
);
14878 if (PyErr_Occurred()) SWIG_fail
;
14879 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14881 Py_INCREF(Py_None
); resultobj
= Py_None
;
14888 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14889 PyObject
*resultobj
;
14890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14892 PyObject
* obj0
= 0 ;
14893 char *kwnames
[] = {
14894 (char *) "self", NULL
14897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14900 result
= (bool) ((arg1
)->m_middleDown
);
14903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14911 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 PyObject
* obj1
= 0 ;
14917 char *kwnames
[] = {
14918 (char *) "self",(char *) "m_rightDown", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14924 arg2
= (bool) SWIG_AsBool(obj1
);
14925 if (PyErr_Occurred()) SWIG_fail
;
14926 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14928 Py_INCREF(Py_None
); resultobj
= Py_None
;
14935 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14939 PyObject
* obj0
= 0 ;
14940 char *kwnames
[] = {
14941 (char *) "self", NULL
14944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14947 result
= (bool) ((arg1
)->m_rightDown
);
14950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14958 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14962 PyObject
* obj0
= 0 ;
14963 PyObject
* obj1
= 0 ;
14964 char *kwnames
[] = {
14965 (char *) "self",(char *) "m_controlDown", NULL
14968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14971 arg2
= (bool) SWIG_AsBool(obj1
);
14972 if (PyErr_Occurred()) SWIG_fail
;
14973 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14975 Py_INCREF(Py_None
); resultobj
= Py_None
;
14982 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14983 PyObject
*resultobj
;
14984 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14986 PyObject
* obj0
= 0 ;
14987 char *kwnames
[] = {
14988 (char *) "self", NULL
14991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14994 result
= (bool) ((arg1
)->m_controlDown
);
14997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15005 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15009 PyObject
* obj0
= 0 ;
15010 PyObject
* obj1
= 0 ;
15011 char *kwnames
[] = {
15012 (char *) "self",(char *) "m_shiftDown", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15018 arg2
= (bool) SWIG_AsBool(obj1
);
15019 if (PyErr_Occurred()) SWIG_fail
;
15020 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15022 Py_INCREF(Py_None
); resultobj
= Py_None
;
15029 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15041 result
= (bool) ((arg1
)->m_shiftDown
);
15044 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15052 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15053 PyObject
*resultobj
;
15054 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15056 PyObject
* obj0
= 0 ;
15057 PyObject
* obj1
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self",(char *) "m_altDown", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15065 arg2
= (bool) SWIG_AsBool(obj1
);
15066 if (PyErr_Occurred()) SWIG_fail
;
15067 if (arg1
) (arg1
)->m_altDown
= arg2
;
15069 Py_INCREF(Py_None
); resultobj
= Py_None
;
15076 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15077 PyObject
*resultobj
;
15078 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15080 PyObject
* obj0
= 0 ;
15081 char *kwnames
[] = {
15082 (char *) "self", NULL
15085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15088 result
= (bool) ((arg1
)->m_altDown
);
15091 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15099 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15100 PyObject
*resultobj
;
15101 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15103 PyObject
* obj0
= 0 ;
15104 PyObject
* obj1
= 0 ;
15105 char *kwnames
[] = {
15106 (char *) "self",(char *) "m_metaDown", NULL
15109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15112 arg2
= (bool) SWIG_AsBool(obj1
);
15113 if (PyErr_Occurred()) SWIG_fail
;
15114 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15116 Py_INCREF(Py_None
); resultobj
= Py_None
;
15123 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15124 PyObject
*resultobj
;
15125 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15127 PyObject
* obj0
= 0 ;
15128 char *kwnames
[] = {
15129 (char *) "self", NULL
15132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15133 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15134 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15135 result
= (bool) ((arg1
)->m_metaDown
);
15138 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15146 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15147 PyObject
*resultobj
;
15148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15150 PyObject
* obj0
= 0 ;
15151 PyObject
* obj1
= 0 ;
15152 char *kwnames
[] = {
15153 (char *) "self",(char *) "m_wheelRotation", NULL
15156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15159 arg2
= (int) SWIG_AsInt(obj1
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15161 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
15163 Py_INCREF(Py_None
); resultobj
= Py_None
;
15170 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15171 PyObject
*resultobj
;
15172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15174 PyObject
* obj0
= 0 ;
15175 char *kwnames
[] = {
15176 (char *) "self", NULL
15179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
15180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15182 result
= (int) ((arg1
)->m_wheelRotation
);
15184 resultobj
= SWIG_FromInt((int)result
);
15191 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 PyObject
* obj1
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self",(char *) "m_wheelDelta", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 arg2
= (int) SWIG_AsInt(obj1
);
15205 if (PyErr_Occurred()) SWIG_fail
;
15206 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15208 Py_INCREF(Py_None
); resultobj
= Py_None
;
15215 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15227 result
= (int) ((arg1
)->m_wheelDelta
);
15229 resultobj
= SWIG_FromInt((int)result
);
15236 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15237 PyObject
*resultobj
;
15238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15240 PyObject
* obj0
= 0 ;
15241 PyObject
* obj1
= 0 ;
15242 char *kwnames
[] = {
15243 (char *) "self",(char *) "m_linesPerAction", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15249 arg2
= (int) SWIG_AsInt(obj1
);
15250 if (PyErr_Occurred()) SWIG_fail
;
15251 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15253 Py_INCREF(Py_None
); resultobj
= Py_None
;
15260 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15261 PyObject
*resultobj
;
15262 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15264 PyObject
* obj0
= 0 ;
15265 char *kwnames
[] = {
15266 (char *) "self", NULL
15269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15272 result
= (int) ((arg1
)->m_linesPerAction
);
15274 resultobj
= SWIG_FromInt((int)result
);
15281 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15284 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15286 return Py_BuildValue((char *)"");
15288 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15289 PyObject
*resultobj
;
15290 int arg1
= (int) 0 ;
15291 int arg2
= (int) 0 ;
15292 wxSetCursorEvent
*result
;
15293 PyObject
* obj0
= 0 ;
15294 PyObject
* obj1
= 0 ;
15295 char *kwnames
[] = {
15296 (char *) "x",(char *) "y", NULL
15299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15301 arg1
= (int) SWIG_AsInt(obj0
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15305 arg2
= (int) SWIG_AsInt(obj1
);
15306 if (PyErr_Occurred()) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15322 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= SWIG_FromInt((int)result
);
15348 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15349 PyObject
*resultobj
;
15350 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15352 PyObject
* obj0
= 0 ;
15353 char *kwnames
[] = {
15354 (char *) "self", NULL
15357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15362 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15364 wxPyEndAllowThreads(__tstate
);
15365 if (PyErr_Occurred()) SWIG_fail
;
15367 resultobj
= SWIG_FromInt((int)result
);
15374 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15375 PyObject
*resultobj
;
15376 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15377 wxCursor
*arg2
= 0 ;
15378 PyObject
* obj0
= 0 ;
15379 PyObject
* obj1
= 0 ;
15380 char *kwnames
[] = {
15381 (char *) "self",(char *) "cursor", NULL
15384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15387 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15388 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15390 if (arg2
== NULL
) {
15391 PyErr_SetString(PyExc_TypeError
,"null reference");
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15423 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15424 result
= (wxCursor
*) &_result_ref
;
15427 wxPyEndAllowThreads(__tstate
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15431 wxCursor
* resultptr
= new wxCursor(*result
);
15432 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15440 static PyObject
*_wrap_SetCursorEvent_HasCursor(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_HasCursor",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();
15454 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15456 wxPyEndAllowThreads(__tstate
);
15457 if (PyErr_Occurred()) SWIG_fail
;
15460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15468 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15471 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15473 return Py_BuildValue((char *)"");
15475 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15478 wxKeyEvent
*result
;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "keyType", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15486 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15487 if (PyErr_Occurred()) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15503 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15517 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15531 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15532 PyObject
*resultobj
;
15533 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15535 PyObject
* obj0
= 0 ;
15536 char *kwnames
[] = {
15537 (char *) "self", NULL
15540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15545 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15547 wxPyEndAllowThreads(__tstate
);
15548 if (PyErr_Occurred()) SWIG_fail
;
15551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15559 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15560 PyObject
*resultobj
;
15561 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15563 PyObject
* obj0
= 0 ;
15564 char *kwnames
[] = {
15565 (char *) "self", NULL
15568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15573 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15575 wxPyEndAllowThreads(__tstate
);
15576 if (PyErr_Occurred()) SWIG_fail
;
15579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15587 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15588 PyObject
*resultobj
;
15589 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15591 PyObject
* obj0
= 0 ;
15592 char *kwnames
[] = {
15593 (char *) "self", NULL
15596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15601 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15603 wxPyEndAllowThreads(__tstate
);
15604 if (PyErr_Occurred()) SWIG_fail
;
15607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15615 static PyObject
*_wrap_KeyEvent_CmdDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15616 PyObject
*resultobj
;
15617 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15619 PyObject
* obj0
= 0 ;
15620 char *kwnames
[] = {
15621 (char *) "self", NULL
15624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_CmdDown",kwnames
,&obj0
)) goto fail
;
15625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15629 result
= (bool)((wxKeyEvent
const *)arg1
)->CmdDown();
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15635 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15643 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15644 PyObject
*resultobj
;
15645 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15647 PyObject
* obj0
= 0 ;
15648 char *kwnames
[] = {
15649 (char *) "self", NULL
15652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15659 wxPyEndAllowThreads(__tstate
);
15660 if (PyErr_Occurred()) SWIG_fail
;
15663 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15671 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15672 PyObject
*resultobj
;
15673 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15675 PyObject
* obj0
= 0 ;
15676 char *kwnames
[] = {
15677 (char *) "self", NULL
15680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15687 wxPyEndAllowThreads(__tstate
);
15688 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= SWIG_FromInt((int)result
);
15697 static PyObject
*_wrap_KeyEvent_GetUnicodeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15698 PyObject
*resultobj
;
15699 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15701 PyObject
* obj0
= 0 ;
15702 char *kwnames
[] = {
15703 (char *) "self", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUnicodeKey",kwnames
,&obj0
)) goto fail
;
15707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15711 result
= (int)wxKeyEvent_GetUnicodeKey(arg1
);
15713 wxPyEndAllowThreads(__tstate
);
15714 if (PyErr_Occurred()) SWIG_fail
;
15716 resultobj
= SWIG_FromInt((int)result
);
15723 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15724 PyObject
*resultobj
;
15725 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15726 unsigned int result
;
15727 PyObject
* obj0
= 0 ;
15728 char *kwnames
[] = {
15729 (char *) "self", NULL
15732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15737 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15739 wxPyEndAllowThreads(__tstate
);
15740 if (PyErr_Occurred()) SWIG_fail
;
15742 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15749 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15750 PyObject
*resultobj
;
15751 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15752 unsigned int result
;
15753 PyObject
* obj0
= 0 ;
15754 char *kwnames
[] = {
15755 (char *) "self", NULL
15758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15763 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15765 wxPyEndAllowThreads(__tstate
);
15766 if (PyErr_Occurred()) SWIG_fail
;
15768 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15775 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15776 PyObject
*resultobj
;
15777 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15779 PyObject
* obj0
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15789 result
= (arg1
)->GetPosition();
15791 wxPyEndAllowThreads(__tstate
);
15792 if (PyErr_Occurred()) SWIG_fail
;
15795 wxPoint
* resultptr
;
15796 resultptr
= new wxPoint((wxPoint
&) result
);
15797 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15805 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15806 PyObject
*resultobj
;
15807 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15808 long *arg2
= (long *) 0 ;
15809 long *arg3
= (long *) 0 ;
15812 PyObject
* obj0
= 0 ;
15813 char *kwnames
[] = {
15814 (char *) "self", NULL
15819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 (arg1
)->GetPosition(arg2
,arg3
);
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 Py_INCREF(Py_None
); resultobj
= Py_None
;
15831 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15832 resultobj
= t_output_helper(resultobj
,o
);
15835 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15836 resultobj
= t_output_helper(resultobj
,o
);
15844 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15845 PyObject
*resultobj
;
15846 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 PyObject
* obj0
= 0 ;
15849 char *kwnames
[] = {
15850 (char *) "self", NULL
15853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15860 wxPyEndAllowThreads(__tstate
);
15861 if (PyErr_Occurred()) SWIG_fail
;
15863 resultobj
= SWIG_FromInt((int)result
);
15870 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15871 PyObject
*resultobj
;
15872 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15874 PyObject
* obj0
= 0 ;
15875 char *kwnames
[] = {
15876 (char *) "self", NULL
15879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_FromInt((int)result
);
15896 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15897 PyObject
*resultobj
;
15898 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15900 PyObject
* obj0
= 0 ;
15901 PyObject
* obj1
= 0 ;
15902 char *kwnames
[] = {
15903 (char *) "self",(char *) "m_x", NULL
15906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15909 arg2
= (int) SWIG_AsInt(obj1
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15911 if (arg1
) (arg1
)->m_x
= arg2
;
15913 Py_INCREF(Py_None
); resultobj
= Py_None
;
15920 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15921 PyObject
*resultobj
;
15922 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15924 PyObject
* obj0
= 0 ;
15925 char *kwnames
[] = {
15926 (char *) "self", NULL
15929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15932 result
= (int) ((arg1
)->m_x
);
15934 resultobj
= SWIG_FromInt((int)result
);
15941 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 PyObject
* obj1
= 0 ;
15947 char *kwnames
[] = {
15948 (char *) "self",(char *) "m_y", NULL
15951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 arg2
= (int) SWIG_AsInt(obj1
);
15955 if (PyErr_Occurred()) SWIG_fail
;
15956 if (arg1
) (arg1
)->m_y
= arg2
;
15958 Py_INCREF(Py_None
); resultobj
= Py_None
;
15965 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15966 PyObject
*resultobj
;
15967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15969 PyObject
* obj0
= 0 ;
15970 char *kwnames
[] = {
15971 (char *) "self", NULL
15974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15977 result
= (int) ((arg1
)->m_y
);
15979 resultobj
= SWIG_FromInt((int)result
);
15986 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15987 PyObject
*resultobj
;
15988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15990 PyObject
* obj0
= 0 ;
15991 PyObject
* obj1
= 0 ;
15992 char *kwnames
[] = {
15993 (char *) "self",(char *) "m_keyCode", NULL
15996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15999 arg2
= (long) SWIG_AsLong(obj1
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16001 if (arg1
) (arg1
)->m_keyCode
= arg2
;
16003 Py_INCREF(Py_None
); resultobj
= Py_None
;
16010 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16011 PyObject
*resultobj
;
16012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16014 PyObject
* obj0
= 0 ;
16015 char *kwnames
[] = {
16016 (char *) "self", NULL
16019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
16020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16022 result
= (long) ((arg1
)->m_keyCode
);
16024 resultobj
= SWIG_FromLong((long)result
);
16031 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "m_controlDown", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 arg2
= (bool) SWIG_AsBool(obj1
);
16045 if (PyErr_Occurred()) SWIG_fail
;
16046 if (arg1
) (arg1
)->m_controlDown
= arg2
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 result
= (bool) ((arg1
)->m_controlDown
);
16070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16078 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "m_shiftDown", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 arg2
= (bool) SWIG_AsBool(obj1
);
16092 if (PyErr_Occurred()) SWIG_fail
;
16093 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
16095 Py_INCREF(Py_None
); resultobj
= Py_None
;
16102 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 result
= (bool) ((arg1
)->m_shiftDown
);
16117 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16125 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16126 PyObject
*resultobj
;
16127 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16129 PyObject
* obj0
= 0 ;
16130 PyObject
* obj1
= 0 ;
16131 char *kwnames
[] = {
16132 (char *) "self",(char *) "m_altDown", NULL
16135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16138 arg2
= (bool) SWIG_AsBool(obj1
);
16139 if (PyErr_Occurred()) SWIG_fail
;
16140 if (arg1
) (arg1
)->m_altDown
= arg2
;
16142 Py_INCREF(Py_None
); resultobj
= Py_None
;
16149 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16150 PyObject
*resultobj
;
16151 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16153 PyObject
* obj0
= 0 ;
16154 char *kwnames
[] = {
16155 (char *) "self", NULL
16158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
16159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16161 result
= (bool) ((arg1
)->m_altDown
);
16164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16172 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16173 PyObject
*resultobj
;
16174 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16176 PyObject
* obj0
= 0 ;
16177 PyObject
* obj1
= 0 ;
16178 char *kwnames
[] = {
16179 (char *) "self",(char *) "m_metaDown", NULL
16182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16185 arg2
= (bool) SWIG_AsBool(obj1
);
16186 if (PyErr_Occurred()) SWIG_fail
;
16187 if (arg1
) (arg1
)->m_metaDown
= arg2
;
16189 Py_INCREF(Py_None
); resultobj
= Py_None
;
16196 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16208 result
= (bool) ((arg1
)->m_metaDown
);
16211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16219 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16220 PyObject
*resultobj
;
16221 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16223 PyObject
* obj0
= 0 ;
16224 PyObject
* obj1
= 0 ;
16225 char *kwnames
[] = {
16226 (char *) "self",(char *) "m_scanCode", NULL
16229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16232 arg2
= (bool) SWIG_AsBool(obj1
);
16233 if (PyErr_Occurred()) SWIG_fail
;
16234 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16236 Py_INCREF(Py_None
); resultobj
= Py_None
;
16243 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 result
= (bool) ((arg1
)->m_scanCode
);
16258 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16266 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16267 PyObject
*resultobj
;
16268 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16269 unsigned int arg2
;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 char *kwnames
[] = {
16273 (char *) "self",(char *) "m_rawCode", NULL
16276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16279 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16281 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16293 unsigned int result
;
16294 PyObject
* obj0
= 0 ;
16295 char *kwnames
[] = {
16296 (char *) "self", NULL
16299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16302 result
= (unsigned int) ((arg1
)->m_rawCode
);
16304 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16311 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16312 PyObject
*resultobj
;
16313 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16314 unsigned int arg2
;
16315 PyObject
* obj0
= 0 ;
16316 PyObject
* obj1
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self",(char *) "m_rawFlags", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16325 if (PyErr_Occurred()) SWIG_fail
;
16326 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16328 Py_INCREF(Py_None
); resultobj
= Py_None
;
16335 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16338 unsigned int result
;
16339 PyObject
* obj0
= 0 ;
16340 char *kwnames
[] = {
16341 (char *) "self", NULL
16344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16347 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16349 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16356 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16359 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16361 return Py_BuildValue((char *)"");
16363 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16364 PyObject
*resultobj
;
16365 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16366 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16367 int arg2
= (int) 0 ;
16368 wxSizeEvent
*result
;
16370 PyObject
* obj0
= 0 ;
16371 PyObject
* obj1
= 0 ;
16372 char *kwnames
[] = {
16373 (char *) "sz",(char *) "winid", NULL
16376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16380 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16384 arg2
= (int) SWIG_AsInt(obj1
);
16385 if (PyErr_Occurred()) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16401 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16415 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16417 wxPyEndAllowThreads(__tstate
);
16418 if (PyErr_Occurred()) SWIG_fail
;
16421 wxSize
* resultptr
;
16422 resultptr
= new wxSize((wxSize
&) result
);
16423 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16431 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16432 PyObject
*resultobj
;
16433 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16435 PyObject
* obj0
= 0 ;
16436 char *kwnames
[] = {
16437 (char *) "self", NULL
16440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16451 wxRect
* resultptr
;
16452 resultptr
= new wxRect((wxRect
&) result
);
16453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16461 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
;
16463 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 PyObject
* obj1
= 0 ;
16468 char *kwnames
[] = {
16469 (char *) "self",(char *) "rect", NULL
16472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16475 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16476 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16480 (arg1
)->SetRect(arg2
);
16482 wxPyEndAllowThreads(__tstate
);
16483 if (PyErr_Occurred()) SWIG_fail
;
16485 Py_INCREF(Py_None
); resultobj
= Py_None
;
16492 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16493 PyObject
*resultobj
;
16494 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16497 PyObject
* obj0
= 0 ;
16498 PyObject
* obj1
= 0 ;
16499 char *kwnames
[] = {
16500 (char *) "self",(char *) "size", NULL
16503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16506 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16507 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16511 wxSizeEvent_SetSize(arg1
,arg2
);
16513 wxPyEndAllowThreads(__tstate
);
16514 if (PyErr_Occurred()) SWIG_fail
;
16516 Py_INCREF(Py_None
); resultobj
= Py_None
;
16523 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16524 PyObject
*resultobj
;
16525 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16526 wxSize
*arg2
= (wxSize
*) 0 ;
16527 PyObject
* obj0
= 0 ;
16528 PyObject
* obj1
= 0 ;
16529 char *kwnames
[] = {
16530 (char *) "self",(char *) "m_size", NULL
16533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16538 if (arg1
) (arg1
)->m_size
= *arg2
;
16540 Py_INCREF(Py_None
); resultobj
= Py_None
;
16547 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16548 PyObject
*resultobj
;
16549 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16551 PyObject
* obj0
= 0 ;
16552 char *kwnames
[] = {
16553 (char *) "self", NULL
16556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16559 result
= (wxSize
*)& ((arg1
)->m_size
);
16561 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16568 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16569 PyObject
*resultobj
;
16570 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16571 wxRect
*arg2
= (wxRect
*) 0 ;
16572 PyObject
* obj0
= 0 ;
16573 PyObject
* obj1
= 0 ;
16574 char *kwnames
[] = {
16575 (char *) "self",(char *) "m_rect", NULL
16578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16583 if (arg1
) (arg1
)->m_rect
= *arg2
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 result
= (wxRect
*)& ((arg1
)->m_rect
);
16606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16613 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16616 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16618 return Py_BuildValue((char *)"");
16620 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16621 PyObject
*resultobj
;
16622 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16623 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16624 int arg2
= (int) 0 ;
16625 wxMoveEvent
*result
;
16627 PyObject
* obj0
= 0 ;
16628 PyObject
* obj1
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "pos",(char *) "winid", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16637 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16641 arg2
= (int) SWIG_AsInt(obj1
);
16642 if (PyErr_Occurred()) SWIG_fail
;
16645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16646 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16648 wxPyEndAllowThreads(__tstate
);
16649 if (PyErr_Occurred()) SWIG_fail
;
16651 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16658 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16659 PyObject
*resultobj
;
16660 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16662 PyObject
* obj0
= 0 ;
16663 char *kwnames
[] = {
16664 (char *) "self", NULL
16667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16672 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16674 wxPyEndAllowThreads(__tstate
);
16675 if (PyErr_Occurred()) SWIG_fail
;
16678 wxPoint
* resultptr
;
16679 resultptr
= new wxPoint((wxPoint
&) result
);
16680 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16688 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16689 PyObject
*resultobj
;
16690 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16692 PyObject
* obj0
= 0 ;
16693 char *kwnames
[] = {
16694 (char *) "self", NULL
16697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16704 wxPyEndAllowThreads(__tstate
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 wxRect
* resultptr
;
16709 resultptr
= new wxRect((wxRect
&) result
);
16710 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16718 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16719 PyObject
*resultobj
;
16720 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16723 PyObject
* obj0
= 0 ;
16724 PyObject
* obj1
= 0 ;
16725 char *kwnames
[] = {
16726 (char *) "self",(char *) "rect", NULL
16729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16732 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16733 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16737 (arg1
)->SetRect(arg2
);
16739 wxPyEndAllowThreads(__tstate
);
16740 if (PyErr_Occurred()) SWIG_fail
;
16742 Py_INCREF(Py_None
); resultobj
= Py_None
;
16749 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16750 PyObject
*resultobj
;
16751 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16754 PyObject
* obj0
= 0 ;
16755 PyObject
* obj1
= 0 ;
16756 char *kwnames
[] = {
16757 (char *) "self",(char *) "pos", NULL
16760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16763 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16764 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16768 wxMoveEvent_SetPosition(arg1
,arg2
);
16770 wxPyEndAllowThreads(__tstate
);
16771 if (PyErr_Occurred()) SWIG_fail
;
16773 Py_INCREF(Py_None
); resultobj
= Py_None
;
16780 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16781 PyObject
*resultobj
;
16782 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16783 wxPoint
*arg2
= (wxPoint
*) 0 ;
16784 PyObject
* obj0
= 0 ;
16785 PyObject
* obj1
= 0 ;
16786 char *kwnames
[] = {
16787 (char *) "self",(char *) "m_pos", NULL
16790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16793 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16795 if (arg1
) (arg1
)->m_pos
= *arg2
;
16797 Py_INCREF(Py_None
); resultobj
= Py_None
;
16804 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16805 PyObject
*resultobj
;
16806 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16808 PyObject
* obj0
= 0 ;
16809 char *kwnames
[] = {
16810 (char *) "self", NULL
16813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16816 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16825 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16826 PyObject
*resultobj
;
16827 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16828 wxRect
*arg2
= (wxRect
*) 0 ;
16829 PyObject
* obj0
= 0 ;
16830 PyObject
* obj1
= 0 ;
16831 char *kwnames
[] = {
16832 (char *) "self",(char *) "m_rect", NULL
16835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16838 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16840 if (arg1
) (arg1
)->m_rect
= *arg2
;
16842 Py_INCREF(Py_None
); resultobj
= Py_None
;
16849 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16850 PyObject
*resultobj
;
16851 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16853 PyObject
* obj0
= 0 ;
16854 char *kwnames
[] = {
16855 (char *) "self", NULL
16858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16861 result
= (wxRect
*)& ((arg1
)->m_rect
);
16863 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16870 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16873 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16875 return Py_BuildValue((char *)"");
16877 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16879 int arg1
= (int) 0 ;
16880 wxPaintEvent
*result
;
16881 PyObject
* obj0
= 0 ;
16882 char *kwnames
[] = {
16883 (char *) "Id", NULL
16886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16888 arg1
= (int) SWIG_AsInt(obj0
);
16889 if (PyErr_Occurred()) SWIG_fail
;
16892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16893 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16895 wxPyEndAllowThreads(__tstate
);
16896 if (PyErr_Occurred()) SWIG_fail
;
16898 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16905 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16907 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16908 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16910 return Py_BuildValue((char *)"");
16912 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
;
16914 int arg1
= (int) 0 ;
16915 wxNcPaintEvent
*result
;
16916 PyObject
* obj0
= 0 ;
16917 char *kwnames
[] = {
16918 (char *) "winid", NULL
16921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16923 arg1
= (int) SWIG_AsInt(obj0
);
16924 if (PyErr_Occurred()) SWIG_fail
;
16927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16928 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16930 wxPyEndAllowThreads(__tstate
);
16931 if (PyErr_Occurred()) SWIG_fail
;
16933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16940 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16942 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16943 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16945 return Py_BuildValue((char *)"");
16947 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16948 PyObject
*resultobj
;
16949 int arg1
= (int) 0 ;
16950 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16951 wxEraseEvent
*result
;
16952 PyObject
* obj0
= 0 ;
16953 PyObject
* obj1
= 0 ;
16954 char *kwnames
[] = {
16955 (char *) "Id",(char *) "dc", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16960 arg1
= (int) SWIG_AsInt(obj0
);
16961 if (PyErr_Occurred()) SWIG_fail
;
16964 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16965 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16981 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16995 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16997 wxPyEndAllowThreads(__tstate
);
16998 if (PyErr_Occurred()) SWIG_fail
;
17001 resultobj
= wxPyMake_wxObject(result
, 0);
17009 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17012 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
17014 return Py_BuildValue((char *)"");
17016 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17017 PyObject
*resultobj
;
17018 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17019 int arg2
= (int) 0 ;
17020 wxFocusEvent
*result
;
17021 PyObject
* obj0
= 0 ;
17022 PyObject
* obj1
= 0 ;
17023 char *kwnames
[] = {
17024 (char *) "type",(char *) "winid", NULL
17027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17029 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17033 arg2
= (int) SWIG_AsInt(obj1
);
17034 if (PyErr_Occurred()) SWIG_fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
17050 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "self", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17064 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
17066 wxPyEndAllowThreads(__tstate
);
17067 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= wxPyMake_wxObject(result
, 0);
17078 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17079 PyObject
*resultobj
;
17080 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
17081 wxWindow
*arg2
= (wxWindow
*) 0 ;
17082 PyObject
* obj0
= 0 ;
17083 PyObject
* obj1
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self",(char *) "win", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
17090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 (arg1
)->SetWindow(arg2
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 Py_INCREF(Py_None
); resultobj
= Py_None
;
17107 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17110 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
17112 return Py_BuildValue((char *)"");
17114 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17115 PyObject
*resultobj
;
17116 wxWindow
*arg1
= (wxWindow
*) NULL
;
17117 wxChildFocusEvent
*result
;
17118 PyObject
* obj0
= 0 ;
17119 char *kwnames
[] = {
17120 (char *) "win", NULL
17123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
17125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17130 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
17142 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17143 PyObject
*resultobj
;
17144 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
17146 PyObject
* obj0
= 0 ;
17147 char *kwnames
[] = {
17148 (char *) "self", NULL
17151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
17152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
17153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17156 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= wxPyMake_wxObject(result
, 0);
17170 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17172 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17173 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
17175 return Py_BuildValue((char *)"");
17177 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17178 PyObject
*resultobj
;
17179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17180 bool arg2
= (bool) True
;
17181 int arg3
= (int) 0 ;
17182 wxActivateEvent
*result
;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 PyObject
* obj2
= 0 ;
17186 char *kwnames
[] = {
17187 (char *) "type",(char *) "active",(char *) "Id", NULL
17190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17192 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17193 if (PyErr_Occurred()) SWIG_fail
;
17196 arg2
= (bool) SWIG_AsBool(obj1
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17200 arg3
= (int) SWIG_AsInt(obj2
);
17201 if (PyErr_Occurred()) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
17217 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17218 PyObject
*resultobj
;
17219 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17221 PyObject
* obj0
= 0 ;
17222 char *kwnames
[] = {
17223 (char *) "self", NULL
17226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17245 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17248 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17250 return Py_BuildValue((char *)"");
17252 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17253 PyObject
*resultobj
;
17254 int arg1
= (int) 0 ;
17255 wxInitDialogEvent
*result
;
17256 PyObject
* obj0
= 0 ;
17257 char *kwnames
[] = {
17258 (char *) "Id", NULL
17261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17263 arg1
= (int) SWIG_AsInt(obj0
);
17264 if (PyErr_Occurred()) SWIG_fail
;
17267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17268 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17270 wxPyEndAllowThreads(__tstate
);
17271 if (PyErr_Occurred()) SWIG_fail
;
17273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17280 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17283 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17285 return Py_BuildValue((char *)"");
17287 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17290 int arg2
= (int) 0 ;
17291 wxMenu
*arg3
= (wxMenu
*) NULL
;
17292 wxMenuEvent
*result
;
17293 PyObject
* obj0
= 0 ;
17294 PyObject
* obj1
= 0 ;
17295 PyObject
* obj2
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "type",(char *) "winid",(char *) "menu", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17302 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 arg2
= (int) SWIG_AsInt(obj1
);
17307 if (PyErr_Occurred()) SWIG_fail
;
17310 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17315 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17317 wxPyEndAllowThreads(__tstate
);
17318 if (PyErr_Occurred()) SWIG_fail
;
17320 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17327 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17328 PyObject
*resultobj
;
17329 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17331 PyObject
* obj0
= 0 ;
17332 char *kwnames
[] = {
17333 (char *) "self", NULL
17336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17341 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17343 wxPyEndAllowThreads(__tstate
);
17344 if (PyErr_Occurred()) SWIG_fail
;
17346 resultobj
= SWIG_FromInt((int)result
);
17353 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17354 PyObject
*resultobj
;
17355 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17357 PyObject
* obj0
= 0 ;
17358 char *kwnames
[] = {
17359 (char *) "self", NULL
17362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17373 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17381 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17382 PyObject
*resultobj
;
17383 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17385 PyObject
* obj0
= 0 ;
17386 char *kwnames
[] = {
17387 (char *) "self", NULL
17390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17395 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17397 wxPyEndAllowThreads(__tstate
);
17398 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= wxPyMake_wxObject(result
, 0);
17409 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17412 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17414 return Py_BuildValue((char *)"");
17416 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17417 PyObject
*resultobj
;
17418 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17419 int arg2
= (int) 0 ;
17420 wxCloseEvent
*result
;
17421 PyObject
* obj0
= 0 ;
17422 PyObject
* obj1
= 0 ;
17423 char *kwnames
[] = {
17424 (char *) "type",(char *) "winid", NULL
17427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17429 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17433 arg2
= (int) SWIG_AsInt(obj1
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17438 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17440 wxPyEndAllowThreads(__tstate
);
17441 if (PyErr_Occurred()) SWIG_fail
;
17443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17450 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17451 PyObject
*resultobj
;
17452 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17454 PyObject
* obj0
= 0 ;
17455 PyObject
* obj1
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self",(char *) "logOff", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17463 arg2
= (bool) SWIG_AsBool(obj1
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17467 (arg1
)->SetLoggingOff(arg2
);
17469 wxPyEndAllowThreads(__tstate
);
17470 if (PyErr_Occurred()) SWIG_fail
;
17472 Py_INCREF(Py_None
); resultobj
= Py_None
;
17479 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17480 PyObject
*resultobj
;
17481 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17493 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17495 wxPyEndAllowThreads(__tstate
);
17496 if (PyErr_Occurred()) SWIG_fail
;
17499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17507 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17508 PyObject
*resultobj
;
17509 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17510 bool arg2
= (bool) True
;
17511 PyObject
* obj0
= 0 ;
17512 PyObject
* obj1
= 0 ;
17513 char *kwnames
[] = {
17514 (char *) "self",(char *) "veto", NULL
17517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17521 arg2
= (bool) SWIG_AsBool(obj1
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17526 (arg1
)->Veto(arg2
);
17528 wxPyEndAllowThreads(__tstate
);
17529 if (PyErr_Occurred()) SWIG_fail
;
17531 Py_INCREF(Py_None
); resultobj
= Py_None
;
17538 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
;
17540 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17542 PyObject
* obj0
= 0 ;
17543 PyObject
* obj1
= 0 ;
17544 char *kwnames
[] = {
17545 (char *) "self",(char *) "canVeto", NULL
17548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17551 arg2
= (bool) SWIG_AsBool(obj1
);
17552 if (PyErr_Occurred()) SWIG_fail
;
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 (arg1
)->SetCanVeto(arg2
);
17557 wxPyEndAllowThreads(__tstate
);
17558 if (PyErr_Occurred()) SWIG_fail
;
17560 Py_INCREF(Py_None
); resultobj
= Py_None
;
17567 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17568 PyObject
*resultobj
;
17569 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17571 PyObject
* obj0
= 0 ;
17572 char *kwnames
[] = {
17573 (char *) "self", NULL
17576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17581 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17583 wxPyEndAllowThreads(__tstate
);
17584 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17595 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17596 PyObject
*resultobj
;
17597 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17599 PyObject
* obj0
= 0 ;
17600 char *kwnames
[] = {
17601 (char *) "self", NULL
17604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17611 wxPyEndAllowThreads(__tstate
);
17612 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17623 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17625 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17626 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17628 return Py_BuildValue((char *)"");
17630 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 int arg1
= (int) 0 ;
17633 bool arg2
= (bool) False
;
17634 wxShowEvent
*result
;
17635 PyObject
* obj0
= 0 ;
17636 PyObject
* obj1
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "winid",(char *) "show", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17643 arg1
= (int) SWIG_AsInt(obj0
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17647 arg2
= (bool) SWIG_AsBool(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17664 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "show", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17677 arg2
= (bool) SWIG_AsBool(obj1
);
17678 if (PyErr_Occurred()) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->SetShow(arg2
);
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17707 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17709 wxPyEndAllowThreads(__tstate
);
17710 if (PyErr_Occurred()) SWIG_fail
;
17713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17721 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17724 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17726 return Py_BuildValue((char *)"");
17728 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17729 PyObject
*resultobj
;
17730 int arg1
= (int) 0 ;
17731 bool arg2
= (bool) True
;
17732 wxIconizeEvent
*result
;
17733 PyObject
* obj0
= 0 ;
17734 PyObject
* obj1
= 0 ;
17735 char *kwnames
[] = {
17736 (char *) "id",(char *) "iconized", NULL
17739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17741 arg1
= (int) SWIG_AsInt(obj0
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17745 arg2
= (bool) SWIG_AsBool(obj1
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17762 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 char *kwnames
[] = {
17768 (char *) "self", NULL
17771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17776 result
= (bool)(arg1
)->Iconized();
17778 wxPyEndAllowThreads(__tstate
);
17779 if (PyErr_Occurred()) SWIG_fail
;
17782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17790 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17793 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17795 return Py_BuildValue((char *)"");
17797 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17798 PyObject
*resultobj
;
17799 int arg1
= (int) 0 ;
17800 wxMaximizeEvent
*result
;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "id", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17808 arg1
= (int) SWIG_AsInt(obj0
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17825 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17827 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17828 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17830 return Py_BuildValue((char *)"");
17832 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17833 PyObject
*resultobj
;
17834 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17836 PyObject
* obj0
= 0 ;
17837 char *kwnames
[] = {
17838 (char *) "self", NULL
17841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17846 result
= (arg1
)->GetPosition();
17848 wxPyEndAllowThreads(__tstate
);
17849 if (PyErr_Occurred()) SWIG_fail
;
17852 wxPoint
* resultptr
;
17853 resultptr
= new wxPoint((wxPoint
&) result
);
17854 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17862 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17863 PyObject
*resultobj
;
17864 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17866 PyObject
* obj0
= 0 ;
17867 char *kwnames
[] = {
17868 (char *) "self", NULL
17871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (int)(arg1
)->GetNumberOfFiles();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= SWIG_FromInt((int)result
);
17888 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 char *kwnames
[] = {
17894 (char *) "self", NULL
17897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17902 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17904 wxPyEndAllowThreads(__tstate
);
17905 if (PyErr_Occurred()) SWIG_fail
;
17907 resultobj
= result
;
17914 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17917 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17919 return Py_BuildValue((char *)"");
17921 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17922 PyObject
*resultobj
;
17923 int arg1
= (int) 0 ;
17924 wxUpdateUIEvent
*result
;
17925 PyObject
* obj0
= 0 ;
17926 char *kwnames
[] = {
17927 (char *) "commandId", NULL
17930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17932 arg1
= (int) SWIG_AsInt(obj0
);
17933 if (PyErr_Occurred()) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17949 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17963 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17965 wxPyEndAllowThreads(__tstate
);
17966 if (PyErr_Occurred()) SWIG_fail
;
17969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17977 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17978 PyObject
*resultobj
;
17979 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17981 PyObject
* obj0
= 0 ;
17982 char *kwnames
[] = {
17983 (char *) "self", NULL
17986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17991 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17993 wxPyEndAllowThreads(__tstate
);
17994 if (PyErr_Occurred()) SWIG_fail
;
17997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18005 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18006 PyObject
*resultobj
;
18007 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18009 PyObject
* obj0
= 0 ;
18010 char *kwnames
[] = {
18011 (char *) "self", NULL
18014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
18015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18026 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18028 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18037 static PyObject
*_wrap_UpdateUIEvent_GetSetText(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_GetSetText",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
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18065 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18066 PyObject
*resultobj
;
18067 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18069 PyObject
* obj0
= 0 ;
18070 char *kwnames
[] = {
18071 (char *) "self", NULL
18074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
18075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18079 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
18081 wxPyEndAllowThreads(__tstate
);
18082 if (PyErr_Occurred()) SWIG_fail
;
18085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18093 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18094 PyObject
*resultobj
;
18095 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18097 PyObject
* obj0
= 0 ;
18098 char *kwnames
[] = {
18099 (char *) "self", NULL
18102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
18103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18107 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
18109 wxPyEndAllowThreads(__tstate
);
18110 if (PyErr_Occurred()) SWIG_fail
;
18113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18121 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18123 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18125 PyObject
* obj0
= 0 ;
18126 PyObject
* obj1
= 0 ;
18127 char *kwnames
[] = {
18128 (char *) "self",(char *) "check", NULL
18131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
18132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18134 arg2
= (bool) SWIG_AsBool(obj1
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18138 (arg1
)->Check(arg2
);
18140 wxPyEndAllowThreads(__tstate
);
18141 if (PyErr_Occurred()) SWIG_fail
;
18143 Py_INCREF(Py_None
); resultobj
= Py_None
;
18150 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18154 PyObject
* obj0
= 0 ;
18155 PyObject
* obj1
= 0 ;
18156 char *kwnames
[] = {
18157 (char *) "self",(char *) "enable", NULL
18160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
18161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18163 arg2
= (bool) SWIG_AsBool(obj1
);
18164 if (PyErr_Occurred()) SWIG_fail
;
18166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18167 (arg1
)->Enable(arg2
);
18169 wxPyEndAllowThreads(__tstate
);
18170 if (PyErr_Occurred()) SWIG_fail
;
18172 Py_INCREF(Py_None
); resultobj
= Py_None
;
18179 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
18182 wxString
*arg2
= 0 ;
18183 bool temp2
= False
;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "self",(char *) "text", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
18191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
18192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18194 arg2
= wxString_in_helper(obj1
);
18195 if (arg2
== NULL
) SWIG_fail
;
18199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18200 (arg1
)->SetText((wxString
const &)*arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 Py_INCREF(Py_None
); resultobj
= Py_None
;
18220 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18221 PyObject
*resultobj
;
18223 PyObject
* obj0
= 0 ;
18224 char *kwnames
[] = {
18225 (char *) "updateInterval", NULL
18228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18229 arg1
= (long) SWIG_AsLong(obj0
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18233 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18235 wxPyEndAllowThreads(__tstate
);
18236 if (PyErr_Occurred()) SWIG_fail
;
18238 Py_INCREF(Py_None
); resultobj
= Py_None
;
18245 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18246 PyObject
*resultobj
;
18248 char *kwnames
[] = {
18252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18255 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18257 wxPyEndAllowThreads(__tstate
);
18258 if (PyErr_Occurred()) SWIG_fail
;
18260 resultobj
= SWIG_FromLong((long)result
);
18267 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18268 PyObject
*resultobj
;
18269 wxWindow
*arg1
= (wxWindow
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "win", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18287 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18295 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 char *kwnames
[] = {
18301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18304 wxUpdateUIEvent::ResetUpdateTime();
18306 wxPyEndAllowThreads(__tstate
);
18307 if (PyErr_Occurred()) SWIG_fail
;
18309 Py_INCREF(Py_None
); resultobj
= Py_None
;
18316 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18317 PyObject
*resultobj
;
18319 PyObject
* obj0
= 0 ;
18320 char *kwnames
[] = {
18321 (char *) "mode", NULL
18324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18325 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18326 if (PyErr_Occurred()) SWIG_fail
;
18328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18329 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18331 wxPyEndAllowThreads(__tstate
);
18332 if (PyErr_Occurred()) SWIG_fail
;
18334 Py_INCREF(Py_None
); resultobj
= Py_None
;
18341 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18342 PyObject
*resultobj
;
18344 char *kwnames
[] = {
18348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18351 result
= (int)wxUpdateUIEvent::GetMode();
18353 wxPyEndAllowThreads(__tstate
);
18354 if (PyErr_Occurred()) SWIG_fail
;
18356 resultobj
= SWIG_FromInt((int)result
);
18363 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18365 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18366 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18368 return Py_BuildValue((char *)"");
18370 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18372 wxSysColourChangedEvent
*result
;
18373 char *kwnames
[] = {
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18392 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18395 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18397 return Py_BuildValue((char *)"");
18399 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18400 PyObject
*resultobj
;
18401 int arg1
= (int) 0 ;
18402 wxWindow
*arg2
= (wxWindow
*) NULL
;
18403 wxMouseCaptureChangedEvent
*result
;
18404 PyObject
* obj0
= 0 ;
18405 PyObject
* obj1
= 0 ;
18406 char *kwnames
[] = {
18407 (char *) "winid",(char *) "gainedCapture", NULL
18410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18412 arg1
= (int) SWIG_AsInt(obj0
);
18413 if (PyErr_Occurred()) SWIG_fail
;
18416 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18421 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18423 wxPyEndAllowThreads(__tstate
);
18424 if (PyErr_Occurred()) SWIG_fail
;
18426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18433 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18434 PyObject
*resultobj
;
18435 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18437 PyObject
* obj0
= 0 ;
18438 char *kwnames
[] = {
18439 (char *) "self", NULL
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18453 resultobj
= wxPyMake_wxObject(result
, 0);
18461 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18463 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18464 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18466 return Py_BuildValue((char *)"");
18468 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 wxDisplayChangedEvent
*result
;
18471 char *kwnames
[] = {
18475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18480 wxPyEndAllowThreads(__tstate
);
18481 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18490 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18492 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18493 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18495 return Py_BuildValue((char *)"");
18497 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18498 PyObject
*resultobj
;
18499 int arg1
= (int) 0 ;
18500 wxPaletteChangedEvent
*result
;
18501 PyObject
* obj0
= 0 ;
18502 char *kwnames
[] = {
18503 (char *) "id", NULL
18506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18508 arg1
= (int) SWIG_AsInt(obj0
);
18509 if (PyErr_Occurred()) SWIG_fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18525 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18527 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18528 wxWindow
*arg2
= (wxWindow
*) 0 ;
18529 PyObject
* obj0
= 0 ;
18530 PyObject
* obj1
= 0 ;
18531 char *kwnames
[] = {
18532 (char *) "self",(char *) "win", NULL
18535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 (arg1
)->SetChangedWindow(arg2
);
18544 wxPyEndAllowThreads(__tstate
);
18545 if (PyErr_Occurred()) SWIG_fail
;
18547 Py_INCREF(Py_None
); resultobj
= Py_None
;
18554 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18555 PyObject
*resultobj
;
18556 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18558 PyObject
* obj0
= 0 ;
18559 char *kwnames
[] = {
18560 (char *) "self", NULL
18563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18574 resultobj
= wxPyMake_wxObject(result
, 0);
18582 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18584 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18585 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18587 return Py_BuildValue((char *)"");
18589 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18590 PyObject
*resultobj
;
18591 int arg1
= (int) 0 ;
18592 wxQueryNewPaletteEvent
*result
;
18593 PyObject
* obj0
= 0 ;
18594 char *kwnames
[] = {
18595 (char *) "winid", NULL
18598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18600 arg1
= (int) SWIG_AsInt(obj0
);
18601 if (PyErr_Occurred()) SWIG_fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18617 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "realized", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18630 arg2
= (bool) SWIG_AsBool(obj1
);
18631 if (PyErr_Occurred()) SWIG_fail
;
18633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18634 (arg1
)->SetPaletteRealized(arg2
);
18636 wxPyEndAllowThreads(__tstate
);
18637 if (PyErr_Occurred()) SWIG_fail
;
18639 Py_INCREF(Py_None
); resultobj
= Py_None
;
18646 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18647 PyObject
*resultobj
;
18648 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18650 PyObject
* obj0
= 0 ;
18651 char *kwnames
[] = {
18652 (char *) "self", NULL
18655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18660 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18662 wxPyEndAllowThreads(__tstate
);
18663 if (PyErr_Occurred()) SWIG_fail
;
18666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18677 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18679 return Py_BuildValue((char *)"");
18681 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxNavigationKeyEvent
*result
;
18684 char *kwnames
[] = {
18688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18703 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18717 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18719 wxPyEndAllowThreads(__tstate
);
18720 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18731 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18732 PyObject
*resultobj
;
18733 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18735 PyObject
* obj0
= 0 ;
18736 PyObject
* obj1
= 0 ;
18737 char *kwnames
[] = {
18738 (char *) "self",(char *) "forward", NULL
18741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18744 arg2
= (bool) SWIG_AsBool(obj1
);
18745 if (PyErr_Occurred()) SWIG_fail
;
18747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18748 (arg1
)->SetDirection(arg2
);
18750 wxPyEndAllowThreads(__tstate
);
18751 if (PyErr_Occurred()) SWIG_fail
;
18753 Py_INCREF(Py_None
); resultobj
= Py_None
;
18760 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18761 PyObject
*resultobj
;
18762 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18764 PyObject
* obj0
= 0 ;
18765 char *kwnames
[] = {
18766 (char *) "self", NULL
18769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18774 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18780 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18788 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18792 PyObject
* obj0
= 0 ;
18793 PyObject
* obj1
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self",(char *) "ischange", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18801 arg2
= (bool) SWIG_AsBool(obj1
);
18802 if (PyErr_Occurred()) SWIG_fail
;
18804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 (arg1
)->SetWindowChange(arg2
);
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 Py_INCREF(Py_None
); resultobj
= Py_None
;
18817 static PyObject
*_wrap_NavigationKeyEvent_SetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18818 PyObject
*resultobj
;
18819 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18821 PyObject
* obj0
= 0 ;
18822 PyObject
* obj1
= 0 ;
18823 char *kwnames
[] = {
18824 (char *) "self",(char *) "flags", NULL
18827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetFlags",kwnames
,&obj0
,&obj1
)) goto fail
;
18828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 arg2
= (long) SWIG_AsLong(obj1
);
18831 if (PyErr_Occurred()) SWIG_fail
;
18833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18834 (arg1
)->SetFlags(arg2
);
18836 wxPyEndAllowThreads(__tstate
);
18837 if (PyErr_Occurred()) SWIG_fail
;
18839 Py_INCREF(Py_None
); resultobj
= Py_None
;
18846 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18847 PyObject
*resultobj
;
18848 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18850 PyObject
* obj0
= 0 ;
18851 char *kwnames
[] = {
18852 (char *) "self", NULL
18855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18862 wxPyEndAllowThreads(__tstate
);
18863 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= wxPyMake_wxObject(result
, 0);
18874 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18877 wxWindow
*arg2
= (wxWindow
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "win", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 (arg1
)->SetCurrentFocus(arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 Py_INCREF(Py_None
); resultobj
= Py_None
;
18903 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18905 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18906 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18908 return Py_BuildValue((char *)"");
18910 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxWindow
*arg1
= (wxWindow
*) NULL
;
18913 wxWindowCreateEvent
*result
;
18914 PyObject
* obj0
= 0 ;
18915 char *kwnames
[] = {
18916 (char *) "win", NULL
18919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18931 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18938 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18939 PyObject
*resultobj
;
18940 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18942 PyObject
* obj0
= 0 ;
18943 char *kwnames
[] = {
18944 (char *) "self", NULL
18947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18952 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18954 wxPyEndAllowThreads(__tstate
);
18955 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= wxPyMake_wxObject(result
, 0);
18966 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18969 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18971 return Py_BuildValue((char *)"");
18973 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18974 PyObject
*resultobj
;
18975 wxWindow
*arg1
= (wxWindow
*) NULL
;
18976 wxWindowDestroyEvent
*result
;
18977 PyObject
* obj0
= 0 ;
18978 char *kwnames
[] = {
18979 (char *) "win", NULL
18982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18989 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18991 wxPyEndAllowThreads(__tstate
);
18992 if (PyErr_Occurred()) SWIG_fail
;
18994 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
19001 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19002 PyObject
*resultobj
;
19003 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
19005 PyObject
* obj0
= 0 ;
19006 char *kwnames
[] = {
19007 (char *) "self", NULL
19010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
19011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
19012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19021 resultobj
= wxPyMake_wxObject(result
, 0);
19029 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19031 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19032 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
19034 return Py_BuildValue((char *)"");
19036 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19037 PyObject
*resultobj
;
19038 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19039 int arg2
= (int) 0 ;
19040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19042 wxContextMenuEvent
*result
;
19044 PyObject
* obj0
= 0 ;
19045 PyObject
* obj1
= 0 ;
19046 PyObject
* obj2
= 0 ;
19047 char *kwnames
[] = {
19048 (char *) "type",(char *) "winid",(char *) "pt", NULL
19051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19053 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19057 arg2
= (int) SWIG_AsInt(obj1
);
19058 if (PyErr_Occurred()) SWIG_fail
;
19063 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19068 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19073 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
19080 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19081 PyObject
*resultobj
;
19082 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19084 PyObject
* obj0
= 0 ;
19085 char *kwnames
[] = {
19086 (char *) "self", NULL
19089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
19090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19095 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
19096 result
= (wxPoint
*) &_result_ref
;
19099 wxPyEndAllowThreads(__tstate
);
19100 if (PyErr_Occurred()) SWIG_fail
;
19102 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
19109 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19110 PyObject
*resultobj
;
19111 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
19112 wxPoint
*arg2
= 0 ;
19114 PyObject
* obj0
= 0 ;
19115 PyObject
* obj1
= 0 ;
19116 char *kwnames
[] = {
19117 (char *) "self",(char *) "pos", NULL
19120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
19121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
19122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19141 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19143 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19144 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
19146 return Py_BuildValue((char *)"");
19148 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19149 PyObject
*resultobj
;
19150 wxIdleEvent
*result
;
19151 char *kwnames
[] = {
19155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
19157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19158 result
= (wxIdleEvent
*)new wxIdleEvent();
19160 wxPyEndAllowThreads(__tstate
);
19161 if (PyErr_Occurred()) SWIG_fail
;
19163 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
19170 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19171 PyObject
*resultobj
;
19172 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19173 bool arg2
= (bool) True
;
19174 PyObject
* obj0
= 0 ;
19175 PyObject
* obj1
= 0 ;
19176 char *kwnames
[] = {
19177 (char *) "self",(char *) "needMore", NULL
19180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
19181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19184 arg2
= (bool) SWIG_AsBool(obj1
);
19185 if (PyErr_Occurred()) SWIG_fail
;
19188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19189 (arg1
)->RequestMore(arg2
);
19191 wxPyEndAllowThreads(__tstate
);
19192 if (PyErr_Occurred()) SWIG_fail
;
19194 Py_INCREF(Py_None
); resultobj
= Py_None
;
19201 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19202 PyObject
*resultobj
;
19203 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 char *kwnames
[] = {
19207 (char *) "self", NULL
19210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
19211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
19212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19215 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
19217 wxPyEndAllowThreads(__tstate
);
19218 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19229 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19232 PyObject
* obj0
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "mode", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
19238 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 Py_INCREF(Py_None
); resultobj
= Py_None
;
19254 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19257 char *kwnames
[] = {
19261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19264 result
= (int)wxIdleEvent::GetMode();
19266 wxPyEndAllowThreads(__tstate
);
19267 if (PyErr_Occurred()) SWIG_fail
;
19269 resultobj
= SWIG_FromInt((int)result
);
19276 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19277 PyObject
*resultobj
;
19278 wxWindow
*arg1
= (wxWindow
*) 0 ;
19280 PyObject
* obj0
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "win", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= (bool)wxIdleEvent::CanSend(arg1
);
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19304 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19307 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19309 return Py_BuildValue((char *)"");
19311 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19312 PyObject
*resultobj
;
19313 int arg1
= (int) 0 ;
19314 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19316 PyObject
* obj0
= 0 ;
19317 PyObject
* obj1
= 0 ;
19318 char *kwnames
[] = {
19319 (char *) "winid",(char *) "commandType", NULL
19322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19324 arg1
= (int) SWIG_AsInt(obj0
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19328 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19329 if (PyErr_Occurred()) SWIG_fail
;
19332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19333 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19335 wxPyEndAllowThreads(__tstate
);
19336 if (PyErr_Occurred()) SWIG_fail
;
19338 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19345 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19346 PyObject
*resultobj
;
19347 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19360 wxPyEndAllowThreads(__tstate
);
19361 if (PyErr_Occurred()) SWIG_fail
;
19363 Py_INCREF(Py_None
); resultobj
= Py_None
;
19370 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19371 PyObject
*resultobj
;
19372 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19373 PyObject
*arg2
= (PyObject
*) 0 ;
19374 PyObject
* obj0
= 0 ;
19375 PyObject
* obj1
= 0 ;
19376 char *kwnames
[] = {
19377 (char *) "self",(char *) "self", NULL
19380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19386 (arg1
)->SetSelf(arg2
);
19388 wxPyEndAllowThreads(__tstate
);
19389 if (PyErr_Occurred()) SWIG_fail
;
19391 Py_INCREF(Py_None
); resultobj
= Py_None
;
19398 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 result
= (PyObject
*)(arg1
)->GetSelf();
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 resultobj
= result
;
19424 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19426 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19427 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19429 return Py_BuildValue((char *)"");
19431 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19433 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19434 int arg2
= (int) 0 ;
19435 wxPyCommandEvent
*result
;
19436 PyObject
* obj0
= 0 ;
19437 PyObject
* obj1
= 0 ;
19438 char *kwnames
[] = {
19439 (char *) "commandType",(char *) "id", NULL
19442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19444 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19445 if (PyErr_Occurred()) SWIG_fail
;
19448 arg2
= (int) SWIG_AsInt(obj1
);
19449 if (PyErr_Occurred()) SWIG_fail
;
19452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19453 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19455 wxPyEndAllowThreads(__tstate
);
19456 if (PyErr_Occurred()) SWIG_fail
;
19458 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19465 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19466 PyObject
*resultobj
;
19467 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19468 PyObject
* obj0
= 0 ;
19469 char *kwnames
[] = {
19470 (char *) "self", NULL
19473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19480 wxPyEndAllowThreads(__tstate
);
19481 if (PyErr_Occurred()) SWIG_fail
;
19483 Py_INCREF(Py_None
); resultobj
= Py_None
;
19490 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19491 PyObject
*resultobj
;
19492 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19493 PyObject
*arg2
= (PyObject
*) 0 ;
19494 PyObject
* obj0
= 0 ;
19495 PyObject
* obj1
= 0 ;
19496 char *kwnames
[] = {
19497 (char *) "self",(char *) "self", NULL
19500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19506 (arg1
)->SetSelf(arg2
);
19508 wxPyEndAllowThreads(__tstate
);
19509 if (PyErr_Occurred()) SWIG_fail
;
19511 Py_INCREF(Py_None
); resultobj
= Py_None
;
19518 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19519 PyObject
*resultobj
;
19520 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19522 PyObject
* obj0
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19532 result
= (PyObject
*)(arg1
)->GetSelf();
19534 wxPyEndAllowThreads(__tstate
);
19535 if (PyErr_Occurred()) SWIG_fail
;
19537 resultobj
= result
;
19544 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19547 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19549 return Py_BuildValue((char *)"");
19551 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19552 PyObject
*resultobj
;
19554 char *kwnames
[] = {
19558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19561 result
= (wxPyApp
*)new_wxPyApp();
19563 wxPyEndAllowThreads(__tstate
);
19564 if (PyErr_Occurred()) SWIG_fail
;
19566 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyApp
, 1);
19573 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19574 PyObject
*resultobj
;
19575 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19576 PyObject
* obj0
= 0 ;
19577 char *kwnames
[] = {
19578 (char *) "self", NULL
19581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19588 wxPyEndAllowThreads(__tstate
);
19589 if (PyErr_Occurred()) SWIG_fail
;
19591 Py_INCREF(Py_None
); resultobj
= Py_None
;
19598 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19599 PyObject
*resultobj
;
19600 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19601 PyObject
*arg2
= (PyObject
*) 0 ;
19602 PyObject
*arg3
= (PyObject
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 PyObject
* obj1
= 0 ;
19605 PyObject
* obj2
= 0 ;
19606 char *kwnames
[] = {
19607 (char *) "self",(char *) "self",(char *) "_class", NULL
19610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19617 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19619 wxPyEndAllowThreads(__tstate
);
19620 if (PyErr_Occurred()) SWIG_fail
;
19622 Py_INCREF(Py_None
); resultobj
= Py_None
;
19629 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19630 PyObject
*resultobj
;
19631 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19661 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19662 PyObject
*resultobj
;
19663 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19664 wxString
*arg2
= 0 ;
19665 bool temp2
= False
;
19666 PyObject
* obj0
= 0 ;
19667 PyObject
* obj1
= 0 ;
19668 char *kwnames
[] = {
19669 (char *) "self",(char *) "name", NULL
19672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19676 arg2
= wxString_in_helper(obj1
);
19677 if (arg2
== NULL
) SWIG_fail
;
19681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19682 (arg1
)->SetAppName((wxString
const &)*arg2
);
19684 wxPyEndAllowThreads(__tstate
);
19685 if (PyErr_Occurred()) SWIG_fail
;
19687 Py_INCREF(Py_None
); resultobj
= Py_None
;
19702 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19703 PyObject
*resultobj
;
19704 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19706 PyObject
* obj0
= 0 ;
19707 char *kwnames
[] = {
19708 (char *) "self", NULL
19711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19716 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19718 wxPyEndAllowThreads(__tstate
);
19719 if (PyErr_Occurred()) SWIG_fail
;
19723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19734 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19737 wxString
*arg2
= 0 ;
19738 bool temp2
= False
;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "name", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19749 arg2
= wxString_in_helper(obj1
);
19750 if (arg2
== NULL
) SWIG_fail
;
19754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 (arg1
)->SetClassName((wxString
const &)*arg2
);
19757 wxPyEndAllowThreads(__tstate
);
19758 if (PyErr_Occurred()) SWIG_fail
;
19760 Py_INCREF(Py_None
); resultobj
= Py_None
;
19775 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19776 PyObject
*resultobj
;
19777 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19779 PyObject
* obj0
= 0 ;
19780 char *kwnames
[] = {
19781 (char *) "self", NULL
19784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19790 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19791 result
= (wxString
*) &_result_ref
;
19794 wxPyEndAllowThreads(__tstate
);
19795 if (PyErr_Occurred()) SWIG_fail
;
19799 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19801 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19810 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19813 wxString
*arg2
= 0 ;
19814 bool temp2
= False
;
19815 PyObject
* obj0
= 0 ;
19816 PyObject
* obj1
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self",(char *) "name", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19825 arg2
= wxString_in_helper(obj1
);
19826 if (arg2
== NULL
) SWIG_fail
;
19830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19831 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19833 wxPyEndAllowThreads(__tstate
);
19834 if (PyErr_Occurred()) SWIG_fail
;
19836 Py_INCREF(Py_None
); resultobj
= Py_None
;
19851 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19852 PyObject
*resultobj
;
19853 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19854 wxAppTraits
*result
;
19855 PyObject
* obj0
= 0 ;
19856 char *kwnames
[] = {
19857 (char *) "self", NULL
19860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19867 wxPyEndAllowThreads(__tstate
);
19868 if (PyErr_Occurred()) SWIG_fail
;
19870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19877 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 (arg1
)->ProcessPendingEvents();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 Py_INCREF(Py_None
); resultobj
= Py_None
;
19902 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19904 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19905 bool arg2
= (bool) False
;
19907 PyObject
* obj0
= 0 ;
19908 PyObject
* obj1
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self",(char *) "onlyIfNeeded", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19917 arg2
= (bool) SWIG_AsBool(obj1
);
19918 if (PyErr_Occurred()) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 result
= (bool)(arg1
)->Yield(arg2
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19928 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19936 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19937 PyObject
*resultobj
;
19938 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19939 PyObject
* obj0
= 0 ;
19940 char *kwnames
[] = {
19941 (char *) "self", NULL
19944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 (arg1
)->WakeUpIdle();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19965 PyObject
* obj0
= 0 ;
19966 char *kwnames
[] = {
19967 (char *) "self", NULL
19970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19975 result
= (int)(arg1
)->MainLoop();
19977 wxPyEndAllowThreads(__tstate
);
19978 if (PyErr_Occurred()) SWIG_fail
;
19980 resultobj
= SWIG_FromInt((int)result
);
19987 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19988 PyObject
*resultobj
;
19989 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 Py_INCREF(Py_None
); resultobj
= Py_None
;
20012 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
;
20014 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->ExitMainLoop();
20027 wxPyEndAllowThreads(__tstate
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 Py_INCREF(Py_None
); resultobj
= Py_None
;
20037 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20038 PyObject
*resultobj
;
20039 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20041 PyObject
* obj0
= 0 ;
20042 char *kwnames
[] = {
20043 (char *) "self", NULL
20046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
20047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20051 result
= (bool)(arg1
)->Pending();
20053 wxPyEndAllowThreads(__tstate
);
20054 if (PyErr_Occurred()) SWIG_fail
;
20057 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20065 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20066 PyObject
*resultobj
;
20067 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20069 PyObject
* obj0
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "self", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
20075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 result
= (bool)(arg1
)->Dispatch();
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20093 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20107 result
= (bool)(arg1
)->ProcessIdle();
20109 wxPyEndAllowThreads(__tstate
);
20110 if (PyErr_Occurred()) SWIG_fail
;
20113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20121 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20122 PyObject
*resultobj
;
20123 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20124 wxWindow
*arg2
= (wxWindow
*) 0 ;
20125 wxIdleEvent
*arg3
= 0 ;
20127 PyObject
* obj0
= 0 ;
20128 PyObject
* obj1
= 0 ;
20129 PyObject
* obj2
= 0 ;
20130 char *kwnames
[] = {
20131 (char *) "self",(char *) "win",(char *) "event", NULL
20134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
20135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20139 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
20140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20142 if (arg3
== NULL
) {
20143 PyErr_SetString(PyExc_TypeError
,"null reference");
20147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20148 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20162 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20163 PyObject
*resultobj
;
20164 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20166 PyObject
* obj0
= 0 ;
20167 char *kwnames
[] = {
20168 (char *) "self", NULL
20171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
20172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20176 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
20178 wxPyEndAllowThreads(__tstate
);
20179 if (PyErr_Occurred()) SWIG_fail
;
20182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20190 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20191 PyObject
*resultobj
;
20192 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20193 wxWindow
*arg2
= (wxWindow
*) 0 ;
20194 PyObject
* obj0
= 0 ;
20195 PyObject
* obj1
= 0 ;
20196 char *kwnames
[] = {
20197 (char *) "self",(char *) "win", NULL
20200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
20201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20203 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->SetTopWindow(arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 Py_INCREF(Py_None
); resultobj
= Py_None
;
20219 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20233 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
20235 wxPyEndAllowThreads(__tstate
);
20236 if (PyErr_Occurred()) SWIG_fail
;
20239 resultobj
= wxPyMake_wxObject(result
, 0);
20247 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20248 PyObject
*resultobj
;
20249 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20251 PyObject
* obj0
= 0 ;
20252 PyObject
* obj1
= 0 ;
20253 char *kwnames
[] = {
20254 (char *) "self",(char *) "flag", NULL
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20260 arg2
= (bool) SWIG_AsBool(obj1
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20264 (arg1
)->SetExitOnFrameDelete(arg2
);
20266 wxPyEndAllowThreads(__tstate
);
20267 if (PyErr_Occurred()) SWIG_fail
;
20269 Py_INCREF(Py_None
); resultobj
= Py_None
;
20276 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20277 PyObject
*resultobj
;
20278 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20280 PyObject
* obj0
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "self", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20290 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20292 wxPyEndAllowThreads(__tstate
);
20293 if (PyErr_Occurred()) SWIG_fail
;
20296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20304 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20305 PyObject
*resultobj
;
20306 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20308 PyObject
* obj0
= 0 ;
20309 PyObject
* obj1
= 0 ;
20310 char *kwnames
[] = {
20311 (char *) "self",(char *) "flag", NULL
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20317 arg2
= (bool) SWIG_AsBool(obj1
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20321 (arg1
)->SetUseBestVisual(arg2
);
20323 wxPyEndAllowThreads(__tstate
);
20324 if (PyErr_Occurred()) SWIG_fail
;
20326 Py_INCREF(Py_None
); resultobj
= Py_None
;
20333 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20334 PyObject
*resultobj
;
20335 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20337 PyObject
* obj0
= 0 ;
20338 char *kwnames
[] = {
20339 (char *) "self", NULL
20342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20347 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20349 wxPyEndAllowThreads(__tstate
);
20350 if (PyErr_Occurred()) SWIG_fail
;
20353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20361 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20365 PyObject
* obj0
= 0 ;
20366 PyObject
* obj1
= 0 ;
20367 char *kwnames
[] = {
20368 (char *) "self",(char *) "mode", NULL
20371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20374 arg2
= (int) SWIG_AsInt(obj1
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20378 (arg1
)->SetPrintMode(arg2
);
20380 wxPyEndAllowThreads(__tstate
);
20381 if (PyErr_Occurred()) SWIG_fail
;
20383 Py_INCREF(Py_None
); resultobj
= Py_None
;
20390 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
;
20392 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20394 PyObject
* obj0
= 0 ;
20395 char *kwnames
[] = {
20396 (char *) "self", NULL
20399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20404 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20406 wxPyEndAllowThreads(__tstate
);
20407 if (PyErr_Occurred()) SWIG_fail
;
20409 resultobj
= SWIG_FromInt((int)result
);
20416 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20417 PyObject
*resultobj
;
20418 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20420 PyObject
* obj0
= 0 ;
20421 PyObject
* obj1
= 0 ;
20422 char *kwnames
[] = {
20423 (char *) "self",(char *) "mode", NULL
20426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20429 arg2
= (int) SWIG_AsInt(obj1
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20433 (arg1
)->SetAssertMode(arg2
);
20435 wxPyEndAllowThreads(__tstate
);
20436 if (PyErr_Occurred()) SWIG_fail
;
20438 Py_INCREF(Py_None
); resultobj
= Py_None
;
20445 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20446 PyObject
*resultobj
;
20447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20449 PyObject
* obj0
= 0 ;
20450 char *kwnames
[] = {
20451 (char *) "self", NULL
20454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 result
= (int)(arg1
)->GetAssertMode();
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 resultobj
= SWIG_FromInt((int)result
);
20471 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20472 PyObject
*resultobj
;
20474 char *kwnames
[] = {
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20481 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20483 wxPyEndAllowThreads(__tstate
);
20484 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20495 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20496 PyObject
*resultobj
;
20498 char *kwnames
[] = {
20502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20505 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20507 wxPyEndAllowThreads(__tstate
);
20508 if (PyErr_Occurred()) SWIG_fail
;
20510 resultobj
= SWIG_FromLong((long)result
);
20517 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20518 PyObject
*resultobj
;
20520 char *kwnames
[] = {
20524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20529 wxPyEndAllowThreads(__tstate
);
20530 if (PyErr_Occurred()) SWIG_fail
;
20532 resultobj
= SWIG_FromLong((long)result
);
20539 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20540 PyObject
*resultobj
;
20542 char *kwnames
[] = {
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 result
= (long)wxPyApp::GetMacExitMenuItemId();
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 resultobj
= SWIG_FromLong((long)result
);
20561 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20564 char *kwnames
[] = {
20568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20571 result
= wxPyApp::GetMacHelpMenuTitleName();
20573 wxPyEndAllowThreads(__tstate
);
20574 if (PyErr_Occurred()) SWIG_fail
;
20578 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20580 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20589 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20590 PyObject
*resultobj
;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "val", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20598 arg1
= (bool) SWIG_AsBool(obj0
);
20599 if (PyErr_Occurred()) SWIG_fail
;
20601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20602 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20604 wxPyEndAllowThreads(__tstate
);
20605 if (PyErr_Occurred()) SWIG_fail
;
20607 Py_INCREF(Py_None
); resultobj
= Py_None
;
20614 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20615 PyObject
*resultobj
;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "val", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20623 arg1
= (long) SWIG_AsLong(obj0
);
20624 if (PyErr_Occurred()) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 wxPyApp::SetMacAboutMenuItemId(arg1
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20639 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20640 PyObject
*resultobj
;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "val", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20648 arg1
= (long) SWIG_AsLong(obj0
);
20649 if (PyErr_Occurred()) SWIG_fail
;
20651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20652 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20654 wxPyEndAllowThreads(__tstate
);
20655 if (PyErr_Occurred()) SWIG_fail
;
20657 Py_INCREF(Py_None
); resultobj
= Py_None
;
20664 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "val", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20673 arg1
= (long) SWIG_AsLong(obj0
);
20674 if (PyErr_Occurred()) SWIG_fail
;
20676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20677 wxPyApp::SetMacExitMenuItemId(arg1
);
20679 wxPyEndAllowThreads(__tstate
);
20680 if (PyErr_Occurred()) SWIG_fail
;
20682 Py_INCREF(Py_None
); resultobj
= Py_None
;
20689 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20690 PyObject
*resultobj
;
20691 wxString
*arg1
= 0 ;
20692 bool temp1
= False
;
20693 PyObject
* obj0
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "val", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20700 arg1
= wxString_in_helper(obj0
);
20701 if (arg1
== NULL
) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20726 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20727 PyObject
*resultobj
;
20728 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 (arg1
)->_BootstrapApp();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 Py_INCREF(Py_None
); resultobj
= Py_None
;
20751 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20752 PyObject
*resultobj
;
20754 char *kwnames
[] = {
20758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20761 result
= (int)PyApp_GetComCtl32Version();
20763 wxPyEndAllowThreads(__tstate
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20766 resultobj
= SWIG_FromInt((int)result
);
20773 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20776 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20778 return Py_BuildValue((char *)"");
20780 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20781 PyObject
*resultobj
;
20782 char *kwnames
[] = {
20786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20791 wxPyEndAllowThreads(__tstate
);
20792 if (PyErr_Occurred()) SWIG_fail
;
20794 Py_INCREF(Py_None
); resultobj
= Py_None
;
20801 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20802 PyObject
*resultobj
;
20804 char *kwnames
[] = {
20808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (bool)wxYield();
20813 wxPyEndAllowThreads(__tstate
);
20814 if (PyErr_Occurred()) SWIG_fail
;
20817 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20825 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20826 PyObject
*resultobj
;
20828 char *kwnames
[] = {
20832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20835 result
= (bool)wxYieldIfNeeded();
20837 wxPyEndAllowThreads(__tstate
);
20838 if (PyErr_Occurred()) SWIG_fail
;
20841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20849 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20850 PyObject
*resultobj
;
20851 wxWindow
*arg1
= (wxWindow
*) NULL
;
20852 bool arg2
= (bool) False
;
20854 PyObject
* obj0
= 0 ;
20855 PyObject
* obj1
= 0 ;
20856 char *kwnames
[] = {
20857 (char *) "win",(char *) "onlyIfNeeded", NULL
20860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20866 arg2
= (bool) SWIG_AsBool(obj1
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20871 result
= (bool)wxSafeYield(arg1
,arg2
);
20873 wxPyEndAllowThreads(__tstate
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20885 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20886 PyObject
*resultobj
;
20887 char *kwnames
[] = {
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20896 wxPyEndAllowThreads(__tstate
);
20897 if (PyErr_Occurred()) SWIG_fail
;
20899 Py_INCREF(Py_None
); resultobj
= Py_None
;
20906 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20907 PyObject
*resultobj
;
20908 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20909 wxEvent
*arg2
= 0 ;
20910 PyObject
* obj0
= 0 ;
20911 PyObject
* obj1
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "dest",(char *) "event", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20919 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20922 if (arg2
== NULL
) {
20923 PyErr_SetString(PyExc_TypeError
,"null reference");
20927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20928 wxPostEvent(arg1
,*arg2
);
20930 wxPyEndAllowThreads(__tstate
);
20931 if (PyErr_Occurred()) SWIG_fail
;
20933 Py_INCREF(Py_None
); resultobj
= Py_None
;
20940 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20941 PyObject
*resultobj
;
20942 char *kwnames
[] = {
20946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 Py_INCREF(Py_None
); resultobj
= Py_None
;
20961 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20964 char *kwnames
[] = {
20968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20971 result
= (wxPyApp
*)wxPyGetApp();
20973 wxPyEndAllowThreads(__tstate
);
20974 if (PyErr_Occurred()) SWIG_fail
;
20977 resultobj
= wxPyMake_wxObject(result
, 0);
20985 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20986 PyObject
*resultobj
;
20987 int arg1
= (int) 0 ;
20988 int arg2
= (int) 0 ;
20989 int arg3
= (int) 0 ;
20990 wxAcceleratorEntry
*result
;
20991 PyObject
* obj0
= 0 ;
20992 PyObject
* obj1
= 0 ;
20993 PyObject
* obj2
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "flags",(char *) "keyCode",(char *) "cmdID", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21000 arg1
= (int) SWIG_AsInt(obj0
);
21001 if (PyErr_Occurred()) SWIG_fail
;
21004 arg2
= (int) SWIG_AsInt(obj1
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21008 arg3
= (int) SWIG_AsInt(obj2
);
21009 if (PyErr_Occurred()) SWIG_fail
;
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
);
21015 wxPyEndAllowThreads(__tstate
);
21016 if (PyErr_Occurred()) SWIG_fail
;
21018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
21025 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21026 PyObject
*resultobj
;
21027 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21028 PyObject
* obj0
= 0 ;
21029 char *kwnames
[] = {
21030 (char *) "self", NULL
21033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
21034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 PyObject
* obj2
= 0 ;
21059 PyObject
* obj3
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21067 arg2
= (int) SWIG_AsInt(obj1
);
21068 if (PyErr_Occurred()) SWIG_fail
;
21069 arg3
= (int) SWIG_AsInt(obj2
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21071 arg4
= (int) SWIG_AsInt(obj3
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21075 (arg1
)->Set(arg2
,arg3
,arg4
);
21077 wxPyEndAllowThreads(__tstate
);
21078 if (PyErr_Occurred()) SWIG_fail
;
21080 Py_INCREF(Py_None
); resultobj
= Py_None
;
21087 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21088 PyObject
*resultobj
;
21089 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21091 PyObject
* obj0
= 0 ;
21092 char *kwnames
[] = {
21093 (char *) "self", NULL
21096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
21097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21101 result
= (int)(arg1
)->GetFlags();
21103 wxPyEndAllowThreads(__tstate
);
21104 if (PyErr_Occurred()) SWIG_fail
;
21106 resultobj
= SWIG_FromInt((int)result
);
21113 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21114 PyObject
*resultobj
;
21115 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21117 PyObject
* obj0
= 0 ;
21118 char *kwnames
[] = {
21119 (char *) "self", NULL
21122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
21123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 result
= (int)(arg1
)->GetKeyCode();
21129 wxPyEndAllowThreads(__tstate
);
21130 if (PyErr_Occurred()) SWIG_fail
;
21132 resultobj
= SWIG_FromInt((int)result
);
21139 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21140 PyObject
*resultobj
;
21141 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
21143 PyObject
* obj0
= 0 ;
21144 char *kwnames
[] = {
21145 (char *) "self", NULL
21148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
21149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
21150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21153 result
= (int)(arg1
)->GetCommand();
21155 wxPyEndAllowThreads(__tstate
);
21156 if (PyErr_Occurred()) SWIG_fail
;
21158 resultobj
= SWIG_FromInt((int)result
);
21165 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
21167 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21168 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
21170 return Py_BuildValue((char *)"");
21172 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21173 PyObject
*resultobj
;
21175 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
21176 wxAcceleratorTable
*result
;
21177 PyObject
* obj0
= 0 ;
21178 char *kwnames
[] = {
21182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21184 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21185 if (arg2
) arg1
= PyList_Size(obj0
);
21189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21190 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21192 wxPyEndAllowThreads(__tstate
);
21193 if (PyErr_Occurred()) SWIG_fail
;
21195 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21208 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21209 PyObject
*resultobj
;
21210 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21211 PyObject
* obj0
= 0 ;
21212 char *kwnames
[] = {
21213 (char *) "self", NULL
21216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21223 wxPyEndAllowThreads(__tstate
);
21224 if (PyErr_Occurred()) SWIG_fail
;
21226 Py_INCREF(Py_None
); resultobj
= Py_None
;
21233 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21247 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21249 wxPyEndAllowThreads(__tstate
);
21250 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21261 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21263 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21264 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21266 return Py_BuildValue((char *)"");
21268 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21269 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21274 static PyObject
*_wrap_NullAcceleratorTable_get() {
21277 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21282 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21283 PyObject
*resultobj
;
21284 wxString
*arg1
= 0 ;
21285 wxAcceleratorEntry
*result
;
21286 bool temp1
= False
;
21287 PyObject
* obj0
= 0 ;
21288 char *kwnames
[] = {
21289 (char *) "label", NULL
21292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21294 arg1
= wxString_in_helper(obj0
);
21295 if (arg1
== NULL
) SWIG_fail
;
21299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21300 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21302 wxPyEndAllowThreads(__tstate
);
21303 if (PyErr_Occurred()) SWIG_fail
;
21305 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21320 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21321 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21326 static PyObject
*_wrap_PanelNameStr_get() {
21331 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21333 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21340 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxVisualAttributes
*result
;
21343 char *kwnames
[] = {
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21350 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21352 wxPyEndAllowThreads(__tstate
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21362 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21363 PyObject
*resultobj
;
21364 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21375 delete_wxVisualAttributes(arg1
);
21377 wxPyEndAllowThreads(__tstate
);
21378 if (PyErr_Occurred()) SWIG_fail
;
21380 Py_INCREF(Py_None
); resultobj
= Py_None
;
21387 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21388 PyObject
*resultobj
;
21389 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21390 wxFont
*arg2
= (wxFont
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self",(char *) "font", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21402 if (arg1
) (arg1
)->font
= *arg2
;
21404 Py_INCREF(Py_None
); resultobj
= Py_None
;
21411 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21412 PyObject
*resultobj
;
21413 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21415 PyObject
* obj0
= 0 ;
21416 char *kwnames
[] = {
21417 (char *) "self", NULL
21420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21423 result
= (wxFont
*)& ((arg1
)->font
);
21425 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21432 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21435 wxColour
*arg2
= (wxColour
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 PyObject
* obj1
= 0 ;
21438 char *kwnames
[] = {
21439 (char *) "self",(char *) "colFg", NULL
21442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21447 if (arg1
) (arg1
)->colFg
= *arg2
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21460 PyObject
* obj0
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21468 result
= (wxColour
*)& ((arg1
)->colFg
);
21470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21477 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21478 PyObject
*resultobj
;
21479 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21480 wxColour
*arg2
= (wxColour
*) 0 ;
21481 PyObject
* obj0
= 0 ;
21482 PyObject
* obj1
= 0 ;
21483 char *kwnames
[] = {
21484 (char *) "self",(char *) "colBg", NULL
21487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21492 if (arg1
) (arg1
)->colBg
= *arg2
;
21494 Py_INCREF(Py_None
); resultobj
= Py_None
;
21501 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21502 PyObject
*resultobj
;
21503 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21505 PyObject
* obj0
= 0 ;
21506 char *kwnames
[] = {
21507 (char *) "self", NULL
21510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21513 result
= (wxColour
*)& ((arg1
)->colBg
);
21515 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21522 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21524 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21525 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21527 return Py_BuildValue((char *)"");
21529 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21530 PyObject
*resultobj
;
21531 wxWindow
*arg1
= (wxWindow
*) 0 ;
21532 int arg2
= (int) (int)-1 ;
21533 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21534 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21535 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21536 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21537 long arg5
= (long) 0 ;
21538 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21539 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21543 bool temp6
= False
;
21544 PyObject
* obj0
= 0 ;
21545 PyObject
* obj1
= 0 ;
21546 PyObject
* obj2
= 0 ;
21547 PyObject
* obj3
= 0 ;
21548 PyObject
* obj4
= 0 ;
21549 PyObject
* obj5
= 0 ;
21550 char *kwnames
[] = {
21551 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21558 arg2
= (int const) SWIG_AsInt(obj1
);
21559 if (PyErr_Occurred()) SWIG_fail
;
21564 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21570 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21574 arg5
= (long) SWIG_AsLong(obj4
);
21575 if (PyErr_Occurred()) SWIG_fail
;
21579 arg6
= wxString_in_helper(obj5
);
21580 if (arg6
== NULL
) SWIG_fail
;
21585 if (!wxPyCheckForApp()) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21592 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21607 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21610 char *kwnames
[] = {
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21616 if (!wxPyCheckForApp()) SWIG_fail
;
21617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21618 result
= (wxWindow
*)new wxWindow();
21620 wxPyEndAllowThreads(__tstate
);
21621 if (PyErr_Occurred()) SWIG_fail
;
21623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindow
, 1);
21630 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21631 PyObject
*resultobj
;
21632 wxWindow
*arg1
= (wxWindow
*) 0 ;
21633 wxWindow
*arg2
= (wxWindow
*) 0 ;
21634 int arg3
= (int) (int)-1 ;
21635 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21636 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21637 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21638 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21639 long arg6
= (long) 0 ;
21640 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21641 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21645 bool temp7
= False
;
21646 PyObject
* obj0
= 0 ;
21647 PyObject
* obj1
= 0 ;
21648 PyObject
* obj2
= 0 ;
21649 PyObject
* obj3
= 0 ;
21650 PyObject
* obj4
= 0 ;
21651 PyObject
* obj5
= 0 ;
21652 PyObject
* obj6
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21660 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21663 arg3
= (int const) SWIG_AsInt(obj2
);
21664 if (PyErr_Occurred()) SWIG_fail
;
21669 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21675 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21679 arg6
= (long) SWIG_AsLong(obj5
);
21680 if (PyErr_Occurred()) SWIG_fail
;
21684 arg7
= wxString_in_helper(obj6
);
21685 if (arg7
== NULL
) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21713 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21714 PyObject
*resultobj
;
21715 wxWindow
*arg1
= (wxWindow
*) 0 ;
21716 bool arg2
= (bool) False
;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "force", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21728 arg2
= (bool) SWIG_AsBool(obj1
);
21729 if (PyErr_Occurred()) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 result
= (bool)(arg1
)->Close(arg2
);
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21739 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21747 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxWindow
*arg1
= (wxWindow
*) 0 ;
21751 PyObject
* obj0
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21761 result
= (bool)(arg1
)->Destroy();
21763 wxPyEndAllowThreads(__tstate
);
21764 if (PyErr_Occurred()) SWIG_fail
;
21767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21775 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxWindow
*arg1
= (wxWindow
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 char *kwnames
[] = {
21781 (char *) "self", NULL
21784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 result
= (bool)(arg1
)->DestroyChildren();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21803 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21804 PyObject
*resultobj
;
21805 wxWindow
*arg1
= (wxWindow
*) 0 ;
21807 PyObject
* obj0
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21817 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21819 wxPyEndAllowThreads(__tstate
);
21820 if (PyErr_Occurred()) SWIG_fail
;
21823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21831 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21832 PyObject
*resultobj
;
21833 wxWindow
*arg1
= (wxWindow
*) 0 ;
21834 wxString
*arg2
= 0 ;
21835 bool temp2
= False
;
21836 PyObject
* obj0
= 0 ;
21837 PyObject
* obj1
= 0 ;
21838 char *kwnames
[] = {
21839 (char *) "self",(char *) "title", NULL
21842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21846 arg2
= wxString_in_helper(obj1
);
21847 if (arg2
== NULL
) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->SetTitle((wxString
const &)*arg2
);
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 Py_INCREF(Py_None
); resultobj
= Py_None
;
21872 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxWindow
*arg1
= (wxWindow
*) 0 ;
21876 PyObject
* obj0
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21886 result
= ((wxWindow
const *)arg1
)->GetTitle();
21888 wxPyEndAllowThreads(__tstate
);
21889 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21895 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21904 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
;
21906 wxWindow
*arg1
= (wxWindow
*) 0 ;
21907 wxString
*arg2
= 0 ;
21908 bool temp2
= False
;
21909 PyObject
* obj0
= 0 ;
21910 PyObject
* obj1
= 0 ;
21911 char *kwnames
[] = {
21912 (char *) "self",(char *) "label", NULL
21915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21919 arg2
= wxString_in_helper(obj1
);
21920 if (arg2
== NULL
) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 (arg1
)->SetLabel((wxString
const &)*arg2
);
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21930 Py_INCREF(Py_None
); resultobj
= Py_None
;
21945 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21946 PyObject
*resultobj
;
21947 wxWindow
*arg1
= (wxWindow
*) 0 ;
21949 PyObject
* obj0
= 0 ;
21950 char *kwnames
[] = {
21951 (char *) "self", NULL
21954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21959 result
= ((wxWindow
const *)arg1
)->GetLabel();
21961 wxPyEndAllowThreads(__tstate
);
21962 if (PyErr_Occurred()) SWIG_fail
;
21966 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21968 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21977 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21978 PyObject
*resultobj
;
21979 wxWindow
*arg1
= (wxWindow
*) 0 ;
21980 wxString
*arg2
= 0 ;
21981 bool temp2
= False
;
21982 PyObject
* obj0
= 0 ;
21983 PyObject
* obj1
= 0 ;
21984 char *kwnames
[] = {
21985 (char *) "self",(char *) "name", NULL
21988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21992 arg2
= wxString_in_helper(obj1
);
21993 if (arg2
== NULL
) SWIG_fail
;
21997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21998 (arg1
)->SetName((wxString
const &)*arg2
);
22000 wxPyEndAllowThreads(__tstate
);
22001 if (PyErr_Occurred()) SWIG_fail
;
22003 Py_INCREF(Py_None
); resultobj
= Py_None
;
22018 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22019 PyObject
*resultobj
;
22020 wxWindow
*arg1
= (wxWindow
*) 0 ;
22022 PyObject
* obj0
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22032 result
= ((wxWindow
const *)arg1
)->GetName();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22039 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
22041 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
22050 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22054 PyObject
* obj0
= 0 ;
22055 PyObject
* obj1
= 0 ;
22056 char *kwnames
[] = {
22057 (char *) "self",(char *) "variant", NULL
22060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
22061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22063 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
22064 if (PyErr_Occurred()) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 Py_INCREF(Py_None
); resultobj
= Py_None
;
22079 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_FromInt((int)result
);
22105 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxWindow
*arg1
= (wxWindow
*) 0 ;
22109 PyObject
* obj0
= 0 ;
22110 PyObject
* obj1
= 0 ;
22111 char *kwnames
[] = {
22112 (char *) "self",(char *) "winid", NULL
22115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
22116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22118 arg2
= (int) SWIG_AsInt(obj1
);
22119 if (PyErr_Occurred()) SWIG_fail
;
22121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22122 (arg1
)->SetId(arg2
);
22124 wxPyEndAllowThreads(__tstate
);
22125 if (PyErr_Occurred()) SWIG_fail
;
22127 Py_INCREF(Py_None
); resultobj
= Py_None
;
22134 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxWindow
*arg1
= (wxWindow
*) 0 ;
22138 PyObject
* obj0
= 0 ;
22139 char *kwnames
[] = {
22140 (char *) "self", NULL
22143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
22144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 result
= (int)((wxWindow
const *)arg1
)->GetId();
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 resultobj
= SWIG_FromInt((int)result
);
22160 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22163 char *kwnames
[] = {
22167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
22169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22170 result
= (int)wxWindow::NewControlId();
22172 wxPyEndAllowThreads(__tstate
);
22173 if (PyErr_Occurred()) SWIG_fail
;
22175 resultobj
= SWIG_FromInt((int)result
);
22182 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22183 PyObject
*resultobj
;
22186 PyObject
* obj0
= 0 ;
22187 char *kwnames
[] = {
22188 (char *) "winid", NULL
22191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22192 arg1
= (int) SWIG_AsInt(obj0
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 result
= (int)wxWindow::NextControlId(arg1
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 resultobj
= SWIG_FromInt((int)result
);
22208 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22212 PyObject
* obj0
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "winid", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22218 arg1
= (int) SWIG_AsInt(obj0
);
22219 if (PyErr_Occurred()) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= (int)wxWindow::PrevControlId(arg1
);
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22227 resultobj
= SWIG_FromInt((int)result
);
22234 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22235 PyObject
*resultobj
;
22236 wxWindow
*arg1
= (wxWindow
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 PyObject
* obj1
= 0 ;
22241 char *kwnames
[] = {
22242 (char *) "self",(char *) "size", NULL
22245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22246 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22254 (arg1
)->SetSize((wxSize
const &)*arg2
);
22256 wxPyEndAllowThreads(__tstate
);
22257 if (PyErr_Occurred()) SWIG_fail
;
22259 Py_INCREF(Py_None
); resultobj
= Py_None
;
22266 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22267 PyObject
*resultobj
;
22268 wxWindow
*arg1
= (wxWindow
*) 0 ;
22273 int arg6
= (int) wxSIZE_AUTO
;
22274 PyObject
* obj0
= 0 ;
22275 PyObject
* obj1
= 0 ;
22276 PyObject
* obj2
= 0 ;
22277 PyObject
* obj3
= 0 ;
22278 PyObject
* obj4
= 0 ;
22279 PyObject
* obj5
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22287 arg2
= (int) SWIG_AsInt(obj1
);
22288 if (PyErr_Occurred()) SWIG_fail
;
22289 arg3
= (int) SWIG_AsInt(obj2
);
22290 if (PyErr_Occurred()) SWIG_fail
;
22291 arg4
= (int) SWIG_AsInt(obj3
);
22292 if (PyErr_Occurred()) SWIG_fail
;
22293 arg5
= (int) SWIG_AsInt(obj4
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 arg6
= (int) SWIG_AsInt(obj5
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22301 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22303 wxPyEndAllowThreads(__tstate
);
22304 if (PyErr_Occurred()) SWIG_fail
;
22306 Py_INCREF(Py_None
); resultobj
= Py_None
;
22313 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22314 PyObject
*resultobj
;
22315 wxWindow
*arg1
= (wxWindow
*) 0 ;
22317 int arg3
= (int) wxSIZE_AUTO
;
22319 PyObject
* obj0
= 0 ;
22320 PyObject
* obj1
= 0 ;
22321 PyObject
* obj2
= 0 ;
22322 char *kwnames
[] = {
22323 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22331 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22334 arg3
= (int) SWIG_AsInt(obj2
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22339 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22341 wxPyEndAllowThreads(__tstate
);
22342 if (PyErr_Occurred()) SWIG_fail
;
22344 Py_INCREF(Py_None
); resultobj
= Py_None
;
22351 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxWindow
*arg1
= (wxWindow
*) 0 ;
22356 PyObject
* obj0
= 0 ;
22357 PyObject
* obj1
= 0 ;
22358 PyObject
* obj2
= 0 ;
22359 char *kwnames
[] = {
22360 (char *) "self",(char *) "width",(char *) "height", NULL
22363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22366 arg2
= (int) SWIG_AsInt(obj1
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22368 arg3
= (int) SWIG_AsInt(obj2
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22372 (arg1
)->SetSize(arg2
,arg3
);
22374 wxPyEndAllowThreads(__tstate
);
22375 if (PyErr_Occurred()) SWIG_fail
;
22377 Py_INCREF(Py_None
); resultobj
= Py_None
;
22384 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22385 PyObject
*resultobj
;
22386 wxWindow
*arg1
= (wxWindow
*) 0 ;
22387 wxPoint
*arg2
= 0 ;
22388 int arg3
= (int) wxSIZE_USE_EXISTING
;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 char *kwnames
[] = {
22394 (char *) "self",(char *) "pt",(char *) "flags", NULL
22397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22405 arg3
= (int) SWIG_AsInt(obj2
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22410 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22412 wxPyEndAllowThreads(__tstate
);
22413 if (PyErr_Occurred()) SWIG_fail
;
22415 Py_INCREF(Py_None
); resultobj
= Py_None
;
22422 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22423 PyObject
*resultobj
;
22424 wxWindow
*arg1
= (wxWindow
*) 0 ;
22427 int arg4
= (int) wxSIZE_USE_EXISTING
;
22428 PyObject
* obj0
= 0 ;
22429 PyObject
* obj1
= 0 ;
22430 PyObject
* obj2
= 0 ;
22431 PyObject
* obj3
= 0 ;
22432 char *kwnames
[] = {
22433 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22439 arg2
= (int) SWIG_AsInt(obj1
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22441 arg3
= (int) SWIG_AsInt(obj2
);
22442 if (PyErr_Occurred()) SWIG_fail
;
22444 arg4
= (int) SWIG_AsInt(obj3
);
22445 if (PyErr_Occurred()) SWIG_fail
;
22448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22449 (arg1
)->Move(arg2
,arg3
,arg4
);
22451 wxPyEndAllowThreads(__tstate
);
22452 if (PyErr_Occurred()) SWIG_fail
;
22454 Py_INCREF(Py_None
); resultobj
= Py_None
;
22461 static PyObject
*_wrap_Window_SetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22462 PyObject
*resultobj
;
22463 wxWindow
*arg1
= (wxWindow
*) 0 ;
22464 wxSize
const &arg2_defvalue
= wxDefaultSize
;
22465 wxSize
*arg2
= (wxSize
*) &arg2_defvalue
;
22467 PyObject
* obj0
= 0 ;
22468 PyObject
* obj1
= 0 ;
22469 char *kwnames
[] = {
22470 (char *) "self",(char *) "size", NULL
22473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_SetBestFittingSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22479 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22484 (arg1
)->SetBestFittingSize((wxSize
const &)*arg2
);
22486 wxPyEndAllowThreads(__tstate
);
22487 if (PyErr_Occurred()) SWIG_fail
;
22489 Py_INCREF(Py_None
); resultobj
= Py_None
;
22496 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22497 PyObject
*resultobj
;
22498 wxWindow
*arg1
= (wxWindow
*) 0 ;
22499 PyObject
* obj0
= 0 ;
22500 char *kwnames
[] = {
22501 (char *) "self", NULL
22504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22511 wxPyEndAllowThreads(__tstate
);
22512 if (PyErr_Occurred()) SWIG_fail
;
22514 Py_INCREF(Py_None
); resultobj
= Py_None
;
22521 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22522 PyObject
*resultobj
;
22523 wxWindow
*arg1
= (wxWindow
*) 0 ;
22524 PyObject
* obj0
= 0 ;
22525 char *kwnames
[] = {
22526 (char *) "self", NULL
22529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 wxPyEndAllowThreads(__tstate
);
22537 if (PyErr_Occurred()) SWIG_fail
;
22539 Py_INCREF(Py_None
); resultobj
= Py_None
;
22546 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22547 PyObject
*resultobj
;
22548 wxWindow
*arg1
= (wxWindow
*) 0 ;
22551 PyObject
* obj0
= 0 ;
22552 PyObject
* obj1
= 0 ;
22553 char *kwnames
[] = {
22554 (char *) "self",(char *) "size", NULL
22557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22566 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22568 wxPyEndAllowThreads(__tstate
);
22569 if (PyErr_Occurred()) SWIG_fail
;
22571 Py_INCREF(Py_None
); resultobj
= Py_None
;
22578 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22579 PyObject
*resultobj
;
22580 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 PyObject
* obj0
= 0 ;
22584 PyObject
* obj1
= 0 ;
22585 PyObject
* obj2
= 0 ;
22586 char *kwnames
[] = {
22587 (char *) "self",(char *) "width",(char *) "height", NULL
22590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22593 arg2
= (int) SWIG_AsInt(obj1
);
22594 if (PyErr_Occurred()) SWIG_fail
;
22595 arg3
= (int) SWIG_AsInt(obj2
);
22596 if (PyErr_Occurred()) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 (arg1
)->SetClientSize(arg2
,arg3
);
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22604 Py_INCREF(Py_None
); resultobj
= Py_None
;
22611 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22612 PyObject
*resultobj
;
22613 wxWindow
*arg1
= (wxWindow
*) 0 ;
22616 PyObject
* obj0
= 0 ;
22617 PyObject
* obj1
= 0 ;
22618 char *kwnames
[] = {
22619 (char *) "self",(char *) "rect", NULL
22622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22627 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22631 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22633 wxPyEndAllowThreads(__tstate
);
22634 if (PyErr_Occurred()) SWIG_fail
;
22636 Py_INCREF(Py_None
); resultobj
= Py_None
;
22643 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22644 PyObject
*resultobj
;
22645 wxWindow
*arg1
= (wxWindow
*) 0 ;
22647 PyObject
* obj0
= 0 ;
22648 char *kwnames
[] = {
22649 (char *) "self", NULL
22652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= (arg1
)->GetPosition();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 wxPoint
* resultptr
;
22664 resultptr
= new wxPoint((wxPoint
&) result
);
22665 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22673 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxWindow
*arg1
= (wxWindow
*) 0 ;
22676 int *arg2
= (int *) 0 ;
22677 int *arg3
= (int *) 0 ;
22680 PyObject
* obj0
= 0 ;
22681 char *kwnames
[] = {
22682 (char *) "self", NULL
22687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22692 (arg1
)->GetPosition(arg2
,arg3
);
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 Py_INCREF(Py_None
); resultobj
= Py_None
;
22699 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22700 resultobj
= t_output_helper(resultobj
,o
);
22703 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22704 resultobj
= t_output_helper(resultobj
,o
);
22712 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxWindow
*arg1
= (wxWindow
*) 0 ;
22716 PyObject
* obj0
= 0 ;
22717 char *kwnames
[] = {
22718 (char *) "self", NULL
22721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22726 result
= ((wxWindow
const *)arg1
)->GetSize();
22728 wxPyEndAllowThreads(__tstate
);
22729 if (PyErr_Occurred()) SWIG_fail
;
22732 wxSize
* resultptr
;
22733 resultptr
= new wxSize((wxSize
&) result
);
22734 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22742 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22743 PyObject
*resultobj
;
22744 wxWindow
*arg1
= (wxWindow
*) 0 ;
22745 int *arg2
= (int *) 0 ;
22746 int *arg3
= (int *) 0 ;
22749 PyObject
* obj0
= 0 ;
22750 char *kwnames
[] = {
22751 (char *) "self", NULL
22756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22769 resultobj
= t_output_helper(resultobj
,o
);
22772 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22773 resultobj
= t_output_helper(resultobj
,o
);
22781 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxWindow
*arg1
= (wxWindow
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= ((wxWindow
const *)arg1
)->GetRect();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 wxRect
* resultptr
;
22802 resultptr
= new wxRect((wxRect
&) result
);
22803 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22811 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxWindow
*arg1
= (wxWindow
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22831 wxSize
* resultptr
;
22832 resultptr
= new wxSize((wxSize
&) result
);
22833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22841 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22842 PyObject
*resultobj
;
22843 wxWindow
*arg1
= (wxWindow
*) 0 ;
22844 int *arg2
= (int *) 0 ;
22845 int *arg3
= (int *) 0 ;
22848 PyObject
* obj0
= 0 ;
22849 char *kwnames
[] = {
22850 (char *) "self", NULL
22855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 Py_INCREF(Py_None
); resultobj
= Py_None
;
22867 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22868 resultobj
= t_output_helper(resultobj
,o
);
22871 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22872 resultobj
= t_output_helper(resultobj
,o
);
22880 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxWindow
*arg1
= (wxWindow
*) 0 ;
22884 PyObject
* obj0
= 0 ;
22885 char *kwnames
[] = {
22886 (char *) "self", NULL
22889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22894 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22896 wxPyEndAllowThreads(__tstate
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22900 wxPoint
* resultptr
;
22901 resultptr
= new wxPoint((wxPoint
&) result
);
22902 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22910 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22911 PyObject
*resultobj
;
22912 wxWindow
*arg1
= (wxWindow
*) 0 ;
22914 PyObject
* obj0
= 0 ;
22915 char *kwnames
[] = {
22916 (char *) "self", NULL
22919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22924 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 wxRect
* resultptr
;
22931 resultptr
= new wxRect((wxRect
&) result
);
22932 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22940 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22941 PyObject
*resultobj
;
22942 wxWindow
*arg1
= (wxWindow
*) 0 ;
22944 PyObject
* obj0
= 0 ;
22945 char *kwnames
[] = {
22946 (char *) "self", NULL
22949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22954 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22956 wxPyEndAllowThreads(__tstate
);
22957 if (PyErr_Occurred()) SWIG_fail
;
22960 wxSize
* resultptr
;
22961 resultptr
= new wxSize((wxSize
&) result
);
22962 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22970 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxWindow
*arg1
= (wxWindow
*) 0 ;
22973 int *arg2
= (int *) 0 ;
22974 int *arg3
= (int *) 0 ;
22977 PyObject
* obj0
= 0 ;
22978 char *kwnames
[] = {
22979 (char *) "self", NULL
22984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22989 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22991 wxPyEndAllowThreads(__tstate
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22994 Py_INCREF(Py_None
); resultobj
= Py_None
;
22996 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22997 resultobj
= t_output_helper(resultobj
,o
);
23000 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23001 resultobj
= t_output_helper(resultobj
,o
);
23009 static PyObject
*_wrap_Window_InvalidateBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23010 PyObject
*resultobj
;
23011 wxWindow
*arg1
= (wxWindow
*) 0 ;
23012 PyObject
* obj0
= 0 ;
23013 char *kwnames
[] = {
23014 (char *) "self", NULL
23017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InvalidateBestSize",kwnames
,&obj0
)) goto fail
;
23018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 (arg1
)->InvalidateBestSize();
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 Py_INCREF(Py_None
); resultobj
= Py_None
;
23034 static PyObject
*_wrap_Window_GetBestFittingSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxWindow
*arg1
= (wxWindow
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestFittingSize",kwnames
,&obj0
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= ((wxWindow
const *)arg1
)->GetBestFittingSize();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23054 wxSize
* resultptr
;
23055 resultptr
= new wxSize((wxSize
&) result
);
23056 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23064 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23065 PyObject
*resultobj
;
23066 wxWindow
*arg1
= (wxWindow
*) 0 ;
23068 PyObject
* obj0
= 0 ;
23069 char *kwnames
[] = {
23070 (char *) "self", NULL
23073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
23074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23078 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
23080 wxPyEndAllowThreads(__tstate
);
23081 if (PyErr_Occurred()) SWIG_fail
;
23084 wxSize
* resultptr
;
23085 resultptr
= new wxSize((wxSize
&) result
);
23086 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23094 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23095 PyObject
*resultobj
;
23096 wxWindow
*arg1
= (wxWindow
*) 0 ;
23097 int arg2
= (int) wxBOTH
;
23098 PyObject
* obj0
= 0 ;
23099 PyObject
* obj1
= 0 ;
23100 char *kwnames
[] = {
23101 (char *) "self",(char *) "direction", NULL
23104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
23105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23108 arg2
= (int) SWIG_AsInt(obj1
);
23109 if (PyErr_Occurred()) SWIG_fail
;
23112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23113 (arg1
)->Center(arg2
);
23115 wxPyEndAllowThreads(__tstate
);
23116 if (PyErr_Occurred()) SWIG_fail
;
23118 Py_INCREF(Py_None
); resultobj
= Py_None
;
23125 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23126 PyObject
*resultobj
;
23127 wxWindow
*arg1
= (wxWindow
*) 0 ;
23128 int arg2
= (int) wxBOTH
;
23129 PyObject
* obj0
= 0 ;
23130 PyObject
* obj1
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "dir", NULL
23135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23139 arg2
= (int) SWIG_AsInt(obj1
);
23140 if (PyErr_Occurred()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 (arg1
)->CenterOnScreen(arg2
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23156 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23157 PyObject
*resultobj
;
23158 wxWindow
*arg1
= (wxWindow
*) 0 ;
23159 int arg2
= (int) wxBOTH
;
23160 PyObject
* obj0
= 0 ;
23161 PyObject
* obj1
= 0 ;
23162 char *kwnames
[] = {
23163 (char *) "self",(char *) "dir", NULL
23166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
23167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23170 arg2
= (int) SWIG_AsInt(obj1
);
23171 if (PyErr_Occurred()) SWIG_fail
;
23174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23175 (arg1
)->CenterOnParent(arg2
);
23177 wxPyEndAllowThreads(__tstate
);
23178 if (PyErr_Occurred()) SWIG_fail
;
23180 Py_INCREF(Py_None
); resultobj
= Py_None
;
23187 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxWindow
*arg1
= (wxWindow
*) 0 ;
23190 PyObject
* obj0
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23215 PyObject
* obj0
= 0 ;
23216 char *kwnames
[] = {
23217 (char *) "self", NULL
23220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
23221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23225 (arg1
)->FitInside();
23227 wxPyEndAllowThreads(__tstate
);
23228 if (PyErr_Occurred()) SWIG_fail
;
23230 Py_INCREF(Py_None
); resultobj
= Py_None
;
23237 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23238 PyObject
*resultobj
;
23239 wxWindow
*arg1
= (wxWindow
*) 0 ;
23242 int arg4
= (int) -1 ;
23243 int arg5
= (int) -1 ;
23244 int arg6
= (int) -1 ;
23245 int arg7
= (int) -1 ;
23246 PyObject
* obj0
= 0 ;
23247 PyObject
* obj1
= 0 ;
23248 PyObject
* obj2
= 0 ;
23249 PyObject
* obj3
= 0 ;
23250 PyObject
* obj4
= 0 ;
23251 PyObject
* obj5
= 0 ;
23252 PyObject
* obj6
= 0 ;
23253 char *kwnames
[] = {
23254 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
23257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
23258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23260 arg2
= (int) SWIG_AsInt(obj1
);
23261 if (PyErr_Occurred()) SWIG_fail
;
23262 arg3
= (int) SWIG_AsInt(obj2
);
23263 if (PyErr_Occurred()) SWIG_fail
;
23265 arg4
= (int) SWIG_AsInt(obj3
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23269 arg5
= (int) SWIG_AsInt(obj4
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23273 arg6
= (int) SWIG_AsInt(obj5
);
23274 if (PyErr_Occurred()) SWIG_fail
;
23277 arg7
= (int) SWIG_AsInt(obj6
);
23278 if (PyErr_Occurred()) SWIG_fail
;
23281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23282 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23284 wxPyEndAllowThreads(__tstate
);
23285 if (PyErr_Occurred()) SWIG_fail
;
23287 Py_INCREF(Py_None
); resultobj
= Py_None
;
23294 static PyObject
*_wrap_Window_SetSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23295 PyObject
*resultobj
;
23296 wxWindow
*arg1
= (wxWindow
*) 0 ;
23298 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23299 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23300 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23301 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23305 PyObject
* obj0
= 0 ;
23306 PyObject
* obj1
= 0 ;
23307 PyObject
* obj2
= 0 ;
23308 PyObject
* obj3
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self",(char *) "minSize",(char *) "maxSize",(char *) "incSize", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_SetSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23318 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23323 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23329 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 Py_INCREF(Py_None
); resultobj
= Py_None
;
23346 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23351 int arg4
= (int) -1 ;
23352 int arg5
= (int) -1 ;
23353 PyObject
* obj0
= 0 ;
23354 PyObject
* obj1
= 0 ;
23355 PyObject
* obj2
= 0 ;
23356 PyObject
* obj3
= 0 ;
23357 PyObject
* obj4
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23365 arg2
= (int) SWIG_AsInt(obj1
);
23366 if (PyErr_Occurred()) SWIG_fail
;
23367 arg3
= (int) SWIG_AsInt(obj2
);
23368 if (PyErr_Occurred()) SWIG_fail
;
23370 arg4
= (int) SWIG_AsInt(obj3
);
23371 if (PyErr_Occurred()) SWIG_fail
;
23374 arg5
= (int) SWIG_AsInt(obj4
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23379 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23381 wxPyEndAllowThreads(__tstate
);
23382 if (PyErr_Occurred()) SWIG_fail
;
23384 Py_INCREF(Py_None
); resultobj
= Py_None
;
23391 static PyObject
*_wrap_Window_SetVirtualSizeHintsSz(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23392 PyObject
*resultobj
;
23393 wxWindow
*arg1
= (wxWindow
*) 0 ;
23395 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23396 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23399 PyObject
* obj0
= 0 ;
23400 PyObject
* obj1
= 0 ;
23401 PyObject
* obj2
= 0 ;
23402 char *kwnames
[] = {
23403 (char *) "self",(char *) "minSize",(char *) "maxSize", NULL
23406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetVirtualSizeHintsSz",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23411 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23416 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23421 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23423 wxPyEndAllowThreads(__tstate
);
23424 if (PyErr_Occurred()) SWIG_fail
;
23426 Py_INCREF(Py_None
); resultobj
= Py_None
;
23433 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23434 PyObject
*resultobj
;
23435 wxWindow
*arg1
= (wxWindow
*) 0 ;
23437 PyObject
* obj0
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23447 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23449 wxPyEndAllowThreads(__tstate
);
23450 if (PyErr_Occurred()) SWIG_fail
;
23453 wxSize
* resultptr
;
23454 resultptr
= new wxSize((wxSize
&) result
);
23455 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23463 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23464 PyObject
*resultobj
;
23465 wxWindow
*arg1
= (wxWindow
*) 0 ;
23467 PyObject
* obj0
= 0 ;
23468 char *kwnames
[] = {
23469 (char *) "self", NULL
23472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23477 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 wxSize
* resultptr
;
23484 resultptr
= new wxSize((wxSize
&) result
);
23485 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23493 static PyObject
*_wrap_Window_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxWindow
*arg1
= (wxWindow
*) 0 ;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "minSize", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23525 static PyObject
*_wrap_Window_SetMaxSize(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 *) "maxSize", NULL
23536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetMaxSize",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
)->SetMaxSize((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_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23558 PyObject
*resultobj
;
23559 wxWindow
*arg1
= (wxWindow
*) 0 ;
23561 PyObject
* obj0
= 0 ;
23562 char *kwnames
[] = {
23563 (char *) "self", NULL
23566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_FromInt((int)result
);
23583 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxWindow
*arg1
= (wxWindow
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23593 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23594 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 resultobj
= SWIG_FromInt((int)result
);
23609 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxWindow
*arg1
= (wxWindow
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23625 wxPyEndAllowThreads(__tstate
);
23626 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= SWIG_FromInt((int)result
);
23635 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23636 PyObject
*resultobj
;
23637 wxWindow
*arg1
= (wxWindow
*) 0 ;
23639 PyObject
* obj0
= 0 ;
23640 char *kwnames
[] = {
23641 (char *) "self", NULL
23644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23649 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23651 wxPyEndAllowThreads(__tstate
);
23652 if (PyErr_Occurred()) SWIG_fail
;
23654 resultobj
= SWIG_FromInt((int)result
);
23661 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23662 PyObject
*resultobj
;
23663 wxWindow
*arg1
= (wxWindow
*) 0 ;
23666 PyObject
* obj0
= 0 ;
23667 PyObject
* obj1
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "size", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23677 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23681 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23683 wxPyEndAllowThreads(__tstate
);
23684 if (PyErr_Occurred()) SWIG_fail
;
23686 Py_INCREF(Py_None
); resultobj
= Py_None
;
23693 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23694 PyObject
*resultobj
;
23695 wxWindow
*arg1
= (wxWindow
*) 0 ;
23698 PyObject
* obj0
= 0 ;
23699 PyObject
* obj1
= 0 ;
23700 PyObject
* obj2
= 0 ;
23701 char *kwnames
[] = {
23702 (char *) "self",(char *) "w",(char *) "h", NULL
23705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23708 arg2
= (int) SWIG_AsInt(obj1
);
23709 if (PyErr_Occurred()) SWIG_fail
;
23710 arg3
= (int) SWIG_AsInt(obj2
);
23711 if (PyErr_Occurred()) SWIG_fail
;
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->SetVirtualSize(arg2
,arg3
);
23716 wxPyEndAllowThreads(__tstate
);
23717 if (PyErr_Occurred()) SWIG_fail
;
23719 Py_INCREF(Py_None
); resultobj
= Py_None
;
23726 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23727 PyObject
*resultobj
;
23728 wxWindow
*arg1
= (wxWindow
*) 0 ;
23730 PyObject
* obj0
= 0 ;
23731 char *kwnames
[] = {
23732 (char *) "self", NULL
23735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23742 wxPyEndAllowThreads(__tstate
);
23743 if (PyErr_Occurred()) SWIG_fail
;
23746 wxSize
* resultptr
;
23747 resultptr
= new wxSize((wxSize
&) result
);
23748 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23756 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23757 PyObject
*resultobj
;
23758 wxWindow
*arg1
= (wxWindow
*) 0 ;
23759 int *arg2
= (int *) 0 ;
23760 int *arg3
= (int *) 0 ;
23763 PyObject
* obj0
= 0 ;
23764 char *kwnames
[] = {
23765 (char *) "self", NULL
23770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23775 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23777 wxPyEndAllowThreads(__tstate
);
23778 if (PyErr_Occurred()) SWIG_fail
;
23780 Py_INCREF(Py_None
); resultobj
= Py_None
;
23782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23783 resultobj
= t_output_helper(resultobj
,o
);
23786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23787 resultobj
= t_output_helper(resultobj
,o
);
23795 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23796 PyObject
*resultobj
;
23797 wxWindow
*arg1
= (wxWindow
*) 0 ;
23799 PyObject
* obj0
= 0 ;
23800 char *kwnames
[] = {
23801 (char *) "self", NULL
23804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23811 wxPyEndAllowThreads(__tstate
);
23812 if (PyErr_Occurred()) SWIG_fail
;
23815 wxSize
* resultptr
;
23816 resultptr
= new wxSize((wxSize
&) result
);
23817 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23825 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxWindow
*arg1
= (wxWindow
*) 0 ;
23828 bool arg2
= (bool) True
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "show", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23840 arg2
= (bool) SWIG_AsBool(obj1
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 result
= (bool)(arg1
)->Show(arg2
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23859 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
;
23861 wxWindow
*arg1
= (wxWindow
*) 0 ;
23863 PyObject
* obj0
= 0 ;
23864 char *kwnames
[] = {
23865 (char *) "self", NULL
23868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 result
= (bool)(arg1
)->Hide();
23875 wxPyEndAllowThreads(__tstate
);
23876 if (PyErr_Occurred()) SWIG_fail
;
23879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23887 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23888 PyObject
*resultobj
;
23889 wxWindow
*arg1
= (wxWindow
*) 0 ;
23890 bool arg2
= (bool) True
;
23892 PyObject
* obj0
= 0 ;
23893 PyObject
* obj1
= 0 ;
23894 char *kwnames
[] = {
23895 (char *) "self",(char *) "enable", NULL
23898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23902 arg2
= (bool) SWIG_AsBool(obj1
);
23903 if (PyErr_Occurred()) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= (bool)(arg1
)->Enable(arg2
);
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23921 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23922 PyObject
*resultobj
;
23923 wxWindow
*arg1
= (wxWindow
*) 0 ;
23925 PyObject
* obj0
= 0 ;
23926 char *kwnames
[] = {
23927 (char *) "self", NULL
23930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23935 result
= (bool)(arg1
)->Disable();
23937 wxPyEndAllowThreads(__tstate
);
23938 if (PyErr_Occurred()) SWIG_fail
;
23941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23949 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23950 PyObject
*resultobj
;
23951 wxWindow
*arg1
= (wxWindow
*) 0 ;
23953 PyObject
* obj0
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23978 PyObject
*resultobj
;
23979 wxWindow
*arg1
= (wxWindow
*) 0 ;
23981 PyObject
* obj0
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23997 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24005 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxWindow
*arg1
= (wxWindow
*) 0 ;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "style", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24018 arg2
= (long) SWIG_AsLong(obj1
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 (arg1
)->SetWindowStyleFlag(arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 Py_INCREF(Py_None
); resultobj
= Py_None
;
24034 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24035 PyObject
*resultobj
;
24036 wxWindow
*arg1
= (wxWindow
*) 0 ;
24038 PyObject
* obj0
= 0 ;
24039 char *kwnames
[] = {
24040 (char *) "self", NULL
24043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
24044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24048 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
24050 wxPyEndAllowThreads(__tstate
);
24051 if (PyErr_Occurred()) SWIG_fail
;
24053 resultobj
= SWIG_FromLong((long)result
);
24060 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24061 PyObject
*resultobj
;
24062 wxWindow
*arg1
= (wxWindow
*) 0 ;
24065 PyObject
* obj0
= 0 ;
24066 PyObject
* obj1
= 0 ;
24067 char *kwnames
[] = {
24068 (char *) "self",(char *) "flag", NULL
24071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
24072 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24073 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24074 arg2
= (int) SWIG_AsInt(obj1
);
24075 if (PyErr_Occurred()) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24092 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxWindow
*arg1
= (wxWindow
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
24102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24120 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxWindow
*arg1
= (wxWindow
*) 0 ;
24124 PyObject
* obj0
= 0 ;
24125 PyObject
* obj1
= 0 ;
24126 char *kwnames
[] = {
24127 (char *) "self",(char *) "exStyle", NULL
24130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
24131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24133 arg2
= (long) SWIG_AsLong(obj1
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 (arg1
)->SetExtraStyle(arg2
);
24139 wxPyEndAllowThreads(__tstate
);
24140 if (PyErr_Occurred()) SWIG_fail
;
24142 Py_INCREF(Py_None
); resultobj
= Py_None
;
24149 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24150 PyObject
*resultobj
;
24151 wxWindow
*arg1
= (wxWindow
*) 0 ;
24153 PyObject
* obj0
= 0 ;
24154 char *kwnames
[] = {
24155 (char *) "self", NULL
24158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
24159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24163 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
24165 wxPyEndAllowThreads(__tstate
);
24166 if (PyErr_Occurred()) SWIG_fail
;
24168 resultobj
= SWIG_FromLong((long)result
);
24175 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24176 PyObject
*resultobj
;
24177 wxWindow
*arg1
= (wxWindow
*) 0 ;
24178 bool arg2
= (bool) True
;
24179 PyObject
* obj0
= 0 ;
24180 PyObject
* obj1
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self",(char *) "modal", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24189 arg2
= (bool) SWIG_AsBool(obj1
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24194 (arg1
)->MakeModal(arg2
);
24196 wxPyEndAllowThreads(__tstate
);
24197 if (PyErr_Occurred()) SWIG_fail
;
24199 Py_INCREF(Py_None
); resultobj
= Py_None
;
24206 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24207 PyObject
*resultobj
;
24208 wxWindow
*arg1
= (wxWindow
*) 0 ;
24210 PyObject
* obj0
= 0 ;
24211 PyObject
* obj1
= 0 ;
24212 char *kwnames
[] = {
24213 (char *) "self",(char *) "enableTheme", NULL
24216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24219 arg2
= (bool) SWIG_AsBool(obj1
);
24220 if (PyErr_Occurred()) SWIG_fail
;
24222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24223 (arg1
)->SetThemeEnabled(arg2
);
24225 wxPyEndAllowThreads(__tstate
);
24226 if (PyErr_Occurred()) SWIG_fail
;
24228 Py_INCREF(Py_None
); resultobj
= Py_None
;
24235 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24236 PyObject
*resultobj
;
24237 wxWindow
*arg1
= (wxWindow
*) 0 ;
24239 PyObject
* obj0
= 0 ;
24240 char *kwnames
[] = {
24241 (char *) "self", NULL
24244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24251 wxPyEndAllowThreads(__tstate
);
24252 if (PyErr_Occurred()) SWIG_fail
;
24255 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24263 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24264 PyObject
*resultobj
;
24265 wxWindow
*arg1
= (wxWindow
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 char *kwnames
[] = {
24268 (char *) "self", NULL
24271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
24272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24276 (arg1
)->SetFocus();
24278 wxPyEndAllowThreads(__tstate
);
24279 if (PyErr_Occurred()) SWIG_fail
;
24281 Py_INCREF(Py_None
); resultobj
= Py_None
;
24288 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24289 PyObject
*resultobj
;
24290 wxWindow
*arg1
= (wxWindow
*) 0 ;
24291 PyObject
* obj0
= 0 ;
24292 char *kwnames
[] = {
24293 (char *) "self", NULL
24296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24301 (arg1
)->SetFocusFromKbd();
24303 wxPyEndAllowThreads(__tstate
);
24304 if (PyErr_Occurred()) SWIG_fail
;
24306 Py_INCREF(Py_None
); resultobj
= Py_None
;
24313 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24314 PyObject
*resultobj
;
24316 char *kwnames
[] = {
24320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24322 if (!wxPyCheckForApp()) SWIG_fail
;
24323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24324 result
= (wxWindow
*)wxWindow::FindFocus();
24326 wxPyEndAllowThreads(__tstate
);
24327 if (PyErr_Occurred()) SWIG_fail
;
24330 resultobj
= wxPyMake_wxObject(result
, 0);
24338 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24340 wxWindow
*arg1
= (wxWindow
*) 0 ;
24342 PyObject
* obj0
= 0 ;
24343 char *kwnames
[] = {
24344 (char *) "self", NULL
24347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24366 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxWindow
*arg1
= (wxWindow
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 char *kwnames
[] = {
24372 (char *) "self", NULL
24375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24380 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24394 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24396 wxWindow
*arg1
= (wxWindow
*) 0 ;
24398 PyObject
* obj0
= 0 ;
24399 char *kwnames
[] = {
24400 (char *) "self", NULL
24403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= wxPyMake_wxObject(result
, 0);
24422 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24423 PyObject
*resultobj
;
24424 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 wxWindow
*arg2
= (wxWindow
*) 0 ;
24427 PyObject
* obj0
= 0 ;
24428 PyObject
* obj1
= 0 ;
24429 char *kwnames
[] = {
24430 (char *) "self",(char *) "child", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24436 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= wxPyMake_wxObject(result
, 0);
24454 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
;
24456 wxWindow
*arg1
= (wxWindow
*) 0 ;
24457 wxWindow
*arg2
= (wxWindow
*) 0 ;
24458 PyObject
* obj0
= 0 ;
24459 PyObject
* obj1
= 0 ;
24460 char *kwnames
[] = {
24461 (char *) "self",(char *) "win", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24471 (arg1
)->SetTmpDefaultItem(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 Py_INCREF(Py_None
); resultobj
= Py_None
;
24483 static PyObject
*_wrap_Window_Navigate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxWindow
*arg1
= (wxWindow
*) 0 ;
24486 int arg2
= (int) wxNavigationKeyEvent::IsForward
;
24488 PyObject
* obj0
= 0 ;
24489 PyObject
* obj1
= 0 ;
24490 char *kwnames
[] = {
24491 (char *) "self",(char *) "flags", NULL
24494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Navigate",kwnames
,&obj0
,&obj1
)) goto fail
;
24495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24498 arg2
= (int) SWIG_AsInt(obj1
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24503 result
= (bool)(arg1
)->Navigate(arg2
);
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24517 static PyObject
*_wrap_Window_MoveAfterInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxWindow
*arg1
= (wxWindow
*) 0 ;
24520 wxWindow
*arg2
= (wxWindow
*) 0 ;
24521 PyObject
* obj0
= 0 ;
24522 PyObject
* obj1
= 0 ;
24523 char *kwnames
[] = {
24524 (char *) "self",(char *) "win", NULL
24527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveAfterInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24530 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24534 (arg1
)->MoveAfterInTabOrder(arg2
);
24536 wxPyEndAllowThreads(__tstate
);
24537 if (PyErr_Occurred()) SWIG_fail
;
24539 Py_INCREF(Py_None
); resultobj
= Py_None
;
24546 static PyObject
*_wrap_Window_MoveBeforeInTabOrder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24547 PyObject
*resultobj
;
24548 wxWindow
*arg1
= (wxWindow
*) 0 ;
24549 wxWindow
*arg2
= (wxWindow
*) 0 ;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "win", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_MoveBeforeInTabOrder",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24559 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24563 (arg1
)->MoveBeforeInTabOrder(arg2
);
24565 wxPyEndAllowThreads(__tstate
);
24566 if (PyErr_Occurred()) SWIG_fail
;
24568 Py_INCREF(Py_None
); resultobj
= Py_None
;
24575 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24576 PyObject
*resultobj
;
24577 wxWindow
*arg1
= (wxWindow
*) 0 ;
24579 PyObject
* obj0
= 0 ;
24580 char *kwnames
[] = {
24581 (char *) "self", NULL
24584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 resultobj
= result
;
24601 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24602 PyObject
*resultobj
;
24603 wxWindow
*arg1
= (wxWindow
*) 0 ;
24605 PyObject
* obj0
= 0 ;
24606 char *kwnames
[] = {
24607 (char *) "self", NULL
24610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
24611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24617 wxPyEndAllowThreads(__tstate
);
24618 if (PyErr_Occurred()) SWIG_fail
;
24621 resultobj
= wxPyMake_wxObject(result
, 0);
24629 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24630 PyObject
*resultobj
;
24631 wxWindow
*arg1
= (wxWindow
*) 0 ;
24633 PyObject
* obj0
= 0 ;
24634 char *kwnames
[] = {
24635 (char *) "self", NULL
24638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
24639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24643 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24645 wxPyEndAllowThreads(__tstate
);
24646 if (PyErr_Occurred()) SWIG_fail
;
24649 resultobj
= wxPyMake_wxObject(result
, 0);
24657 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24658 PyObject
*resultobj
;
24659 wxWindow
*arg1
= (wxWindow
*) 0 ;
24661 PyObject
* obj0
= 0 ;
24662 char *kwnames
[] = {
24663 (char *) "self", NULL
24666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
24667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24671 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24673 wxPyEndAllowThreads(__tstate
);
24674 if (PyErr_Occurred()) SWIG_fail
;
24677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24685 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24686 PyObject
*resultobj
;
24687 wxWindow
*arg1
= (wxWindow
*) 0 ;
24688 wxWindow
*arg2
= (wxWindow
*) 0 ;
24690 PyObject
* obj0
= 0 ;
24691 PyObject
* obj1
= 0 ;
24692 char *kwnames
[] = {
24693 (char *) "self",(char *) "newParent", NULL
24696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
24697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24699 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24703 result
= (bool)(arg1
)->Reparent(arg2
);
24705 wxPyEndAllowThreads(__tstate
);
24706 if (PyErr_Occurred()) SWIG_fail
;
24709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24717 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24718 PyObject
*resultobj
;
24719 wxWindow
*arg1
= (wxWindow
*) 0 ;
24720 wxWindow
*arg2
= (wxWindow
*) 0 ;
24721 PyObject
* obj0
= 0 ;
24722 PyObject
* obj1
= 0 ;
24723 char *kwnames
[] = {
24724 (char *) "self",(char *) "child", NULL
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->AddChild(arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 Py_INCREF(Py_None
); resultobj
= Py_None
;
24746 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24747 PyObject
*resultobj
;
24748 wxWindow
*arg1
= (wxWindow
*) 0 ;
24749 wxWindow
*arg2
= (wxWindow
*) 0 ;
24750 PyObject
* obj0
= 0 ;
24751 PyObject
* obj1
= 0 ;
24752 char *kwnames
[] = {
24753 (char *) "self",(char *) "child", NULL
24756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24759 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 (arg1
)->RemoveChild(arg2
);
24765 wxPyEndAllowThreads(__tstate
);
24766 if (PyErr_Occurred()) SWIG_fail
;
24768 Py_INCREF(Py_None
); resultobj
= Py_None
;
24775 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24776 PyObject
*resultobj
;
24777 wxWindow
*arg1
= (wxWindow
*) 0 ;
24780 PyObject
* obj0
= 0 ;
24781 PyObject
* obj1
= 0 ;
24782 char *kwnames
[] = {
24783 (char *) "self",(char *) "winid", NULL
24786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24789 arg2
= (long) SWIG_AsLong(obj1
);
24790 if (PyErr_Occurred()) SWIG_fail
;
24792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24793 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24795 wxPyEndAllowThreads(__tstate
);
24796 if (PyErr_Occurred()) SWIG_fail
;
24799 resultobj
= wxPyMake_wxObject(result
, 0);
24807 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24808 PyObject
*resultobj
;
24809 wxWindow
*arg1
= (wxWindow
*) 0 ;
24810 wxString
*arg2
= 0 ;
24812 bool temp2
= False
;
24813 PyObject
* obj0
= 0 ;
24814 PyObject
* obj1
= 0 ;
24815 char *kwnames
[] = {
24816 (char *) "self",(char *) "name", NULL
24819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24823 arg2
= wxString_in_helper(obj1
);
24824 if (arg2
== NULL
) SWIG_fail
;
24828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24829 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24831 wxPyEndAllowThreads(__tstate
);
24832 if (PyErr_Occurred()) SWIG_fail
;
24835 resultobj
= wxPyMake_wxObject(result
, 0);
24851 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxWindow
*arg1
= (wxWindow
*) 0 ;
24854 wxEvtHandler
*result
;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 resultobj
= wxPyMake_wxObject(result
, 0);
24879 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24880 PyObject
*resultobj
;
24881 wxWindow
*arg1
= (wxWindow
*) 0 ;
24882 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24883 PyObject
* obj0
= 0 ;
24884 PyObject
* obj1
= 0 ;
24885 char *kwnames
[] = {
24886 (char *) "self",(char *) "handler", NULL
24889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24892 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 (arg1
)->SetEventHandler(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 Py_INCREF(Py_None
); resultobj
= Py_None
;
24908 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxWindow
*arg1
= (wxWindow
*) 0 ;
24911 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24912 PyObject
* obj0
= 0 ;
24913 PyObject
* obj1
= 0 ;
24914 char *kwnames
[] = {
24915 (char *) "self",(char *) "handler", NULL
24918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24921 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24925 (arg1
)->PushEventHandler(arg2
);
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 Py_INCREF(Py_None
); resultobj
= Py_None
;
24937 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24938 PyObject
*resultobj
;
24939 wxWindow
*arg1
= (wxWindow
*) 0 ;
24940 bool arg2
= (bool) False
;
24941 wxEvtHandler
*result
;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 char *kwnames
[] = {
24945 (char *) "self",(char *) "deleteHandler", NULL
24948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24952 arg2
= (bool) SWIG_AsBool(obj1
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24957 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= wxPyMake_wxObject(result
, 0);
24971 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxWindow
*arg1
= (wxWindow
*) 0 ;
24974 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24976 PyObject
* obj0
= 0 ;
24977 PyObject
* obj1
= 0 ;
24978 char *kwnames
[] = {
24979 (char *) "self",(char *) "handler", NULL
24982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24985 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24989 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24991 wxPyEndAllowThreads(__tstate
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25003 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25004 PyObject
*resultobj
;
25005 wxWindow
*arg1
= (wxWindow
*) 0 ;
25006 wxValidator
*arg2
= 0 ;
25007 PyObject
* obj0
= 0 ;
25008 PyObject
* obj1
= 0 ;
25009 char *kwnames
[] = {
25010 (char *) "self",(char *) "validator", NULL
25013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
25014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25016 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
25017 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25019 if (arg2
== NULL
) {
25020 PyErr_SetString(PyExc_TypeError
,"null reference");
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
25027 wxPyEndAllowThreads(__tstate
);
25028 if (PyErr_Occurred()) SWIG_fail
;
25030 Py_INCREF(Py_None
); resultobj
= Py_None
;
25037 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25038 PyObject
*resultobj
;
25039 wxWindow
*arg1
= (wxWindow
*) 0 ;
25040 wxValidator
*result
;
25041 PyObject
* obj0
= 0 ;
25042 char *kwnames
[] = {
25043 (char *) "self", NULL
25046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
25047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25051 result
= (wxValidator
*)(arg1
)->GetValidator();
25053 wxPyEndAllowThreads(__tstate
);
25054 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= wxPyMake_wxObject(result
, 0);
25065 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25066 PyObject
*resultobj
;
25067 wxWindow
*arg1
= (wxWindow
*) 0 ;
25069 PyObject
* obj0
= 0 ;
25070 char *kwnames
[] = {
25071 (char *) "self", NULL
25074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
25075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25079 result
= (bool)(arg1
)->Validate();
25081 wxPyEndAllowThreads(__tstate
);
25082 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25093 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxWindow
*arg1
= (wxWindow
*) 0 ;
25097 PyObject
* obj0
= 0 ;
25098 char *kwnames
[] = {
25099 (char *) "self", NULL
25102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
25103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25107 result
= (bool)(arg1
)->TransferDataToWindow();
25109 wxPyEndAllowThreads(__tstate
);
25110 if (PyErr_Occurred()) SWIG_fail
;
25113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25121 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxWindow
*arg1
= (wxWindow
*) 0 ;
25125 PyObject
* obj0
= 0 ;
25126 char *kwnames
[] = {
25127 (char *) "self", NULL
25130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
25131 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25132 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 result
= (bool)(arg1
)->TransferDataFromWindow();
25137 wxPyEndAllowThreads(__tstate
);
25138 if (PyErr_Occurred()) SWIG_fail
;
25141 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25149 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25150 PyObject
*resultobj
;
25151 wxWindow
*arg1
= (wxWindow
*) 0 ;
25152 PyObject
* obj0
= 0 ;
25153 char *kwnames
[] = {
25154 (char *) "self", NULL
25157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
25158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25162 (arg1
)->InitDialog();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 Py_INCREF(Py_None
); resultobj
= Py_None
;
25174 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxWindow
*arg1
= (wxWindow
*) 0 ;
25177 wxAcceleratorTable
*arg2
= 0 ;
25178 PyObject
* obj0
= 0 ;
25179 PyObject
* obj1
= 0 ;
25180 char *kwnames
[] = {
25181 (char *) "self",(char *) "accel", NULL
25184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
25185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25187 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
25188 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25190 if (arg2
== NULL
) {
25191 PyErr_SetString(PyExc_TypeError
,"null reference");
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
25198 wxPyEndAllowThreads(__tstate
);
25199 if (PyErr_Occurred()) SWIG_fail
;
25201 Py_INCREF(Py_None
); resultobj
= Py_None
;
25208 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25209 PyObject
*resultobj
;
25210 wxWindow
*arg1
= (wxWindow
*) 0 ;
25211 wxAcceleratorTable
*result
;
25212 PyObject
* obj0
= 0 ;
25213 char *kwnames
[] = {
25214 (char *) "self", NULL
25217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
25218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25222 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
25224 wxPyEndAllowThreads(__tstate
);
25225 if (PyErr_Occurred()) SWIG_fail
;
25227 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
25234 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25235 PyObject
*resultobj
;
25236 wxWindow
*arg1
= (wxWindow
*) 0 ;
25241 PyObject
* obj0
= 0 ;
25242 PyObject
* obj1
= 0 ;
25243 PyObject
* obj2
= 0 ;
25244 PyObject
* obj3
= 0 ;
25245 char *kwnames
[] = {
25246 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
25249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25252 arg2
= (int) SWIG_AsInt(obj1
);
25253 if (PyErr_Occurred()) SWIG_fail
;
25254 arg3
= (int) SWIG_AsInt(obj2
);
25255 if (PyErr_Occurred()) SWIG_fail
;
25256 arg4
= (int) SWIG_AsInt(obj3
);
25257 if (PyErr_Occurred()) SWIG_fail
;
25259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25260 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
25262 wxPyEndAllowThreads(__tstate
);
25263 if (PyErr_Occurred()) SWIG_fail
;
25266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25274 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25275 PyObject
*resultobj
;
25276 wxWindow
*arg1
= (wxWindow
*) 0 ;
25279 PyObject
* obj0
= 0 ;
25280 PyObject
* obj1
= 0 ;
25281 char *kwnames
[] = {
25282 (char *) "self",(char *) "hotkeyId", NULL
25285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25288 arg2
= (int) SWIG_AsInt(obj1
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25292 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25294 wxPyEndAllowThreads(__tstate
);
25295 if (PyErr_Occurred()) SWIG_fail
;
25298 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25306 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25307 PyObject
*resultobj
;
25308 wxWindow
*arg1
= (wxWindow
*) 0 ;
25309 wxPoint
*arg2
= 0 ;
25312 PyObject
* obj0
= 0 ;
25313 PyObject
* obj1
= 0 ;
25314 char *kwnames
[] = {
25315 (char *) "self",(char *) "pt", NULL
25318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25327 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25329 wxPyEndAllowThreads(__tstate
);
25330 if (PyErr_Occurred()) SWIG_fail
;
25333 wxPoint
* resultptr
;
25334 resultptr
= new wxPoint((wxPoint
&) result
);
25335 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25343 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxWindow
*arg1
= (wxWindow
*) 0 ;
25349 PyObject
* obj0
= 0 ;
25350 PyObject
* obj1
= 0 ;
25351 char *kwnames
[] = {
25352 (char *) "self",(char *) "sz", NULL
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25360 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25364 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25366 wxPyEndAllowThreads(__tstate
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25370 wxSize
* resultptr
;
25371 resultptr
= new wxSize((wxSize
&) result
);
25372 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25380 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25381 PyObject
*resultobj
;
25382 wxWindow
*arg1
= (wxWindow
*) 0 ;
25383 wxPoint
*arg2
= 0 ;
25386 PyObject
* obj0
= 0 ;
25387 PyObject
* obj1
= 0 ;
25388 char *kwnames
[] = {
25389 (char *) "self",(char *) "pt", NULL
25392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25393 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25397 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25401 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25403 wxPyEndAllowThreads(__tstate
);
25404 if (PyErr_Occurred()) SWIG_fail
;
25407 wxPoint
* resultptr
;
25408 resultptr
= new wxPoint((wxPoint
&) result
);
25409 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25417 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25418 PyObject
*resultobj
;
25419 wxWindow
*arg1
= (wxWindow
*) 0 ;
25423 PyObject
* obj0
= 0 ;
25424 PyObject
* obj1
= 0 ;
25425 char *kwnames
[] = {
25426 (char *) "self",(char *) "sz", NULL
25429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25444 wxSize
* resultptr
;
25445 resultptr
= new wxSize((wxSize
&) result
);
25446 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25454 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 wxPoint
*arg2
= 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "pt", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25481 wxPoint
* resultptr
;
25482 resultptr
= new wxPoint((wxPoint
&) result
);
25483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25491 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25492 PyObject
*resultobj
;
25493 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 PyObject
* obj1
= 0 ;
25499 char *kwnames
[] = {
25500 (char *) "self",(char *) "sz", NULL
25503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25518 wxSize
* resultptr
;
25519 resultptr
= new wxSize((wxSize
&) result
);
25520 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25528 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25529 PyObject
*resultobj
;
25530 wxWindow
*arg1
= (wxWindow
*) 0 ;
25533 PyObject
* obj0
= 0 ;
25534 PyObject
* obj1
= 0 ;
25535 PyObject
* obj2
= 0 ;
25536 char *kwnames
[] = {
25537 (char *) "self",(char *) "x",(char *) "y", NULL
25540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25543 arg2
= (int) SWIG_AsInt(obj1
);
25544 if (PyErr_Occurred()) SWIG_fail
;
25545 arg3
= (int) SWIG_AsInt(obj2
);
25546 if (PyErr_Occurred()) SWIG_fail
;
25548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25549 (arg1
)->WarpPointer(arg2
,arg3
);
25551 wxPyEndAllowThreads(__tstate
);
25552 if (PyErr_Occurred()) SWIG_fail
;
25554 Py_INCREF(Py_None
); resultobj
= Py_None
;
25561 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25562 PyObject
*resultobj
;
25563 wxWindow
*arg1
= (wxWindow
*) 0 ;
25564 PyObject
* obj0
= 0 ;
25565 char *kwnames
[] = {
25566 (char *) "self", NULL
25569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25574 (arg1
)->CaptureMouse();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25579 Py_INCREF(Py_None
); resultobj
= Py_None
;
25586 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25587 PyObject
*resultobj
;
25588 wxWindow
*arg1
= (wxWindow
*) 0 ;
25589 PyObject
* obj0
= 0 ;
25590 char *kwnames
[] = {
25591 (char *) "self", NULL
25594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25599 (arg1
)->ReleaseMouse();
25601 wxPyEndAllowThreads(__tstate
);
25602 if (PyErr_Occurred()) SWIG_fail
;
25604 Py_INCREF(Py_None
); resultobj
= Py_None
;
25611 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25612 PyObject
*resultobj
;
25614 char *kwnames
[] = {
25618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25620 if (!wxPyCheckForApp()) SWIG_fail
;
25621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25622 result
= (wxWindow
*)wxWindow::GetCapture();
25624 wxPyEndAllowThreads(__tstate
);
25625 if (PyErr_Occurred()) SWIG_fail
;
25628 resultobj
= wxPyMake_wxObject(result
, 0);
25636 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25637 PyObject
*resultobj
;
25638 wxWindow
*arg1
= (wxWindow
*) 0 ;
25640 PyObject
* obj0
= 0 ;
25641 char *kwnames
[] = {
25642 (char *) "self", NULL
25645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25650 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25652 wxPyEndAllowThreads(__tstate
);
25653 if (PyErr_Occurred()) SWIG_fail
;
25656 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25664 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
;
25666 wxWindow
*arg1
= (wxWindow
*) 0 ;
25667 bool arg2
= (bool) True
;
25668 wxRect
*arg3
= (wxRect
*) NULL
;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 PyObject
* obj2
= 0 ;
25672 char *kwnames
[] = {
25673 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25680 arg2
= (bool) SWIG_AsBool(obj1
);
25681 if (PyErr_Occurred()) SWIG_fail
;
25684 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25691 wxPyEndAllowThreads(__tstate
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25694 Py_INCREF(Py_None
); resultobj
= Py_None
;
25701 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25702 PyObject
*resultobj
;
25703 wxWindow
*arg1
= (wxWindow
*) 0 ;
25706 PyObject
* obj0
= 0 ;
25707 PyObject
* obj1
= 0 ;
25708 char *kwnames
[] = {
25709 (char *) "self",(char *) "rect", NULL
25712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25717 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25721 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25723 wxPyEndAllowThreads(__tstate
);
25724 if (PyErr_Occurred()) SWIG_fail
;
25726 Py_INCREF(Py_None
); resultobj
= Py_None
;
25733 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25734 PyObject
*resultobj
;
25735 wxWindow
*arg1
= (wxWindow
*) 0 ;
25736 PyObject
* obj0
= 0 ;
25737 char *kwnames
[] = {
25738 (char *) "self", NULL
25741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 wxPyEndAllowThreads(__tstate
);
25749 if (PyErr_Occurred()) SWIG_fail
;
25751 Py_INCREF(Py_None
); resultobj
= Py_None
;
25758 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25759 PyObject
*resultobj
;
25760 wxWindow
*arg1
= (wxWindow
*) 0 ;
25761 PyObject
* obj0
= 0 ;
25762 char *kwnames
[] = {
25763 (char *) "self", NULL
25766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 (arg1
)->ClearBackground();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 Py_INCREF(Py_None
); resultobj
= Py_None
;
25783 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxWindow
*arg1
= (wxWindow
*) 0 ;
25786 PyObject
* obj0
= 0 ;
25787 char *kwnames
[] = {
25788 (char *) "self", NULL
25791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 Py_INCREF(Py_None
); resultobj
= Py_None
;
25808 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
;
25810 wxWindow
*arg1
= (wxWindow
*) 0 ;
25811 PyObject
* obj0
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxWindow
*arg1
= (wxWindow
*) 0 ;
25837 PyObject
* obj0
= 0 ;
25838 PyObject
* obj1
= 0 ;
25839 char *kwnames
[] = {
25840 (char *) "self",(char *) "dc", NULL
25843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25846 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25847 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25849 if (arg2
== NULL
) {
25850 PyErr_SetString(PyExc_TypeError
,"null reference");
25854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25855 (arg1
)->PrepareDC(*arg2
);
25857 wxPyEndAllowThreads(__tstate
);
25858 if (PyErr_Occurred()) SWIG_fail
;
25860 Py_INCREF(Py_None
); resultobj
= Py_None
;
25867 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25868 PyObject
*resultobj
;
25869 wxWindow
*arg1
= (wxWindow
*) 0 ;
25871 PyObject
* obj0
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25882 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25883 result
= (wxRegion
*) &_result_ref
;
25886 wxPyEndAllowThreads(__tstate
);
25887 if (PyErr_Occurred()) SWIG_fail
;
25889 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25896 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25897 PyObject
*resultobj
;
25898 wxWindow
*arg1
= (wxWindow
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 char *kwnames
[] = {
25902 (char *) "self", NULL
25905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25910 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25916 wxRect
* resultptr
;
25917 resultptr
= new wxRect((wxRect
&) result
);
25918 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25926 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25927 PyObject
*resultobj
;
25928 wxWindow
*arg1
= (wxWindow
*) 0 ;
25931 int arg4
= (int) 1 ;
25932 int arg5
= (int) 1 ;
25934 PyObject
* obj0
= 0 ;
25935 PyObject
* obj1
= 0 ;
25936 PyObject
* obj2
= 0 ;
25937 PyObject
* obj3
= 0 ;
25938 PyObject
* obj4
= 0 ;
25939 char *kwnames
[] = {
25940 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25946 arg2
= (int) SWIG_AsInt(obj1
);
25947 if (PyErr_Occurred()) SWIG_fail
;
25948 arg3
= (int) SWIG_AsInt(obj2
);
25949 if (PyErr_Occurred()) SWIG_fail
;
25951 arg4
= (int) SWIG_AsInt(obj3
);
25952 if (PyErr_Occurred()) SWIG_fail
;
25955 arg5
= (int) SWIG_AsInt(obj4
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25960 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25962 wxPyEndAllowThreads(__tstate
);
25963 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25974 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25975 PyObject
*resultobj
;
25976 wxWindow
*arg1
= (wxWindow
*) 0 ;
25977 wxPoint
*arg2
= 0 ;
25980 PyObject
* obj0
= 0 ;
25981 PyObject
* obj1
= 0 ;
25982 char *kwnames
[] = {
25983 (char *) "self",(char *) "pt", NULL
25986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25991 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25997 wxPyEndAllowThreads(__tstate
);
25998 if (PyErr_Occurred()) SWIG_fail
;
26001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26009 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26015 PyObject
* obj0
= 0 ;
26016 PyObject
* obj1
= 0 ;
26017 char *kwnames
[] = {
26018 (char *) "self",(char *) "rect", NULL
26021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
26022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26026 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
26029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26030 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
26032 wxPyEndAllowThreads(__tstate
);
26033 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26044 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26045 PyObject
*resultobj
;
26046 wxWindow
*arg1
= (wxWindow
*) 0 ;
26047 wxVisualAttributes result
;
26048 PyObject
* obj0
= 0 ;
26049 char *kwnames
[] = {
26050 (char *) "self", NULL
26053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26058 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
26060 wxPyEndAllowThreads(__tstate
);
26061 if (PyErr_Occurred()) SWIG_fail
;
26064 wxVisualAttributes
* resultptr
;
26065 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26066 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26074 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
26077 wxVisualAttributes result
;
26078 PyObject
* obj0
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "variant", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
26085 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
26086 if (PyErr_Occurred()) SWIG_fail
;
26089 if (!wxPyCheckForApp()) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26097 wxVisualAttributes
* resultptr
;
26098 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
26099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
26107 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26108 PyObject
*resultobj
;
26109 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 wxColour
*arg2
= 0 ;
26113 PyObject
* obj0
= 0 ;
26114 PyObject
* obj1
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "colour", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26124 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26128 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
26130 wxPyEndAllowThreads(__tstate
);
26131 if (PyErr_Occurred()) SWIG_fail
;
26134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26142 static PyObject
*_wrap_Window_SetOwnBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26143 PyObject
*resultobj
;
26144 wxWindow
*arg1
= (wxWindow
*) 0 ;
26145 wxColour
*arg2
= 0 ;
26147 PyObject
* obj0
= 0 ;
26148 PyObject
* obj1
= 0 ;
26149 char *kwnames
[] = {
26150 (char *) "self",(char *) "colour", NULL
26153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26158 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26162 (arg1
)->SetOwnBackgroundColour((wxColour
const &)*arg2
);
26164 wxPyEndAllowThreads(__tstate
);
26165 if (PyErr_Occurred()) SWIG_fail
;
26167 Py_INCREF(Py_None
); resultobj
= Py_None
;
26174 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26175 PyObject
*resultobj
;
26176 wxWindow
*arg1
= (wxWindow
*) 0 ;
26177 wxColour
*arg2
= 0 ;
26180 PyObject
* obj0
= 0 ;
26181 PyObject
* obj1
= 0 ;
26182 char *kwnames
[] = {
26183 (char *) "self",(char *) "colour", NULL
26186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26191 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
26197 wxPyEndAllowThreads(__tstate
);
26198 if (PyErr_Occurred()) SWIG_fail
;
26201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26209 static PyObject
*_wrap_Window_SetOwnForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26210 PyObject
*resultobj
;
26211 wxWindow
*arg1
= (wxWindow
*) 0 ;
26212 wxColour
*arg2
= 0 ;
26214 PyObject
* obj0
= 0 ;
26215 PyObject
* obj1
= 0 ;
26216 char *kwnames
[] = {
26217 (char *) "self",(char *) "colour", NULL
26220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
26221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26225 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 (arg1
)->SetOwnForegroundColour((wxColour
const &)*arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 Py_INCREF(Py_None
); resultobj
= Py_None
;
26241 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxWindow
*arg1
= (wxWindow
*) 0 ;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26255 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
26257 wxPyEndAllowThreads(__tstate
);
26258 if (PyErr_Occurred()) SWIG_fail
;
26261 wxColour
* resultptr
;
26262 resultptr
= new wxColour((wxColour
&) result
);
26263 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26271 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26285 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
26287 wxPyEndAllowThreads(__tstate
);
26288 if (PyErr_Occurred()) SWIG_fail
;
26291 wxColour
* resultptr
;
26292 resultptr
= new wxColour((wxColour
&) result
);
26293 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
26301 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
;
26303 wxWindow
*arg1
= (wxWindow
*) 0 ;
26304 wxCursor
*arg2
= 0 ;
26306 PyObject
* obj0
= 0 ;
26307 PyObject
* obj1
= 0 ;
26308 char *kwnames
[] = {
26309 (char *) "self",(char *) "cursor", NULL
26312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
26313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
26316 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26318 if (arg2
== NULL
) {
26319 PyErr_SetString(PyExc_TypeError
,"null reference");
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26338 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxWindow
*arg1
= (wxWindow
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 char *kwnames
[] = {
26344 (char *) "self", NULL
26347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26352 result
= (arg1
)->GetCursor();
26354 wxPyEndAllowThreads(__tstate
);
26355 if (PyErr_Occurred()) SWIG_fail
;
26358 wxCursor
* resultptr
;
26359 resultptr
= new wxCursor((wxCursor
&) result
);
26360 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26368 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxWindow
*arg1
= (wxWindow
*) 0 ;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "font", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26382 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26383 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26385 if (arg2
== NULL
) {
26386 PyErr_SetString(PyExc_TypeError
,"null reference");
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26391 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26397 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26405 static PyObject
*_wrap_Window_SetOwnFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26406 PyObject
*resultobj
;
26407 wxWindow
*arg1
= (wxWindow
*) 0 ;
26409 PyObject
* obj0
= 0 ;
26410 PyObject
* obj1
= 0 ;
26411 char *kwnames
[] = {
26412 (char *) "self",(char *) "font", NULL
26415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetOwnFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26418 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26419 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26421 if (arg2
== NULL
) {
26422 PyErr_SetString(PyExc_TypeError
,"null reference");
26426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26427 (arg1
)->SetOwnFont((wxFont
const &)*arg2
);
26429 wxPyEndAllowThreads(__tstate
);
26430 if (PyErr_Occurred()) SWIG_fail
;
26432 Py_INCREF(Py_None
); resultobj
= Py_None
;
26439 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxWindow
*arg1
= (wxWindow
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 char *kwnames
[] = {
26445 (char *) "self", NULL
26448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26453 result
= (arg1
)->GetFont();
26455 wxPyEndAllowThreads(__tstate
);
26456 if (PyErr_Occurred()) SWIG_fail
;
26459 wxFont
* resultptr
;
26460 resultptr
= new wxFont((wxFont
&) result
);
26461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26469 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26470 PyObject
*resultobj
;
26471 wxWindow
*arg1
= (wxWindow
*) 0 ;
26472 wxCaret
*arg2
= (wxCaret
*) 0 ;
26473 PyObject
* obj0
= 0 ;
26474 PyObject
* obj1
= 0 ;
26475 char *kwnames
[] = {
26476 (char *) "self",(char *) "caret", NULL
26479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26486 (arg1
)->SetCaret(arg2
);
26488 wxPyEndAllowThreads(__tstate
);
26489 if (PyErr_Occurred()) SWIG_fail
;
26491 Py_INCREF(Py_None
); resultobj
= Py_None
;
26498 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26499 PyObject
*resultobj
;
26500 wxWindow
*arg1
= (wxWindow
*) 0 ;
26502 PyObject
* obj0
= 0 ;
26503 char *kwnames
[] = {
26504 (char *) "self", NULL
26507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26512 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26514 wxPyEndAllowThreads(__tstate
);
26515 if (PyErr_Occurred()) SWIG_fail
;
26517 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26524 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26525 PyObject
*resultobj
;
26526 wxWindow
*arg1
= (wxWindow
*) 0 ;
26528 PyObject
* obj0
= 0 ;
26529 char *kwnames
[] = {
26530 (char *) "self", NULL
26533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= SWIG_FromInt((int)result
);
26550 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26551 PyObject
*resultobj
;
26552 wxWindow
*arg1
= (wxWindow
*) 0 ;
26554 PyObject
* obj0
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 resultobj
= SWIG_FromInt((int)result
);
26576 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxWindow
*arg1
= (wxWindow
*) 0 ;
26579 wxString
*arg2
= 0 ;
26580 int *arg3
= (int *) 0 ;
26581 int *arg4
= (int *) 0 ;
26582 bool temp2
= False
;
26585 PyObject
* obj0
= 0 ;
26586 PyObject
* obj1
= 0 ;
26587 char *kwnames
[] = {
26588 (char *) "self",(char *) "string", NULL
26593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 arg2
= wxString_in_helper(obj1
);
26598 if (arg2
== NULL
) SWIG_fail
;
26602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26603 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26605 wxPyEndAllowThreads(__tstate
);
26606 if (PyErr_Occurred()) SWIG_fail
;
26608 Py_INCREF(Py_None
); resultobj
= Py_None
;
26610 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26611 resultobj
= t_output_helper(resultobj
,o
);
26614 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26615 resultobj
= t_output_helper(resultobj
,o
);
26631 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxWindow
*arg1
= (wxWindow
*) 0 ;
26634 wxString
*arg2
= 0 ;
26635 int *arg3
= (int *) 0 ;
26636 int *arg4
= (int *) 0 ;
26637 int *arg5
= (int *) 0 ;
26638 int *arg6
= (int *) 0 ;
26639 wxFont
*arg7
= (wxFont
*) NULL
;
26640 bool temp2
= False
;
26645 PyObject
* obj0
= 0 ;
26646 PyObject
* obj1
= 0 ;
26647 PyObject
* obj2
= 0 ;
26648 char *kwnames
[] = {
26649 (char *) "self",(char *) "string",(char *) "font", NULL
26656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26660 arg2
= wxString_in_helper(obj1
);
26661 if (arg2
== NULL
) SWIG_fail
;
26665 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 Py_INCREF(Py_None
); resultobj
= Py_None
;
26677 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26678 resultobj
= t_output_helper(resultobj
,o
);
26681 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26682 resultobj
= t_output_helper(resultobj
,o
);
26685 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26686 resultobj
= t_output_helper(resultobj
,o
);
26689 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26690 resultobj
= t_output_helper(resultobj
,o
);
26706 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26707 PyObject
*resultobj
;
26708 wxWindow
*arg1
= (wxWindow
*) 0 ;
26709 int *arg2
= (int *) 0 ;
26710 int *arg3
= (int *) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 PyObject
* obj2
= 0 ;
26716 char *kwnames
[] = {
26717 (char *) "self",(char *) "x",(char *) "y", NULL
26720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26724 temp2
= PyInt_AsLong(obj1
);
26725 if (PyErr_Occurred()) SWIG_fail
;
26729 temp3
= PyInt_AsLong(obj2
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26735 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 Py_INCREF(Py_None
); resultobj
= Py_None
;
26742 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26743 resultobj
= t_output_helper(resultobj
,o
);
26746 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26747 resultobj
= t_output_helper(resultobj
,o
);
26755 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxWindow
*arg1
= (wxWindow
*) 0 ;
26758 int *arg2
= (int *) 0 ;
26759 int *arg3
= (int *) 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "x",(char *) "y", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26773 temp2
= PyInt_AsLong(obj1
);
26774 if (PyErr_Occurred()) SWIG_fail
;
26778 temp3
= PyInt_AsLong(obj2
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26784 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26786 wxPyEndAllowThreads(__tstate
);
26787 if (PyErr_Occurred()) SWIG_fail
;
26789 Py_INCREF(Py_None
); resultobj
= Py_None
;
26791 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26792 resultobj
= t_output_helper(resultobj
,o
);
26795 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26796 resultobj
= t_output_helper(resultobj
,o
);
26804 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxWindow
*arg1
= (wxWindow
*) 0 ;
26807 wxPoint
*arg2
= 0 ;
26810 PyObject
* obj0
= 0 ;
26811 PyObject
* obj1
= 0 ;
26812 char *kwnames
[] = {
26813 (char *) "self",(char *) "pt", NULL
26816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26821 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26825 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 wxPoint
* resultptr
;
26832 resultptr
= new wxPoint((wxPoint
&) result
);
26833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26841 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26842 PyObject
*resultobj
;
26843 wxWindow
*arg1
= (wxWindow
*) 0 ;
26844 wxPoint
*arg2
= 0 ;
26847 PyObject
* obj0
= 0 ;
26848 PyObject
* obj1
= 0 ;
26849 char *kwnames
[] = {
26850 (char *) "self",(char *) "pt", NULL
26853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26858 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26868 wxPoint
* resultptr
;
26869 resultptr
= new wxPoint((wxPoint
&) result
);
26870 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26878 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxWindow
*arg1
= (wxWindow
*) 0 ;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 PyObject
* obj2
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self",(char *) "x",(char *) "y", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26894 arg2
= (int) SWIG_AsInt(obj1
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26896 arg3
= (int) SWIG_AsInt(obj2
);
26897 if (PyErr_Occurred()) SWIG_fail
;
26899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26900 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26902 wxPyEndAllowThreads(__tstate
);
26903 if (PyErr_Occurred()) SWIG_fail
;
26905 resultobj
= SWIG_FromInt((int)result
);
26912 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26913 PyObject
*resultobj
;
26914 wxWindow
*arg1
= (wxWindow
*) 0 ;
26915 wxPoint
*arg2
= 0 ;
26918 PyObject
* obj0
= 0 ;
26919 PyObject
* obj1
= 0 ;
26920 char *kwnames
[] = {
26921 (char *) "self",(char *) "pt", NULL
26924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26929 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26935 wxPyEndAllowThreads(__tstate
);
26936 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= SWIG_FromInt((int)result
);
26945 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26946 PyObject
*resultobj
;
26947 wxWindow
*arg1
= (wxWindow
*) 0 ;
26950 PyObject
* obj0
= 0 ;
26951 PyObject
* obj1
= 0 ;
26953 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26956 arg2
= (long) SWIG_AsLong(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 resultobj
= SWIG_FromInt((int)result
);
26972 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26976 PyObject
* obj0
= 0 ;
26978 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26988 resultobj
= SWIG_FromInt((int)result
);
26995 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
27000 argc
= PyObject_Length(args
);
27001 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
27002 argv
[ii
] = PyTuple_GetItem(args
,ii
);
27008 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27016 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
27023 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
27031 _v
= SWIG_CheckLong(argv
[1]);
27033 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
27038 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
27043 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27044 PyObject
*resultobj
;
27045 wxWindow
*arg1
= (wxWindow
*) 0 ;
27046 long arg2
= (long) wxUPDATE_UI_NONE
;
27047 PyObject
* obj0
= 0 ;
27048 PyObject
* obj1
= 0 ;
27049 char *kwnames
[] = {
27050 (char *) "self",(char *) "flags", NULL
27053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
27054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27057 arg2
= (long) SWIG_AsLong(obj1
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27062 (arg1
)->UpdateWindowUI(arg2
);
27064 wxPyEndAllowThreads(__tstate
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 Py_INCREF(Py_None
); resultobj
= Py_None
;
27074 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27075 PyObject
*resultobj
;
27076 wxWindow
*arg1
= (wxWindow
*) 0 ;
27077 wxMenu
*arg2
= (wxMenu
*) 0 ;
27078 int arg3
= (int) -1 ;
27079 int arg4
= (int) -1 ;
27081 PyObject
* obj0
= 0 ;
27082 PyObject
* obj1
= 0 ;
27083 PyObject
* obj2
= 0 ;
27084 PyObject
* obj3
= 0 ;
27085 char *kwnames
[] = {
27086 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
27089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27092 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27095 arg3
= (int) SWIG_AsInt(obj2
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 arg4
= (int) SWIG_AsInt(obj3
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27110 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27118 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxWindow
*arg1
= (wxWindow
*) 0 ;
27121 wxMenu
*arg2
= (wxMenu
*) 0 ;
27122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
27123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
27126 PyObject
* obj0
= 0 ;
27127 PyObject
* obj1
= 0 ;
27128 PyObject
* obj2
= 0 ;
27129 char *kwnames
[] = {
27130 (char *) "self",(char *) "menu",(char *) "pos", NULL
27133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27136 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
27137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27141 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
27145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27146 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
27148 wxPyEndAllowThreads(__tstate
);
27149 if (PyErr_Occurred()) SWIG_fail
;
27152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27160 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxWindow
*arg1
= (wxWindow
*) 0 ;
27164 PyObject
* obj0
= 0 ;
27165 char *kwnames
[] = {
27166 (char *) "self", NULL
27169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
27170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= (long)wxWindow_GetHandle(arg1
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_FromLong((long)result
);
27186 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27187 PyObject
*resultobj
;
27188 wxWindow
*arg1
= (wxWindow
*) 0 ;
27191 PyObject
* obj0
= 0 ;
27192 PyObject
* obj1
= 0 ;
27193 char *kwnames
[] = {
27194 (char *) "self",(char *) "orient", NULL
27197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
27198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27200 arg2
= (int) SWIG_AsInt(obj1
);
27201 if (PyErr_Occurred()) SWIG_fail
;
27203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
27206 wxPyEndAllowThreads(__tstate
);
27207 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27218 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27219 PyObject
*resultobj
;
27220 wxWindow
*arg1
= (wxWindow
*) 0 ;
27225 bool arg6
= (bool) True
;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 PyObject
* obj3
= 0 ;
27230 PyObject
* obj4
= 0 ;
27231 PyObject
* obj5
= 0 ;
27232 char *kwnames
[] = {
27233 (char *) "self",(char *) "orientation",(char *) "position",(char *) "thumbSize",(char *) "range",(char *) "refresh", NULL
27236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27239 arg2
= (int) SWIG_AsInt(obj1
);
27240 if (PyErr_Occurred()) SWIG_fail
;
27241 arg3
= (int) SWIG_AsInt(obj2
);
27242 if (PyErr_Occurred()) SWIG_fail
;
27243 arg4
= (int) SWIG_AsInt(obj3
);
27244 if (PyErr_Occurred()) SWIG_fail
;
27245 arg5
= (int) SWIG_AsInt(obj4
);
27246 if (PyErr_Occurred()) SWIG_fail
;
27248 arg6
= (bool) SWIG_AsBool(obj5
);
27249 if (PyErr_Occurred()) SWIG_fail
;
27252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27253 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
27255 wxPyEndAllowThreads(__tstate
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27258 Py_INCREF(Py_None
); resultobj
= Py_None
;
27265 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxWindow
*arg1
= (wxWindow
*) 0 ;
27270 bool arg4
= (bool) True
;
27271 PyObject
* obj0
= 0 ;
27272 PyObject
* obj1
= 0 ;
27273 PyObject
* obj2
= 0 ;
27274 PyObject
* obj3
= 0 ;
27275 char *kwnames
[] = {
27276 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
27279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27282 arg2
= (int) SWIG_AsInt(obj1
);
27283 if (PyErr_Occurred()) SWIG_fail
;
27284 arg3
= (int) SWIG_AsInt(obj2
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 arg4
= (bool) SWIG_AsBool(obj3
);
27288 if (PyErr_Occurred()) SWIG_fail
;
27291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27292 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
27294 wxPyEndAllowThreads(__tstate
);
27295 if (PyErr_Occurred()) SWIG_fail
;
27297 Py_INCREF(Py_None
); resultobj
= Py_None
;
27304 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27305 PyObject
*resultobj
;
27306 wxWindow
*arg1
= (wxWindow
*) 0 ;
27309 PyObject
* obj0
= 0 ;
27310 PyObject
* obj1
= 0 ;
27311 char *kwnames
[] = {
27312 (char *) "self",(char *) "orientation", NULL
27315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
27316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27318 arg2
= (int) SWIG_AsInt(obj1
);
27319 if (PyErr_Occurred()) SWIG_fail
;
27321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27322 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
27324 wxPyEndAllowThreads(__tstate
);
27325 if (PyErr_Occurred()) SWIG_fail
;
27327 resultobj
= SWIG_FromInt((int)result
);
27334 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27335 PyObject
*resultobj
;
27336 wxWindow
*arg1
= (wxWindow
*) 0 ;
27339 PyObject
* obj0
= 0 ;
27340 PyObject
* obj1
= 0 ;
27341 char *kwnames
[] = {
27342 (char *) "self",(char *) "orientation", NULL
27345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) 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
;
27351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27352 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27354 wxPyEndAllowThreads(__tstate
);
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 resultobj
= SWIG_FromInt((int)result
);
27364 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27365 PyObject
*resultobj
;
27366 wxWindow
*arg1
= (wxWindow
*) 0 ;
27369 PyObject
* obj0
= 0 ;
27370 PyObject
* obj1
= 0 ;
27371 char *kwnames
[] = {
27372 (char *) "self",(char *) "orientation", NULL
27375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27378 arg2
= (int) SWIG_AsInt(obj1
);
27379 if (PyErr_Occurred()) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= SWIG_FromInt((int)result
);
27394 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27395 PyObject
*resultobj
;
27396 wxWindow
*arg1
= (wxWindow
*) 0 ;
27399 wxRect
*arg4
= (wxRect
*) NULL
;
27400 PyObject
* obj0
= 0 ;
27401 PyObject
* obj1
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 PyObject
* obj3
= 0 ;
27404 char *kwnames
[] = {
27405 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27411 arg2
= (int) SWIG_AsInt(obj1
);
27412 if (PyErr_Occurred()) SWIG_fail
;
27413 arg3
= (int) SWIG_AsInt(obj2
);
27414 if (PyErr_Occurred()) SWIG_fail
;
27416 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27421 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27423 wxPyEndAllowThreads(__tstate
);
27424 if (PyErr_Occurred()) SWIG_fail
;
27426 Py_INCREF(Py_None
); resultobj
= Py_None
;
27433 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27434 PyObject
*resultobj
;
27435 wxWindow
*arg1
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char *kwnames
[] = {
27441 (char *) "self",(char *) "lines", NULL
27444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27447 arg2
= (int) SWIG_AsInt(obj1
);
27448 if (PyErr_Occurred()) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (bool)(arg1
)->ScrollLines(arg2
);
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27465 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27466 PyObject
*resultobj
;
27467 wxWindow
*arg1
= (wxWindow
*) 0 ;
27470 PyObject
* obj0
= 0 ;
27471 PyObject
* obj1
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self",(char *) "pages", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27479 arg2
= (int) SWIG_AsInt(obj1
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27483 result
= (bool)(arg1
)->ScrollPages(arg2
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27489 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27497 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27498 PyObject
*resultobj
;
27499 wxWindow
*arg1
= (wxWindow
*) 0 ;
27501 PyObject
* obj0
= 0 ;
27502 char *kwnames
[] = {
27503 (char *) "self", NULL
27506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27511 result
= (bool)(arg1
)->LineUp();
27513 wxPyEndAllowThreads(__tstate
);
27514 if (PyErr_Occurred()) SWIG_fail
;
27517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27525 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27526 PyObject
*resultobj
;
27527 wxWindow
*arg1
= (wxWindow
*) 0 ;
27529 PyObject
* obj0
= 0 ;
27530 char *kwnames
[] = {
27531 (char *) "self", NULL
27534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27539 result
= (bool)(arg1
)->LineDown();
27541 wxPyEndAllowThreads(__tstate
);
27542 if (PyErr_Occurred()) SWIG_fail
;
27545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27553 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxWindow
*arg1
= (wxWindow
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 result
= (bool)(arg1
)->PageUp();
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27581 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27582 PyObject
*resultobj
;
27583 wxWindow
*arg1
= (wxWindow
*) 0 ;
27585 PyObject
* obj0
= 0 ;
27586 char *kwnames
[] = {
27587 (char *) "self", NULL
27590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27595 result
= (bool)(arg1
)->PageDown();
27597 wxPyEndAllowThreads(__tstate
);
27598 if (PyErr_Occurred()) SWIG_fail
;
27601 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27609 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27610 PyObject
*resultobj
;
27611 wxWindow
*arg1
= (wxWindow
*) 0 ;
27612 wxString
*arg2
= 0 ;
27613 bool temp2
= False
;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self",(char *) "text", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27624 arg2
= wxString_in_helper(obj1
);
27625 if (arg2
== NULL
) SWIG_fail
;
27629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27630 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27632 wxPyEndAllowThreads(__tstate
);
27633 if (PyErr_Occurred()) SWIG_fail
;
27635 Py_INCREF(Py_None
); resultobj
= Py_None
;
27650 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27651 PyObject
*resultobj
;
27652 wxWindow
*arg1
= (wxWindow
*) 0 ;
27653 wxString
*arg2
= 0 ;
27654 bool temp2
= False
;
27655 PyObject
* obj0
= 0 ;
27656 PyObject
* obj1
= 0 ;
27657 char *kwnames
[] = {
27658 (char *) "self",(char *) "text", NULL
27661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27665 arg2
= wxString_in_helper(obj1
);
27666 if (arg2
== NULL
) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 Py_INCREF(Py_None
); resultobj
= Py_None
;
27691 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27692 PyObject
*resultobj
;
27693 wxWindow
*arg1
= (wxWindow
*) 0 ;
27695 PyObject
* obj0
= 0 ;
27696 char *kwnames
[] = {
27697 (char *) "self", NULL
27700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27705 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27707 wxPyEndAllowThreads(__tstate
);
27708 if (PyErr_Occurred()) SWIG_fail
;
27712 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27714 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27723 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27724 PyObject
*resultobj
;
27725 wxWindow
*arg1
= (wxWindow
*) 0 ;
27726 wxString
*arg2
= 0 ;
27727 bool temp2
= False
;
27728 PyObject
* obj0
= 0 ;
27729 PyObject
* obj1
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self",(char *) "tip", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27738 arg2
= wxString_in_helper(obj1
);
27739 if (arg2
== NULL
) SWIG_fail
;
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27746 wxPyEndAllowThreads(__tstate
);
27747 if (PyErr_Occurred()) SWIG_fail
;
27749 Py_INCREF(Py_None
); resultobj
= Py_None
;
27764 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27765 PyObject
*resultobj
;
27766 wxWindow
*arg1
= (wxWindow
*) 0 ;
27767 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27768 PyObject
* obj0
= 0 ;
27769 PyObject
* obj1
= 0 ;
27770 char *kwnames
[] = {
27771 (char *) "self",(char *) "tip", NULL
27774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27777 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27781 (arg1
)->SetToolTip(arg2
);
27783 wxPyEndAllowThreads(__tstate
);
27784 if (PyErr_Occurred()) SWIG_fail
;
27786 Py_INCREF(Py_None
); resultobj
= Py_None
;
27793 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27794 PyObject
*resultobj
;
27795 wxWindow
*arg1
= (wxWindow
*) 0 ;
27797 PyObject
* obj0
= 0 ;
27798 char *kwnames
[] = {
27799 (char *) "self", NULL
27802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27807 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27809 wxPyEndAllowThreads(__tstate
);
27810 if (PyErr_Occurred()) SWIG_fail
;
27813 resultobj
= wxPyMake_wxObject(result
, 0);
27821 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxWindow
*arg1
= (wxWindow
*) 0 ;
27824 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 PyObject
* obj1
= 0 ;
27827 char *kwnames
[] = {
27828 (char *) "self",(char *) "dropTarget", NULL
27831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27834 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27835 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 (arg1
)->SetDropTarget(arg2
);
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 Py_INCREF(Py_None
); resultobj
= Py_None
;
27850 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxWindow
*arg1
= (wxWindow
*) 0 ;
27853 wxPyDropTarget
*result
;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27876 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27877 PyObject
*resultobj
;
27878 wxWindow
*arg1
= (wxWindow
*) 0 ;
27879 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "self",(char *) "constraints", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27889 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27890 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27893 (arg1
)->SetConstraints(arg2
);
27895 wxPyEndAllowThreads(__tstate
);
27896 if (PyErr_Occurred()) SWIG_fail
;
27898 Py_INCREF(Py_None
); resultobj
= Py_None
;
27905 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27906 PyObject
*resultobj
;
27907 wxWindow
*arg1
= (wxWindow
*) 0 ;
27908 wxLayoutConstraints
*result
;
27909 PyObject
* obj0
= 0 ;
27910 char *kwnames
[] = {
27911 (char *) "self", NULL
27914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27919 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27921 wxPyEndAllowThreads(__tstate
);
27922 if (PyErr_Occurred()) SWIG_fail
;
27924 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27931 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27932 PyObject
*resultobj
;
27933 wxWindow
*arg1
= (wxWindow
*) 0 ;
27935 PyObject
* obj0
= 0 ;
27936 PyObject
* obj1
= 0 ;
27937 char *kwnames
[] = {
27938 (char *) "self",(char *) "autoLayout", NULL
27941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27944 arg2
= (bool) SWIG_AsBool(obj1
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27948 (arg1
)->SetAutoLayout(arg2
);
27950 wxPyEndAllowThreads(__tstate
);
27951 if (PyErr_Occurred()) SWIG_fail
;
27953 Py_INCREF(Py_None
); resultobj
= Py_None
;
27960 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27961 PyObject
*resultobj
;
27962 wxWindow
*arg1
= (wxWindow
*) 0 ;
27964 PyObject
* obj0
= 0 ;
27965 char *kwnames
[] = {
27966 (char *) "self", NULL
27969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27974 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27976 wxPyEndAllowThreads(__tstate
);
27977 if (PyErr_Occurred()) SWIG_fail
;
27980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27988 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxWindow
*arg1
= (wxWindow
*) 0 ;
27992 PyObject
* obj0
= 0 ;
27993 char *kwnames
[] = {
27994 (char *) "self", NULL
27997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 result
= (bool)(arg1
)->Layout();
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28016 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28017 PyObject
*resultobj
;
28018 wxWindow
*arg1
= (wxWindow
*) 0 ;
28019 wxSizer
*arg2
= (wxSizer
*) 0 ;
28020 bool arg3
= (bool) True
;
28021 PyObject
* obj0
= 0 ;
28022 PyObject
* obj1
= 0 ;
28023 PyObject
* obj2
= 0 ;
28024 char *kwnames
[] = {
28025 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28031 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28032 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28034 arg3
= (bool) SWIG_AsBool(obj2
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->SetSizer(arg2
,arg3
);
28041 wxPyEndAllowThreads(__tstate
);
28042 if (PyErr_Occurred()) SWIG_fail
;
28044 Py_INCREF(Py_None
); resultobj
= Py_None
;
28051 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxWindow
*arg1
= (wxWindow
*) 0 ;
28054 wxSizer
*arg2
= (wxSizer
*) 0 ;
28055 bool arg3
= (bool) True
;
28056 PyObject
* obj0
= 0 ;
28057 PyObject
* obj1
= 0 ;
28058 PyObject
* obj2
= 0 ;
28059 char *kwnames
[] = {
28060 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
28063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28069 arg3
= (bool) SWIG_AsBool(obj2
);
28070 if (PyErr_Occurred()) SWIG_fail
;
28073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28074 (arg1
)->SetSizerAndFit(arg2
,arg3
);
28076 wxPyEndAllowThreads(__tstate
);
28077 if (PyErr_Occurred()) SWIG_fail
;
28079 Py_INCREF(Py_None
); resultobj
= Py_None
;
28086 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28087 PyObject
*resultobj
;
28088 wxWindow
*arg1
= (wxWindow
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 char *kwnames
[] = {
28092 (char *) "self", NULL
28095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
28096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28100 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
28102 wxPyEndAllowThreads(__tstate
);
28103 if (PyErr_Occurred()) SWIG_fail
;
28106 resultobj
= wxPyMake_wxSizer(result
, 0);
28114 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28115 PyObject
*resultobj
;
28116 wxWindow
*arg1
= (wxWindow
*) 0 ;
28117 wxSizer
*arg2
= (wxSizer
*) 0 ;
28118 PyObject
* obj0
= 0 ;
28119 PyObject
* obj1
= 0 ;
28120 char *kwnames
[] = {
28121 (char *) "self",(char *) "sizer", NULL
28124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
28125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28127 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 (arg1
)->SetContainingSizer(arg2
);
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28136 Py_INCREF(Py_None
); resultobj
= Py_None
;
28143 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28144 PyObject
*resultobj
;
28145 wxWindow
*arg1
= (wxWindow
*) 0 ;
28147 PyObject
* obj0
= 0 ;
28148 char *kwnames
[] = {
28149 (char *) "self", NULL
28152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
28153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28157 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
28159 wxPyEndAllowThreads(__tstate
);
28160 if (PyErr_Occurred()) SWIG_fail
;
28163 resultobj
= wxPyMake_wxSizer(result
, 0);
28171 static PyObject
*_wrap_Window_InheritAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28172 PyObject
*resultobj
;
28173 wxWindow
*arg1
= (wxWindow
*) 0 ;
28174 PyObject
* obj0
= 0 ;
28175 char *kwnames
[] = {
28176 (char *) "self", NULL
28179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InheritAttributes",kwnames
,&obj0
)) goto fail
;
28180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 (arg1
)->InheritAttributes();
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28189 Py_INCREF(Py_None
); resultobj
= Py_None
;
28196 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28197 PyObject
*resultobj
;
28198 wxWindow
*arg1
= (wxWindow
*) 0 ;
28200 PyObject
* obj0
= 0 ;
28201 char *kwnames
[] = {
28202 (char *) "self", NULL
28205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
28206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28224 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
28226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28227 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
28229 return Py_BuildValue((char *)"");
28231 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28232 PyObject
*resultobj
;
28234 wxWindow
*arg2
= (wxWindow
*) NULL
;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "id",(char *) "parent", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
28243 arg1
= (long) SWIG_AsLong(obj0
);
28244 if (PyErr_Occurred()) SWIG_fail
;
28246 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28247 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28250 if (!wxPyCheckForApp()) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= wxPyMake_wxObject(result
, 0);
28266 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28267 PyObject
*resultobj
;
28268 wxString
*arg1
= 0 ;
28269 wxWindow
*arg2
= (wxWindow
*) NULL
;
28271 bool temp1
= False
;
28272 PyObject
* obj0
= 0 ;
28273 PyObject
* obj1
= 0 ;
28274 char *kwnames
[] = {
28275 (char *) "name",(char *) "parent", NULL
28278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
28280 arg1
= wxString_in_helper(obj0
);
28281 if (arg1
== NULL
) SWIG_fail
;
28285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28289 if (!wxPyCheckForApp()) SWIG_fail
;
28290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28291 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28293 wxPyEndAllowThreads(__tstate
);
28294 if (PyErr_Occurred()) SWIG_fail
;
28297 resultobj
= wxPyMake_wxObject(result
, 0);
28313 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28314 PyObject
*resultobj
;
28315 wxString
*arg1
= 0 ;
28316 wxWindow
*arg2
= (wxWindow
*) NULL
;
28318 bool temp1
= False
;
28319 PyObject
* obj0
= 0 ;
28320 PyObject
* obj1
= 0 ;
28321 char *kwnames
[] = {
28322 (char *) "label",(char *) "parent", NULL
28325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28327 arg1
= wxString_in_helper(obj0
);
28328 if (arg1
== NULL
) SWIG_fail
;
28332 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28336 if (!wxPyCheckForApp()) SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28344 resultobj
= wxPyMake_wxObject(result
, 0);
28360 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28361 PyObject
*resultobj
;
28362 wxWindow
*arg1
= (wxWindow
*) 0 ;
28363 unsigned long arg2
;
28365 PyObject
* obj0
= 0 ;
28366 PyObject
* obj1
= 0 ;
28367 char *kwnames
[] = {
28368 (char *) "parent",(char *) "_hWnd", NULL
28371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28374 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28378 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28380 wxPyEndAllowThreads(__tstate
);
28381 if (PyErr_Occurred()) SWIG_fail
;
28384 resultobj
= wxPyMake_wxObject(result
, 0);
28392 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
;
28394 wxValidator
*result
;
28395 char *kwnames
[] = {
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28402 result
= (wxValidator
*)new wxValidator();
28404 wxPyEndAllowThreads(__tstate
);
28405 if (PyErr_Occurred()) SWIG_fail
;
28407 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxValidator
, 1);
28414 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28415 PyObject
*resultobj
;
28416 wxValidator
*arg1
= (wxValidator
*) 0 ;
28417 wxValidator
*result
;
28418 PyObject
* obj0
= 0 ;
28419 char *kwnames
[] = {
28420 (char *) "self", NULL
28423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28428 result
= (wxValidator
*)(arg1
)->Clone();
28430 wxPyEndAllowThreads(__tstate
);
28431 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= wxPyMake_wxObject(result
, 0);
28442 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28443 PyObject
*resultobj
;
28444 wxValidator
*arg1
= (wxValidator
*) 0 ;
28445 wxWindow
*arg2
= (wxWindow
*) 0 ;
28447 PyObject
* obj0
= 0 ;
28448 PyObject
* obj1
= 0 ;
28449 char *kwnames
[] = {
28450 (char *) "self",(char *) "parent", NULL
28453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28456 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (bool)(arg1
)->Validate(arg2
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28474 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28475 PyObject
*resultobj
;
28476 wxValidator
*arg1
= (wxValidator
*) 0 ;
28478 PyObject
* obj0
= 0 ;
28479 char *kwnames
[] = {
28480 (char *) "self", NULL
28483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28488 result
= (bool)(arg1
)->TransferToWindow();
28490 wxPyEndAllowThreads(__tstate
);
28491 if (PyErr_Occurred()) SWIG_fail
;
28494 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28502 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28503 PyObject
*resultobj
;
28504 wxValidator
*arg1
= (wxValidator
*) 0 ;
28506 PyObject
* obj0
= 0 ;
28507 char *kwnames
[] = {
28508 (char *) "self", NULL
28511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28516 result
= (bool)(arg1
)->TransferFromWindow();
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28530 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28531 PyObject
*resultobj
;
28532 wxValidator
*arg1
= (wxValidator
*) 0 ;
28534 PyObject
* obj0
= 0 ;
28535 char *kwnames
[] = {
28536 (char *) "self", NULL
28539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28544 result
= (wxWindow
*)(arg1
)->GetWindow();
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28550 resultobj
= wxPyMake_wxObject(result
, 0);
28558 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28559 PyObject
*resultobj
;
28560 wxValidator
*arg1
= (wxValidator
*) 0 ;
28561 wxWindow
*arg2
= (wxWindow
*) 0 ;
28562 PyObject
* obj0
= 0 ;
28563 PyObject
* obj1
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self",(char *) "window", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28571 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 (arg1
)->SetWindow(arg2
);
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 Py_INCREF(Py_None
); resultobj
= Py_None
;
28587 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28590 char *kwnames
[] = {
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 result
= (bool)wxValidator::IsSilent();
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28611 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28612 PyObject
*resultobj
;
28613 int arg1
= (int) True
;
28614 PyObject
* obj0
= 0 ;
28615 char *kwnames
[] = {
28616 (char *) "doIt", NULL
28619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28621 arg1
= (int) SWIG_AsInt(obj0
);
28622 if (PyErr_Occurred()) SWIG_fail
;
28625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28626 wxValidator::SetBellOnError(arg1
);
28628 wxPyEndAllowThreads(__tstate
);
28629 if (PyErr_Occurred()) SWIG_fail
;
28631 Py_INCREF(Py_None
); resultobj
= Py_None
;
28638 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28640 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28641 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28643 return Py_BuildValue((char *)"");
28645 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28646 PyObject
*resultobj
;
28647 wxPyValidator
*result
;
28648 char *kwnames
[] = {
28652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28655 result
= (wxPyValidator
*)new wxPyValidator();
28657 wxPyEndAllowThreads(__tstate
);
28658 if (PyErr_Occurred()) SWIG_fail
;
28660 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28667 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28668 PyObject
*resultobj
;
28669 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28670 PyObject
*arg2
= (PyObject
*) 0 ;
28671 PyObject
*arg3
= (PyObject
*) 0 ;
28672 int arg4
= (int) True
;
28673 PyObject
* obj0
= 0 ;
28674 PyObject
* obj1
= 0 ;
28675 PyObject
* obj2
= 0 ;
28676 PyObject
* obj3
= 0 ;
28677 char *kwnames
[] = {
28678 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28687 arg4
= (int) SWIG_AsInt(obj3
);
28688 if (PyErr_Occurred()) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 Py_INCREF(Py_None
); resultobj
= Py_None
;
28704 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28706 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28707 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28709 return Py_BuildValue((char *)"");
28711 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28712 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28717 static PyObject
*_wrap_DefaultValidator_get() {
28720 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28725 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28728 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28729 long arg2
= (long) 0 ;
28731 bool temp1
= False
;
28732 PyObject
* obj0
= 0 ;
28733 PyObject
* obj1
= 0 ;
28734 char *kwnames
[] = {
28735 (char *) "title",(char *) "style", NULL
28738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28741 arg1
= wxString_in_helper(obj0
);
28742 if (arg1
== NULL
) SWIG_fail
;
28747 arg2
= (long) SWIG_AsLong(obj1
);
28748 if (PyErr_Occurred()) SWIG_fail
;
28751 if (!wxPyCheckForApp()) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenu
, 1);
28773 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28774 PyObject
*resultobj
;
28775 wxMenu
*arg1
= (wxMenu
*) 0 ;
28777 wxString
*arg3
= 0 ;
28778 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28779 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28780 int arg5
= (int) wxITEM_NORMAL
;
28781 wxMenuItem
*result
;
28782 bool temp3
= False
;
28783 bool temp4
= False
;
28784 PyObject
* obj0
= 0 ;
28785 PyObject
* obj1
= 0 ;
28786 PyObject
* obj2
= 0 ;
28787 PyObject
* obj3
= 0 ;
28788 PyObject
* obj4
= 0 ;
28789 char *kwnames
[] = {
28790 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 arg2
= (int) SWIG_AsInt(obj1
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28799 arg3
= wxString_in_helper(obj2
);
28800 if (arg3
== NULL
) SWIG_fail
;
28805 arg4
= wxString_in_helper(obj3
);
28806 if (arg4
== NULL
) SWIG_fail
;
28811 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28812 if (PyErr_Occurred()) SWIG_fail
;
28815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28816 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28818 wxPyEndAllowThreads(__tstate
);
28819 if (PyErr_Occurred()) SWIG_fail
;
28822 resultobj
= wxPyMake_wxObject(result
, 0);
28846 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28847 PyObject
*resultobj
;
28848 wxMenu
*arg1
= (wxMenu
*) 0 ;
28849 wxMenuItem
*result
;
28850 PyObject
* obj0
= 0 ;
28851 char *kwnames
[] = {
28852 (char *) "self", NULL
28855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28860 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28862 wxPyEndAllowThreads(__tstate
);
28863 if (PyErr_Occurred()) SWIG_fail
;
28866 resultobj
= wxPyMake_wxObject(result
, 0);
28874 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28875 PyObject
*resultobj
;
28876 wxMenu
*arg1
= (wxMenu
*) 0 ;
28878 wxString
*arg3
= 0 ;
28879 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28880 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28881 wxMenuItem
*result
;
28882 bool temp3
= False
;
28883 bool temp4
= False
;
28884 PyObject
* obj0
= 0 ;
28885 PyObject
* obj1
= 0 ;
28886 PyObject
* obj2
= 0 ;
28887 PyObject
* obj3
= 0 ;
28888 char *kwnames
[] = {
28889 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28895 arg2
= (int) SWIG_AsInt(obj1
);
28896 if (PyErr_Occurred()) SWIG_fail
;
28898 arg3
= wxString_in_helper(obj2
);
28899 if (arg3
== NULL
) SWIG_fail
;
28904 arg4
= wxString_in_helper(obj3
);
28905 if (arg4
== NULL
) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= wxPyMake_wxObject(result
, 0);
28941 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxMenu
*arg1
= (wxMenu
*) 0 ;
28945 wxString
*arg3
= 0 ;
28946 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28947 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28948 wxMenuItem
*result
;
28949 bool temp3
= False
;
28950 bool temp4
= False
;
28951 PyObject
* obj0
= 0 ;
28952 PyObject
* obj1
= 0 ;
28953 PyObject
* obj2
= 0 ;
28954 PyObject
* obj3
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28962 arg2
= (int) SWIG_AsInt(obj1
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 arg3
= wxString_in_helper(obj2
);
28966 if (arg3
== NULL
) SWIG_fail
;
28971 arg4
= wxString_in_helper(obj3
);
28972 if (arg4
== NULL
) SWIG_fail
;
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28980 wxPyEndAllowThreads(__tstate
);
28981 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= wxPyMake_wxObject(result
, 0);
29008 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxMenu
*arg1
= (wxMenu
*) 0 ;
29012 wxString
*arg3
= 0 ;
29013 wxMenu
*arg4
= (wxMenu
*) 0 ;
29014 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29015 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29016 wxMenuItem
*result
;
29017 bool temp3
= False
;
29018 bool temp5
= False
;
29019 PyObject
* obj0
= 0 ;
29020 PyObject
* obj1
= 0 ;
29021 PyObject
* obj2
= 0 ;
29022 PyObject
* obj3
= 0 ;
29023 PyObject
* obj4
= 0 ;
29024 char *kwnames
[] = {
29025 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29031 arg2
= (int) SWIG_AsInt(obj1
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 arg3
= wxString_in_helper(obj2
);
29035 if (arg3
== NULL
) SWIG_fail
;
29038 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29042 arg5
= wxString_in_helper(obj4
);
29043 if (arg5
== NULL
) SWIG_fail
;
29048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29049 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29051 wxPyEndAllowThreads(__tstate
);
29052 if (PyErr_Occurred()) SWIG_fail
;
29055 resultobj
= wxPyMake_wxObject(result
, 0);
29079 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxMenu
*arg1
= (wxMenu
*) 0 ;
29082 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29083 wxMenuItem
*result
;
29084 PyObject
* obj0
= 0 ;
29085 PyObject
* obj1
= 0 ;
29086 char *kwnames
[] = {
29087 (char *) "self",(char *) "item", NULL
29090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29097 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
29099 wxPyEndAllowThreads(__tstate
);
29100 if (PyErr_Occurred()) SWIG_fail
;
29103 resultobj
= wxPyMake_wxObject(result
, 0);
29111 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxMenu
*arg1
= (wxMenu
*) 0 ;
29114 PyObject
* obj0
= 0 ;
29115 char *kwnames
[] = {
29116 (char *) "self", NULL
29119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
29120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29129 Py_INCREF(Py_None
); resultobj
= Py_None
;
29136 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
;
29138 wxMenu
*arg1
= (wxMenu
*) 0 ;
29140 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
29141 wxMenuItem
*result
;
29142 PyObject
* obj0
= 0 ;
29143 PyObject
* obj1
= 0 ;
29144 PyObject
* obj2
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "self",(char *) "pos",(char *) "item", NULL
29149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29152 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29153 if (PyErr_Occurred()) SWIG_fail
;
29154 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
29155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29158 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
29160 wxPyEndAllowThreads(__tstate
);
29161 if (PyErr_Occurred()) SWIG_fail
;
29164 resultobj
= wxPyMake_wxObject(result
, 0);
29172 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29173 PyObject
*resultobj
;
29174 wxMenu
*arg1
= (wxMenu
*) 0 ;
29177 wxString
*arg4
= 0 ;
29178 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29179 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29180 int arg6
= (int) wxITEM_NORMAL
;
29181 wxMenuItem
*result
;
29182 bool temp4
= False
;
29183 bool temp5
= False
;
29184 PyObject
* obj0
= 0 ;
29185 PyObject
* obj1
= 0 ;
29186 PyObject
* obj2
= 0 ;
29187 PyObject
* obj3
= 0 ;
29188 PyObject
* obj4
= 0 ;
29189 PyObject
* obj5
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29197 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29199 arg3
= (int) SWIG_AsInt(obj2
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29202 arg4
= wxString_in_helper(obj3
);
29203 if (arg4
== NULL
) SWIG_fail
;
29208 arg5
= wxString_in_helper(obj4
);
29209 if (arg5
== NULL
) SWIG_fail
;
29214 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
29215 if (PyErr_Occurred()) SWIG_fail
;
29218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29219 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29225 resultobj
= wxPyMake_wxObject(result
, 0);
29249 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29250 PyObject
*resultobj
;
29251 wxMenu
*arg1
= (wxMenu
*) 0 ;
29253 wxMenuItem
*result
;
29254 PyObject
* obj0
= 0 ;
29255 PyObject
* obj1
= 0 ;
29256 char *kwnames
[] = {
29257 (char *) "self",(char *) "pos", NULL
29260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
29261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29263 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
29269 wxPyEndAllowThreads(__tstate
);
29270 if (PyErr_Occurred()) SWIG_fail
;
29273 resultobj
= wxPyMake_wxObject(result
, 0);
29281 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxMenu
*arg1
= (wxMenu
*) 0 ;
29286 wxString
*arg4
= 0 ;
29287 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29288 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29289 wxMenuItem
*result
;
29290 bool temp4
= False
;
29291 bool temp5
= False
;
29292 PyObject
* obj0
= 0 ;
29293 PyObject
* obj1
= 0 ;
29294 PyObject
* obj2
= 0 ;
29295 PyObject
* obj3
= 0 ;
29296 PyObject
* obj4
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29304 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29305 if (PyErr_Occurred()) SWIG_fail
;
29306 arg3
= (int) SWIG_AsInt(obj2
);
29307 if (PyErr_Occurred()) SWIG_fail
;
29309 arg4
= wxString_in_helper(obj3
);
29310 if (arg4
== NULL
) SWIG_fail
;
29315 arg5
= wxString_in_helper(obj4
);
29316 if (arg5
== NULL
) SWIG_fail
;
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29328 resultobj
= wxPyMake_wxObject(result
, 0);
29352 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxMenu
*arg1
= (wxMenu
*) 0 ;
29357 wxString
*arg4
= 0 ;
29358 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29359 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29360 wxMenuItem
*result
;
29361 bool temp4
= False
;
29362 bool temp5
= False
;
29363 PyObject
* obj0
= 0 ;
29364 PyObject
* obj1
= 0 ;
29365 PyObject
* obj2
= 0 ;
29366 PyObject
* obj3
= 0 ;
29367 PyObject
* obj4
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29375 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29376 if (PyErr_Occurred()) SWIG_fail
;
29377 arg3
= (int) SWIG_AsInt(obj2
);
29378 if (PyErr_Occurred()) SWIG_fail
;
29380 arg4
= wxString_in_helper(obj3
);
29381 if (arg4
== NULL
) SWIG_fail
;
29386 arg5
= wxString_in_helper(obj4
);
29387 if (arg5
== NULL
) SWIG_fail
;
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29395 wxPyEndAllowThreads(__tstate
);
29396 if (PyErr_Occurred()) SWIG_fail
;
29399 resultobj
= wxPyMake_wxObject(result
, 0);
29423 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29424 PyObject
*resultobj
;
29425 wxMenu
*arg1
= (wxMenu
*) 0 ;
29428 wxString
*arg4
= 0 ;
29429 wxMenu
*arg5
= (wxMenu
*) 0 ;
29430 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29431 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29432 wxMenuItem
*result
;
29433 bool temp4
= False
;
29434 bool temp6
= False
;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj1
= 0 ;
29437 PyObject
* obj2
= 0 ;
29438 PyObject
* obj3
= 0 ;
29439 PyObject
* obj4
= 0 ;
29440 PyObject
* obj5
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29448 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29450 arg3
= (int) SWIG_AsInt(obj2
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29453 arg4
= wxString_in_helper(obj3
);
29454 if (arg4
== NULL
) SWIG_fail
;
29457 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29461 arg6
= wxString_in_helper(obj5
);
29462 if (arg6
== NULL
) SWIG_fail
;
29467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29468 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29470 wxPyEndAllowThreads(__tstate
);
29471 if (PyErr_Occurred()) SWIG_fail
;
29474 resultobj
= wxPyMake_wxObject(result
, 0);
29498 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29499 PyObject
*resultobj
;
29500 wxMenu
*arg1
= (wxMenu
*) 0 ;
29501 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29502 wxMenuItem
*result
;
29503 PyObject
* obj0
= 0 ;
29504 PyObject
* obj1
= 0 ;
29505 char *kwnames
[] = {
29506 (char *) "self",(char *) "item", NULL
29509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29512 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29516 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29518 wxPyEndAllowThreads(__tstate
);
29519 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= wxPyMake_wxObject(result
, 0);
29530 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29531 PyObject
*resultobj
;
29532 wxMenu
*arg1
= (wxMenu
*) 0 ;
29534 wxString
*arg3
= 0 ;
29535 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29536 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29537 int arg5
= (int) wxITEM_NORMAL
;
29538 wxMenuItem
*result
;
29539 bool temp3
= False
;
29540 bool temp4
= False
;
29541 PyObject
* obj0
= 0 ;
29542 PyObject
* obj1
= 0 ;
29543 PyObject
* obj2
= 0 ;
29544 PyObject
* obj3
= 0 ;
29545 PyObject
* obj4
= 0 ;
29546 char *kwnames
[] = {
29547 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29553 arg2
= (int) SWIG_AsInt(obj1
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 arg3
= wxString_in_helper(obj2
);
29557 if (arg3
== NULL
) SWIG_fail
;
29562 arg4
= wxString_in_helper(obj3
);
29563 if (arg4
== NULL
) SWIG_fail
;
29568 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29573 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= wxPyMake_wxObject(result
, 0);
29603 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29604 PyObject
*resultobj
;
29605 wxMenu
*arg1
= (wxMenu
*) 0 ;
29606 wxMenuItem
*result
;
29607 PyObject
* obj0
= 0 ;
29608 char *kwnames
[] = {
29609 (char *) "self", NULL
29612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29623 resultobj
= wxPyMake_wxObject(result
, 0);
29631 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29632 PyObject
*resultobj
;
29633 wxMenu
*arg1
= (wxMenu
*) 0 ;
29635 wxString
*arg3
= 0 ;
29636 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29637 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29638 wxMenuItem
*result
;
29639 bool temp3
= False
;
29640 bool temp4
= False
;
29641 PyObject
* obj0
= 0 ;
29642 PyObject
* obj1
= 0 ;
29643 PyObject
* obj2
= 0 ;
29644 PyObject
* obj3
= 0 ;
29645 char *kwnames
[] = {
29646 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29652 arg2
= (int) SWIG_AsInt(obj1
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29655 arg3
= wxString_in_helper(obj2
);
29656 if (arg3
== NULL
) SWIG_fail
;
29661 arg4
= wxString_in_helper(obj3
);
29662 if (arg4
== NULL
) SWIG_fail
;
29667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29668 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29670 wxPyEndAllowThreads(__tstate
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29674 resultobj
= wxPyMake_wxObject(result
, 0);
29698 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxMenu
*arg1
= (wxMenu
*) 0 ;
29702 wxString
*arg3
= 0 ;
29703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29705 wxMenuItem
*result
;
29706 bool temp3
= False
;
29707 bool temp4
= False
;
29708 PyObject
* obj0
= 0 ;
29709 PyObject
* obj1
= 0 ;
29710 PyObject
* obj2
= 0 ;
29711 PyObject
* obj3
= 0 ;
29712 char *kwnames
[] = {
29713 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29719 arg2
= (int) SWIG_AsInt(obj1
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 arg3
= wxString_in_helper(obj2
);
29723 if (arg3
== NULL
) SWIG_fail
;
29728 arg4
= wxString_in_helper(obj3
);
29729 if (arg4
== NULL
) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29741 resultobj
= wxPyMake_wxObject(result
, 0);
29765 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
;
29767 wxMenu
*arg1
= (wxMenu
*) 0 ;
29769 wxString
*arg3
= 0 ;
29770 wxMenu
*arg4
= (wxMenu
*) 0 ;
29771 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29772 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29773 wxMenuItem
*result
;
29774 bool temp3
= False
;
29775 bool temp5
= False
;
29776 PyObject
* obj0
= 0 ;
29777 PyObject
* obj1
= 0 ;
29778 PyObject
* obj2
= 0 ;
29779 PyObject
* obj3
= 0 ;
29780 PyObject
* obj4
= 0 ;
29781 char *kwnames
[] = {
29782 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29788 arg2
= (int) SWIG_AsInt(obj1
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 arg3
= wxString_in_helper(obj2
);
29792 if (arg3
== NULL
) SWIG_fail
;
29795 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29799 arg5
= wxString_in_helper(obj4
);
29800 if (arg5
== NULL
) SWIG_fail
;
29805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29806 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29808 wxPyEndAllowThreads(__tstate
);
29809 if (PyErr_Occurred()) SWIG_fail
;
29812 resultobj
= wxPyMake_wxObject(result
, 0);
29836 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29837 PyObject
*resultobj
;
29838 wxMenu
*arg1
= (wxMenu
*) 0 ;
29840 wxMenuItem
*result
;
29841 PyObject
* obj0
= 0 ;
29842 PyObject
* obj1
= 0 ;
29843 char *kwnames
[] = {
29844 (char *) "self",(char *) "id", NULL
29847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29850 arg2
= (int) SWIG_AsInt(obj1
);
29851 if (PyErr_Occurred()) SWIG_fail
;
29853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29854 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29856 wxPyEndAllowThreads(__tstate
);
29857 if (PyErr_Occurred()) SWIG_fail
;
29860 resultobj
= wxPyMake_wxObject(result
, 0);
29868 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29869 PyObject
*resultobj
;
29870 wxMenu
*arg1
= (wxMenu
*) 0 ;
29871 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29872 wxMenuItem
*result
;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self",(char *) "item", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29882 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29886 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29892 resultobj
= wxPyMake_wxObject(result
, 0);
29900 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29901 PyObject
*resultobj
;
29902 wxMenu
*arg1
= (wxMenu
*) 0 ;
29905 PyObject
* obj0
= 0 ;
29906 PyObject
* obj1
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self",(char *) "id", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29914 arg2
= (int) SWIG_AsInt(obj1
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29918 result
= (bool)(arg1
)->Delete(arg2
);
29920 wxPyEndAllowThreads(__tstate
);
29921 if (PyErr_Occurred()) SWIG_fail
;
29924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29932 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxMenu
*arg1
= (wxMenu
*) 0 ;
29935 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 char *kwnames
[] = {
29940 (char *) "self",(char *) "item", NULL
29943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29946 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29950 result
= (bool)(arg1
)->Delete(arg2
);
29952 wxPyEndAllowThreads(__tstate
);
29953 if (PyErr_Occurred()) SWIG_fail
;
29956 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29964 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29965 PyObject
*resultobj
;
29966 wxMenu
*arg1
= (wxMenu
*) 0 ;
29967 PyObject
* obj0
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29977 wxMenu_Destroy(arg1
);
29979 wxPyEndAllowThreads(__tstate
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 Py_INCREF(Py_None
); resultobj
= Py_None
;
29989 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29990 PyObject
*resultobj
;
29991 wxMenu
*arg1
= (wxMenu
*) 0 ;
29994 PyObject
* obj0
= 0 ;
29995 PyObject
* obj1
= 0 ;
29996 char *kwnames
[] = {
29997 (char *) "self",(char *) "id", NULL
30000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
30001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30003 arg2
= (int) SWIG_AsInt(obj1
);
30004 if (PyErr_Occurred()) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (bool)(arg1
)->Destroy(arg2
);
30009 wxPyEndAllowThreads(__tstate
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30021 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30022 PyObject
*resultobj
;
30023 wxMenu
*arg1
= (wxMenu
*) 0 ;
30024 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
30026 PyObject
* obj0
= 0 ;
30027 PyObject
* obj1
= 0 ;
30028 char *kwnames
[] = {
30029 (char *) "self",(char *) "item", NULL
30032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30035 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
30036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30039 result
= (bool)(arg1
)->Destroy(arg2
);
30041 wxPyEndAllowThreads(__tstate
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30053 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30054 PyObject
*resultobj
;
30055 wxMenu
*arg1
= (wxMenu
*) 0 ;
30057 PyObject
* obj0
= 0 ;
30058 char *kwnames
[] = {
30059 (char *) "self", NULL
30062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
30063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30067 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
30069 wxPyEndAllowThreads(__tstate
);
30070 if (PyErr_Occurred()) SWIG_fail
;
30072 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30079 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30080 PyObject
*resultobj
;
30081 wxMenu
*arg1
= (wxMenu
*) 0 ;
30083 PyObject
* obj0
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
30095 wxPyEndAllowThreads(__tstate
);
30096 if (PyErr_Occurred()) SWIG_fail
;
30098 resultobj
= result
;
30105 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30106 PyObject
*resultobj
;
30107 wxMenu
*arg1
= (wxMenu
*) 0 ;
30108 wxString
*arg2
= 0 ;
30110 bool temp2
= False
;
30111 PyObject
* obj0
= 0 ;
30112 PyObject
* obj1
= 0 ;
30113 char *kwnames
[] = {
30114 (char *) "self",(char *) "item", NULL
30117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30121 arg2
= wxString_in_helper(obj1
);
30122 if (arg2
== NULL
) SWIG_fail
;
30126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30127 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
30129 wxPyEndAllowThreads(__tstate
);
30130 if (PyErr_Occurred()) SWIG_fail
;
30132 resultobj
= SWIG_FromInt((int)result
);
30147 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
;
30149 wxMenu
*arg1
= (wxMenu
*) 0 ;
30151 wxMenuItem
*result
;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self",(char *) "id", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
30159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30161 arg2
= (int) SWIG_AsInt(obj1
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30171 resultobj
= wxPyMake_wxObject(result
, 0);
30179 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30180 PyObject
*resultobj
;
30181 wxMenu
*arg1
= (wxMenu
*) 0 ;
30183 wxMenuItem
*result
;
30184 PyObject
* obj0
= 0 ;
30185 PyObject
* obj1
= 0 ;
30186 char *kwnames
[] = {
30187 (char *) "self",(char *) "position", NULL
30190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
30191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30193 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30197 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30203 resultobj
= wxPyMake_wxObject(result
, 0);
30211 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30212 PyObject
*resultobj
;
30213 wxMenu
*arg1
= (wxMenu
*) 0 ;
30216 PyObject
* obj0
= 0 ;
30217 PyObject
* obj1
= 0 ;
30218 PyObject
* obj2
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "self",(char *) "id",(char *) "enable", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30226 arg2
= (int) SWIG_AsInt(obj1
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30228 arg3
= (bool) SWIG_AsBool(obj2
);
30229 if (PyErr_Occurred()) SWIG_fail
;
30231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30232 (arg1
)->Enable(arg2
,arg3
);
30234 wxPyEndAllowThreads(__tstate
);
30235 if (PyErr_Occurred()) SWIG_fail
;
30237 Py_INCREF(Py_None
); resultobj
= Py_None
;
30244 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30245 PyObject
*resultobj
;
30246 wxMenu
*arg1
= (wxMenu
*) 0 ;
30249 PyObject
* obj0
= 0 ;
30250 PyObject
* obj1
= 0 ;
30251 char *kwnames
[] = {
30252 (char *) "self",(char *) "id", NULL
30255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30258 arg2
= (int) SWIG_AsInt(obj1
);
30259 if (PyErr_Occurred()) SWIG_fail
;
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30276 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
;
30278 wxMenu
*arg1
= (wxMenu
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 PyObject
* obj2
= 0 ;
30284 char *kwnames
[] = {
30285 (char *) "self",(char *) "id",(char *) "check", NULL
30288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30291 arg2
= (int) SWIG_AsInt(obj1
);
30292 if (PyErr_Occurred()) SWIG_fail
;
30293 arg3
= (bool) SWIG_AsBool(obj2
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30297 (arg1
)->Check(arg2
,arg3
);
30299 wxPyEndAllowThreads(__tstate
);
30300 if (PyErr_Occurred()) SWIG_fail
;
30302 Py_INCREF(Py_None
); resultobj
= Py_None
;
30309 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30310 PyObject
*resultobj
;
30311 wxMenu
*arg1
= (wxMenu
*) 0 ;
30314 PyObject
* obj0
= 0 ;
30315 PyObject
* obj1
= 0 ;
30316 char *kwnames
[] = {
30317 (char *) "self",(char *) "id", NULL
30320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30323 arg2
= (int) SWIG_AsInt(obj1
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30327 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
30329 wxPyEndAllowThreads(__tstate
);
30330 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30341 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30342 PyObject
*resultobj
;
30343 wxMenu
*arg1
= (wxMenu
*) 0 ;
30345 wxString
*arg3
= 0 ;
30346 bool temp3
= False
;
30347 PyObject
* obj0
= 0 ;
30348 PyObject
* obj1
= 0 ;
30349 PyObject
* obj2
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self",(char *) "id",(char *) "label", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 arg2
= (int) SWIG_AsInt(obj1
);
30358 if (PyErr_Occurred()) SWIG_fail
;
30360 arg3
= wxString_in_helper(obj2
);
30361 if (arg3
== NULL
) SWIG_fail
;
30365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30366 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30368 wxPyEndAllowThreads(__tstate
);
30369 if (PyErr_Occurred()) SWIG_fail
;
30371 Py_INCREF(Py_None
); resultobj
= Py_None
;
30386 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30387 PyObject
*resultobj
;
30388 wxMenu
*arg1
= (wxMenu
*) 0 ;
30391 PyObject
* obj0
= 0 ;
30392 PyObject
* obj1
= 0 ;
30393 char *kwnames
[] = {
30394 (char *) "self",(char *) "id", NULL
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30400 arg2
= (int) SWIG_AsInt(obj1
);
30401 if (PyErr_Occurred()) SWIG_fail
;
30403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30404 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30406 wxPyEndAllowThreads(__tstate
);
30407 if (PyErr_Occurred()) SWIG_fail
;
30411 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30413 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30422 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30423 PyObject
*resultobj
;
30424 wxMenu
*arg1
= (wxMenu
*) 0 ;
30426 wxString
*arg3
= 0 ;
30427 bool temp3
= False
;
30428 PyObject
* obj0
= 0 ;
30429 PyObject
* obj1
= 0 ;
30430 PyObject
* obj2
= 0 ;
30431 char *kwnames
[] = {
30432 (char *) "self",(char *) "id",(char *) "helpString", NULL
30435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30438 arg2
= (int) SWIG_AsInt(obj1
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 arg3
= wxString_in_helper(obj2
);
30442 if (arg3
== NULL
) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30452 Py_INCREF(Py_None
); resultobj
= Py_None
;
30467 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
;
30469 wxMenu
*arg1
= (wxMenu
*) 0 ;
30472 PyObject
* obj0
= 0 ;
30473 PyObject
* obj1
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self",(char *) "id", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30481 arg2
= (int) SWIG_AsInt(obj1
);
30482 if (PyErr_Occurred()) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30492 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30494 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30503 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30504 PyObject
*resultobj
;
30505 wxMenu
*arg1
= (wxMenu
*) 0 ;
30506 wxString
*arg2
= 0 ;
30507 bool temp2
= False
;
30508 PyObject
* obj0
= 0 ;
30509 PyObject
* obj1
= 0 ;
30510 char *kwnames
[] = {
30511 (char *) "self",(char *) "title", NULL
30514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30518 arg2
= wxString_in_helper(obj1
);
30519 if (arg2
== NULL
) SWIG_fail
;
30523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30524 (arg1
)->SetTitle((wxString
const &)*arg2
);
30526 wxPyEndAllowThreads(__tstate
);
30527 if (PyErr_Occurred()) SWIG_fail
;
30529 Py_INCREF(Py_None
); resultobj
= Py_None
;
30544 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxMenu
*arg1
= (wxMenu
*) 0 ;
30548 PyObject
* obj0
= 0 ;
30549 char *kwnames
[] = {
30550 (char *) "self", NULL
30553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30558 result
= ((wxMenu
const *)arg1
)->GetTitle();
30560 wxPyEndAllowThreads(__tstate
);
30561 if (PyErr_Occurred()) SWIG_fail
;
30565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30576 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30577 PyObject
*resultobj
;
30578 wxMenu
*arg1
= (wxMenu
*) 0 ;
30579 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30580 PyObject
* obj0
= 0 ;
30581 PyObject
* obj1
= 0 ;
30582 char *kwnames
[] = {
30583 (char *) "self",(char *) "handler", NULL
30586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30589 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30593 (arg1
)->SetEventHandler(arg2
);
30595 wxPyEndAllowThreads(__tstate
);
30596 if (PyErr_Occurred()) SWIG_fail
;
30598 Py_INCREF(Py_None
); resultobj
= Py_None
;
30605 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30606 PyObject
*resultobj
;
30607 wxMenu
*arg1
= (wxMenu
*) 0 ;
30608 wxEvtHandler
*result
;
30609 PyObject
* obj0
= 0 ;
30610 char *kwnames
[] = {
30611 (char *) "self", NULL
30614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30619 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30621 wxPyEndAllowThreads(__tstate
);
30622 if (PyErr_Occurred()) SWIG_fail
;
30625 resultobj
= wxPyMake_wxObject(result
, 0);
30633 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30634 PyObject
*resultobj
;
30635 wxMenu
*arg1
= (wxMenu
*) 0 ;
30636 wxWindow
*arg2
= (wxWindow
*) 0 ;
30637 PyObject
* obj0
= 0 ;
30638 PyObject
* obj1
= 0 ;
30639 char *kwnames
[] = {
30640 (char *) "self",(char *) "win", NULL
30643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30646 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30650 (arg1
)->SetInvokingWindow(arg2
);
30652 wxPyEndAllowThreads(__tstate
);
30653 if (PyErr_Occurred()) SWIG_fail
;
30655 Py_INCREF(Py_None
); resultobj
= Py_None
;
30662 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30663 PyObject
*resultobj
;
30664 wxMenu
*arg1
= (wxMenu
*) 0 ;
30666 PyObject
* obj0
= 0 ;
30667 char *kwnames
[] = {
30668 (char *) "self", NULL
30671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30676 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30678 wxPyEndAllowThreads(__tstate
);
30679 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= wxPyMake_wxObject(result
, 0);
30690 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxMenu
*arg1
= (wxMenu
*) 0 ;
30694 PyObject
* obj0
= 0 ;
30695 char *kwnames
[] = {
30696 (char *) "self", NULL
30699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30704 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30706 wxPyEndAllowThreads(__tstate
);
30707 if (PyErr_Occurred()) SWIG_fail
;
30709 resultobj
= SWIG_FromLong((long)result
);
30716 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30717 PyObject
*resultobj
;
30718 wxMenu
*arg1
= (wxMenu
*) 0 ;
30719 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30720 PyObject
* obj0
= 0 ;
30721 PyObject
* obj1
= 0 ;
30722 char *kwnames
[] = {
30723 (char *) "self",(char *) "source", NULL
30726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30730 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30735 (arg1
)->UpdateUI(arg2
);
30737 wxPyEndAllowThreads(__tstate
);
30738 if (PyErr_Occurred()) SWIG_fail
;
30740 Py_INCREF(Py_None
); resultobj
= Py_None
;
30747 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30748 PyObject
*resultobj
;
30749 wxMenu
*arg1
= (wxMenu
*) 0 ;
30751 PyObject
* obj0
= 0 ;
30752 char *kwnames
[] = {
30753 (char *) "self", NULL
30756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30761 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30763 wxPyEndAllowThreads(__tstate
);
30764 if (PyErr_Occurred()) SWIG_fail
;
30767 resultobj
= wxPyMake_wxObject(result
, 0);
30775 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30776 PyObject
*resultobj
;
30777 wxMenu
*arg1
= (wxMenu
*) 0 ;
30778 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30779 PyObject
* obj0
= 0 ;
30780 PyObject
* obj1
= 0 ;
30781 char *kwnames
[] = {
30782 (char *) "self",(char *) "menubar", NULL
30785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30788 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30792 (arg1
)->Attach(arg2
);
30794 wxPyEndAllowThreads(__tstate
);
30795 if (PyErr_Occurred()) SWIG_fail
;
30797 Py_INCREF(Py_None
); resultobj
= Py_None
;
30804 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30805 PyObject
*resultobj
;
30806 wxMenu
*arg1
= (wxMenu
*) 0 ;
30807 PyObject
* obj0
= 0 ;
30808 char *kwnames
[] = {
30809 (char *) "self", NULL
30812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 Py_INCREF(Py_None
); resultobj
= Py_None
;
30829 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxMenu
*arg1
= (wxMenu
*) 0 ;
30833 PyObject
* obj0
= 0 ;
30834 char *kwnames
[] = {
30835 (char *) "self", NULL
30838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30843 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30845 wxPyEndAllowThreads(__tstate
);
30846 if (PyErr_Occurred()) SWIG_fail
;
30849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30857 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxMenu
*arg1
= (wxMenu
*) 0 ;
30860 wxMenu
*arg2
= (wxMenu
*) 0 ;
30861 PyObject
* obj0
= 0 ;
30862 PyObject
* obj1
= 0 ;
30863 char *kwnames
[] = {
30864 (char *) "self",(char *) "parent", NULL
30867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30870 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30874 (arg1
)->SetParent(arg2
);
30876 wxPyEndAllowThreads(__tstate
);
30877 if (PyErr_Occurred()) SWIG_fail
;
30879 Py_INCREF(Py_None
); resultobj
= Py_None
;
30886 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30887 PyObject
*resultobj
;
30888 wxMenu
*arg1
= (wxMenu
*) 0 ;
30890 PyObject
* obj0
= 0 ;
30891 char *kwnames
[] = {
30892 (char *) "self", NULL
30895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30896 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30897 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30900 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30902 wxPyEndAllowThreads(__tstate
);
30903 if (PyErr_Occurred()) SWIG_fail
;
30906 resultobj
= wxPyMake_wxObject(result
, 0);
30914 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30917 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30919 return Py_BuildValue((char *)"");
30921 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30922 PyObject
*resultobj
;
30923 long arg1
= (long) 0 ;
30925 PyObject
* obj0
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "style", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30932 arg1
= (long) SWIG_AsLong(obj0
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30936 if (!wxPyCheckForApp()) SWIG_fail
;
30937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30938 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30940 wxPyEndAllowThreads(__tstate
);
30941 if (PyErr_Occurred()) SWIG_fail
;
30943 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuBar
, 1);
30950 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30951 PyObject
*resultobj
;
30952 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30953 wxMenu
*arg2
= (wxMenu
*) 0 ;
30954 wxString
*arg3
= 0 ;
30956 bool temp3
= False
;
30957 PyObject
* obj0
= 0 ;
30958 PyObject
* obj1
= 0 ;
30959 PyObject
* obj2
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self",(char *) "menu",(char *) "title", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30967 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30970 arg3
= wxString_in_helper(obj2
);
30971 if (arg3
== NULL
) SWIG_fail
;
30975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30976 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30978 wxPyEndAllowThreads(__tstate
);
30979 if (PyErr_Occurred()) SWIG_fail
;
30982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30998 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30999 PyObject
*resultobj
;
31000 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31002 wxMenu
*arg3
= (wxMenu
*) 0 ;
31003 wxString
*arg4
= 0 ;
31005 bool temp4
= False
;
31006 PyObject
* obj0
= 0 ;
31007 PyObject
* obj1
= 0 ;
31008 PyObject
* obj2
= 0 ;
31009 PyObject
* obj3
= 0 ;
31010 char *kwnames
[] = {
31011 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31015 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31016 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31017 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31018 if (PyErr_Occurred()) SWIG_fail
;
31019 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31022 arg4
= wxString_in_helper(obj3
);
31023 if (arg4
== NULL
) SWIG_fail
;
31027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31028 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
31030 wxPyEndAllowThreads(__tstate
);
31031 if (PyErr_Occurred()) SWIG_fail
;
31034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31050 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31051 PyObject
*resultobj
;
31052 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31054 PyObject
* obj0
= 0 ;
31055 char *kwnames
[] = {
31056 (char *) "self", NULL
31059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
31060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31064 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
31066 wxPyEndAllowThreads(__tstate
);
31067 if (PyErr_Occurred()) SWIG_fail
;
31069 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
31076 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31077 PyObject
*resultobj
;
31078 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31081 PyObject
* obj0
= 0 ;
31082 PyObject
* obj1
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self",(char *) "pos", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31090 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31091 if (PyErr_Occurred()) SWIG_fail
;
31093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31094 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
31096 wxPyEndAllowThreads(__tstate
);
31097 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= wxPyMake_wxObject(result
, 0);
31108 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31109 PyObject
*resultobj
;
31110 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31112 wxMenu
*arg3
= (wxMenu
*) 0 ;
31113 wxString
*arg4
= 0 ;
31115 bool temp4
= False
;
31116 PyObject
* obj0
= 0 ;
31117 PyObject
* obj1
= 0 ;
31118 PyObject
* obj2
= 0 ;
31119 PyObject
* obj3
= 0 ;
31120 char *kwnames
[] = {
31121 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
31124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31127 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31128 if (PyErr_Occurred()) SWIG_fail
;
31129 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
31130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31132 arg4
= wxString_in_helper(obj3
);
31133 if (arg4
== NULL
) SWIG_fail
;
31137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31138 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
31140 wxPyEndAllowThreads(__tstate
);
31141 if (PyErr_Occurred()) SWIG_fail
;
31144 resultobj
= wxPyMake_wxObject(result
, 0);
31160 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31165 PyObject
* obj0
= 0 ;
31166 PyObject
* obj1
= 0 ;
31167 char *kwnames
[] = {
31168 (char *) "self",(char *) "pos", NULL
31171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
31172 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31173 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31174 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31175 if (PyErr_Occurred()) SWIG_fail
;
31177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31178 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
31180 wxPyEndAllowThreads(__tstate
);
31181 if (PyErr_Occurred()) SWIG_fail
;
31184 resultobj
= wxPyMake_wxObject(result
, 0);
31192 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31193 PyObject
*resultobj
;
31194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31197 PyObject
* obj0
= 0 ;
31198 PyObject
* obj1
= 0 ;
31199 PyObject
* obj2
= 0 ;
31200 char *kwnames
[] = {
31201 (char *) "self",(char *) "pos",(char *) "enable", NULL
31204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31207 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31208 if (PyErr_Occurred()) SWIG_fail
;
31209 arg3
= (bool) SWIG_AsBool(obj2
);
31210 if (PyErr_Occurred()) SWIG_fail
;
31212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31213 (arg1
)->EnableTop(arg2
,arg3
);
31215 wxPyEndAllowThreads(__tstate
);
31216 if (PyErr_Occurred()) SWIG_fail
;
31218 Py_INCREF(Py_None
); resultobj
= Py_None
;
31225 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31226 PyObject
*resultobj
;
31227 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31230 PyObject
* obj0
= 0 ;
31231 PyObject
* obj1
= 0 ;
31232 char *kwnames
[] = {
31233 (char *) "self",(char *) "pos", NULL
31236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31237 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31238 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31239 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31240 if (PyErr_Occurred()) SWIG_fail
;
31242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31243 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
31245 wxPyEndAllowThreads(__tstate
);
31246 if (PyErr_Occurred()) SWIG_fail
;
31249 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31257 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31258 PyObject
*resultobj
;
31259 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31261 wxString
*arg3
= 0 ;
31262 bool temp3
= False
;
31263 PyObject
* obj0
= 0 ;
31264 PyObject
* obj1
= 0 ;
31265 PyObject
* obj2
= 0 ;
31266 char *kwnames
[] = {
31267 (char *) "self",(char *) "pos",(char *) "label", NULL
31270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31273 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 arg3
= wxString_in_helper(obj2
);
31277 if (arg3
== NULL
) SWIG_fail
;
31281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31282 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
31284 wxPyEndAllowThreads(__tstate
);
31285 if (PyErr_Occurred()) SWIG_fail
;
31287 Py_INCREF(Py_None
); resultobj
= Py_None
;
31302 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31303 PyObject
*resultobj
;
31304 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 PyObject
* obj1
= 0 ;
31309 char *kwnames
[] = {
31310 (char *) "self",(char *) "pos", NULL
31313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
31314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31316 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
31317 if (PyErr_Occurred()) SWIG_fail
;
31319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31320 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
31322 wxPyEndAllowThreads(__tstate
);
31323 if (PyErr_Occurred()) SWIG_fail
;
31327 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31329 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31338 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31339 PyObject
*resultobj
;
31340 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31341 wxString
*arg2
= 0 ;
31342 wxString
*arg3
= 0 ;
31344 bool temp2
= False
;
31345 bool temp3
= False
;
31346 PyObject
* obj0
= 0 ;
31347 PyObject
* obj1
= 0 ;
31348 PyObject
* obj2
= 0 ;
31349 char *kwnames
[] = {
31350 (char *) "self",(char *) "menu",(char *) "item", NULL
31353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31357 arg2
= wxString_in_helper(obj1
);
31358 if (arg2
== NULL
) SWIG_fail
;
31362 arg3
= wxString_in_helper(obj2
);
31363 if (arg3
== NULL
) SWIG_fail
;
31367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31368 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31370 wxPyEndAllowThreads(__tstate
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 resultobj
= SWIG_FromInt((int)result
);
31396 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31397 PyObject
*resultobj
;
31398 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31400 wxMenuItem
*result
;
31401 PyObject
* obj0
= 0 ;
31402 PyObject
* obj1
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self",(char *) "id", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31410 arg2
= (int) SWIG_AsInt(obj1
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31414 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31416 wxPyEndAllowThreads(__tstate
);
31417 if (PyErr_Occurred()) SWIG_fail
;
31420 resultobj
= wxPyMake_wxObject(result
, 0);
31428 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31431 wxString
*arg2
= 0 ;
31433 bool temp2
= False
;
31434 PyObject
* obj0
= 0 ;
31435 PyObject
* obj1
= 0 ;
31436 char *kwnames
[] = {
31437 (char *) "self",(char *) "title", NULL
31440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31444 arg2
= wxString_in_helper(obj1
);
31445 if (arg2
== NULL
) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= SWIG_FromInt((int)result
);
31470 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
;
31472 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31475 PyObject
* obj0
= 0 ;
31476 PyObject
* obj1
= 0 ;
31477 PyObject
* obj2
= 0 ;
31478 char *kwnames
[] = {
31479 (char *) "self",(char *) "id",(char *) "enable", NULL
31482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31485 arg2
= (int) SWIG_AsInt(obj1
);
31486 if (PyErr_Occurred()) SWIG_fail
;
31487 arg3
= (bool) SWIG_AsBool(obj2
);
31488 if (PyErr_Occurred()) SWIG_fail
;
31490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31491 (arg1
)->Enable(arg2
,arg3
);
31493 wxPyEndAllowThreads(__tstate
);
31494 if (PyErr_Occurred()) SWIG_fail
;
31496 Py_INCREF(Py_None
); resultobj
= Py_None
;
31503 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31504 PyObject
*resultobj
;
31505 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31508 PyObject
* obj0
= 0 ;
31509 PyObject
* obj1
= 0 ;
31510 PyObject
* obj2
= 0 ;
31511 char *kwnames
[] = {
31512 (char *) "self",(char *) "id",(char *) "check", NULL
31515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31518 arg2
= (int) SWIG_AsInt(obj1
);
31519 if (PyErr_Occurred()) SWIG_fail
;
31520 arg3
= (bool) SWIG_AsBool(obj2
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 (arg1
)->Check(arg2
,arg3
);
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 Py_INCREF(Py_None
); resultobj
= Py_None
;
31536 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 char *kwnames
[] = {
31544 (char *) "self",(char *) "id", NULL
31547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31550 arg2
= (int) SWIG_AsInt(obj1
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31568 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31569 PyObject
*resultobj
;
31570 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31573 PyObject
* obj0
= 0 ;
31574 PyObject
* obj1
= 0 ;
31575 char *kwnames
[] = {
31576 (char *) "self",(char *) "id", NULL
31579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31582 arg2
= (int) SWIG_AsInt(obj1
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31586 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31588 wxPyEndAllowThreads(__tstate
);
31589 if (PyErr_Occurred()) SWIG_fail
;
31592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31600 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31601 PyObject
*resultobj
;
31602 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31604 wxString
*arg3
= 0 ;
31605 bool temp3
= False
;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 PyObject
* obj2
= 0 ;
31609 char *kwnames
[] = {
31610 (char *) "self",(char *) "id",(char *) "label", NULL
31613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31616 arg2
= (int) SWIG_AsInt(obj1
);
31617 if (PyErr_Occurred()) SWIG_fail
;
31619 arg3
= wxString_in_helper(obj2
);
31620 if (arg3
== NULL
) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 Py_INCREF(Py_None
); resultobj
= Py_None
;
31645 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31646 PyObject
*resultobj
;
31647 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31650 PyObject
* obj0
= 0 ;
31651 PyObject
* obj1
= 0 ;
31652 char *kwnames
[] = {
31653 (char *) "self",(char *) "id", NULL
31656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31659 arg2
= (int) SWIG_AsInt(obj1
);
31660 if (PyErr_Occurred()) SWIG_fail
;
31662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31663 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31665 wxPyEndAllowThreads(__tstate
);
31666 if (PyErr_Occurred()) SWIG_fail
;
31670 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31672 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31681 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31682 PyObject
*resultobj
;
31683 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31685 wxString
*arg3
= 0 ;
31686 bool temp3
= False
;
31687 PyObject
* obj0
= 0 ;
31688 PyObject
* obj1
= 0 ;
31689 PyObject
* obj2
= 0 ;
31690 char *kwnames
[] = {
31691 (char *) "self",(char *) "id",(char *) "helpString", NULL
31694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31697 arg2
= (int) SWIG_AsInt(obj1
);
31698 if (PyErr_Occurred()) SWIG_fail
;
31700 arg3
= wxString_in_helper(obj2
);
31701 if (arg3
== NULL
) SWIG_fail
;
31705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31706 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31708 wxPyEndAllowThreads(__tstate
);
31709 if (PyErr_Occurred()) SWIG_fail
;
31711 Py_INCREF(Py_None
); resultobj
= Py_None
;
31726 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31727 PyObject
*resultobj
;
31728 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31731 PyObject
* obj0
= 0 ;
31732 PyObject
* obj1
= 0 ;
31733 char *kwnames
[] = {
31734 (char *) "self",(char *) "id", NULL
31737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31740 arg2
= (int) SWIG_AsInt(obj1
);
31741 if (PyErr_Occurred()) SWIG_fail
;
31743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31744 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31746 wxPyEndAllowThreads(__tstate
);
31747 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31753 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31762 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31763 PyObject
*resultobj
;
31764 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31766 PyObject
* obj0
= 0 ;
31767 char *kwnames
[] = {
31768 (char *) "self", NULL
31771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31776 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31778 wxPyEndAllowThreads(__tstate
);
31779 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= wxPyMake_wxObject(result
, 0);
31790 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31791 PyObject
*resultobj
;
31792 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31794 PyObject
* obj0
= 0 ;
31795 char *kwnames
[] = {
31796 (char *) "self", NULL
31799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31804 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31806 wxPyEndAllowThreads(__tstate
);
31807 if (PyErr_Occurred()) SWIG_fail
;
31810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31818 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31819 PyObject
*resultobj
;
31820 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31821 wxFrame
*arg2
= (wxFrame
*) 0 ;
31822 PyObject
* obj0
= 0 ;
31823 PyObject
* obj1
= 0 ;
31824 char *kwnames
[] = {
31825 (char *) "self",(char *) "frame", NULL
31828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31831 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31835 (arg1
)->Attach(arg2
);
31837 wxPyEndAllowThreads(__tstate
);
31838 if (PyErr_Occurred()) SWIG_fail
;
31840 Py_INCREF(Py_None
); resultobj
= Py_None
;
31847 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31848 PyObject
*resultobj
;
31849 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31850 PyObject
* obj0
= 0 ;
31851 char *kwnames
[] = {
31852 (char *) "self", NULL
31855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31862 wxPyEndAllowThreads(__tstate
);
31863 if (PyErr_Occurred()) SWIG_fail
;
31865 Py_INCREF(Py_None
); resultobj
= Py_None
;
31872 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31875 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31877 return Py_BuildValue((char *)"");
31879 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxMenu
*arg1
= (wxMenu
*) NULL
;
31882 int arg2
= (int) wxID_ANY
;
31883 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31884 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31885 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31886 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31887 int arg5
= (int) wxITEM_NORMAL
;
31888 wxMenu
*arg6
= (wxMenu
*) NULL
;
31889 wxMenuItem
*result
;
31890 bool temp3
= False
;
31891 bool temp4
= False
;
31892 PyObject
* obj0
= 0 ;
31893 PyObject
* obj1
= 0 ;
31894 PyObject
* obj2
= 0 ;
31895 PyObject
* obj3
= 0 ;
31896 PyObject
* obj4
= 0 ;
31897 PyObject
* obj5
= 0 ;
31898 char *kwnames
[] = {
31899 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31908 arg2
= (int) SWIG_AsInt(obj1
);
31909 if (PyErr_Occurred()) SWIG_fail
;
31913 arg3
= wxString_in_helper(obj2
);
31914 if (arg3
== NULL
) SWIG_fail
;
31920 arg4
= wxString_in_helper(obj3
);
31921 if (arg4
== NULL
) SWIG_fail
;
31926 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31930 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31935 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31937 wxPyEndAllowThreads(__tstate
);
31938 if (PyErr_Occurred()) SWIG_fail
;
31941 resultobj
= wxPyMake_wxObject(result
, 1);
31965 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31966 PyObject
*resultobj
;
31967 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31969 PyObject
* obj0
= 0 ;
31970 char *kwnames
[] = {
31971 (char *) "self", NULL
31974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31979 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31981 wxPyEndAllowThreads(__tstate
);
31982 if (PyErr_Occurred()) SWIG_fail
;
31985 resultobj
= wxPyMake_wxObject(result
, 0);
31993 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31994 PyObject
*resultobj
;
31995 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31996 wxMenu
*arg2
= (wxMenu
*) 0 ;
31997 PyObject
* obj0
= 0 ;
31998 PyObject
* obj1
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "self",(char *) "menu", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 (arg1
)->SetMenu(arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32015 Py_INCREF(Py_None
); resultobj
= Py_None
;
32022 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32023 PyObject
*resultobj
;
32024 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32026 PyObject
* obj0
= 0 ;
32027 PyObject
* obj1
= 0 ;
32028 char *kwnames
[] = {
32029 (char *) "self",(char *) "id", NULL
32032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
32033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32035 arg2
= (int) SWIG_AsInt(obj1
);
32036 if (PyErr_Occurred()) SWIG_fail
;
32038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32039 (arg1
)->SetId(arg2
);
32041 wxPyEndAllowThreads(__tstate
);
32042 if (PyErr_Occurred()) SWIG_fail
;
32044 Py_INCREF(Py_None
); resultobj
= Py_None
;
32051 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32052 PyObject
*resultobj
;
32053 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32055 PyObject
* obj0
= 0 ;
32056 char *kwnames
[] = {
32057 (char *) "self", NULL
32060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
32061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32065 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
32067 wxPyEndAllowThreads(__tstate
);
32068 if (PyErr_Occurred()) SWIG_fail
;
32070 resultobj
= SWIG_FromInt((int)result
);
32077 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32078 PyObject
*resultobj
;
32079 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32081 PyObject
* obj0
= 0 ;
32082 char *kwnames
[] = {
32083 (char *) "self", NULL
32086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
32087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32091 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
32093 wxPyEndAllowThreads(__tstate
);
32094 if (PyErr_Occurred()) SWIG_fail
;
32097 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32105 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
;
32107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32108 wxString
*arg2
= 0 ;
32109 bool temp2
= False
;
32110 PyObject
* obj0
= 0 ;
32111 PyObject
* obj1
= 0 ;
32112 char *kwnames
[] = {
32113 (char *) "self",(char *) "str", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
32117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32120 arg2
= wxString_in_helper(obj1
);
32121 if (arg2
== NULL
) SWIG_fail
;
32125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32126 (arg1
)->SetText((wxString
const &)*arg2
);
32128 wxPyEndAllowThreads(__tstate
);
32129 if (PyErr_Occurred()) SWIG_fail
;
32131 Py_INCREF(Py_None
); resultobj
= Py_None
;
32146 static PyObject
*_wrap_MenuItem_GetLabel(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_GetLabel",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
= ((wxMenuItem
const *)arg1
)->GetLabel();
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32167 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32169 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32178 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32182 PyObject
* obj0
= 0 ;
32183 char *kwnames
[] = {
32184 (char *) "self", NULL
32187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
32188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32193 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
32194 result
= (wxString
*) &_result_ref
;
32197 wxPyEndAllowThreads(__tstate
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32202 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32204 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32213 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxString
*arg1
= 0 ;
32217 bool temp1
= False
;
32218 PyObject
* obj0
= 0 ;
32219 char *kwnames
[] = {
32220 (char *) "text", NULL
32223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
32225 arg1
= wxString_in_helper(obj0
);
32226 if (arg1
== NULL
) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32238 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32240 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32257 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32258 PyObject
*resultobj
;
32259 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32261 PyObject
* obj0
= 0 ;
32262 char *kwnames
[] = {
32263 (char *) "self", NULL
32266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
32267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32271 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32276 resultobj
= SWIG_FromInt((int)result
);
32283 static PyObject
*_wrap_MenuItem_SetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32284 PyObject
*resultobj
;
32285 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32287 PyObject
* obj0
= 0 ;
32288 PyObject
* obj1
= 0 ;
32289 char *kwnames
[] = {
32290 (char *) "self",(char *) "kind", NULL
32293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetKind",kwnames
,&obj0
,&obj1
)) goto fail
;
32294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32296 arg2
= (wxItemKind
) SWIG_AsInt(obj1
);
32297 if (PyErr_Occurred()) SWIG_fail
;
32299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32300 (arg1
)->SetKind((wxItemKind
)arg2
);
32302 wxPyEndAllowThreads(__tstate
);
32303 if (PyErr_Occurred()) SWIG_fail
;
32305 Py_INCREF(Py_None
); resultobj
= Py_None
;
32312 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32313 PyObject
*resultobj
;
32314 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32316 PyObject
* obj0
= 0 ;
32317 PyObject
* obj1
= 0 ;
32318 char *kwnames
[] = {
32319 (char *) "self",(char *) "checkable", NULL
32322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
32323 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32324 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32325 arg2
= (bool) SWIG_AsBool(obj1
);
32326 if (PyErr_Occurred()) SWIG_fail
;
32328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32329 (arg1
)->SetCheckable(arg2
);
32331 wxPyEndAllowThreads(__tstate
);
32332 if (PyErr_Occurred()) SWIG_fail
;
32334 Py_INCREF(Py_None
); resultobj
= Py_None
;
32341 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32342 PyObject
*resultobj
;
32343 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32345 PyObject
* obj0
= 0 ;
32346 char *kwnames
[] = {
32347 (char *) "self", NULL
32350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
32351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32355 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
32357 wxPyEndAllowThreads(__tstate
);
32358 if (PyErr_Occurred()) SWIG_fail
;
32361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32369 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32370 PyObject
*resultobj
;
32371 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32373 PyObject
* obj0
= 0 ;
32374 char *kwnames
[] = {
32375 (char *) "self", NULL
32378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
32379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32383 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32385 wxPyEndAllowThreads(__tstate
);
32386 if (PyErr_Occurred()) SWIG_fail
;
32389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32397 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32398 PyObject
*resultobj
;
32399 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32400 wxMenu
*arg2
= (wxMenu
*) 0 ;
32401 PyObject
* obj0
= 0 ;
32402 PyObject
* obj1
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self",(char *) "menu", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32410 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32414 (arg1
)->SetSubMenu(arg2
);
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32419 Py_INCREF(Py_None
); resultobj
= Py_None
;
32426 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32427 PyObject
*resultobj
;
32428 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32430 PyObject
* obj0
= 0 ;
32431 char *kwnames
[] = {
32432 (char *) "self", NULL
32435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32440 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32442 wxPyEndAllowThreads(__tstate
);
32443 if (PyErr_Occurred()) SWIG_fail
;
32446 resultobj
= wxPyMake_wxObject(result
, 0);
32454 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32455 PyObject
*resultobj
;
32456 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32457 bool arg2
= (bool) True
;
32458 PyObject
* obj0
= 0 ;
32459 PyObject
* obj1
= 0 ;
32460 char *kwnames
[] = {
32461 (char *) "self",(char *) "enable", NULL
32464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32468 arg2
= (bool) SWIG_AsBool(obj1
);
32469 if (PyErr_Occurred()) SWIG_fail
;
32472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32473 (arg1
)->Enable(arg2
);
32475 wxPyEndAllowThreads(__tstate
);
32476 if (PyErr_Occurred()) SWIG_fail
;
32478 Py_INCREF(Py_None
); resultobj
= Py_None
;
32485 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32486 PyObject
*resultobj
;
32487 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32489 PyObject
* obj0
= 0 ;
32490 char *kwnames
[] = {
32491 (char *) "self", NULL
32494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32499 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32501 wxPyEndAllowThreads(__tstate
);
32502 if (PyErr_Occurred()) SWIG_fail
;
32505 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32513 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
;
32515 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32516 bool arg2
= (bool) True
;
32517 PyObject
* obj0
= 0 ;
32518 PyObject
* obj1
= 0 ;
32519 char *kwnames
[] = {
32520 (char *) "self",(char *) "check", NULL
32523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32527 arg2
= (bool) SWIG_AsBool(obj1
);
32528 if (PyErr_Occurred()) SWIG_fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 (arg1
)->Check(arg2
);
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 Py_INCREF(Py_None
); resultobj
= Py_None
;
32544 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32548 PyObject
* obj0
= 0 ;
32549 char *kwnames
[] = {
32550 (char *) "self", NULL
32553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32558 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32560 wxPyEndAllowThreads(__tstate
);
32561 if (PyErr_Occurred()) SWIG_fail
;
32564 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32572 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32573 PyObject
*resultobj
;
32574 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32575 PyObject
* obj0
= 0 ;
32576 char *kwnames
[] = {
32577 (char *) "self", NULL
32580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 Py_INCREF(Py_None
); resultobj
= Py_None
;
32597 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32600 wxString
*arg2
= 0 ;
32601 bool temp2
= False
;
32602 PyObject
* obj0
= 0 ;
32603 PyObject
* obj1
= 0 ;
32604 char *kwnames
[] = {
32605 (char *) "self",(char *) "str", NULL
32608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32612 arg2
= wxString_in_helper(obj1
);
32613 if (arg2
== NULL
) SWIG_fail
;
32617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32618 (arg1
)->SetHelp((wxString
const &)*arg2
);
32620 wxPyEndAllowThreads(__tstate
);
32621 if (PyErr_Occurred()) SWIG_fail
;
32623 Py_INCREF(Py_None
); resultobj
= Py_None
;
32638 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32639 PyObject
*resultobj
;
32640 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32642 PyObject
* obj0
= 0 ;
32643 char *kwnames
[] = {
32644 (char *) "self", NULL
32647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32654 result
= (wxString
*) &_result_ref
;
32657 wxPyEndAllowThreads(__tstate
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32662 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32664 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32673 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32676 wxAcceleratorEntry
*result
;
32677 PyObject
* obj0
= 0 ;
32678 char *kwnames
[] = {
32679 (char *) "self", NULL
32682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32687 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32699 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
;
32701 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32702 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32703 PyObject
* obj0
= 0 ;
32704 PyObject
* obj1
= 0 ;
32705 char *kwnames
[] = {
32706 (char *) "self",(char *) "accel", NULL
32709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32712 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 (arg1
)->SetAccel(arg2
);
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 Py_INCREF(Py_None
); resultobj
= Py_None
;
32728 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
;
32731 char *kwnames
[] = {
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32738 result
= (int)MenuItem_GetDefaultMarginWidth();
32740 wxPyEndAllowThreads(__tstate
);
32741 if (PyErr_Occurred()) SWIG_fail
;
32743 resultobj
= SWIG_FromInt((int)result
);
32750 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32751 PyObject
*resultobj
;
32752 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32753 wxBitmap
*arg2
= 0 ;
32754 PyObject
* obj0
= 0 ;
32755 PyObject
* obj1
= 0 ;
32756 char *kwnames
[] = {
32757 (char *) "self",(char *) "bitmap", NULL
32760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32764 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32766 if (arg2
== NULL
) {
32767 PyErr_SetString(PyExc_TypeError
,"null reference");
32771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32772 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32774 wxPyEndAllowThreads(__tstate
);
32775 if (PyErr_Occurred()) SWIG_fail
;
32777 Py_INCREF(Py_None
); resultobj
= Py_None
;
32784 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32785 PyObject
*resultobj
;
32786 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32788 PyObject
* obj0
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32800 result
= (wxBitmap
*) &_result_ref
;
32803 wxPyEndAllowThreads(__tstate
);
32804 if (PyErr_Occurred()) SWIG_fail
;
32807 wxBitmap
* resultptr
= new wxBitmap(*result
);
32808 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32816 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32818 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32819 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32821 return Py_BuildValue((char *)"");
32823 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32824 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32829 static PyObject
*_wrap_ControlNameStr_get() {
32834 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32836 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32843 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32844 PyObject
*resultobj
;
32845 wxWindow
*arg1
= (wxWindow
*) 0 ;
32846 int arg2
= (int) -1 ;
32847 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32848 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32849 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32850 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32851 long arg5
= (long) 0 ;
32852 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32853 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32854 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32855 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32859 bool temp7
= False
;
32860 PyObject
* obj0
= 0 ;
32861 PyObject
* obj1
= 0 ;
32862 PyObject
* obj2
= 0 ;
32863 PyObject
* obj3
= 0 ;
32864 PyObject
* obj4
= 0 ;
32865 PyObject
* obj5
= 0 ;
32866 PyObject
* obj6
= 0 ;
32867 char *kwnames
[] = {
32868 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32875 arg2
= (int) SWIG_AsInt(obj1
);
32876 if (PyErr_Occurred()) SWIG_fail
;
32881 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32887 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32891 arg5
= (long) SWIG_AsLong(obj4
);
32892 if (PyErr_Occurred()) SWIG_fail
;
32895 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32898 if (arg6
== NULL
) {
32899 PyErr_SetString(PyExc_TypeError
,"null reference");
32905 arg7
= wxString_in_helper(obj6
);
32906 if (arg7
== NULL
) SWIG_fail
;
32911 if (!wxPyCheckForApp()) SWIG_fail
;
32912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32913 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32915 wxPyEndAllowThreads(__tstate
);
32916 if (PyErr_Occurred()) SWIG_fail
;
32918 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
32933 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32934 PyObject
*resultobj
;
32936 char *kwnames
[] = {
32940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32942 if (!wxPyCheckForApp()) SWIG_fail
;
32943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32944 result
= (wxControl
*)new wxControl();
32946 wxPyEndAllowThreads(__tstate
);
32947 if (PyErr_Occurred()) SWIG_fail
;
32949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxControl
, 1);
32956 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32957 PyObject
*resultobj
;
32958 wxControl
*arg1
= (wxControl
*) 0 ;
32959 wxWindow
*arg2
= (wxWindow
*) 0 ;
32960 int arg3
= (int) -1 ;
32961 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
32962 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
32963 wxSize
const &arg5_defvalue
= wxDefaultSize
;
32964 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
32965 long arg6
= (long) 0 ;
32966 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
32967 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
32968 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
32969 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
32973 bool temp8
= False
;
32974 PyObject
* obj0
= 0 ;
32975 PyObject
* obj1
= 0 ;
32976 PyObject
* obj2
= 0 ;
32977 PyObject
* obj3
= 0 ;
32978 PyObject
* obj4
= 0 ;
32979 PyObject
* obj5
= 0 ;
32980 PyObject
* obj6
= 0 ;
32981 PyObject
* obj7
= 0 ;
32982 char *kwnames
[] = {
32983 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
32987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32989 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32992 arg3
= (int) SWIG_AsInt(obj2
);
32993 if (PyErr_Occurred()) SWIG_fail
;
32998 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33004 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33008 arg6
= (long) SWIG_AsLong(obj5
);
33009 if (PyErr_Occurred()) SWIG_fail
;
33012 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33013 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33015 if (arg7
== NULL
) {
33016 PyErr_SetString(PyExc_TypeError
,"null reference");
33022 arg8
= wxString_in_helper(obj7
);
33023 if (arg8
== NULL
) SWIG_fail
;
33028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33029 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33031 wxPyEndAllowThreads(__tstate
);
33032 if (PyErr_Occurred()) SWIG_fail
;
33035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33051 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33052 PyObject
*resultobj
;
33053 wxControl
*arg1
= (wxControl
*) 0 ;
33054 wxCommandEvent
*arg2
= 0 ;
33055 PyObject
* obj0
= 0 ;
33056 PyObject
* obj1
= 0 ;
33057 char *kwnames
[] = {
33058 (char *) "self",(char *) "event", NULL
33061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33065 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33067 if (arg2
== NULL
) {
33068 PyErr_SetString(PyExc_TypeError
,"null reference");
33072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33073 (arg1
)->Command(*arg2
);
33075 wxPyEndAllowThreads(__tstate
);
33076 if (PyErr_Occurred()) SWIG_fail
;
33078 Py_INCREF(Py_None
); resultobj
= Py_None
;
33085 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33086 PyObject
*resultobj
;
33087 wxControl
*arg1
= (wxControl
*) 0 ;
33089 PyObject
* obj0
= 0 ;
33090 char *kwnames
[] = {
33091 (char *) "self", NULL
33094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33099 result
= (arg1
)->GetLabel();
33101 wxPyEndAllowThreads(__tstate
);
33102 if (PyErr_Occurred()) SWIG_fail
;
33106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33117 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33118 PyObject
*resultobj
;
33119 wxControl
*arg1
= (wxControl
*) 0 ;
33120 wxString
*arg2
= 0 ;
33121 bool temp2
= False
;
33122 PyObject
* obj0
= 0 ;
33123 PyObject
* obj1
= 0 ;
33124 char *kwnames
[] = {
33125 (char *) "self",(char *) "label", NULL
33128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33132 arg2
= wxString_in_helper(obj1
);
33133 if (arg2
== NULL
) SWIG_fail
;
33137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33138 (arg1
)->SetLabel((wxString
const &)*arg2
);
33140 wxPyEndAllowThreads(__tstate
);
33141 if (PyErr_Occurred()) SWIG_fail
;
33143 Py_INCREF(Py_None
); resultobj
= Py_None
;
33158 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33159 PyObject
*resultobj
;
33160 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33161 wxVisualAttributes result
;
33162 PyObject
* obj0
= 0 ;
33163 char *kwnames
[] = {
33164 (char *) "variant", NULL
33167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33169 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33170 if (PyErr_Occurred()) SWIG_fail
;
33173 if (!wxPyCheckForApp()) SWIG_fail
;
33174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33175 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33177 wxPyEndAllowThreads(__tstate
);
33178 if (PyErr_Occurred()) SWIG_fail
;
33181 wxVisualAttributes
* resultptr
;
33182 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33191 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33194 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33196 return Py_BuildValue((char *)"");
33198 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33199 PyObject
*resultobj
;
33200 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33201 wxString
*arg2
= 0 ;
33202 PyObject
*arg3
= (PyObject
*) NULL
;
33204 bool temp2
= False
;
33205 PyObject
* obj0
= 0 ;
33206 PyObject
* obj1
= 0 ;
33207 PyObject
* obj2
= 0 ;
33208 char *kwnames
[] = {
33209 (char *) "self",(char *) "item",(char *) "clientData", NULL
33212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33216 arg2
= wxString_in_helper(obj1
);
33217 if (arg2
== NULL
) SWIG_fail
;
33224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33225 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33227 wxPyEndAllowThreads(__tstate
);
33228 if (PyErr_Occurred()) SWIG_fail
;
33230 resultobj
= SWIG_FromInt((int)result
);
33245 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33246 PyObject
*resultobj
;
33247 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33248 wxArrayString
*arg2
= 0 ;
33249 bool temp2
= False
;
33250 PyObject
* obj0
= 0 ;
33251 PyObject
* obj1
= 0 ;
33252 char *kwnames
[] = {
33253 (char *) "self",(char *) "strings", NULL
33256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33260 if (! PySequence_Check(obj1
)) {
33261 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33264 arg2
= new wxArrayString
;
33266 int i
, len
=PySequence_Length(obj1
);
33267 for (i
=0; i
<len
; i
++) {
33268 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33270 PyObject
* str
= PyObject_Unicode(item
);
33272 PyObject
* str
= PyObject_Str(item
);
33274 if (PyErr_Occurred()) SWIG_fail
;
33275 arg2
->Add(Py2wxString(str
));
33281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33282 (arg1
)->Append((wxArrayString
const &)*arg2
);
33284 wxPyEndAllowThreads(__tstate
);
33285 if (PyErr_Occurred()) SWIG_fail
;
33287 Py_INCREF(Py_None
); resultobj
= Py_None
;
33289 if (temp2
) delete arg2
;
33294 if (temp2
) delete arg2
;
33300 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33301 PyObject
*resultobj
;
33302 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33303 wxString
*arg2
= 0 ;
33305 PyObject
*arg4
= (PyObject
*) NULL
;
33307 bool temp2
= False
;
33308 PyObject
* obj0
= 0 ;
33309 PyObject
* obj1
= 0 ;
33310 PyObject
* obj2
= 0 ;
33311 PyObject
* obj3
= 0 ;
33312 char *kwnames
[] = {
33313 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33320 arg2
= wxString_in_helper(obj1
);
33321 if (arg2
== NULL
) SWIG_fail
;
33324 arg3
= (int) SWIG_AsInt(obj2
);
33325 if (PyErr_Occurred()) SWIG_fail
;
33330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33331 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33333 wxPyEndAllowThreads(__tstate
);
33334 if (PyErr_Occurred()) SWIG_fail
;
33336 resultobj
= SWIG_FromInt((int)result
);
33351 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33352 PyObject
*resultobj
;
33353 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33354 PyObject
* obj0
= 0 ;
33355 char *kwnames
[] = {
33356 (char *) "self", NULL
33359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 Py_INCREF(Py_None
); resultobj
= Py_None
;
33376 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
;
33378 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33380 PyObject
* obj0
= 0 ;
33381 PyObject
* obj1
= 0 ;
33382 char *kwnames
[] = {
33383 (char *) "self",(char *) "n", NULL
33386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33389 arg2
= (int) SWIG_AsInt(obj1
);
33390 if (PyErr_Occurred()) SWIG_fail
;
33392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33393 (arg1
)->Delete(arg2
);
33395 wxPyEndAllowThreads(__tstate
);
33396 if (PyErr_Occurred()) SWIG_fail
;
33398 Py_INCREF(Py_None
); resultobj
= Py_None
;
33405 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33406 PyObject
*resultobj
;
33407 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33409 PyObject
* obj0
= 0 ;
33410 char *kwnames
[] = {
33411 (char *) "self", NULL
33414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33419 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33421 wxPyEndAllowThreads(__tstate
);
33422 if (PyErr_Occurred()) SWIG_fail
;
33424 resultobj
= SWIG_FromInt((int)result
);
33431 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33432 PyObject
*resultobj
;
33433 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33435 PyObject
* obj0
= 0 ;
33436 char *kwnames
[] = {
33437 (char *) "self", NULL
33440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33459 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33460 PyObject
*resultobj
;
33461 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33464 PyObject
* obj0
= 0 ;
33465 PyObject
* obj1
= 0 ;
33466 char *kwnames
[] = {
33467 (char *) "self",(char *) "n", NULL
33470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33473 arg2
= (int) SWIG_AsInt(obj1
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33477 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33479 wxPyEndAllowThreads(__tstate
);
33480 if (PyErr_Occurred()) SWIG_fail
;
33484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33495 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33496 PyObject
*resultobj
;
33497 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33498 wxArrayString result
;
33499 PyObject
* obj0
= 0 ;
33500 char *kwnames
[] = {
33501 (char *) "self", NULL
33504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33509 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33511 wxPyEndAllowThreads(__tstate
);
33512 if (PyErr_Occurred()) SWIG_fail
;
33515 resultobj
= wxArrayString2PyList_helper(result
);
33523 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33524 PyObject
*resultobj
;
33525 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33527 wxString
*arg3
= 0 ;
33528 bool temp3
= False
;
33529 PyObject
* obj0
= 0 ;
33530 PyObject
* obj1
= 0 ;
33531 PyObject
* obj2
= 0 ;
33532 char *kwnames
[] = {
33533 (char *) "self",(char *) "n",(char *) "s", NULL
33536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33539 arg2
= (int) SWIG_AsInt(obj1
);
33540 if (PyErr_Occurred()) SWIG_fail
;
33542 arg3
= wxString_in_helper(obj2
);
33543 if (arg3
== NULL
) SWIG_fail
;
33547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33548 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33550 wxPyEndAllowThreads(__tstate
);
33551 if (PyErr_Occurred()) SWIG_fail
;
33553 Py_INCREF(Py_None
); resultobj
= Py_None
;
33568 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33569 PyObject
*resultobj
;
33570 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33571 wxString
*arg2
= 0 ;
33573 bool temp2
= False
;
33574 PyObject
* obj0
= 0 ;
33575 PyObject
* obj1
= 0 ;
33576 char *kwnames
[] = {
33577 (char *) "self",(char *) "s", NULL
33580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33584 arg2
= wxString_in_helper(obj1
);
33585 if (arg2
== NULL
) SWIG_fail
;
33589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33590 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33592 wxPyEndAllowThreads(__tstate
);
33593 if (PyErr_Occurred()) SWIG_fail
;
33595 resultobj
= SWIG_FromInt((int)result
);
33610 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33611 PyObject
*resultobj
;
33612 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33614 PyObject
* obj0
= 0 ;
33615 PyObject
* obj1
= 0 ;
33616 char *kwnames
[] = {
33617 (char *) "self",(char *) "n", NULL
33620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33623 arg2
= (int) SWIG_AsInt(obj1
);
33624 if (PyErr_Occurred()) SWIG_fail
;
33626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33627 (arg1
)->Select(arg2
);
33629 wxPyEndAllowThreads(__tstate
);
33630 if (PyErr_Occurred()) SWIG_fail
;
33632 Py_INCREF(Py_None
); resultobj
= Py_None
;
33639 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33640 PyObject
*resultobj
;
33641 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33643 PyObject
* obj0
= 0 ;
33644 char *kwnames
[] = {
33645 (char *) "self", NULL
33648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33653 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33655 wxPyEndAllowThreads(__tstate
);
33656 if (PyErr_Occurred()) SWIG_fail
;
33658 resultobj
= SWIG_FromInt((int)result
);
33665 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33666 PyObject
*resultobj
;
33667 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33669 PyObject
* obj0
= 0 ;
33670 char *kwnames
[] = {
33671 (char *) "self", NULL
33674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33686 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33688 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33697 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33698 PyObject
*resultobj
;
33699 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33702 PyObject
* obj0
= 0 ;
33703 PyObject
* obj1
= 0 ;
33704 char *kwnames
[] = {
33705 (char *) "self",(char *) "n", NULL
33708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33711 arg2
= (int) SWIG_AsInt(obj1
);
33712 if (PyErr_Occurred()) SWIG_fail
;
33714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33715 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33717 wxPyEndAllowThreads(__tstate
);
33718 if (PyErr_Occurred()) SWIG_fail
;
33720 resultobj
= result
;
33727 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33728 PyObject
*resultobj
;
33729 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33731 PyObject
*arg3
= (PyObject
*) 0 ;
33732 PyObject
* obj0
= 0 ;
33733 PyObject
* obj1
= 0 ;
33734 PyObject
* obj2
= 0 ;
33735 char *kwnames
[] = {
33736 (char *) "self",(char *) "n",(char *) "clientData", NULL
33739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33742 arg2
= (int) SWIG_AsInt(obj1
);
33743 if (PyErr_Occurred()) SWIG_fail
;
33746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33747 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33749 wxPyEndAllowThreads(__tstate
);
33750 if (PyErr_Occurred()) SWIG_fail
;
33752 Py_INCREF(Py_None
); resultobj
= Py_None
;
33759 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33761 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33762 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33764 return Py_BuildValue((char *)"");
33766 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33768 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33769 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33771 return Py_BuildValue((char *)"");
33773 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33774 PyObject
*resultobj
;
33775 wxSizerItem
*result
;
33776 char *kwnames
[] = {
33780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33783 result
= (wxSizerItem
*)new wxSizerItem();
33785 wxPyEndAllowThreads(__tstate
);
33786 if (PyErr_Occurred()) SWIG_fail
;
33788 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33795 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33796 PyObject
*resultobj
;
33797 wxWindow
*arg1
= (wxWindow
*) 0 ;
33801 PyObject
*arg5
= (PyObject
*) NULL
;
33802 wxSizerItem
*result
;
33803 PyObject
* obj0
= 0 ;
33804 PyObject
* obj1
= 0 ;
33805 PyObject
* obj2
= 0 ;
33806 PyObject
* obj3
= 0 ;
33807 PyObject
* obj4
= 0 ;
33808 char *kwnames
[] = {
33809 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33815 arg2
= (int) SWIG_AsInt(obj1
);
33816 if (PyErr_Occurred()) SWIG_fail
;
33817 arg3
= (int) SWIG_AsInt(obj2
);
33818 if (PyErr_Occurred()) SWIG_fail
;
33819 arg4
= (int) SWIG_AsInt(obj3
);
33820 if (PyErr_Occurred()) SWIG_fail
;
33825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33826 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33828 wxPyEndAllowThreads(__tstate
);
33829 if (PyErr_Occurred()) SWIG_fail
;
33831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33838 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33839 PyObject
*resultobj
;
33845 PyObject
*arg6
= (PyObject
*) NULL
;
33846 wxSizerItem
*result
;
33847 PyObject
* obj0
= 0 ;
33848 PyObject
* obj1
= 0 ;
33849 PyObject
* obj2
= 0 ;
33850 PyObject
* obj3
= 0 ;
33851 PyObject
* obj4
= 0 ;
33852 PyObject
* obj5
= 0 ;
33853 char *kwnames
[] = {
33854 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33858 arg1
= (int) SWIG_AsInt(obj0
);
33859 if (PyErr_Occurred()) SWIG_fail
;
33860 arg2
= (int) SWIG_AsInt(obj1
);
33861 if (PyErr_Occurred()) SWIG_fail
;
33862 arg3
= (int) SWIG_AsInt(obj2
);
33863 if (PyErr_Occurred()) SWIG_fail
;
33864 arg4
= (int) SWIG_AsInt(obj3
);
33865 if (PyErr_Occurred()) SWIG_fail
;
33866 arg5
= (int) SWIG_AsInt(obj4
);
33867 if (PyErr_Occurred()) SWIG_fail
;
33872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33873 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33875 wxPyEndAllowThreads(__tstate
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33885 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33886 PyObject
*resultobj
;
33887 wxSizer
*arg1
= (wxSizer
*) 0 ;
33891 PyObject
*arg5
= (PyObject
*) NULL
;
33892 wxSizerItem
*result
;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 PyObject
* obj2
= 0 ;
33896 PyObject
* obj3
= 0 ;
33897 PyObject
* obj4
= 0 ;
33898 char *kwnames
[] = {
33899 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33905 arg2
= (int) SWIG_AsInt(obj1
);
33906 if (PyErr_Occurred()) SWIG_fail
;
33907 arg3
= (int) SWIG_AsInt(obj2
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33909 arg4
= (int) SWIG_AsInt(obj3
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33916 result
= (wxSizerItem
*)new_wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33918 wxPyEndAllowThreads(__tstate
);
33919 if (PyErr_Occurred()) SWIG_fail
;
33921 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33928 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33929 PyObject
*resultobj
;
33930 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33931 PyObject
* obj0
= 0 ;
33932 char *kwnames
[] = {
33933 (char *) "self", NULL
33936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33941 (arg1
)->DeleteWindows();
33943 wxPyEndAllowThreads(__tstate
);
33944 if (PyErr_Occurred()) SWIG_fail
;
33946 Py_INCREF(Py_None
); resultobj
= Py_None
;
33953 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33954 PyObject
*resultobj
;
33955 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33956 PyObject
* obj0
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
33962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33966 (arg1
)->DetachSizer();
33968 wxPyEndAllowThreads(__tstate
);
33969 if (PyErr_Occurred()) SWIG_fail
;
33971 Py_INCREF(Py_None
); resultobj
= Py_None
;
33978 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33979 PyObject
*resultobj
;
33980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33982 PyObject
* obj0
= 0 ;
33983 char *kwnames
[] = {
33984 (char *) "self", NULL
33987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
33988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (arg1
)->GetSize();
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33998 wxSize
* resultptr
;
33999 resultptr
= new wxSize((wxSize
&) result
);
34000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34008 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 char *kwnames
[] = {
34014 (char *) "self", NULL
34017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34022 result
= (arg1
)->CalcMin();
34024 wxPyEndAllowThreads(__tstate
);
34025 if (PyErr_Occurred()) SWIG_fail
;
34028 wxSize
* resultptr
;
34029 resultptr
= new wxSize((wxSize
&) result
);
34030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34038 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34039 PyObject
*resultobj
;
34040 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34045 PyObject
* obj0
= 0 ;
34046 PyObject
* obj1
= 0 ;
34047 PyObject
* obj2
= 0 ;
34048 char *kwnames
[] = {
34049 (char *) "self",(char *) "pos",(char *) "size", NULL
34052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34055 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34056 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34058 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34059 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 (arg1
)->SetDimension(arg2
,arg3
);
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34068 Py_INCREF(Py_None
); resultobj
= Py_None
;
34075 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34076 PyObject
*resultobj
;
34077 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34079 PyObject
* obj0
= 0 ;
34080 char *kwnames
[] = {
34081 (char *) "self", NULL
34084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34089 result
= (arg1
)->GetMinSize();
34091 wxPyEndAllowThreads(__tstate
);
34092 if (PyErr_Occurred()) SWIG_fail
;
34095 wxSize
* resultptr
;
34096 resultptr
= new wxSize((wxSize
&) result
);
34097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34105 static PyObject
*_wrap_SizerItem_GetMinSizeWithBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34106 PyObject
*resultobj
;
34107 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34109 PyObject
* obj0
= 0 ;
34110 char *kwnames
[] = {
34111 (char *) "self", NULL
34114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSizeWithBorder",kwnames
,&obj0
)) goto fail
;
34115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34119 result
= ((wxSizerItem
const *)arg1
)->GetMinSizeWithBorder();
34121 wxPyEndAllowThreads(__tstate
);
34122 if (PyErr_Occurred()) SWIG_fail
;
34125 wxSize
* resultptr
;
34126 resultptr
= new wxSize((wxSize
&) result
);
34127 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34135 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34136 PyObject
*resultobj
;
34137 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34140 PyObject
* obj0
= 0 ;
34141 PyObject
* obj1
= 0 ;
34142 PyObject
* obj2
= 0 ;
34143 char *kwnames
[] = {
34144 (char *) "self",(char *) "x",(char *) "y", NULL
34147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34150 arg2
= (int) SWIG_AsInt(obj1
);
34151 if (PyErr_Occurred()) SWIG_fail
;
34152 arg3
= (int) SWIG_AsInt(obj2
);
34153 if (PyErr_Occurred()) SWIG_fail
;
34155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34156 (arg1
)->SetInitSize(arg2
,arg3
);
34158 wxPyEndAllowThreads(__tstate
);
34159 if (PyErr_Occurred()) SWIG_fail
;
34161 Py_INCREF(Py_None
); resultobj
= Py_None
;
34168 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34169 PyObject
*resultobj
;
34170 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34173 PyObject
* obj0
= 0 ;
34174 PyObject
* obj1
= 0 ;
34175 PyObject
* obj2
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self",(char *) "width",(char *) "height", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34183 arg2
= (int) SWIG_AsInt(obj1
);
34184 if (PyErr_Occurred()) SWIG_fail
;
34185 arg3
= (int) SWIG_AsInt(obj2
);
34186 if (PyErr_Occurred()) SWIG_fail
;
34188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34189 (arg1
)->SetRatio(arg2
,arg3
);
34191 wxPyEndAllowThreads(__tstate
);
34192 if (PyErr_Occurred()) SWIG_fail
;
34194 Py_INCREF(Py_None
); resultobj
= Py_None
;
34201 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34202 PyObject
*resultobj
;
34203 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34206 PyObject
* obj0
= 0 ;
34207 PyObject
* obj1
= 0 ;
34208 char *kwnames
[] = {
34209 (char *) "self",(char *) "size", NULL
34212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34215 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34216 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34220 (arg1
)->SetRatio(arg2
);
34222 wxPyEndAllowThreads(__tstate
);
34223 if (PyErr_Occurred()) SWIG_fail
;
34225 Py_INCREF(Py_None
); resultobj
= Py_None
;
34232 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34233 PyObject
*resultobj
;
34234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 PyObject
* obj1
= 0 ;
34238 char *kwnames
[] = {
34239 (char *) "self",(char *) "ratio", NULL
34242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34245 arg2
= (float) SWIG_AsFloat(obj1
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34249 (arg1
)->SetRatio(arg2
);
34251 wxPyEndAllowThreads(__tstate
);
34252 if (PyErr_Occurred()) SWIG_fail
;
34254 Py_INCREF(Py_None
); resultobj
= Py_None
;
34261 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34262 PyObject
*resultobj
;
34263 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34265 PyObject
* obj0
= 0 ;
34266 char *kwnames
[] = {
34267 (char *) "self", NULL
34270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34275 result
= (float)(arg1
)->GetRatio();
34277 wxPyEndAllowThreads(__tstate
);
34278 if (PyErr_Occurred()) SWIG_fail
;
34280 resultobj
= SWIG_FromFloat((float)result
);
34287 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34288 PyObject
*resultobj
;
34289 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34291 PyObject
* obj0
= 0 ;
34292 char *kwnames
[] = {
34293 (char *) "self", NULL
34296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34297 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34298 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34301 result
= (bool)(arg1
)->IsWindow();
34303 wxPyEndAllowThreads(__tstate
);
34304 if (PyErr_Occurred()) SWIG_fail
;
34307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34315 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34316 PyObject
*resultobj
;
34317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34319 PyObject
* obj0
= 0 ;
34320 char *kwnames
[] = {
34321 (char *) "self", NULL
34324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34329 result
= (bool)(arg1
)->IsSizer();
34331 wxPyEndAllowThreads(__tstate
);
34332 if (PyErr_Occurred()) SWIG_fail
;
34335 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34343 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34344 PyObject
*resultobj
;
34345 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34347 PyObject
* obj0
= 0 ;
34348 char *kwnames
[] = {
34349 (char *) "self", NULL
34352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34357 result
= (bool)(arg1
)->IsSpacer();
34359 wxPyEndAllowThreads(__tstate
);
34360 if (PyErr_Occurred()) SWIG_fail
;
34363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34371 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
;
34373 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34375 PyObject
* obj0
= 0 ;
34376 PyObject
* obj1
= 0 ;
34377 char *kwnames
[] = {
34378 (char *) "self",(char *) "proportion", NULL
34381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34384 arg2
= (int) SWIG_AsInt(obj1
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34388 (arg1
)->SetProportion(arg2
);
34390 wxPyEndAllowThreads(__tstate
);
34391 if (PyErr_Occurred()) SWIG_fail
;
34393 Py_INCREF(Py_None
); resultobj
= Py_None
;
34400 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34401 PyObject
*resultobj
;
34402 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34404 PyObject
* obj0
= 0 ;
34405 char *kwnames
[] = {
34406 (char *) "self", NULL
34409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34410 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34414 result
= (int)(arg1
)->GetProportion();
34416 wxPyEndAllowThreads(__tstate
);
34417 if (PyErr_Occurred()) SWIG_fail
;
34419 resultobj
= SWIG_FromInt((int)result
);
34426 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34427 PyObject
*resultobj
;
34428 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34430 PyObject
* obj0
= 0 ;
34431 PyObject
* obj1
= 0 ;
34432 char *kwnames
[] = {
34433 (char *) "self",(char *) "flag", NULL
34436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34439 arg2
= (int) SWIG_AsInt(obj1
);
34440 if (PyErr_Occurred()) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 (arg1
)->SetFlag(arg2
);
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34448 Py_INCREF(Py_None
); resultobj
= Py_None
;
34455 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34456 PyObject
*resultobj
;
34457 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34459 PyObject
* obj0
= 0 ;
34460 char *kwnames
[] = {
34461 (char *) "self", NULL
34464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34469 result
= (int)(arg1
)->GetFlag();
34471 wxPyEndAllowThreads(__tstate
);
34472 if (PyErr_Occurred()) SWIG_fail
;
34474 resultobj
= SWIG_FromInt((int)result
);
34481 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34482 PyObject
*resultobj
;
34483 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34485 PyObject
* obj0
= 0 ;
34486 PyObject
* obj1
= 0 ;
34487 char *kwnames
[] = {
34488 (char *) "self",(char *) "border", NULL
34491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34494 arg2
= (int) SWIG_AsInt(obj1
);
34495 if (PyErr_Occurred()) SWIG_fail
;
34497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34498 (arg1
)->SetBorder(arg2
);
34500 wxPyEndAllowThreads(__tstate
);
34501 if (PyErr_Occurred()) SWIG_fail
;
34503 Py_INCREF(Py_None
); resultobj
= Py_None
;
34510 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34511 PyObject
*resultobj
;
34512 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34514 PyObject
* obj0
= 0 ;
34515 char *kwnames
[] = {
34516 (char *) "self", NULL
34519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34524 result
= (int)(arg1
)->GetBorder();
34526 wxPyEndAllowThreads(__tstate
);
34527 if (PyErr_Occurred()) SWIG_fail
;
34529 resultobj
= SWIG_FromInt((int)result
);
34536 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34537 PyObject
*resultobj
;
34538 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34540 PyObject
* obj0
= 0 ;
34541 char *kwnames
[] = {
34542 (char *) "self", NULL
34545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 result
= (wxWindow
*)(arg1
)->GetWindow();
34552 wxPyEndAllowThreads(__tstate
);
34553 if (PyErr_Occurred()) SWIG_fail
;
34556 resultobj
= wxPyMake_wxObject(result
, 0);
34564 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34565 PyObject
*resultobj
;
34566 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34567 wxWindow
*arg2
= (wxWindow
*) 0 ;
34568 PyObject
* obj0
= 0 ;
34569 PyObject
* obj1
= 0 ;
34570 char *kwnames
[] = {
34571 (char *) "self",(char *) "window", NULL
34574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34577 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34581 (arg1
)->SetWindow(arg2
);
34583 wxPyEndAllowThreads(__tstate
);
34584 if (PyErr_Occurred()) SWIG_fail
;
34586 Py_INCREF(Py_None
); resultobj
= Py_None
;
34593 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34594 PyObject
*resultobj
;
34595 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34597 PyObject
* obj0
= 0 ;
34598 char *kwnames
[] = {
34599 (char *) "self", NULL
34602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34607 result
= (wxSizer
*)(arg1
)->GetSizer();
34609 wxPyEndAllowThreads(__tstate
);
34610 if (PyErr_Occurred()) SWIG_fail
;
34613 resultobj
= wxPyMake_wxSizer(result
, 0);
34621 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34622 PyObject
*resultobj
;
34623 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34624 wxSizer
*arg2
= (wxSizer
*) 0 ;
34625 PyObject
* obj0
= 0 ;
34626 PyObject
* obj1
= 0 ;
34627 char *kwnames
[] = {
34628 (char *) "self",(char *) "sizer", NULL
34631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34638 (arg1
)->SetSizer(arg2
);
34640 wxPyEndAllowThreads(__tstate
);
34641 if (PyErr_Occurred()) SWIG_fail
;
34643 Py_INCREF(Py_None
); resultobj
= Py_None
;
34650 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34651 PyObject
*resultobj
;
34652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34654 PyObject
* obj0
= 0 ;
34655 char *kwnames
[] = {
34656 (char *) "self", NULL
34659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34665 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34666 result
= (wxSize
*) &_result_ref
;
34669 wxPyEndAllowThreads(__tstate
);
34670 if (PyErr_Occurred()) SWIG_fail
;
34672 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34679 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34680 PyObject
*resultobj
;
34681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34684 PyObject
* obj0
= 0 ;
34685 PyObject
* obj1
= 0 ;
34686 char *kwnames
[] = {
34687 (char *) "self",(char *) "size", NULL
34690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34699 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34701 wxPyEndAllowThreads(__tstate
);
34702 if (PyErr_Occurred()) SWIG_fail
;
34704 Py_INCREF(Py_None
); resultobj
= Py_None
;
34711 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34712 PyObject
*resultobj
;
34713 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34715 PyObject
* obj0
= 0 ;
34716 PyObject
* obj1
= 0 ;
34717 char *kwnames
[] = {
34718 (char *) "self",(char *) "show", NULL
34721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34724 arg2
= (bool) SWIG_AsBool(obj1
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34728 (arg1
)->Show(arg2
);
34730 wxPyEndAllowThreads(__tstate
);
34731 if (PyErr_Occurred()) SWIG_fail
;
34733 Py_INCREF(Py_None
); resultobj
= Py_None
;
34740 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34741 PyObject
*resultobj
;
34742 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34744 PyObject
* obj0
= 0 ;
34745 char *kwnames
[] = {
34746 (char *) "self", NULL
34749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34754 result
= (bool)(arg1
)->IsShown();
34756 wxPyEndAllowThreads(__tstate
);
34757 if (PyErr_Occurred()) SWIG_fail
;
34760 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34768 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34769 PyObject
*resultobj
;
34770 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34772 PyObject
* obj0
= 0 ;
34773 char *kwnames
[] = {
34774 (char *) "self", NULL
34777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= (arg1
)->GetPosition();
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34788 wxPoint
* resultptr
;
34789 resultptr
= new wxPoint((wxPoint
&) result
);
34790 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34798 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
;
34800 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34802 PyObject
* obj0
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34812 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34814 wxPyEndAllowThreads(__tstate
);
34815 if (PyErr_Occurred()) SWIG_fail
;
34817 resultobj
= result
;
34824 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34826 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34827 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34829 return Py_BuildValue((char *)"");
34831 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34832 PyObject
*resultobj
;
34833 wxSizer
*arg1
= (wxSizer
*) 0 ;
34834 PyObject
*arg2
= (PyObject
*) 0 ;
34835 PyObject
* obj0
= 0 ;
34836 PyObject
* obj1
= 0 ;
34837 char *kwnames
[] = {
34838 (char *) "self",(char *) "_self", NULL
34841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34847 wxSizer__setOORInfo(arg1
,arg2
);
34849 wxPyEndAllowThreads(__tstate
);
34850 if (PyErr_Occurred()) SWIG_fail
;
34852 Py_INCREF(Py_None
); resultobj
= Py_None
;
34859 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34860 PyObject
*resultobj
;
34861 wxSizer
*arg1
= (wxSizer
*) 0 ;
34862 PyObject
*arg2
= (PyObject
*) 0 ;
34863 int arg3
= (int) 0 ;
34864 int arg4
= (int) 0 ;
34865 int arg5
= (int) 0 ;
34866 PyObject
*arg6
= (PyObject
*) NULL
;
34867 PyObject
* obj0
= 0 ;
34868 PyObject
* obj1
= 0 ;
34869 PyObject
* obj2
= 0 ;
34870 PyObject
* obj3
= 0 ;
34871 PyObject
* obj4
= 0 ;
34872 PyObject
* obj5
= 0 ;
34873 char *kwnames
[] = {
34874 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34882 arg3
= (int) SWIG_AsInt(obj2
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34886 arg4
= (int) SWIG_AsInt(obj3
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34890 arg5
= (int) SWIG_AsInt(obj4
);
34891 if (PyErr_Occurred()) SWIG_fail
;
34897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34898 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34900 wxPyEndAllowThreads(__tstate
);
34901 if (PyErr_Occurred()) SWIG_fail
;
34903 Py_INCREF(Py_None
); resultobj
= Py_None
;
34910 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34911 PyObject
*resultobj
;
34912 wxSizer
*arg1
= (wxSizer
*) 0 ;
34914 PyObject
*arg3
= (PyObject
*) 0 ;
34915 int arg4
= (int) 0 ;
34916 int arg5
= (int) 0 ;
34917 int arg6
= (int) 0 ;
34918 PyObject
*arg7
= (PyObject
*) NULL
;
34919 PyObject
* obj0
= 0 ;
34920 PyObject
* obj1
= 0 ;
34921 PyObject
* obj2
= 0 ;
34922 PyObject
* obj3
= 0 ;
34923 PyObject
* obj4
= 0 ;
34924 PyObject
* obj5
= 0 ;
34925 PyObject
* obj6
= 0 ;
34926 char *kwnames
[] = {
34927 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34933 arg2
= (int) SWIG_AsInt(obj1
);
34934 if (PyErr_Occurred()) SWIG_fail
;
34937 arg4
= (int) SWIG_AsInt(obj3
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34941 arg5
= (int) SWIG_AsInt(obj4
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34945 arg6
= (int) SWIG_AsInt(obj5
);
34946 if (PyErr_Occurred()) SWIG_fail
;
34952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34953 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34955 wxPyEndAllowThreads(__tstate
);
34956 if (PyErr_Occurred()) SWIG_fail
;
34958 Py_INCREF(Py_None
); resultobj
= Py_None
;
34965 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34966 PyObject
*resultobj
;
34967 wxSizer
*arg1
= (wxSizer
*) 0 ;
34968 PyObject
*arg2
= (PyObject
*) 0 ;
34969 int arg3
= (int) 0 ;
34970 int arg4
= (int) 0 ;
34971 int arg5
= (int) 0 ;
34972 PyObject
*arg6
= (PyObject
*) NULL
;
34973 PyObject
* obj0
= 0 ;
34974 PyObject
* obj1
= 0 ;
34975 PyObject
* obj2
= 0 ;
34976 PyObject
* obj3
= 0 ;
34977 PyObject
* obj4
= 0 ;
34978 PyObject
* obj5
= 0 ;
34979 char *kwnames
[] = {
34980 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34988 arg3
= (int) SWIG_AsInt(obj2
);
34989 if (PyErr_Occurred()) SWIG_fail
;
34992 arg4
= (int) SWIG_AsInt(obj3
);
34993 if (PyErr_Occurred()) SWIG_fail
;
34996 arg5
= (int) SWIG_AsInt(obj4
);
34997 if (PyErr_Occurred()) SWIG_fail
;
35003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35004 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35006 wxPyEndAllowThreads(__tstate
);
35007 if (PyErr_Occurred()) SWIG_fail
;
35009 Py_INCREF(Py_None
); resultobj
= Py_None
;
35016 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35017 PyObject
*resultobj
;
35018 wxSizer
*arg1
= (wxSizer
*) 0 ;
35019 PyObject
*arg2
= (PyObject
*) 0 ;
35021 PyObject
* obj0
= 0 ;
35022 PyObject
* obj1
= 0 ;
35023 char *kwnames
[] = {
35024 (char *) "self",(char *) "item", NULL
35027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35028 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35029 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35033 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35035 wxPyEndAllowThreads(__tstate
);
35036 if (PyErr_Occurred()) SWIG_fail
;
35039 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35047 static PyObject
*_wrap_Sizer_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35048 PyObject
*resultobj
;
35049 wxSizer
*arg1
= (wxSizer
*) 0 ;
35050 PyObject
*arg2
= (PyObject
*) 0 ;
35052 PyObject
* obj0
= 0 ;
35053 PyObject
* obj1
= 0 ;
35054 char *kwnames
[] = {
35055 (char *) "self",(char *) "item", NULL
35058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Detach",kwnames
,&obj0
,&obj1
)) goto fail
;
35059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35064 result
= (bool)wxSizer_Detach(arg1
,arg2
);
35066 wxPyEndAllowThreads(__tstate
);
35067 if (PyErr_Occurred()) SWIG_fail
;
35070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35078 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35079 PyObject
*resultobj
;
35080 wxSizer
*arg1
= (wxSizer
*) 0 ;
35081 PyObject
*arg2
= (PyObject
*) 0 ;
35084 PyObject
* obj0
= 0 ;
35085 PyObject
* obj1
= 0 ;
35086 PyObject
* obj2
= 0 ;
35087 char *kwnames
[] = {
35088 (char *) "self",(char *) "item",(char *) "size", NULL
35091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35097 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35101 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35103 wxPyEndAllowThreads(__tstate
);
35104 if (PyErr_Occurred()) SWIG_fail
;
35106 Py_INCREF(Py_None
); resultobj
= Py_None
;
35113 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35114 PyObject
*resultobj
;
35115 wxSizer
*arg1
= (wxSizer
*) 0 ;
35116 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35117 PyObject
* obj0
= 0 ;
35118 PyObject
* obj1
= 0 ;
35119 char *kwnames
[] = {
35120 (char *) "self",(char *) "item", NULL
35123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35126 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35132 wxPyEndAllowThreads(__tstate
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35135 Py_INCREF(Py_None
); resultobj
= Py_None
;
35142 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35143 PyObject
*resultobj
;
35144 wxSizer
*arg1
= (wxSizer
*) 0 ;
35146 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35147 PyObject
* obj0
= 0 ;
35148 PyObject
* obj1
= 0 ;
35149 PyObject
* obj2
= 0 ;
35150 char *kwnames
[] = {
35151 (char *) "self",(char *) "index",(char *) "item", NULL
35154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35157 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35158 if (PyErr_Occurred()) SWIG_fail
;
35159 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35163 (arg1
)->Insert(arg2
,arg3
);
35165 wxPyEndAllowThreads(__tstate
);
35166 if (PyErr_Occurred()) SWIG_fail
;
35168 Py_INCREF(Py_None
); resultobj
= Py_None
;
35175 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35176 PyObject
*resultobj
;
35177 wxSizer
*arg1
= (wxSizer
*) 0 ;
35178 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35179 PyObject
* obj0
= 0 ;
35180 PyObject
* obj1
= 0 ;
35181 char *kwnames
[] = {
35182 (char *) "self",(char *) "item", NULL
35185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35186 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35188 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35192 (arg1
)->Prepend(arg2
);
35194 wxPyEndAllowThreads(__tstate
);
35195 if (PyErr_Occurred()) SWIG_fail
;
35197 Py_INCREF(Py_None
); resultobj
= Py_None
;
35204 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35205 PyObject
*resultobj
;
35206 wxSizer
*arg1
= (wxSizer
*) 0 ;
35211 PyObject
* obj0
= 0 ;
35212 PyObject
* obj1
= 0 ;
35213 PyObject
* obj2
= 0 ;
35214 PyObject
* obj3
= 0 ;
35215 PyObject
* obj4
= 0 ;
35216 char *kwnames
[] = {
35217 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35223 arg2
= (int) SWIG_AsInt(obj1
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35225 arg3
= (int) SWIG_AsInt(obj2
);
35226 if (PyErr_Occurred()) SWIG_fail
;
35227 arg4
= (int) SWIG_AsInt(obj3
);
35228 if (PyErr_Occurred()) SWIG_fail
;
35229 arg5
= (int) SWIG_AsInt(obj4
);
35230 if (PyErr_Occurred()) SWIG_fail
;
35232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35233 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35235 wxPyEndAllowThreads(__tstate
);
35236 if (PyErr_Occurred()) SWIG_fail
;
35238 Py_INCREF(Py_None
); resultobj
= Py_None
;
35245 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35246 PyObject
*resultobj
;
35247 wxSizer
*arg1
= (wxSizer
*) 0 ;
35250 PyObject
* obj0
= 0 ;
35251 PyObject
* obj1
= 0 ;
35252 char *kwnames
[] = {
35253 (char *) "self",(char *) "size", NULL
35256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35261 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35265 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35267 wxPyEndAllowThreads(__tstate
);
35268 if (PyErr_Occurred()) SWIG_fail
;
35270 Py_INCREF(Py_None
); resultobj
= Py_None
;
35277 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
;
35279 wxSizer
*arg1
= (wxSizer
*) 0 ;
35281 PyObject
* obj0
= 0 ;
35282 char *kwnames
[] = {
35283 (char *) "self", NULL
35286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35291 result
= (arg1
)->GetSize();
35293 wxPyEndAllowThreads(__tstate
);
35294 if (PyErr_Occurred()) SWIG_fail
;
35297 wxSize
* resultptr
;
35298 resultptr
= new wxSize((wxSize
&) result
);
35299 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35307 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35308 PyObject
*resultobj
;
35309 wxSizer
*arg1
= (wxSizer
*) 0 ;
35311 PyObject
* obj0
= 0 ;
35312 char *kwnames
[] = {
35313 (char *) "self", NULL
35316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35321 result
= (arg1
)->GetPosition();
35323 wxPyEndAllowThreads(__tstate
);
35324 if (PyErr_Occurred()) SWIG_fail
;
35327 wxPoint
* resultptr
;
35328 resultptr
= new wxPoint((wxPoint
&) result
);
35329 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35337 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
;
35339 wxSizer
*arg1
= (wxSizer
*) 0 ;
35341 PyObject
* obj0
= 0 ;
35342 char *kwnames
[] = {
35343 (char *) "self", NULL
35346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35351 result
= (arg1
)->GetMinSize();
35353 wxPyEndAllowThreads(__tstate
);
35354 if (PyErr_Occurred()) SWIG_fail
;
35357 wxSize
* resultptr
;
35358 resultptr
= new wxSize((wxSize
&) result
);
35359 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35367 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35368 PyObject
*resultobj
;
35369 wxSizer
*arg1
= (wxSizer
*) 0 ;
35370 PyObject
* obj0
= 0 ;
35371 char *kwnames
[] = {
35372 (char *) "self", NULL
35375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35380 (arg1
)->RecalcSizes();
35382 wxPyEndAllowThreads(__tstate
);
35383 if (PyErr_Occurred()) SWIG_fail
;
35385 Py_INCREF(Py_None
); resultobj
= Py_None
;
35392 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35393 PyObject
*resultobj
;
35394 wxSizer
*arg1
= (wxSizer
*) 0 ;
35396 PyObject
* obj0
= 0 ;
35397 char *kwnames
[] = {
35398 (char *) "self", NULL
35401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35406 result
= (arg1
)->CalcMin();
35408 wxPyEndAllowThreads(__tstate
);
35409 if (PyErr_Occurred()) SWIG_fail
;
35412 wxSize
* resultptr
;
35413 resultptr
= new wxSize((wxSize
&) result
);
35414 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35422 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35423 PyObject
*resultobj
;
35424 wxSizer
*arg1
= (wxSizer
*) 0 ;
35425 PyObject
* obj0
= 0 ;
35426 char *kwnames
[] = {
35427 (char *) "self", NULL
35430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35437 wxPyEndAllowThreads(__tstate
);
35438 if (PyErr_Occurred()) SWIG_fail
;
35440 Py_INCREF(Py_None
); resultobj
= Py_None
;
35447 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35448 PyObject
*resultobj
;
35449 wxSizer
*arg1
= (wxSizer
*) 0 ;
35450 wxWindow
*arg2
= (wxWindow
*) 0 ;
35452 PyObject
* obj0
= 0 ;
35453 PyObject
* obj1
= 0 ;
35454 char *kwnames
[] = {
35455 (char *) "self",(char *) "window", NULL
35458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35461 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35465 result
= (arg1
)->Fit(arg2
);
35467 wxPyEndAllowThreads(__tstate
);
35468 if (PyErr_Occurred()) SWIG_fail
;
35471 wxSize
* resultptr
;
35472 resultptr
= new wxSize((wxSize
&) result
);
35473 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35481 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35482 PyObject
*resultobj
;
35483 wxSizer
*arg1
= (wxSizer
*) 0 ;
35484 wxWindow
*arg2
= (wxWindow
*) 0 ;
35485 PyObject
* obj0
= 0 ;
35486 PyObject
* obj1
= 0 ;
35487 char *kwnames
[] = {
35488 (char *) "self",(char *) "window", NULL
35491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35494 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35498 (arg1
)->FitInside(arg2
);
35500 wxPyEndAllowThreads(__tstate
);
35501 if (PyErr_Occurred()) SWIG_fail
;
35503 Py_INCREF(Py_None
); resultobj
= Py_None
;
35510 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35511 PyObject
*resultobj
;
35512 wxSizer
*arg1
= (wxSizer
*) 0 ;
35513 wxWindow
*arg2
= (wxWindow
*) 0 ;
35514 PyObject
* obj0
= 0 ;
35515 PyObject
* obj1
= 0 ;
35516 char *kwnames
[] = {
35517 (char *) "self",(char *) "window", NULL
35520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35523 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35527 (arg1
)->SetSizeHints(arg2
);
35529 wxPyEndAllowThreads(__tstate
);
35530 if (PyErr_Occurred()) SWIG_fail
;
35532 Py_INCREF(Py_None
); resultobj
= Py_None
;
35539 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35540 PyObject
*resultobj
;
35541 wxSizer
*arg1
= (wxSizer
*) 0 ;
35542 wxWindow
*arg2
= (wxWindow
*) 0 ;
35543 PyObject
* obj0
= 0 ;
35544 PyObject
* obj1
= 0 ;
35545 char *kwnames
[] = {
35546 (char *) "self",(char *) "window", NULL
35549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35552 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35556 (arg1
)->SetVirtualSizeHints(arg2
);
35558 wxPyEndAllowThreads(__tstate
);
35559 if (PyErr_Occurred()) SWIG_fail
;
35561 Py_INCREF(Py_None
); resultobj
= Py_None
;
35568 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35569 PyObject
*resultobj
;
35570 wxSizer
*arg1
= (wxSizer
*) 0 ;
35571 bool arg2
= (bool) False
;
35572 PyObject
* obj0
= 0 ;
35573 PyObject
* obj1
= 0 ;
35574 char *kwnames
[] = {
35575 (char *) "self",(char *) "deleteWindows", NULL
35578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35582 arg2
= (bool) SWIG_AsBool(obj1
);
35583 if (PyErr_Occurred()) SWIG_fail
;
35586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35587 (arg1
)->Clear(arg2
);
35589 wxPyEndAllowThreads(__tstate
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35592 Py_INCREF(Py_None
); resultobj
= Py_None
;
35599 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35600 PyObject
*resultobj
;
35601 wxSizer
*arg1
= (wxSizer
*) 0 ;
35602 PyObject
* obj0
= 0 ;
35603 char *kwnames
[] = {
35604 (char *) "self", NULL
35607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35612 (arg1
)->DeleteWindows();
35614 wxPyEndAllowThreads(__tstate
);
35615 if (PyErr_Occurred()) SWIG_fail
;
35617 Py_INCREF(Py_None
); resultobj
= Py_None
;
35624 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35625 PyObject
*resultobj
;
35626 wxSizer
*arg1
= (wxSizer
*) 0 ;
35628 PyObject
* obj0
= 0 ;
35629 char *kwnames
[] = {
35630 (char *) "self", NULL
35633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35638 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35640 wxPyEndAllowThreads(__tstate
);
35641 if (PyErr_Occurred()) SWIG_fail
;
35643 resultobj
= result
;
35650 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35651 PyObject
*resultobj
;
35652 wxSizer
*arg1
= (wxSizer
*) 0 ;
35653 PyObject
*arg2
= (PyObject
*) 0 ;
35654 bool arg3
= (bool) True
;
35655 PyObject
* obj0
= 0 ;
35656 PyObject
* obj1
= 0 ;
35657 PyObject
* obj2
= 0 ;
35658 char *kwnames
[] = {
35659 (char *) "self",(char *) "item",(char *) "show", NULL
35662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35667 arg3
= (bool) SWIG_AsBool(obj2
);
35668 if (PyErr_Occurred()) SWIG_fail
;
35671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35672 wxSizer_Show(arg1
,arg2
,arg3
);
35674 wxPyEndAllowThreads(__tstate
);
35675 if (PyErr_Occurred()) SWIG_fail
;
35677 Py_INCREF(Py_None
); resultobj
= Py_None
;
35684 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35685 PyObject
*resultobj
;
35686 wxSizer
*arg1
= (wxSizer
*) 0 ;
35687 PyObject
*arg2
= (PyObject
*) 0 ;
35689 PyObject
* obj0
= 0 ;
35690 PyObject
* obj1
= 0 ;
35691 char *kwnames
[] = {
35692 (char *) "self",(char *) "item", NULL
35695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35715 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35716 PyObject
*resultobj
;
35717 wxSizer
*arg1
= (wxSizer
*) 0 ;
35719 PyObject
* obj0
= 0 ;
35720 PyObject
* obj1
= 0 ;
35721 char *kwnames
[] = {
35722 (char *) "self",(char *) "show", NULL
35725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35728 arg2
= (bool) SWIG_AsBool(obj1
);
35729 if (PyErr_Occurred()) SWIG_fail
;
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 (arg1
)->ShowItems(arg2
);
35734 wxPyEndAllowThreads(__tstate
);
35735 if (PyErr_Occurred()) SWIG_fail
;
35737 Py_INCREF(Py_None
); resultobj
= Py_None
;
35744 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35747 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35749 return Py_BuildValue((char *)"");
35751 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35752 PyObject
*resultobj
;
35754 char *kwnames
[] = {
35758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 result
= (wxPySizer
*)new wxPySizer();
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35766 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35773 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35774 PyObject
*resultobj
;
35775 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35776 PyObject
*arg2
= (PyObject
*) 0 ;
35777 PyObject
*arg3
= (PyObject
*) 0 ;
35778 PyObject
* obj0
= 0 ;
35779 PyObject
* obj1
= 0 ;
35780 PyObject
* obj2
= 0 ;
35781 char *kwnames
[] = {
35782 (char *) "self",(char *) "self",(char *) "_class", NULL
35785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35792 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35794 wxPyEndAllowThreads(__tstate
);
35795 if (PyErr_Occurred()) SWIG_fail
;
35797 Py_INCREF(Py_None
); resultobj
= Py_None
;
35804 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35807 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35809 return Py_BuildValue((char *)"");
35811 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35812 PyObject
*resultobj
;
35813 int arg1
= (int) wxHORIZONTAL
;
35814 wxBoxSizer
*result
;
35815 PyObject
* obj0
= 0 ;
35816 char *kwnames
[] = {
35817 (char *) "orient", NULL
35820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35822 arg1
= (int) SWIG_AsInt(obj0
);
35823 if (PyErr_Occurred()) SWIG_fail
;
35826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35827 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35829 wxPyEndAllowThreads(__tstate
);
35830 if (PyErr_Occurred()) SWIG_fail
;
35832 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35839 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35840 PyObject
*resultobj
;
35841 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35843 PyObject
* obj0
= 0 ;
35844 char *kwnames
[] = {
35845 (char *) "self", NULL
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35853 result
= (int)(arg1
)->GetOrientation();
35855 wxPyEndAllowThreads(__tstate
);
35856 if (PyErr_Occurred()) SWIG_fail
;
35858 resultobj
= SWIG_FromInt((int)result
);
35865 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35866 PyObject
*resultobj
;
35867 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35869 PyObject
* obj0
= 0 ;
35870 PyObject
* obj1
= 0 ;
35871 char *kwnames
[] = {
35872 (char *) "self",(char *) "orient", NULL
35875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35878 arg2
= (int) SWIG_AsInt(obj1
);
35879 if (PyErr_Occurred()) SWIG_fail
;
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 (arg1
)->SetOrientation(arg2
);
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 Py_INCREF(Py_None
); resultobj
= Py_None
;
35894 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35896 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35897 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35899 return Py_BuildValue((char *)"");
35901 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35902 PyObject
*resultobj
;
35903 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35904 int arg2
= (int) wxHORIZONTAL
;
35905 wxStaticBoxSizer
*result
;
35906 PyObject
* obj0
= 0 ;
35907 PyObject
* obj1
= 0 ;
35908 char *kwnames
[] = {
35909 (char *) "box",(char *) "orient", NULL
35912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35916 arg2
= (int) SWIG_AsInt(obj1
);
35917 if (PyErr_Occurred()) SWIG_fail
;
35920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35921 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35923 wxPyEndAllowThreads(__tstate
);
35924 if (PyErr_Occurred()) SWIG_fail
;
35926 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
35933 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35934 PyObject
*resultobj
;
35935 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
35936 wxStaticBox
*result
;
35937 PyObject
* obj0
= 0 ;
35938 char *kwnames
[] = {
35939 (char *) "self", NULL
35942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
35943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
35944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35947 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
35949 wxPyEndAllowThreads(__tstate
);
35950 if (PyErr_Occurred()) SWIG_fail
;
35953 resultobj
= wxPyMake_wxObject(result
, 0);
35961 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35963 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35964 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
35966 return Py_BuildValue((char *)"");
35968 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35969 PyObject
*resultobj
;
35970 int arg1
= (int) 1 ;
35971 int arg2
= (int) 0 ;
35972 int arg3
= (int) 0 ;
35973 int arg4
= (int) 0 ;
35974 wxGridSizer
*result
;
35975 PyObject
* obj0
= 0 ;
35976 PyObject
* obj1
= 0 ;
35977 PyObject
* obj2
= 0 ;
35978 PyObject
* obj3
= 0 ;
35979 char *kwnames
[] = {
35980 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35985 arg1
= (int) SWIG_AsInt(obj0
);
35986 if (PyErr_Occurred()) SWIG_fail
;
35989 arg2
= (int) SWIG_AsInt(obj1
);
35990 if (PyErr_Occurred()) SWIG_fail
;
35993 arg3
= (int) SWIG_AsInt(obj2
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35997 arg4
= (int) SWIG_AsInt(obj3
);
35998 if (PyErr_Occurred()) SWIG_fail
;
36001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36002 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36004 wxPyEndAllowThreads(__tstate
);
36005 if (PyErr_Occurred()) SWIG_fail
;
36007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36014 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36015 PyObject
*resultobj
;
36016 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36018 PyObject
* obj0
= 0 ;
36019 PyObject
* obj1
= 0 ;
36020 char *kwnames
[] = {
36021 (char *) "self",(char *) "cols", NULL
36024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36027 arg2
= (int) SWIG_AsInt(obj1
);
36028 if (PyErr_Occurred()) SWIG_fail
;
36030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36031 (arg1
)->SetCols(arg2
);
36033 wxPyEndAllowThreads(__tstate
);
36034 if (PyErr_Occurred()) SWIG_fail
;
36036 Py_INCREF(Py_None
); resultobj
= Py_None
;
36043 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36044 PyObject
*resultobj
;
36045 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36047 PyObject
* obj0
= 0 ;
36048 PyObject
* obj1
= 0 ;
36049 char *kwnames
[] = {
36050 (char *) "self",(char *) "rows", NULL
36053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36056 arg2
= (int) SWIG_AsInt(obj1
);
36057 if (PyErr_Occurred()) SWIG_fail
;
36059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36060 (arg1
)->SetRows(arg2
);
36062 wxPyEndAllowThreads(__tstate
);
36063 if (PyErr_Occurred()) SWIG_fail
;
36065 Py_INCREF(Py_None
); resultobj
= Py_None
;
36072 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36073 PyObject
*resultobj
;
36074 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36076 PyObject
* obj0
= 0 ;
36077 PyObject
* obj1
= 0 ;
36078 char *kwnames
[] = {
36079 (char *) "self",(char *) "gap", NULL
36082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36085 arg2
= (int) SWIG_AsInt(obj1
);
36086 if (PyErr_Occurred()) SWIG_fail
;
36088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36089 (arg1
)->SetVGap(arg2
);
36091 wxPyEndAllowThreads(__tstate
);
36092 if (PyErr_Occurred()) SWIG_fail
;
36094 Py_INCREF(Py_None
); resultobj
= Py_None
;
36101 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36102 PyObject
*resultobj
;
36103 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36105 PyObject
* obj0
= 0 ;
36106 PyObject
* obj1
= 0 ;
36107 char *kwnames
[] = {
36108 (char *) "self",(char *) "gap", NULL
36111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36114 arg2
= (int) SWIG_AsInt(obj1
);
36115 if (PyErr_Occurred()) SWIG_fail
;
36117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36118 (arg1
)->SetHGap(arg2
);
36120 wxPyEndAllowThreads(__tstate
);
36121 if (PyErr_Occurred()) SWIG_fail
;
36123 Py_INCREF(Py_None
); resultobj
= Py_None
;
36130 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36131 PyObject
*resultobj
;
36132 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36134 PyObject
* obj0
= 0 ;
36135 char *kwnames
[] = {
36136 (char *) "self", NULL
36139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36144 result
= (int)(arg1
)->GetCols();
36146 wxPyEndAllowThreads(__tstate
);
36147 if (PyErr_Occurred()) SWIG_fail
;
36149 resultobj
= SWIG_FromInt((int)result
);
36156 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36157 PyObject
*resultobj
;
36158 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36160 PyObject
* obj0
= 0 ;
36161 char *kwnames
[] = {
36162 (char *) "self", NULL
36165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36170 result
= (int)(arg1
)->GetRows();
36172 wxPyEndAllowThreads(__tstate
);
36173 if (PyErr_Occurred()) SWIG_fail
;
36175 resultobj
= SWIG_FromInt((int)result
);
36182 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36183 PyObject
*resultobj
;
36184 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36186 PyObject
* obj0
= 0 ;
36187 char *kwnames
[] = {
36188 (char *) "self", NULL
36191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36192 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36193 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36196 result
= (int)(arg1
)->GetVGap();
36198 wxPyEndAllowThreads(__tstate
);
36199 if (PyErr_Occurred()) SWIG_fail
;
36201 resultobj
= SWIG_FromInt((int)result
);
36208 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36209 PyObject
*resultobj
;
36210 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36212 PyObject
* obj0
= 0 ;
36213 char *kwnames
[] = {
36214 (char *) "self", NULL
36217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36222 result
= (int)(arg1
)->GetHGap();
36224 wxPyEndAllowThreads(__tstate
);
36225 if (PyErr_Occurred()) SWIG_fail
;
36227 resultobj
= SWIG_FromInt((int)result
);
36234 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36236 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36237 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36239 return Py_BuildValue((char *)"");
36241 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36242 PyObject
*resultobj
;
36243 int arg1
= (int) 1 ;
36244 int arg2
= (int) 0 ;
36245 int arg3
= (int) 0 ;
36246 int arg4
= (int) 0 ;
36247 wxFlexGridSizer
*result
;
36248 PyObject
* obj0
= 0 ;
36249 PyObject
* obj1
= 0 ;
36250 PyObject
* obj2
= 0 ;
36251 PyObject
* obj3
= 0 ;
36252 char *kwnames
[] = {
36253 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36258 arg1
= (int) SWIG_AsInt(obj0
);
36259 if (PyErr_Occurred()) SWIG_fail
;
36262 arg2
= (int) SWIG_AsInt(obj1
);
36263 if (PyErr_Occurred()) SWIG_fail
;
36266 arg3
= (int) SWIG_AsInt(obj2
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36270 arg4
= (int) SWIG_AsInt(obj3
);
36271 if (PyErr_Occurred()) SWIG_fail
;
36274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36275 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36277 wxPyEndAllowThreads(__tstate
);
36278 if (PyErr_Occurred()) SWIG_fail
;
36280 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36287 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36288 PyObject
*resultobj
;
36289 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36291 int arg3
= (int) 0 ;
36292 PyObject
* obj0
= 0 ;
36293 PyObject
* obj1
= 0 ;
36294 PyObject
* obj2
= 0 ;
36295 char *kwnames
[] = {
36296 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36302 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36305 arg3
= (int) SWIG_AsInt(obj2
);
36306 if (PyErr_Occurred()) SWIG_fail
;
36309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36310 (arg1
)->AddGrowableRow(arg2
,arg3
);
36312 wxPyEndAllowThreads(__tstate
);
36313 if (PyErr_Occurred()) SWIG_fail
;
36315 Py_INCREF(Py_None
); resultobj
= Py_None
;
36322 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36323 PyObject
*resultobj
;
36324 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36326 PyObject
* obj0
= 0 ;
36327 PyObject
* obj1
= 0 ;
36328 char *kwnames
[] = {
36329 (char *) "self",(char *) "idx", NULL
36332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36335 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36336 if (PyErr_Occurred()) SWIG_fail
;
36338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36339 (arg1
)->RemoveGrowableRow(arg2
);
36341 wxPyEndAllowThreads(__tstate
);
36342 if (PyErr_Occurred()) SWIG_fail
;
36344 Py_INCREF(Py_None
); resultobj
= Py_None
;
36351 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36352 PyObject
*resultobj
;
36353 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36355 int arg3
= (int) 0 ;
36356 PyObject
* obj0
= 0 ;
36357 PyObject
* obj1
= 0 ;
36358 PyObject
* obj2
= 0 ;
36359 char *kwnames
[] = {
36360 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36367 if (PyErr_Occurred()) SWIG_fail
;
36369 arg3
= (int) SWIG_AsInt(obj2
);
36370 if (PyErr_Occurred()) SWIG_fail
;
36373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36374 (arg1
)->AddGrowableCol(arg2
,arg3
);
36376 wxPyEndAllowThreads(__tstate
);
36377 if (PyErr_Occurred()) SWIG_fail
;
36379 Py_INCREF(Py_None
); resultobj
= Py_None
;
36386 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
;
36388 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36390 PyObject
* obj0
= 0 ;
36391 PyObject
* obj1
= 0 ;
36392 char *kwnames
[] = {
36393 (char *) "self",(char *) "idx", NULL
36396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36399 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36400 if (PyErr_Occurred()) SWIG_fail
;
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 (arg1
)->RemoveGrowableCol(arg2
);
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 Py_INCREF(Py_None
); resultobj
= Py_None
;
36415 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36416 PyObject
*resultobj
;
36417 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36419 PyObject
* obj0
= 0 ;
36420 PyObject
* obj1
= 0 ;
36421 char *kwnames
[] = {
36422 (char *) "self",(char *) "direction", NULL
36425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36428 arg2
= (int) SWIG_AsInt(obj1
);
36429 if (PyErr_Occurred()) SWIG_fail
;
36431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36432 (arg1
)->SetFlexibleDirection(arg2
);
36434 wxPyEndAllowThreads(__tstate
);
36435 if (PyErr_Occurred()) SWIG_fail
;
36437 Py_INCREF(Py_None
); resultobj
= Py_None
;
36444 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36445 PyObject
*resultobj
;
36446 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36448 PyObject
* obj0
= 0 ;
36449 char *kwnames
[] = {
36450 (char *) "self", NULL
36453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36458 result
= (int)(arg1
)->GetFlexibleDirection();
36460 wxPyEndAllowThreads(__tstate
);
36461 if (PyErr_Occurred()) SWIG_fail
;
36463 resultobj
= SWIG_FromInt((int)result
);
36470 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36471 PyObject
*resultobj
;
36472 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36474 PyObject
* obj0
= 0 ;
36475 PyObject
* obj1
= 0 ;
36476 char *kwnames
[] = {
36477 (char *) "self",(char *) "mode", NULL
36480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36483 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36487 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36489 wxPyEndAllowThreads(__tstate
);
36490 if (PyErr_Occurred()) SWIG_fail
;
36492 Py_INCREF(Py_None
); resultobj
= Py_None
;
36499 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36500 PyObject
*resultobj
;
36501 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36503 PyObject
* obj0
= 0 ;
36504 char *kwnames
[] = {
36505 (char *) "self", NULL
36508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36513 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36515 wxPyEndAllowThreads(__tstate
);
36516 if (PyErr_Occurred()) SWIG_fail
;
36518 resultobj
= SWIG_FromInt((int)result
);
36525 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36526 PyObject
*resultobj
;
36527 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36528 wxArrayInt
*result
;
36529 PyObject
* obj0
= 0 ;
36530 char *kwnames
[] = {
36531 (char *) "self", NULL
36534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36540 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36541 result
= (wxArrayInt
*) &_result_ref
;
36544 wxPyEndAllowThreads(__tstate
);
36545 if (PyErr_Occurred()) SWIG_fail
;
36548 resultobj
= PyList_New(0);
36550 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36551 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36552 PyList_Append(resultobj
, val
);
36562 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36563 PyObject
*resultobj
;
36564 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36565 wxArrayInt
*result
;
36566 PyObject
* obj0
= 0 ;
36567 char *kwnames
[] = {
36568 (char *) "self", NULL
36571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36577 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36578 result
= (wxArrayInt
*) &_result_ref
;
36581 wxPyEndAllowThreads(__tstate
);
36582 if (PyErr_Occurred()) SWIG_fail
;
36585 resultobj
= PyList_New(0);
36587 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36588 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36589 PyList_Append(resultobj
, val
);
36599 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36601 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36602 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36604 return Py_BuildValue((char *)"");
36606 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36607 PyObject
*resultobj
;
36608 int arg1
= (int) 0 ;
36609 int arg2
= (int) 0 ;
36610 wxGBPosition
*result
;
36611 PyObject
* obj0
= 0 ;
36612 PyObject
* obj1
= 0 ;
36613 char *kwnames
[] = {
36614 (char *) "row",(char *) "col", NULL
36617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36619 arg1
= (int) SWIG_AsInt(obj0
);
36620 if (PyErr_Occurred()) SWIG_fail
;
36623 arg2
= (int) SWIG_AsInt(obj1
);
36624 if (PyErr_Occurred()) SWIG_fail
;
36627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36628 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36630 wxPyEndAllowThreads(__tstate
);
36631 if (PyErr_Occurred()) SWIG_fail
;
36633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36640 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36641 PyObject
*resultobj
;
36642 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36644 PyObject
* obj0
= 0 ;
36645 char *kwnames
[] = {
36646 (char *) "self", NULL
36649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36654 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36656 wxPyEndAllowThreads(__tstate
);
36657 if (PyErr_Occurred()) SWIG_fail
;
36659 resultobj
= SWIG_FromInt((int)result
);
36666 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36667 PyObject
*resultobj
;
36668 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36670 PyObject
* obj0
= 0 ;
36671 char *kwnames
[] = {
36672 (char *) "self", NULL
36675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36680 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36682 wxPyEndAllowThreads(__tstate
);
36683 if (PyErr_Occurred()) SWIG_fail
;
36685 resultobj
= SWIG_FromInt((int)result
);
36692 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36693 PyObject
*resultobj
;
36694 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36696 PyObject
* obj0
= 0 ;
36697 PyObject
* obj1
= 0 ;
36698 char *kwnames
[] = {
36699 (char *) "self",(char *) "row", NULL
36702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36705 arg2
= (int) SWIG_AsInt(obj1
);
36706 if (PyErr_Occurred()) SWIG_fail
;
36708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36709 (arg1
)->SetRow(arg2
);
36711 wxPyEndAllowThreads(__tstate
);
36712 if (PyErr_Occurred()) SWIG_fail
;
36714 Py_INCREF(Py_None
); resultobj
= Py_None
;
36721 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36722 PyObject
*resultobj
;
36723 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36725 PyObject
* obj0
= 0 ;
36726 PyObject
* obj1
= 0 ;
36727 char *kwnames
[] = {
36728 (char *) "self",(char *) "col", NULL
36731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36734 arg2
= (int) SWIG_AsInt(obj1
);
36735 if (PyErr_Occurred()) SWIG_fail
;
36737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36738 (arg1
)->SetCol(arg2
);
36740 wxPyEndAllowThreads(__tstate
);
36741 if (PyErr_Occurred()) SWIG_fail
;
36743 Py_INCREF(Py_None
); resultobj
= Py_None
;
36750 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36751 PyObject
*resultobj
;
36752 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36753 wxGBPosition
*arg2
= 0 ;
36755 wxGBPosition temp2
;
36756 PyObject
* obj0
= 0 ;
36757 PyObject
* obj1
= 0 ;
36758 char *kwnames
[] = {
36759 (char *) "self",(char *) "other", NULL
36762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36767 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36771 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
36773 wxPyEndAllowThreads(__tstate
);
36774 if (PyErr_Occurred()) SWIG_fail
;
36777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36785 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36786 PyObject
*resultobj
;
36787 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36788 wxGBPosition
*arg2
= 0 ;
36790 wxGBPosition temp2
;
36791 PyObject
* obj0
= 0 ;
36792 PyObject
* obj1
= 0 ;
36793 char *kwnames
[] = {
36794 (char *) "self",(char *) "other", NULL
36797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36802 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36806 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
36808 wxPyEndAllowThreads(__tstate
);
36809 if (PyErr_Occurred()) SWIG_fail
;
36812 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36820 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36821 PyObject
*resultobj
;
36822 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36823 int arg2
= (int) 0 ;
36824 int arg3
= (int) 0 ;
36825 PyObject
* obj0
= 0 ;
36826 PyObject
* obj1
= 0 ;
36827 PyObject
* obj2
= 0 ;
36828 char *kwnames
[] = {
36829 (char *) "self",(char *) "row",(char *) "col", NULL
36832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36836 arg2
= (int) SWIG_AsInt(obj1
);
36837 if (PyErr_Occurred()) SWIG_fail
;
36840 arg3
= (int) SWIG_AsInt(obj2
);
36841 if (PyErr_Occurred()) SWIG_fail
;
36844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36845 wxGBPosition_Set(arg1
,arg2
,arg3
);
36847 wxPyEndAllowThreads(__tstate
);
36848 if (PyErr_Occurred()) SWIG_fail
;
36850 Py_INCREF(Py_None
); resultobj
= Py_None
;
36857 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36858 PyObject
*resultobj
;
36859 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36861 PyObject
* obj0
= 0 ;
36862 char *kwnames
[] = {
36863 (char *) "self", NULL
36866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
36867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36871 result
= (PyObject
*)wxGBPosition_Get(arg1
);
36873 wxPyEndAllowThreads(__tstate
);
36874 if (PyErr_Occurred()) SWIG_fail
;
36876 resultobj
= result
;
36883 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
36885 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36886 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
36888 return Py_BuildValue((char *)"");
36890 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36891 PyObject
*resultobj
;
36892 int arg1
= (int) 1 ;
36893 int arg2
= (int) 1 ;
36895 PyObject
* obj0
= 0 ;
36896 PyObject
* obj1
= 0 ;
36897 char *kwnames
[] = {
36898 (char *) "rowspan",(char *) "colspan", NULL
36901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36903 arg1
= (int) SWIG_AsInt(obj0
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36907 arg2
= (int) SWIG_AsInt(obj1
);
36908 if (PyErr_Occurred()) SWIG_fail
;
36911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36912 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
36914 wxPyEndAllowThreads(__tstate
);
36915 if (PyErr_Occurred()) SWIG_fail
;
36917 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
36924 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36925 PyObject
*resultobj
;
36926 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36928 PyObject
* obj0
= 0 ;
36929 char *kwnames
[] = {
36930 (char *) "self", NULL
36933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
36934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36938 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
36940 wxPyEndAllowThreads(__tstate
);
36941 if (PyErr_Occurred()) SWIG_fail
;
36943 resultobj
= SWIG_FromInt((int)result
);
36950 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36951 PyObject
*resultobj
;
36952 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36954 PyObject
* obj0
= 0 ;
36955 char *kwnames
[] = {
36956 (char *) "self", NULL
36959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
36960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36964 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
36966 wxPyEndAllowThreads(__tstate
);
36967 if (PyErr_Occurred()) SWIG_fail
;
36969 resultobj
= SWIG_FromInt((int)result
);
36976 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36977 PyObject
*resultobj
;
36978 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36980 PyObject
* obj0
= 0 ;
36981 PyObject
* obj1
= 0 ;
36982 char *kwnames
[] = {
36983 (char *) "self",(char *) "rowspan", NULL
36986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36989 arg2
= (int) SWIG_AsInt(obj1
);
36990 if (PyErr_Occurred()) SWIG_fail
;
36992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36993 (arg1
)->SetRowspan(arg2
);
36995 wxPyEndAllowThreads(__tstate
);
36996 if (PyErr_Occurred()) SWIG_fail
;
36998 Py_INCREF(Py_None
); resultobj
= Py_None
;
37005 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37006 PyObject
*resultobj
;
37007 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37009 PyObject
* obj0
= 0 ;
37010 PyObject
* obj1
= 0 ;
37011 char *kwnames
[] = {
37012 (char *) "self",(char *) "colspan", NULL
37015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37018 arg2
= (int) SWIG_AsInt(obj1
);
37019 if (PyErr_Occurred()) SWIG_fail
;
37021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37022 (arg1
)->SetColspan(arg2
);
37024 wxPyEndAllowThreads(__tstate
);
37025 if (PyErr_Occurred()) SWIG_fail
;
37027 Py_INCREF(Py_None
); resultobj
= Py_None
;
37034 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37035 PyObject
*resultobj
;
37036 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37037 wxGBSpan
*arg2
= 0 ;
37040 PyObject
* obj0
= 0 ;
37041 PyObject
* obj1
= 0 ;
37042 char *kwnames
[] = {
37043 (char *) "self",(char *) "other", NULL
37046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37051 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37055 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37057 wxPyEndAllowThreads(__tstate
);
37058 if (PyErr_Occurred()) SWIG_fail
;
37061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37069 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37070 PyObject
*resultobj
;
37071 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37072 wxGBSpan
*arg2
= 0 ;
37075 PyObject
* obj0
= 0 ;
37076 PyObject
* obj1
= 0 ;
37077 char *kwnames
[] = {
37078 (char *) "self",(char *) "other", NULL
37081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37086 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37090 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37092 wxPyEndAllowThreads(__tstate
);
37093 if (PyErr_Occurred()) SWIG_fail
;
37096 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37104 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37105 PyObject
*resultobj
;
37106 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37107 int arg2
= (int) 1 ;
37108 int arg3
= (int) 1 ;
37109 PyObject
* obj0
= 0 ;
37110 PyObject
* obj1
= 0 ;
37111 PyObject
* obj2
= 0 ;
37112 char *kwnames
[] = {
37113 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37120 arg2
= (int) SWIG_AsInt(obj1
);
37121 if (PyErr_Occurred()) SWIG_fail
;
37124 arg3
= (int) SWIG_AsInt(obj2
);
37125 if (PyErr_Occurred()) SWIG_fail
;
37128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37129 wxGBSpan_Set(arg1
,arg2
,arg3
);
37131 wxPyEndAllowThreads(__tstate
);
37132 if (PyErr_Occurred()) SWIG_fail
;
37134 Py_INCREF(Py_None
); resultobj
= Py_None
;
37141 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37142 PyObject
*resultobj
;
37143 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37145 PyObject
* obj0
= 0 ;
37146 char *kwnames
[] = {
37147 (char *) "self", NULL
37150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37155 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37157 wxPyEndAllowThreads(__tstate
);
37158 if (PyErr_Occurred()) SWIG_fail
;
37160 resultobj
= result
;
37167 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37170 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37172 return Py_BuildValue((char *)"");
37174 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37175 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37180 static PyObject
*_wrap_DefaultSpan_get() {
37183 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37188 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37189 PyObject
*resultobj
;
37190 wxGBSizerItem
*result
;
37191 char *kwnames
[] = {
37195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37198 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37200 wxPyEndAllowThreads(__tstate
);
37201 if (PyErr_Occurred()) SWIG_fail
;
37203 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37210 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37211 PyObject
*resultobj
;
37212 wxWindow
*arg1
= (wxWindow
*) 0 ;
37213 wxGBPosition
*arg2
= 0 ;
37214 wxGBSpan
*arg3
= 0 ;
37217 PyObject
*arg6
= (PyObject
*) NULL
;
37218 wxGBSizerItem
*result
;
37219 wxGBPosition temp2
;
37221 PyObject
* obj0
= 0 ;
37222 PyObject
* obj1
= 0 ;
37223 PyObject
* obj2
= 0 ;
37224 PyObject
* obj3
= 0 ;
37225 PyObject
* obj4
= 0 ;
37226 PyObject
* obj5
= 0 ;
37227 char *kwnames
[] = {
37228 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37236 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37240 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37242 arg4
= (int) SWIG_AsInt(obj3
);
37243 if (PyErr_Occurred()) SWIG_fail
;
37244 arg5
= (int) SWIG_AsInt(obj4
);
37245 if (PyErr_Occurred()) SWIG_fail
;
37250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37251 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37253 wxPyEndAllowThreads(__tstate
);
37254 if (PyErr_Occurred()) SWIG_fail
;
37256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37263 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37264 PyObject
*resultobj
;
37265 wxSizer
*arg1
= (wxSizer
*) 0 ;
37266 wxGBPosition
*arg2
= 0 ;
37267 wxGBSpan
*arg3
= 0 ;
37270 PyObject
*arg6
= (PyObject
*) NULL
;
37271 wxGBSizerItem
*result
;
37272 wxGBPosition temp2
;
37274 PyObject
* obj0
= 0 ;
37275 PyObject
* obj1
= 0 ;
37276 PyObject
* obj2
= 0 ;
37277 PyObject
* obj3
= 0 ;
37278 PyObject
* obj4
= 0 ;
37279 PyObject
* obj5
= 0 ;
37280 char *kwnames
[] = {
37281 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37289 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37293 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37295 arg4
= (int) SWIG_AsInt(obj3
);
37296 if (PyErr_Occurred()) SWIG_fail
;
37297 arg5
= (int) SWIG_AsInt(obj4
);
37298 if (PyErr_Occurred()) SWIG_fail
;
37303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37304 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37306 wxPyEndAllowThreads(__tstate
);
37307 if (PyErr_Occurred()) SWIG_fail
;
37309 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37316 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37317 PyObject
*resultobj
;
37320 wxGBPosition
*arg3
= 0 ;
37321 wxGBSpan
*arg4
= 0 ;
37324 PyObject
*arg7
= (PyObject
*) NULL
;
37325 wxGBSizerItem
*result
;
37326 wxGBPosition temp3
;
37328 PyObject
* obj0
= 0 ;
37329 PyObject
* obj1
= 0 ;
37330 PyObject
* obj2
= 0 ;
37331 PyObject
* obj3
= 0 ;
37332 PyObject
* obj4
= 0 ;
37333 PyObject
* obj5
= 0 ;
37334 PyObject
* obj6
= 0 ;
37335 char *kwnames
[] = {
37336 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO|O:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37340 arg1
= (int) SWIG_AsInt(obj0
);
37341 if (PyErr_Occurred()) SWIG_fail
;
37342 arg2
= (int) SWIG_AsInt(obj1
);
37343 if (PyErr_Occurred()) SWIG_fail
;
37346 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37350 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37352 arg5
= (int) SWIG_AsInt(obj4
);
37353 if (PyErr_Occurred()) SWIG_fail
;
37354 arg6
= (int) SWIG_AsInt(obj5
);
37355 if (PyErr_Occurred()) SWIG_fail
;
37360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37361 result
= (wxGBSizerItem
*)new_wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37363 wxPyEndAllowThreads(__tstate
);
37364 if (PyErr_Occurred()) SWIG_fail
;
37366 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37373 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37374 PyObject
*resultobj
;
37375 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37376 wxGBPosition result
;
37377 PyObject
* obj0
= 0 ;
37378 char *kwnames
[] = {
37379 (char *) "self", NULL
37382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37387 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37389 wxPyEndAllowThreads(__tstate
);
37390 if (PyErr_Occurred()) SWIG_fail
;
37393 wxGBPosition
* resultptr
;
37394 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37395 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37403 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37404 PyObject
*resultobj
;
37405 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37407 PyObject
* obj0
= 0 ;
37408 char *kwnames
[] = {
37409 (char *) "self", NULL
37412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37417 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37419 wxPyEndAllowThreads(__tstate
);
37420 if (PyErr_Occurred()) SWIG_fail
;
37423 wxGBSpan
* resultptr
;
37424 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37425 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37433 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37434 PyObject
*resultobj
;
37435 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37436 wxGBPosition
*arg2
= 0 ;
37438 wxGBPosition temp2
;
37439 PyObject
* obj0
= 0 ;
37440 PyObject
* obj1
= 0 ;
37441 char *kwnames
[] = {
37442 (char *) "self",(char *) "pos", NULL
37445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37450 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37454 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37456 wxPyEndAllowThreads(__tstate
);
37457 if (PyErr_Occurred()) SWIG_fail
;
37460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37468 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37469 PyObject
*resultobj
;
37470 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37471 wxGBSpan
*arg2
= 0 ;
37474 PyObject
* obj0
= 0 ;
37475 PyObject
* obj1
= 0 ;
37476 char *kwnames
[] = {
37477 (char *) "self",(char *) "span", NULL
37480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37485 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37489 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37491 wxPyEndAllowThreads(__tstate
);
37492 if (PyErr_Occurred()) SWIG_fail
;
37495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37503 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37504 PyObject
*resultobj
;
37505 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37506 wxGBSizerItem
*arg2
= 0 ;
37508 PyObject
* obj0
= 0 ;
37509 PyObject
* obj1
= 0 ;
37510 char *kwnames
[] = {
37511 (char *) "self",(char *) "other", NULL
37514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
37515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37517 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37518 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37520 if (arg2
== NULL
) {
37521 PyErr_SetString(PyExc_TypeError
,"null reference");
37525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37526 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37528 wxPyEndAllowThreads(__tstate
);
37529 if (PyErr_Occurred()) SWIG_fail
;
37532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37540 static PyObject
*_wrap_GBSizerItem_IntersectsPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37541 PyObject
*resultobj
;
37542 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37543 wxGBPosition
*arg2
= 0 ;
37544 wxGBSpan
*arg3
= 0 ;
37546 wxGBPosition temp2
;
37548 PyObject
* obj0
= 0 ;
37549 PyObject
* obj1
= 0 ;
37550 PyObject
* obj2
= 0 ;
37551 char *kwnames
[] = {
37552 (char *) "self",(char *) "pos",(char *) "span", NULL
37555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_IntersectsPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37560 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37564 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37568 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37570 wxPyEndAllowThreads(__tstate
);
37571 if (PyErr_Occurred()) SWIG_fail
;
37574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37582 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37583 PyObject
*resultobj
;
37584 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37585 wxGBPosition result
;
37586 PyObject
* obj0
= 0 ;
37587 char *kwnames
[] = {
37588 (char *) "self", NULL
37591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetEndPos",kwnames
,&obj0
)) goto fail
;
37592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37596 result
= wxGBSizerItem_GetEndPos(arg1
);
37598 wxPyEndAllowThreads(__tstate
);
37599 if (PyErr_Occurred()) SWIG_fail
;
37602 wxGBPosition
* resultptr
;
37603 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37604 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37612 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37613 PyObject
*resultobj
;
37614 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37615 wxGridBagSizer
*result
;
37616 PyObject
* obj0
= 0 ;
37617 char *kwnames
[] = {
37618 (char *) "self", NULL
37621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37626 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37628 wxPyEndAllowThreads(__tstate
);
37629 if (PyErr_Occurred()) SWIG_fail
;
37631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37638 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37639 PyObject
*resultobj
;
37640 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37641 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37642 PyObject
* obj0
= 0 ;
37643 PyObject
* obj1
= 0 ;
37644 char *kwnames
[] = {
37645 (char *) "self",(char *) "sizer", NULL
37648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37655 (arg1
)->SetGBSizer(arg2
);
37657 wxPyEndAllowThreads(__tstate
);
37658 if (PyErr_Occurred()) SWIG_fail
;
37660 Py_INCREF(Py_None
); resultobj
= Py_None
;
37667 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37669 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37670 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37672 return Py_BuildValue((char *)"");
37674 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37675 PyObject
*resultobj
;
37676 int arg1
= (int) 0 ;
37677 int arg2
= (int) 0 ;
37678 wxGridBagSizer
*result
;
37679 PyObject
* obj0
= 0 ;
37680 PyObject
* obj1
= 0 ;
37681 char *kwnames
[] = {
37682 (char *) "vgap",(char *) "hgap", NULL
37685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37687 arg1
= (int) SWIG_AsInt(obj0
);
37688 if (PyErr_Occurred()) SWIG_fail
;
37691 arg2
= (int) SWIG_AsInt(obj1
);
37692 if (PyErr_Occurred()) SWIG_fail
;
37695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37696 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
37698 wxPyEndAllowThreads(__tstate
);
37699 if (PyErr_Occurred()) SWIG_fail
;
37701 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
37708 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37709 PyObject
*resultobj
;
37710 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37711 PyObject
*arg2
= (PyObject
*) 0 ;
37712 wxGBPosition
*arg3
= 0 ;
37713 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
37714 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
37715 int arg5
= (int) 0 ;
37716 int arg6
= (int) 0 ;
37717 PyObject
*arg7
= (PyObject
*) NULL
;
37719 wxGBPosition temp3
;
37721 PyObject
* obj0
= 0 ;
37722 PyObject
* obj1
= 0 ;
37723 PyObject
* obj2
= 0 ;
37724 PyObject
* obj3
= 0 ;
37725 PyObject
* obj4
= 0 ;
37726 PyObject
* obj5
= 0 ;
37727 PyObject
* obj6
= 0 ;
37728 char *kwnames
[] = {
37729 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37738 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37743 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37747 arg5
= (int) SWIG_AsInt(obj4
);
37748 if (PyErr_Occurred()) SWIG_fail
;
37751 arg6
= (int) SWIG_AsInt(obj5
);
37752 if (PyErr_Occurred()) SWIG_fail
;
37758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37759 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37761 wxPyEndAllowThreads(__tstate
);
37762 if (PyErr_Occurred()) SWIG_fail
;
37765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37773 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37774 PyObject
*resultobj
;
37775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37776 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 char *kwnames
[] = {
37781 (char *) "self",(char *) "item", NULL
37784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
37785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37791 result
= (bool)(arg1
)->Add(arg2
);
37793 wxPyEndAllowThreads(__tstate
);
37794 if (PyErr_Occurred()) SWIG_fail
;
37797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37805 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37806 PyObject
*resultobj
;
37807 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37809 PyObject
* obj0
= 0 ;
37810 char *kwnames
[] = {
37811 (char *) "self", NULL
37814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
37815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37819 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
37821 wxPyEndAllowThreads(__tstate
);
37822 if (PyErr_Occurred()) SWIG_fail
;
37825 wxSize
* resultptr
;
37826 resultptr
= new wxSize((wxSize
&) result
);
37827 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37835 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37836 PyObject
*resultobj
;
37837 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37840 PyObject
* obj0
= 0 ;
37841 PyObject
* obj1
= 0 ;
37842 char *kwnames
[] = {
37843 (char *) "self",(char *) "sz", NULL
37846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
37847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37851 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
37854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37855 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
37857 wxPyEndAllowThreads(__tstate
);
37858 if (PyErr_Occurred()) SWIG_fail
;
37860 Py_INCREF(Py_None
); resultobj
= Py_None
;
37867 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37868 PyObject
*resultobj
;
37869 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37870 wxWindow
*arg2
= (wxWindow
*) 0 ;
37871 wxGBPosition result
;
37872 PyObject
* obj0
= 0 ;
37873 PyObject
* obj1
= 0 ;
37875 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37878 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37882 result
= (arg1
)->GetItemPosition(arg2
);
37884 wxPyEndAllowThreads(__tstate
);
37885 if (PyErr_Occurred()) SWIG_fail
;
37888 wxGBPosition
* resultptr
;
37889 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37890 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37898 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37899 PyObject
*resultobj
;
37900 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37901 wxSizer
*arg2
= (wxSizer
*) 0 ;
37902 wxGBPosition result
;
37903 PyObject
* obj0
= 0 ;
37904 PyObject
* obj1
= 0 ;
37906 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37909 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37913 result
= (arg1
)->GetItemPosition(arg2
);
37915 wxPyEndAllowThreads(__tstate
);
37916 if (PyErr_Occurred()) SWIG_fail
;
37919 wxGBPosition
* resultptr
;
37920 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37921 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37929 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37930 PyObject
*resultobj
;
37931 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37933 wxGBPosition result
;
37934 PyObject
* obj0
= 0 ;
37935 PyObject
* obj1
= 0 ;
37937 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
37938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37940 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37941 if (PyErr_Occurred()) SWIG_fail
;
37943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37944 result
= (arg1
)->GetItemPosition(arg2
);
37946 wxPyEndAllowThreads(__tstate
);
37947 if (PyErr_Occurred()) SWIG_fail
;
37950 wxGBPosition
* resultptr
;
37951 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37952 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37960 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37965 argc
= PyObject_Length(args
);
37966 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37967 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37973 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37983 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37991 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37999 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38009 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38017 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38025 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38033 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38035 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38040 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38045 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38046 PyObject
*resultobj
;
38047 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38048 wxWindow
*arg2
= (wxWindow
*) 0 ;
38049 wxGBPosition
*arg3
= 0 ;
38051 wxGBPosition temp3
;
38052 PyObject
* obj0
= 0 ;
38053 PyObject
* obj1
= 0 ;
38054 PyObject
* obj2
= 0 ;
38056 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38059 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38063 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38067 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38069 wxPyEndAllowThreads(__tstate
);
38070 if (PyErr_Occurred()) SWIG_fail
;
38073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38081 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38082 PyObject
*resultobj
;
38083 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38084 wxSizer
*arg2
= (wxSizer
*) 0 ;
38085 wxGBPosition
*arg3
= 0 ;
38087 wxGBPosition temp3
;
38088 PyObject
* obj0
= 0 ;
38089 PyObject
* obj1
= 0 ;
38090 PyObject
* obj2
= 0 ;
38092 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38095 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38099 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38103 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38105 wxPyEndAllowThreads(__tstate
);
38106 if (PyErr_Occurred()) SWIG_fail
;
38109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38117 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38118 PyObject
*resultobj
;
38119 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38121 wxGBPosition
*arg3
= 0 ;
38123 wxGBPosition temp3
;
38124 PyObject
* obj0
= 0 ;
38125 PyObject
* obj1
= 0 ;
38126 PyObject
* obj2
= 0 ;
38128 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38131 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38132 if (PyErr_Occurred()) SWIG_fail
;
38135 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38139 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38141 wxPyEndAllowThreads(__tstate
);
38142 if (PyErr_Occurred()) SWIG_fail
;
38145 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38153 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38158 argc
= PyObject_Length(args
);
38159 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38160 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38166 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38176 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38185 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38188 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38197 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38207 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38216 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38219 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38228 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38236 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38239 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38242 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38248 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38253 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38254 PyObject
*resultobj
;
38255 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38256 wxWindow
*arg2
= (wxWindow
*) 0 ;
38258 PyObject
* obj0
= 0 ;
38259 PyObject
* obj1
= 0 ;
38261 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38264 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38268 result
= (arg1
)->GetItemSpan(arg2
);
38270 wxPyEndAllowThreads(__tstate
);
38271 if (PyErr_Occurred()) SWIG_fail
;
38274 wxGBSpan
* resultptr
;
38275 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38276 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38284 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38285 PyObject
*resultobj
;
38286 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38287 wxSizer
*arg2
= (wxSizer
*) 0 ;
38289 PyObject
* obj0
= 0 ;
38290 PyObject
* obj1
= 0 ;
38292 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38295 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 result
= (arg1
)->GetItemSpan(arg2
);
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38305 wxGBSpan
* resultptr
;
38306 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38307 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38315 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38316 PyObject
*resultobj
;
38317 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38320 PyObject
* obj0
= 0 ;
38321 PyObject
* obj1
= 0 ;
38323 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38326 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38327 if (PyErr_Occurred()) SWIG_fail
;
38329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38330 result
= (arg1
)->GetItemSpan(arg2
);
38332 wxPyEndAllowThreads(__tstate
);
38333 if (PyErr_Occurred()) SWIG_fail
;
38336 wxGBSpan
* resultptr
;
38337 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38346 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38351 argc
= PyObject_Length(args
);
38352 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38353 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38359 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38369 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38377 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38385 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38395 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38403 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38411 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38419 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38421 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38426 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38431 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38432 PyObject
*resultobj
;
38433 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38434 wxWindow
*arg2
= (wxWindow
*) 0 ;
38435 wxGBSpan
*arg3
= 0 ;
38438 PyObject
* obj0
= 0 ;
38439 PyObject
* obj1
= 0 ;
38440 PyObject
* obj2
= 0 ;
38442 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38449 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38453 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38455 wxPyEndAllowThreads(__tstate
);
38456 if (PyErr_Occurred()) SWIG_fail
;
38459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38467 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38468 PyObject
*resultobj
;
38469 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38470 wxSizer
*arg2
= (wxSizer
*) 0 ;
38471 wxGBSpan
*arg3
= 0 ;
38474 PyObject
* obj0
= 0 ;
38475 PyObject
* obj1
= 0 ;
38476 PyObject
* obj2
= 0 ;
38478 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38481 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38485 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38489 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38491 wxPyEndAllowThreads(__tstate
);
38492 if (PyErr_Occurred()) SWIG_fail
;
38495 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38503 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38504 PyObject
*resultobj
;
38505 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38507 wxGBSpan
*arg3
= 0 ;
38510 PyObject
* obj0
= 0 ;
38511 PyObject
* obj1
= 0 ;
38512 PyObject
* obj2
= 0 ;
38514 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38517 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38518 if (PyErr_Occurred()) SWIG_fail
;
38521 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38525 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38527 wxPyEndAllowThreads(__tstate
);
38528 if (PyErr_Occurred()) SWIG_fail
;
38531 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38539 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38544 argc
= PyObject_Length(args
);
38545 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38546 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38552 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38562 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38571 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38574 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38583 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38593 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38602 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38605 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38614 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38622 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38625 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38628 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38634 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38639 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38640 PyObject
*resultobj
;
38641 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38642 wxWindow
*arg2
= (wxWindow
*) 0 ;
38643 wxGBSizerItem
*result
;
38644 PyObject
* obj0
= 0 ;
38645 PyObject
* obj1
= 0 ;
38647 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38654 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38656 wxPyEndAllowThreads(__tstate
);
38657 if (PyErr_Occurred()) SWIG_fail
;
38659 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38666 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38667 PyObject
*resultobj
;
38668 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38669 wxSizer
*arg2
= (wxSizer
*) 0 ;
38670 wxGBSizerItem
*result
;
38671 PyObject
* obj0
= 0 ;
38672 PyObject
* obj1
= 0 ;
38674 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38677 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38681 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38683 wxPyEndAllowThreads(__tstate
);
38684 if (PyErr_Occurred()) SWIG_fail
;
38686 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38693 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
38698 argc
= PyObject_Length(args
);
38699 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38700 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38706 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38716 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38724 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
38732 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38742 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38750 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
38755 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
38760 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38761 PyObject
*resultobj
;
38762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38763 wxGBPosition
*arg2
= 0 ;
38764 wxGBSizerItem
*result
;
38765 wxGBPosition temp2
;
38766 PyObject
* obj0
= 0 ;
38767 PyObject
* obj1
= 0 ;
38768 char *kwnames
[] = {
38769 (char *) "self",(char *) "pos", NULL
38772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
38773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38777 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38781 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
38783 wxPyEndAllowThreads(__tstate
);
38784 if (PyErr_Occurred()) SWIG_fail
;
38786 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38793 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38794 PyObject
*resultobj
;
38795 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38796 wxPoint
*arg2
= 0 ;
38797 wxGBSizerItem
*result
;
38799 PyObject
* obj0
= 0 ;
38800 PyObject
* obj1
= 0 ;
38801 char *kwnames
[] = {
38802 (char *) "self",(char *) "pt", NULL
38805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
38806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38810 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
38813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38814 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
38816 wxPyEndAllowThreads(__tstate
);
38817 if (PyErr_Occurred()) SWIG_fail
;
38819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38826 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38827 PyObject
*resultobj
;
38828 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38829 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38830 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
38832 PyObject
* obj0
= 0 ;
38833 PyObject
* obj1
= 0 ;
38834 PyObject
* obj2
= 0 ;
38835 char *kwnames
[] = {
38836 (char *) "self",(char *) "item",(char *) "excludeItem", NULL
38839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:GridBagSizer_CheckForIntersection",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38842 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38845 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
38846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38850 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
38852 wxPyEndAllowThreads(__tstate
);
38853 if (PyErr_Occurred()) SWIG_fail
;
38856 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38864 static PyObject
*_wrap_GridBagSizer_CheckForIntersectionPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38865 PyObject
*resultobj
;
38866 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38867 wxGBPosition
*arg2
= 0 ;
38868 wxGBSpan
*arg3
= 0 ;
38869 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
38871 wxGBPosition temp2
;
38873 PyObject
* obj0
= 0 ;
38874 PyObject
* obj1
= 0 ;
38875 PyObject
* obj2
= 0 ;
38876 PyObject
* obj3
= 0 ;
38877 char *kwnames
[] = {
38878 (char *) "self",(char *) "pos",(char *) "span",(char *) "excludeItem", NULL
38881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:GridBagSizer_CheckForIntersectionPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38886 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38890 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38893 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38898 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38900 wxPyEndAllowThreads(__tstate
);
38901 if (PyErr_Occurred()) SWIG_fail
;
38904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38912 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38915 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38917 return Py_BuildValue((char *)"");
38919 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38920 PyObject
*resultobj
;
38921 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38923 wxWindow
*arg3
= (wxWindow
*) 0 ;
38925 int arg5
= (int) 0 ;
38926 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38927 PyObject
* obj0
= 0 ;
38928 PyObject
* obj1
= 0 ;
38929 PyObject
* obj2
= 0 ;
38930 PyObject
* obj3
= 0 ;
38931 PyObject
* obj4
= 0 ;
38932 PyObject
* obj5
= 0 ;
38933 char *kwnames
[] = {
38934 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38940 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38941 if (PyErr_Occurred()) SWIG_fail
;
38942 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38944 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38945 if (PyErr_Occurred()) SWIG_fail
;
38947 arg5
= (int) SWIG_AsInt(obj4
);
38948 if (PyErr_Occurred()) SWIG_fail
;
38951 arg6
= (int) SWIG_AsInt(obj5
);
38952 if (PyErr_Occurred()) SWIG_fail
;
38955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38956 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38958 wxPyEndAllowThreads(__tstate
);
38959 if (PyErr_Occurred()) SWIG_fail
;
38961 Py_INCREF(Py_None
); resultobj
= Py_None
;
38968 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38969 PyObject
*resultobj
;
38970 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38971 wxWindow
*arg2
= (wxWindow
*) 0 ;
38972 int arg3
= (int) 0 ;
38973 PyObject
* obj0
= 0 ;
38974 PyObject
* obj1
= 0 ;
38975 PyObject
* obj2
= 0 ;
38976 char *kwnames
[] = {
38977 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38986 arg3
= (int) SWIG_AsInt(obj2
);
38987 if (PyErr_Occurred()) SWIG_fail
;
38990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38991 (arg1
)->LeftOf(arg2
,arg3
);
38993 wxPyEndAllowThreads(__tstate
);
38994 if (PyErr_Occurred()) SWIG_fail
;
38996 Py_INCREF(Py_None
); resultobj
= Py_None
;
39003 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39004 PyObject
*resultobj
;
39005 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39006 wxWindow
*arg2
= (wxWindow
*) 0 ;
39007 int arg3
= (int) 0 ;
39008 PyObject
* obj0
= 0 ;
39009 PyObject
* obj1
= 0 ;
39010 PyObject
* obj2
= 0 ;
39011 char *kwnames
[] = {
39012 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39018 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39021 arg3
= (int) SWIG_AsInt(obj2
);
39022 if (PyErr_Occurred()) SWIG_fail
;
39025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39026 (arg1
)->RightOf(arg2
,arg3
);
39028 wxPyEndAllowThreads(__tstate
);
39029 if (PyErr_Occurred()) SWIG_fail
;
39031 Py_INCREF(Py_None
); resultobj
= Py_None
;
39038 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39039 PyObject
*resultobj
;
39040 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39041 wxWindow
*arg2
= (wxWindow
*) 0 ;
39042 int arg3
= (int) 0 ;
39043 PyObject
* obj0
= 0 ;
39044 PyObject
* obj1
= 0 ;
39045 PyObject
* obj2
= 0 ;
39046 char *kwnames
[] = {
39047 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39053 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39056 arg3
= (int) SWIG_AsInt(obj2
);
39057 if (PyErr_Occurred()) SWIG_fail
;
39060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39061 (arg1
)->Above(arg2
,arg3
);
39063 wxPyEndAllowThreads(__tstate
);
39064 if (PyErr_Occurred()) SWIG_fail
;
39066 Py_INCREF(Py_None
); resultobj
= Py_None
;
39073 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39074 PyObject
*resultobj
;
39075 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39076 wxWindow
*arg2
= (wxWindow
*) 0 ;
39077 int arg3
= (int) 0 ;
39078 PyObject
* obj0
= 0 ;
39079 PyObject
* obj1
= 0 ;
39080 PyObject
* obj2
= 0 ;
39081 char *kwnames
[] = {
39082 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39088 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39091 arg3
= (int) SWIG_AsInt(obj2
);
39092 if (PyErr_Occurred()) SWIG_fail
;
39095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39096 (arg1
)->Below(arg2
,arg3
);
39098 wxPyEndAllowThreads(__tstate
);
39099 if (PyErr_Occurred()) SWIG_fail
;
39101 Py_INCREF(Py_None
); resultobj
= Py_None
;
39108 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39109 PyObject
*resultobj
;
39110 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39111 wxWindow
*arg2
= (wxWindow
*) 0 ;
39113 int arg4
= (int) 0 ;
39114 PyObject
* obj0
= 0 ;
39115 PyObject
* obj1
= 0 ;
39116 PyObject
* obj2
= 0 ;
39117 PyObject
* obj3
= 0 ;
39118 char *kwnames
[] = {
39119 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39125 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39127 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39128 if (PyErr_Occurred()) SWIG_fail
;
39130 arg4
= (int) SWIG_AsInt(obj3
);
39131 if (PyErr_Occurred()) SWIG_fail
;
39134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39135 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39137 wxPyEndAllowThreads(__tstate
);
39138 if (PyErr_Occurred()) SWIG_fail
;
39140 Py_INCREF(Py_None
); resultobj
= Py_None
;
39147 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39148 PyObject
*resultobj
;
39149 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39150 wxWindow
*arg2
= (wxWindow
*) 0 ;
39153 PyObject
* obj0
= 0 ;
39154 PyObject
* obj1
= 0 ;
39155 PyObject
* obj2
= 0 ;
39156 PyObject
* obj3
= 0 ;
39157 char *kwnames
[] = {
39158 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39164 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39166 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39167 if (PyErr_Occurred()) SWIG_fail
;
39168 arg4
= (int) SWIG_AsInt(obj3
);
39169 if (PyErr_Occurred()) SWIG_fail
;
39171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39172 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39174 wxPyEndAllowThreads(__tstate
);
39175 if (PyErr_Occurred()) SWIG_fail
;
39177 Py_INCREF(Py_None
); resultobj
= Py_None
;
39184 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39185 PyObject
*resultobj
;
39186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39188 PyObject
* obj0
= 0 ;
39189 PyObject
* obj1
= 0 ;
39190 char *kwnames
[] = {
39191 (char *) "self",(char *) "val", NULL
39194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39197 arg2
= (int) SWIG_AsInt(obj1
);
39198 if (PyErr_Occurred()) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 (arg1
)->Absolute(arg2
);
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39206 Py_INCREF(Py_None
); resultobj
= Py_None
;
39213 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39214 PyObject
*resultobj
;
39215 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39216 PyObject
* obj0
= 0 ;
39217 char *kwnames
[] = {
39218 (char *) "self", NULL
39221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39226 (arg1
)->Unconstrained();
39228 wxPyEndAllowThreads(__tstate
);
39229 if (PyErr_Occurred()) SWIG_fail
;
39231 Py_INCREF(Py_None
); resultobj
= Py_None
;
39238 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39239 PyObject
*resultobj
;
39240 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39241 PyObject
* obj0
= 0 ;
39242 char *kwnames
[] = {
39243 (char *) "self", NULL
39246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39253 wxPyEndAllowThreads(__tstate
);
39254 if (PyErr_Occurred()) SWIG_fail
;
39256 Py_INCREF(Py_None
); resultobj
= Py_None
;
39263 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39264 PyObject
*resultobj
;
39265 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39267 PyObject
* obj0
= 0 ;
39268 char *kwnames
[] = {
39269 (char *) "self", NULL
39272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39273 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39274 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39277 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39279 wxPyEndAllowThreads(__tstate
);
39280 if (PyErr_Occurred()) SWIG_fail
;
39283 resultobj
= wxPyMake_wxObject(result
, 0);
39291 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39292 PyObject
*resultobj
;
39293 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39295 PyObject
* obj0
= 0 ;
39296 char *kwnames
[] = {
39297 (char *) "self", NULL
39300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39305 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39307 wxPyEndAllowThreads(__tstate
);
39308 if (PyErr_Occurred()) SWIG_fail
;
39310 resultobj
= SWIG_FromInt((int)result
);
39317 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39318 PyObject
*resultobj
;
39319 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39321 PyObject
* obj0
= 0 ;
39322 PyObject
* obj1
= 0 ;
39323 char *kwnames
[] = {
39324 (char *) "self",(char *) "which", NULL
39327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39330 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39331 if (PyErr_Occurred()) SWIG_fail
;
39333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39334 (arg1
)->SetEdge((wxEdge
)arg2
);
39336 wxPyEndAllowThreads(__tstate
);
39337 if (PyErr_Occurred()) SWIG_fail
;
39339 Py_INCREF(Py_None
); resultobj
= Py_None
;
39346 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39347 PyObject
*resultobj
;
39348 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39350 PyObject
* obj0
= 0 ;
39351 PyObject
* obj1
= 0 ;
39352 char *kwnames
[] = {
39353 (char *) "self",(char *) "v", NULL
39356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39359 arg2
= (int) SWIG_AsInt(obj1
);
39360 if (PyErr_Occurred()) SWIG_fail
;
39362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39363 (arg1
)->SetValue(arg2
);
39365 wxPyEndAllowThreads(__tstate
);
39366 if (PyErr_Occurred()) SWIG_fail
;
39368 Py_INCREF(Py_None
); resultobj
= Py_None
;
39375 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39376 PyObject
*resultobj
;
39377 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39379 PyObject
* obj0
= 0 ;
39380 char *kwnames
[] = {
39381 (char *) "self", NULL
39384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39389 result
= (int)(arg1
)->GetMargin();
39391 wxPyEndAllowThreads(__tstate
);
39392 if (PyErr_Occurred()) SWIG_fail
;
39394 resultobj
= SWIG_FromInt((int)result
);
39401 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39402 PyObject
*resultobj
;
39403 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39405 PyObject
* obj0
= 0 ;
39406 PyObject
* obj1
= 0 ;
39407 char *kwnames
[] = {
39408 (char *) "self",(char *) "m", NULL
39411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39414 arg2
= (int) SWIG_AsInt(obj1
);
39415 if (PyErr_Occurred()) SWIG_fail
;
39417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39418 (arg1
)->SetMargin(arg2
);
39420 wxPyEndAllowThreads(__tstate
);
39421 if (PyErr_Occurred()) SWIG_fail
;
39423 Py_INCREF(Py_None
); resultobj
= Py_None
;
39430 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39431 PyObject
*resultobj
;
39432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39434 PyObject
* obj0
= 0 ;
39435 char *kwnames
[] = {
39436 (char *) "self", NULL
39439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39444 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39446 wxPyEndAllowThreads(__tstate
);
39447 if (PyErr_Occurred()) SWIG_fail
;
39449 resultobj
= SWIG_FromInt((int)result
);
39456 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39457 PyObject
*resultobj
;
39458 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39460 PyObject
* obj0
= 0 ;
39461 char *kwnames
[] = {
39462 (char *) "self", NULL
39465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39475 resultobj
= SWIG_FromInt((int)result
);
39482 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39483 PyObject
*resultobj
;
39484 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39486 PyObject
* obj0
= 0 ;
39487 char *kwnames
[] = {
39488 (char *) "self", NULL
39491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39496 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39498 wxPyEndAllowThreads(__tstate
);
39499 if (PyErr_Occurred()) SWIG_fail
;
39501 resultobj
= SWIG_FromInt((int)result
);
39508 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39509 PyObject
*resultobj
;
39510 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39512 PyObject
* obj0
= 0 ;
39513 char *kwnames
[] = {
39514 (char *) "self", NULL
39517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39522 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
39524 wxPyEndAllowThreads(__tstate
);
39525 if (PyErr_Occurred()) SWIG_fail
;
39528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39536 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39537 PyObject
*resultobj
;
39538 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39540 PyObject
* obj0
= 0 ;
39541 PyObject
* obj1
= 0 ;
39542 char *kwnames
[] = {
39543 (char *) "self",(char *) "d", NULL
39546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
39547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39549 arg2
= (bool) SWIG_AsBool(obj1
);
39550 if (PyErr_Occurred()) SWIG_fail
;
39552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39553 (arg1
)->SetDone(arg2
);
39555 wxPyEndAllowThreads(__tstate
);
39556 if (PyErr_Occurred()) SWIG_fail
;
39558 Py_INCREF(Py_None
); resultobj
= Py_None
;
39565 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39566 PyObject
*resultobj
;
39567 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39569 PyObject
* obj0
= 0 ;
39570 char *kwnames
[] = {
39571 (char *) "self", NULL
39574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
39575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39579 result
= (int)(arg1
)->GetRelationship();
39581 wxPyEndAllowThreads(__tstate
);
39582 if (PyErr_Occurred()) SWIG_fail
;
39584 resultobj
= SWIG_FromInt((int)result
);
39591 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39592 PyObject
*resultobj
;
39593 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39595 PyObject
* obj0
= 0 ;
39596 PyObject
* obj1
= 0 ;
39597 char *kwnames
[] = {
39598 (char *) "self",(char *) "r", NULL
39601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
39602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39604 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39605 if (PyErr_Occurred()) SWIG_fail
;
39607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39608 (arg1
)->SetRelationship((wxRelationship
)arg2
);
39610 wxPyEndAllowThreads(__tstate
);
39611 if (PyErr_Occurred()) SWIG_fail
;
39613 Py_INCREF(Py_None
); resultobj
= Py_None
;
39620 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39621 PyObject
*resultobj
;
39622 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39623 wxWindow
*arg2
= (wxWindow
*) 0 ;
39625 PyObject
* obj0
= 0 ;
39626 PyObject
* obj1
= 0 ;
39627 char *kwnames
[] = {
39628 (char *) "self",(char *) "otherW", NULL
39631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
39632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39638 result
= (bool)(arg1
)->ResetIfWin(arg2
);
39640 wxPyEndAllowThreads(__tstate
);
39641 if (PyErr_Occurred()) SWIG_fail
;
39644 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39652 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39653 PyObject
*resultobj
;
39654 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39655 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
39656 wxWindow
*arg3
= (wxWindow
*) 0 ;
39658 PyObject
* obj0
= 0 ;
39659 PyObject
* obj1
= 0 ;
39660 PyObject
* obj2
= 0 ;
39661 char *kwnames
[] = {
39662 (char *) "self",(char *) "constraints",(char *) "win", NULL
39665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39668 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
39669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39670 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39674 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
39676 wxPyEndAllowThreads(__tstate
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39688 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39689 PyObject
*resultobj
;
39690 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39692 wxWindow
*arg3
= (wxWindow
*) 0 ;
39693 wxWindow
*arg4
= (wxWindow
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 PyObject
* obj1
= 0 ;
39697 PyObject
* obj2
= 0 ;
39698 PyObject
* obj3
= 0 ;
39699 char *kwnames
[] = {
39700 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
39703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39706 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39707 if (PyErr_Occurred()) SWIG_fail
;
39708 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39709 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39710 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
39711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39714 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
39716 wxPyEndAllowThreads(__tstate
);
39717 if (PyErr_Occurred()) SWIG_fail
;
39719 resultobj
= SWIG_FromInt((int)result
);
39726 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
39728 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39729 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
39731 return Py_BuildValue((char *)"");
39733 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39734 PyObject
*resultobj
;
39735 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39736 wxIndividualLayoutConstraint
*result
;
39737 PyObject
* obj0
= 0 ;
39738 char *kwnames
[] = {
39739 (char *) "self", NULL
39742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
39743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39745 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
39747 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39754 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39755 PyObject
*resultobj
;
39756 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39757 wxIndividualLayoutConstraint
*result
;
39758 PyObject
* obj0
= 0 ;
39759 char *kwnames
[] = {
39760 (char *) "self", NULL
39763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
39764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39766 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
39768 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39775 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39776 PyObject
*resultobj
;
39777 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39778 wxIndividualLayoutConstraint
*result
;
39779 PyObject
* obj0
= 0 ;
39780 char *kwnames
[] = {
39781 (char *) "self", NULL
39784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
39785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39787 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
39789 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39796 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39797 PyObject
*resultobj
;
39798 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39799 wxIndividualLayoutConstraint
*result
;
39800 PyObject
* obj0
= 0 ;
39801 char *kwnames
[] = {
39802 (char *) "self", NULL
39805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39806 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39807 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39808 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39810 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39817 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39818 PyObject
*resultobj
;
39819 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39820 wxIndividualLayoutConstraint
*result
;
39821 PyObject
* obj0
= 0 ;
39822 char *kwnames
[] = {
39823 (char *) "self", NULL
39826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39829 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39838 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39839 PyObject
*resultobj
;
39840 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39841 wxIndividualLayoutConstraint
*result
;
39842 PyObject
* obj0
= 0 ;
39843 char *kwnames
[] = {
39844 (char *) "self", NULL
39847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39850 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39852 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39859 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39860 PyObject
*resultobj
;
39861 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39862 wxIndividualLayoutConstraint
*result
;
39863 PyObject
* obj0
= 0 ;
39864 char *kwnames
[] = {
39865 (char *) "self", NULL
39868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39871 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39873 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39880 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39883 wxIndividualLayoutConstraint
*result
;
39884 PyObject
* obj0
= 0 ;
39885 char *kwnames
[] = {
39886 (char *) "self", NULL
39889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39892 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39894 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39901 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39902 PyObject
*resultobj
;
39903 wxLayoutConstraints
*result
;
39904 char *kwnames
[] = {
39908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39911 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39913 wxPyEndAllowThreads(__tstate
);
39914 if (PyErr_Occurred()) SWIG_fail
;
39916 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39923 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39924 PyObject
*resultobj
;
39925 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39926 wxWindow
*arg2
= (wxWindow
*) 0 ;
39927 int *arg3
= (int *) 0 ;
39930 PyObject
* obj0
= 0 ;
39931 PyObject
* obj1
= 0 ;
39932 char *kwnames
[] = {
39933 (char *) "self",(char *) "win", NULL
39937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39944 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39946 wxPyEndAllowThreads(__tstate
);
39947 if (PyErr_Occurred()) SWIG_fail
;
39950 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39953 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39954 resultobj
= t_output_helper(resultobj
,o
);
39962 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39963 PyObject
*resultobj
;
39964 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39966 PyObject
* obj0
= 0 ;
39967 char *kwnames
[] = {
39968 (char *) "self", NULL
39971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39976 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39978 wxPyEndAllowThreads(__tstate
);
39979 if (PyErr_Occurred()) SWIG_fail
;
39982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39990 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39992 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39993 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39995 return Py_BuildValue((char *)"");
39997 static PyMethodDef SwigMethods
[] = {
39998 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39999 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40000 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40003 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40016 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40024 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40037 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40052 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40054 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40068 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40071 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40103 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40126 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40131 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40149 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40151 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40153 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40159 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40160 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40172 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40183 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40188 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40194 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40196 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40203 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40204 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40214 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40218 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40220 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40221 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"Image_GetSize", (PyCFunction
) _wrap_Image_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40256 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40285 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40288 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40289 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40291 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40293 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40294 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40295 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40297 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40299 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40301 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40303 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40305 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40307 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40309 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40311 { (char *)"Quantize_Quantize", (PyCFunction
) _wrap_Quantize_Quantize
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"Quantize_swigregister", Quantize_swigregister
, METH_VARARGS
},
40313 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40325 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40327 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40335 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40345 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40348 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40351 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40354 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40358 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40363 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40364 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40365 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40366 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40367 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40368 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40374 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40375 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40380 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"MouseEvent_CmdDown", (PyCFunction
) _wrap_MouseEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40402 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40414 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40415 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40416 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40417 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40418 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40419 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40420 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40421 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40422 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40423 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40424 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40425 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40426 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40427 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40428 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40429 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40430 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40431 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40432 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40433 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40434 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40435 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40436 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40437 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40438 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40439 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40440 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40441 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40442 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40443 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40444 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40445 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40446 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40447 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40448 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40449 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40450 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40451 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40452 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40453 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40454 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40455 { (char *)"KeyEvent_CmdDown", (PyCFunction
) _wrap_KeyEvent_CmdDown
, METH_VARARGS
| METH_KEYWORDS
},
40456 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40457 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40458 { (char *)"KeyEvent_GetUnicodeKey", (PyCFunction
) _wrap_KeyEvent_GetUnicodeKey
, METH_VARARGS
| METH_KEYWORDS
},
40459 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40460 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40461 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40462 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40463 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40464 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40465 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40466 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40467 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40468 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40469 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40470 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40471 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40472 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40473 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40474 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40475 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40476 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40477 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40478 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40479 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40482 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40486 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40496 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40503 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40506 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40508 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40510 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40513 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40516 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40517 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40520 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40523 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
40525 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
40530 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40531 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
40538 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
40542 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
40545 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
40547 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
40551 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
40568 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
40570 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
40573 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
40575 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
40579 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
40582 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
40583 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"NavigationKeyEvent_SetFlags", (PyCFunction
) _wrap_NavigationKeyEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
40592 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
40595 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
40598 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
40602 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
40609 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40610 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
40614 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
40619 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
40628 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40630 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
40638 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
40639 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40651 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
40662 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
40663 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
40667 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
40673 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
40678 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
40682 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
40683 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
40692 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
40693 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40697 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Window_SetBestFittingSize", (PyCFunction
) _wrap_Window_SetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Window_InvalidateBestSize", (PyCFunction
) _wrap_Window_InvalidateBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Window_GetBestFittingSize", (PyCFunction
) _wrap_Window_GetBestFittingSize
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Window_SetSizeHintsSz", (PyCFunction
) _wrap_Window_SetSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Window_SetVirtualSizeHintsSz", (PyCFunction
) _wrap_Window_SetVirtualSizeHintsSz
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Window_SetMinSize", (PyCFunction
) _wrap_Window_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Window_SetMaxSize", (PyCFunction
) _wrap_Window_SetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40767 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
40770 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
40772 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40774 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
40776 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
40778 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
40780 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40782 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"Window_Navigate", (PyCFunction
) _wrap_Window_Navigate
, METH_VARARGS
| METH_KEYWORDS
},
40784 { (char *)"Window_MoveAfterInTabOrder", (PyCFunction
) _wrap_Window_MoveAfterInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"Window_MoveBeforeInTabOrder", (PyCFunction
) _wrap_Window_MoveBeforeInTabOrder
, METH_VARARGS
| METH_KEYWORDS
},
40786 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40788 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
40790 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40804 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
40822 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
40825 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
40828 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"Window_SetOwnBackgroundColour", (PyCFunction
) _wrap_Window_SetOwnBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"Window_SetOwnForegroundColour", (PyCFunction
) _wrap_Window_SetOwnForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40840 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"Window_SetOwnFont", (PyCFunction
) _wrap_Window_SetOwnFont
, METH_VARARGS
| METH_KEYWORDS
},
40845 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40851 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40857 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40859 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"Window_InheritAttributes", (PyCFunction
) _wrap_Window_InheritAttributes
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40897 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40911 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40914 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40919 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40926 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40961 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40969 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40971 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40981 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40983 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40985 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40988 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40992 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40995 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40996 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40998 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41000 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41005 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"MenuItem_SetKind", (PyCFunction
) _wrap_MenuItem_SetKind
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41013 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41017 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41020 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41022 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41026 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41034 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41043 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41045 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41048 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41050 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41051 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41052 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41054 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41058 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"SizerItem_GetMinSizeWithBorder", (PyCFunction
) _wrap_SizerItem_GetMinSizeWithBorder
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41066 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41069 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41072 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41076 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41083 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41088 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41093 { (char *)"Sizer_Detach", (PyCFunction
) _wrap_Sizer_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41117 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41120 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41124 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41127 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41137 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41149 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41154 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41158 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41159 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41168 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41169 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"GBSizerItem_Intersects", (PyCFunction
) _wrap_GBSizerItem_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"GBSizerItem_IntersectsPos", (PyCFunction
) _wrap_GBSizerItem_IntersectsPos
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41183 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41189 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41190 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41191 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41192 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41193 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"GridBagSizer_CheckForIntersection", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"GridBagSizer_CheckForIntersectionPos", (PyCFunction
) _wrap_GridBagSizer_CheckForIntersectionPos
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41198 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41217 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41218 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41225 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41241 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41243 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41244 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41246 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41247 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41249 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41250 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41252 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41253 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41255 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41256 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41258 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41259 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41261 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41262 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41264 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41265 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41267 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41268 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41270 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41271 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41273 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41274 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41276 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41277 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41279 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41280 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41282 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41283 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41285 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41286 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41288 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41289 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41291 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41292 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41294 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41295 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41297 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41298 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41300 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41301 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41303 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41304 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41306 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41307 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41309 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41310 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41312 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41313 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41315 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41316 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41318 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41319 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41321 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41322 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41324 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41325 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41327 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41328 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41330 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41331 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41333 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41334 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41336 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41337 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41339 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41340 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41342 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41343 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41345 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41346 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41348 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41349 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41351 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41352 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41354 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41355 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41357 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41358 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41360 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41361 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41363 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41364 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41366 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41367 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41369 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41370 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41372 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41373 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41375 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41376 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41378 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41379 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41381 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41382 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41384 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41385 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41387 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41388 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41390 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41391 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41393 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41396 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41397 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41399 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41400 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41402 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41403 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41405 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41406 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41408 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41409 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41411 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41412 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41414 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41415 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41417 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41418 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41420 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41421 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41423 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41424 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41426 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41427 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41429 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41430 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41432 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41433 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41435 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41436 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41438 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41439 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41441 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41442 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41444 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41445 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41447 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41448 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41450 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41451 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41453 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41454 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41456 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41457 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41459 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41460 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41462 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41463 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41465 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41466 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41468 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41469 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41471 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41472 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41474 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41475 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41477 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41478 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41480 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41481 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41483 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41484 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41486 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41487 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41489 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41490 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41492 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41493 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41495 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41496 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41498 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41499 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41501 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41502 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41504 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41505 return (void *)((wxObject
*) ((wxSizer
*) x
));
41507 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41508 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41510 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41511 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41513 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41514 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
41516 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
41517 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
41519 static void *_p_wxImageTo_p_wxObject(void *x
) {
41520 return (void *)((wxObject
*) ((wxImage
*) x
));
41522 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
41523 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
41525 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
41526 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41528 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
41529 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
41531 static void *_p_wxWindowTo_p_wxObject(void *x
) {
41532 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
41534 static void *_p_wxControlTo_p_wxObject(void *x
) {
41535 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
41537 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
41538 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
41540 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
41541 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
41543 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
41544 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41546 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
41547 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
41549 static void *_p_wxEventTo_p_wxObject(void *x
) {
41550 return (void *)((wxObject
*) ((wxEvent
*) x
));
41552 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
41553 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
41555 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
41556 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
41558 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
41559 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
41561 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
41562 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
41564 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
41565 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
41567 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
41568 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41570 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
41571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41573 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
41574 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
41576 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
41577 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41579 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
41580 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
41582 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
41583 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
41585 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
41586 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
41588 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
41589 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
41591 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
41592 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
41594 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
41595 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41597 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
41598 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41600 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
41601 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
41603 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
41604 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
41606 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
41607 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
41609 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
41610 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
41612 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
41613 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
41615 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
41616 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
41618 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
41619 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
41621 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
41622 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
41624 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
41625 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41627 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
41628 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41630 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
41631 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41633 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
41634 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41636 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
41637 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41639 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
41640 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
41642 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
41643 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
41645 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
41646 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41648 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
41649 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
41651 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
41652 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
41654 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
41655 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
41657 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
41658 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
41660 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
41661 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
41663 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
41664 return (void *)((wxObject
*) ((wxFSFile
*) x
));
41666 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
41667 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
41669 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
41670 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41672 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
41673 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
41675 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
41676 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41678 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
41679 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41681 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
41682 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41684 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
41685 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
41687 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
41688 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
41690 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
41691 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
41693 static void *_p_wxControlTo_p_wxWindow(void *x
) {
41694 return (void *)((wxWindow
*) ((wxControl
*) x
));
41696 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
41697 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
41699 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
41700 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
41702 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
41703 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41705 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
41706 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
41708 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
41709 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41711 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
41712 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41714 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
41715 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41717 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
41718 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41720 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
41721 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41723 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
41724 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41726 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
41727 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
41729 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}};
41730 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}};
41731 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}};
41732 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}};
41733 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}};
41734 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}};
41735 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}};
41736 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}};
41737 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}};
41738 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}};
41739 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}};
41740 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}};
41741 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}};
41742 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}};
41743 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}};
41744 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}};
41745 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}};
41746 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}};
41747 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}};
41748 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}};
41749 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}};
41750 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}};
41751 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}};
41752 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}};
41753 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}};
41754 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}};
41755 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}};
41756 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}};
41757 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}};
41758 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}};
41759 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}};
41760 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}};
41761 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}};
41762 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}};
41763 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}};
41764 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}};
41765 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}};
41766 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}};
41767 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}};
41768 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}};
41769 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}};
41770 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}};
41771 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}};
41772 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}};
41773 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}};
41774 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}};
41775 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}};
41776 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}};
41777 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}};
41778 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}};
41779 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}};
41780 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}};
41781 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}};
41782 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}};
41783 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}};
41784 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}};
41785 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}};
41786 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}};
41787 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}};
41788 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}};
41789 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}};
41790 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}};
41791 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}};
41792 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}};
41793 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}};
41794 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}};
41795 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}};
41796 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}};
41797 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}};
41798 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}};
41799 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}};
41800 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}};
41801 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}};
41802 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}};
41803 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}};
41804 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}};
41805 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}};
41806 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}};
41807 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}};
41808 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}};
41809 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}};
41810 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}};
41811 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}};
41812 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}};
41813 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}};
41814 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}};
41815 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}};
41816 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}};
41817 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}};
41818 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}};
41819 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}};
41820 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}};
41821 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}};
41822 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}};
41823 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}};
41824 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}};
41825 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}};
41826 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}};
41827 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}};
41828 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}};
41829 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}};
41830 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}};
41831 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}};
41832 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}};
41833 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}};
41834 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}};
41835 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}};
41836 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}};
41837 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}};
41838 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}};
41839 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}};
41840 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}};
41841 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}};
41842 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}};
41843 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}};
41844 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}};
41846 static swig_type_info
*swig_types_initial
[] = {
41847 _swigt__p_wxLayoutConstraints
,
41848 _swigt__p_wxRealPoint
,
41849 _swigt__p_wxSizerItem
,
41850 _swigt__p_wxGBSizerItem
,
41851 _swigt__p_wxScrollEvent
,
41852 _swigt__p_wxIndividualLayoutConstraint
,
41854 _swigt__p_wxBoxSizer
,
41855 _swigt__p_wxStaticBoxSizer
,
41856 _swigt__p_wxGridBagSizer
,
41857 _swigt__p_wxAcceleratorEntry
,
41858 _swigt__p_wxUpdateUIEvent
,
41861 _swigt__p_wxGridSizer
,
41862 _swigt__p_wxFlexGridSizer
,
41863 _swigt__p_wxInitDialogEvent
,
41864 _swigt__p_wxItemContainer
,
41865 _swigt__p_wxNcPaintEvent
,
41866 _swigt__p_wxPaintEvent
,
41867 _swigt__p_wxSysColourChangedEvent
,
41868 _swigt__p_wxMouseCaptureChangedEvent
,
41869 _swigt__p_wxDisplayChangedEvent
,
41870 _swigt__p_wxPaletteChangedEvent
,
41871 _swigt__p_wxControl
,
41873 _swigt__p_wxMenuBarBase
,
41874 _swigt__p_wxSetCursorEvent
,
41875 _swigt__p_wxFSFile
,
41877 _swigt__p_wxRegion
,
41878 _swigt__p_wxPoint2D
,
41882 _swigt__p_wxPySizer
,
41883 _swigt__p_wxVisualAttributes
,
41884 _swigt__p_wxNotifyEvent
,
41885 _swigt__p_wxPyEvent
,
41886 _swigt__p_wxPropagationDisabler
,
41887 _swigt__p_wxAppTraits
,
41888 _swigt__p_wxArrayString
,
41889 _swigt__p_wxShowEvent
,
41890 _swigt__p_wxToolTip
,
41891 _swigt__p_wxIconizeEvent
,
41892 _swigt__p_wxActivateEvent
,
41893 _swigt__p_wxMoveEvent
,
41894 _swigt__p_wxSizeEvent
,
41895 _swigt__p_wxMaximizeEvent
,
41896 _swigt__p_wxQueryNewPaletteEvent
,
41897 _swigt__p_wxWindowCreateEvent
,
41898 _swigt__p_wxIdleEvent
,
41899 _swigt__p_wxMenuItem
,
41900 _swigt__p_wxStaticBox
,
41902 _swigt__p_wxTIFFHandler
,
41903 _swigt__p_wxXPMHandler
,
41904 _swigt__p_wxPNMHandler
,
41905 _swigt__p_wxJPEGHandler
,
41906 _swigt__p_wxPCXHandler
,
41907 _swigt__p_wxGIFHandler
,
41908 _swigt__p_wxPNGHandler
,
41909 _swigt__p_wxANIHandler
,
41910 _swigt__p_wxMemoryFSHandler
,
41911 _swigt__p_wxEvtHandler
,
41912 _swigt__p_wxCURHandler
,
41913 _swigt__p_wxICOHandler
,
41914 _swigt__p_wxBMPHandler
,
41915 _swigt__p_wxImageHandler
,
41916 _swigt__p_wxFileSystemHandler
,
41917 _swigt__p_wxPyFileSystemHandler
,
41918 _swigt__p_wxInternetFSHandler
,
41919 _swigt__p_wxZipFSHandler
,
41921 _swigt__p_wxGBSpan
,
41922 _swigt__p_wxPropagateOnce
,
41923 _swigt__p_wxAcceleratorTable
,
41925 _swigt__p_wxGBPosition
,
41928 _swigt__p_wxScrollWinEvent
,
41929 _swigt__p_wxImageHistogram
,
41932 _swigt__p_wxCursor
,
41933 _swigt__p_wxObject
,
41934 _swigt__p_wxPyInputStream
,
41935 _swigt__p_wxOutputStream
,
41936 _swigt__p_wxInputStream
,
41937 _swigt__p_wxDateTime
,
41938 _swigt__p_wxKeyEvent
,
41939 _swigt__p_wxNavigationKeyEvent
,
41940 _swigt__p_wxWindowDestroyEvent
,
41941 _swigt__p_wxWindow
,
41942 _swigt__p_wxMenuBar
,
41943 _swigt__p_wxFileSystem
,
41944 _swigt__p_wxBitmap
,
41945 _swigt__p_wxMenuEvent
,
41946 _swigt__p_wxContextMenuEvent
,
41947 _swigt__p_unsigned_char
,
41948 _swigt__p_wxCloseEvent
,
41949 _swigt__p_wxEraseEvent
,
41950 _swigt__p_wxMouseEvent
,
41952 _swigt__p_wxCommandEvent
,
41953 _swigt__p_wxPyCommandEvent
,
41954 _swigt__p_wxPyDropTarget
,
41955 _swigt__p_wxQuantize
,
41956 _swigt__p_wxChildFocusEvent
,
41957 _swigt__p_wxFocusEvent
,
41958 _swigt__p_wxDropFilesEvent
,
41959 _swigt__p_wxControlWithItems
,
41960 _swigt__p_wxColour
,
41961 _swigt__p_wxValidator
,
41962 _swigt__p_wxPyValidator
,
41967 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41969 static swig_const_info swig_const_table
[] = {
41979 SWIGEXPORT(void) SWIG_init(void) {
41980 static PyObject
*SWIG_globals
= 0;
41981 static int typeinit
= 0;
41984 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41985 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41986 d
= PyModule_GetDict(m
);
41989 for (i
= 0; swig_types_initial
[i
]; i
++) {
41990 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41994 SWIG_InstallConstants(d
,swig_const_table
);
41997 #ifndef wxPyUSE_EXPORT
41998 // Make our API structure a CObject so other modules can import it
41999 // from this module.
42000 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42001 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42005 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42006 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42007 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42008 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42009 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42010 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42011 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42012 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42013 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42014 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42015 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42016 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42017 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42018 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42019 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42020 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42021 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42022 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42023 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42024 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42025 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42026 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42027 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42028 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42029 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42030 PyDict_SetItemString(d
,"ALWAYS_SHOW_SB", SWIG_FromInt((int)wxALWAYS_SHOW_SB
));
42031 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42032 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42033 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42034 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42035 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42036 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42037 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42038 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42039 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42040 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42041 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42042 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42043 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42044 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42045 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42046 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42047 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42048 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42049 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42050 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42051 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42052 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42053 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42054 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42055 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42056 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42057 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42058 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42059 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42060 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42061 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42062 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42063 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42064 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42065 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42066 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42067 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42068 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42069 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42070 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42071 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42072 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42073 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42074 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42075 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42076 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42077 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42078 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42079 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42080 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42081 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42082 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42083 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42084 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42085 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42086 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42087 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42088 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42089 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42090 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42091 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42092 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42093 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42094 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42095 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42096 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42097 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42098 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42099 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42100 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42101 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42102 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42103 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42104 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42105 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42106 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42107 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42108 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42109 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42110 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42111 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42112 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42113 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42114 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42115 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42116 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42117 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42118 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42119 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42120 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42121 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42122 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42123 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42124 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42125 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42126 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42127 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42128 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42129 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42130 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42131 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42132 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42133 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42134 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42135 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42136 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42137 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42138 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42139 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42140 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42141 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42142 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42143 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42144 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42145 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42146 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42147 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42148 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42149 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42150 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42151 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42152 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42153 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42154 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42155 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42156 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42157 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42158 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42159 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42160 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42161 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42162 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42163 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42164 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42165 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42166 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42167 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42168 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42169 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42170 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42171 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42172 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42173 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42174 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42175 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42176 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42177 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42178 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42179 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42180 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42181 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42182 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42183 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42184 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42185 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42186 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42187 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42188 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42189 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42190 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42191 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42192 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42193 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42194 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42195 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42196 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42197 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42198 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42199 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42200 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42201 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42202 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42203 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42204 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42205 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42206 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42207 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42208 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42209 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42210 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42211 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42212 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42213 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42214 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42215 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42216 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42217 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42218 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42219 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42220 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42221 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42222 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42223 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42224 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42225 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42226 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42227 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42228 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42229 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42230 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42231 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42232 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42233 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42234 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42235 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42236 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42237 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42238 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42239 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42240 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42241 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42242 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42243 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42244 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42245 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42246 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42247 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42248 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42249 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42250 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42251 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42252 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42253 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42254 PyDict_SetItemString(d
,"FIXED_MINSIZE", SWIG_FromInt((int)wxFIXED_MINSIZE
));
42255 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42256 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42257 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42258 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42259 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42260 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42261 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42262 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42263 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42264 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42265 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42266 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42267 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42268 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42269 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42270 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42271 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42272 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42273 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42274 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42275 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42276 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42277 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42278 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42279 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42280 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42281 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42282 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42283 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42284 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42285 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42286 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42287 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42288 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42289 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42290 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42291 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42292 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42293 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42294 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42295 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42296 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42297 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42298 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42299 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42300 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42301 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42302 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42303 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42304 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42305 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42306 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42307 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42308 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42309 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42310 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42311 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42312 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42313 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42314 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42315 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42316 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42317 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42318 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42319 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42320 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42321 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42322 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42323 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42324 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42325 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42326 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42327 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42328 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42329 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42330 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42331 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42332 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42333 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42334 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42335 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42336 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42337 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42338 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42339 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42340 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42341 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42342 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42343 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42344 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42345 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42346 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42347 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42348 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42349 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42350 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42351 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42352 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42353 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42354 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42355 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42356 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42357 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42358 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42359 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42360 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42361 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42362 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42363 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42364 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42365 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42366 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42367 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42368 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42369 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42370 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42371 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42372 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42373 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42374 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42375 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42376 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42377 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42378 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42379 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42380 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42381 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42382 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42383 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42384 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42385 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42386 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42387 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42388 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42389 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42390 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42391 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42392 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42393 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42394 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42395 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42396 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42397 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42398 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42399 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42400 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42401 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42402 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42403 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42404 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42405 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42406 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42407 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42408 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42409 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42410 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42411 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42412 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42413 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42414 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42415 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42416 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42417 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42418 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42419 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42420 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42421 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42422 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42423 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42424 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42425 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42426 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42427 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42428 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42429 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42430 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42431 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42432 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42433 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42434 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42435 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42436 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42437 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42438 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42439 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42440 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42441 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42442 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42443 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42444 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42445 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42446 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42447 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42448 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42449 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42450 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42451 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42452 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42453 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42454 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42455 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42456 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42457 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42458 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42459 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42460 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42461 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42462 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42463 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42464 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42465 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42466 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42467 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42468 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42469 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42470 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42471 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42472 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42473 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42474 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42475 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42476 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42477 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42478 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42479 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42480 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42481 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42482 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42483 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42484 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42485 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42486 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42487 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42488 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42489 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42490 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42491 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42492 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42493 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
42494 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
42495 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
42496 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
42497 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
42498 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
42499 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
42500 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
42501 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
42502 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
42503 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
42504 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
42505 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
42506 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
42507 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
42508 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
42509 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
42510 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
42511 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
42512 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
42513 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
42514 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
42515 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
42516 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
42517 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
42518 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
42519 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
42520 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
42521 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
42522 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
42523 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
42524 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
42525 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
42526 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
42527 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
42528 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
42529 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
42530 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
42531 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
42532 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
42533 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
42534 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
42535 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
42536 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
42537 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
42538 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
42539 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
42540 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
42541 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
42542 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
42543 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
42544 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
42545 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
42546 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
42547 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
42548 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
42549 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
42550 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
42551 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
42552 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
42553 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
42554 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
42555 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
42556 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
42557 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
42558 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
42559 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
42560 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
42561 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
42562 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
42563 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
42564 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
42565 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
42566 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
42567 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
42568 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
42569 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
42570 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
42571 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
42572 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
42573 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
42574 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
42575 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
42576 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
42577 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
42579 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
42582 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
42584 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
42585 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
42586 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
42587 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
42588 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
42589 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
42590 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
42591 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
42592 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
42593 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
42594 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
42595 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
42596 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
42597 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
42598 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
42599 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
42600 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
42601 PyDict_SetItemString(d
,"QUANTIZE_INCLUDE_WINDOWS_COLOURS", SWIG_FromInt((int)wxQUANTIZE_INCLUDE_WINDOWS_COLOURS
));
42602 PyDict_SetItemString(d
,"QUANTIZE_FILL_DESTINATION_IMAGE", SWIG_FromInt((int)wxQUANTIZE_FILL_DESTINATION_IMAGE
));
42603 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
42604 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
42605 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
42606 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
42607 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
42608 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
42609 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
42610 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
42611 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
42612 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
42613 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
42614 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
42615 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
42616 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
42617 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
42618 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
42619 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
42620 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
42621 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
42622 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
42623 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
42624 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
42625 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
42626 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
42627 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
42628 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
42629 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
42630 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
42631 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
42632 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
42633 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
42634 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
42635 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
42636 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
42637 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
42638 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
42639 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
42640 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
42641 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
42642 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
42643 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
42644 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
42645 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
42646 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
42647 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
42648 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
42649 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
42650 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
42651 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
42652 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
42653 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
42654 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
42655 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
42656 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
42657 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
42658 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
42659 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
42660 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
42661 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
42662 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
42663 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
42664 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
42665 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
42666 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
42667 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
42668 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
42669 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
42670 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
42671 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
42672 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
42673 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
42674 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
42675 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
42676 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
42677 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
42678 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
42679 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
42680 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
42681 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
42682 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
42683 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
42684 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
42685 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
42686 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
42687 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
42688 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
42689 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
42690 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
42691 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
42692 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
42693 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
42694 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
42695 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
42696 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
42697 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
42698 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
42699 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
42700 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
42701 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
42702 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
42703 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
42704 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
42705 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
42706 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
42707 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
42708 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
42709 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
42710 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
42711 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
42712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
42713 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
42714 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
42715 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
42716 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
42717 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
42718 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
42719 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
42720 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
42721 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
42722 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
42723 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
42724 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
42725 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
42726 PyDict_SetItemString(d
,"NavigationKeyEvent_IsBackward", SWIG_FromInt((int)wxNavigationKeyEvent::IsBackward
));
42727 PyDict_SetItemString(d
,"NavigationKeyEvent_IsForward", SWIG_FromInt((int)wxNavigationKeyEvent::IsForward
));
42728 PyDict_SetItemString(d
,"NavigationKeyEvent_WinChange", SWIG_FromInt((int)wxNavigationKeyEvent::WinChange
));
42729 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
42730 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
42731 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
42732 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
42733 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
42734 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
42735 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
42736 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
42737 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
42738 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
42739 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
42740 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
42741 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
42742 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
42743 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
42744 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
42745 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
42746 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
42747 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
42748 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
42749 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
42750 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
42751 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
42752 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
42753 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
42754 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
42755 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
42756 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
42757 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
42758 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
42759 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
42760 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
42761 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
42762 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
42763 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
42764 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
42765 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
42766 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
42767 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
42768 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
42770 // Initialize threading, some globals and such
42774 // Although these are defined in __version__ they need to be here too so
42775 // that an assert can be done to ensure that the wxPython and the wxWindows
42777 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
42778 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
42779 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));