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_wxMaximizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxIconizeEvent swig_types[45]
255 #define SWIGTYPE_p_wxActivateEvent swig_types[46]
256 #define SWIGTYPE_p_wxMoveEvent swig_types[47]
257 #define SWIGTYPE_p_wxSizeEvent 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_wxChildFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxFocusEvent swig_types[109]
319 #define SWIGTYPE_p_wxDropFilesEvent swig_types[110]
320 #define SWIGTYPE_p_wxControlWithItems swig_types[111]
321 #define SWIGTYPE_p_wxColour swig_types[112]
322 #define SWIGTYPE_p_wxValidator swig_types[113]
323 #define SWIGTYPE_p_wxPyValidator swig_types[114]
324 static swig_type_info
*swig_types
[116];
326 /* -------- TYPES TABLE (END) -------- */
329 /*-----------------------------------------------
331 ------------------------------------------------*/
332 #define SWIG_init init_core
334 #define SWIG_name "_core"
336 /* Auxiliar swig macros */
339 #define SWIGSTATICINLINE(a) static inline a
340 #define SWIGSTATIC(a) static a
341 #define swig_new_array(type, size) (new type[(size)])
342 #define swig_delete_array(cptr) delete[] cptr
343 #define swig_const_cast(type,a) const_cast<type>(a)
344 #define swig_static_cast(type,a) static_cast<type>(a)
345 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
347 #ifdef HAVE_NUMERIC_CAST
348 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
350 #define swig_numeric_cast(type,a) static_cast<type>(a)
355 #define SWIGSTATICINLINE(a) static a
356 #define SWIGSTATIC(a) static a
357 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
358 #define swig_delete_array(cptr) free((char*)cptr)
359 #define swig_const_cast(type,a) (type)(a)
360 #define swig_static_cast(type,a) (type)(a)
361 #define swig_reinterpret_cast(type,a) (type)(a)
362 #define swig_numeric_cast(type,a) (type)(a)
364 #endif /* __cplusplus */
367 #define SWIG_FromSignedChar PyInt_FromLong
368 #define SWIG_FromUnsignedChar PyInt_FromLong
369 #define SWIG_FromShort PyInt_FromLong
370 #define SWIG_FromUnsignedShort PyInt_FromLong
371 #define SWIG_FromInt PyInt_FromLong
372 #define SWIG_FromLong PyInt_FromLong
373 #define SWIG_FromFloat PyFloat_FromDouble
374 #define SWIG_FromDouble PyFloat_FromDouble
375 #define SWIG_FromFloat PyFloat_FromDouble
376 #define SWIG_FromDouble PyFloat_FromDouble
379 #include "wx/wxPython/wxPython_int.h"
380 #include "wx/wxPython/pyclasses.h"
383 #ifndef wxPyUSE_EXPORT
384 // Helper functions for dealing with SWIG objects and such. These are
385 // located here so they know about the SWIG types and functions declared
386 // in the wrapper code.
388 #include <wx/hashmap.h>
389 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
392 // Maintains a hashmap of className to swig_type_info pointers. Given the
393 // name of a class either looks up the type info in the cache, or scans the
394 // SWIG tables for it.
395 extern PyObject
* wxPyPtrTypeMap
;
397 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
399 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
401 if (typeInfoCache
== NULL
)
402 typeInfoCache
= new wxPyTypeInfoHashMap
;
404 wxString
name(className
);
405 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
408 // it wasn't in the cache, so look it up from SWIG
409 name
.Append(wxT(" *"));
410 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
412 // if it still wasn't found, try looking for a mapped name
417 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
418 (char*)(const char*)name
.mbc_str())) != NULL
) {
419 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
420 name
.Append(wxT(" *"));
421 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
425 // and add it to the map if found
426 (*typeInfoCache
)[className
] = swigType
;
433 // Check if a class name is a type known to SWIG
434 bool wxPyCheckSwigType(const wxChar
* className
) {
436 swig_type_info
* swigType
= wxPyFindSwigType(className
);
437 return swigType
!= NULL
;
441 // Given a pointer to a C++ object and a class name, construct a Python proxy
443 PyObject
* wxPyConstructObject(void* ptr
,
444 const wxChar
* className
,
447 swig_type_info
* swigType
= wxPyFindSwigType(className
);
448 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
450 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
454 // Extract a pointer to the wrapped C++ object from a Python proxy object.
455 // Ensures that the proxy object is of the specified (or derived) type. If
456 // not able to perform the conversion then a Python exception is set and the
457 // error should be handled properly in the caller. Returns True on success.
458 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
459 const wxChar
* className
) {
461 swig_type_info
* swigType
= wxPyFindSwigType(className
);
462 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
464 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
468 // Make a SWIGified pointer object suitable for a .this attribute
469 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
471 PyObject
* robj
= NULL
;
473 swig_type_info
* swigType
= wxPyFindSwigType(className
);
474 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
476 #ifdef SWIG_COBJECT_TYPES
477 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
483 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
484 strcpy(r
, swigType
->name
);
485 robj
= PyString_FromString(result
);
495 // Export a C API in a struct. Other modules will be able to load this from
496 // the wx.core module and will then have safe access to these functions, even if
497 // they are located in another shared library.
498 static wxPyCoreAPI API
= {
500 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
501 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
502 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
503 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
504 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
505 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
506 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
507 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
508 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
509 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
510 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
511 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
512 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
513 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
514 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
515 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
516 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
523 wxPyBeginAllowThreads
,
525 wxPyBeginBlockThreads
,
539 wxBitmap_LIST_helper
,
540 wxString_LIST_helper
,
541 wxAcceleratorEntry_LIST_helper
,
550 wxPySimple_typecheck
,
553 wxPyCBH_setCallbackInfo
,
554 wxPyCBH_findCallback
,
555 wxPyCBH_callCallback
,
556 wxPyCBH_callCallbackObj
,
564 wxArrayString2PyList_helper
,
565 wxArrayInt2PyList_helper
,
569 wxPyOORClientData_dtor
,
571 wxPyCBInputStream_create
,
574 wxPySwigInstance_Check
582 enum wxHotkeyModifier
590 #define wxEVT_HOTKEY 9999
593 static const wxString
wxPyEmptyString(wxEmptyString
);
594 wxString
wxObject_GetClassName(wxObject
*self
){
595 return self
->GetClassInfo()->GetClassName();
597 void wxObject_Destroy(wxObject
*self
){
602 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
609 SWIGSTATICINLINE(long)
610 SWIG_CheckLongInRange(long value
, const char* type
,
611 long min_value
, long max_value
)
613 if (!PyErr_Occurred()) {
614 if (value
< min_value
) {
616 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
617 value
, type
, min_value
);
619 PyErr_SetObject(PyExc_OverflowError
, err
);
621 } else if (value
> max_value
) {
623 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
624 value
, type
, max_value
);
625 PyErr_SetObject(PyExc_OverflowError
, err
);
633 SWIGSTATICINLINE(long)
634 SWIG_AsLong(PyObject
* obj
)
636 if (PyNumber_Check(obj
))
637 return PyInt_AsLong(obj
);
639 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
640 obj
->ob_type
->tp_name
);
641 PyErr_SetObject(PyExc_TypeError
, errmsg
);
648 #if INT_MAX != LONG_MAX
649 SWIGSTATICINLINE(int)
650 SWIG_AsInt(PyObject
*obj
)
652 return swig_numeric_cast(int,
653 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
654 "int", INT_MIN
, INT_MAX
));
657 #define SWIG_AsInt SWIG_AsLong
661 SWIGSTATICINLINE(int)
662 SWIG_CheckInt(PyObject
* obj
)
665 if (PyErr_Occurred()) {
673 PyObject
*wxSize_Get(wxSize
*self
){
674 bool blocked
= wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
677 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
678 wxPyEndBlockThreads(blocked
);
682 SWIGSTATICINLINE(double)
683 SWIG_AsDouble(PyObject
*obj
)
685 if (PyNumber_Check(obj
))
686 return PyFloat_AsDouble(obj
);
688 PyObject
* errmsg
= PyString_FromFormat("Expected number, got %s",
689 obj
->ob_type
->tp_name
);
690 PyErr_SetObject(PyExc_TypeError
, errmsg
);
697 SWIGSTATICINLINE(int)
698 SWIG_CheckDouble(PyObject
* obj
)
701 if (PyErr_Occurred()) {
709 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
713 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
714 bool blocked
= wxPyBeginBlockThreads();
715 PyObject
* tup
= PyTuple_New(2);
716 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
717 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
718 wxPyEndBlockThreads(blocked
);
722 SWIGSTATICINLINE(int)
723 SWIG_CheckLong(PyObject
* obj
)
726 if (PyErr_Occurred()) {
734 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
738 PyObject
*wxPoint_Get(wxPoint
*self
){
739 bool blocked
= wxPyBeginBlockThreads();
740 PyObject
* tup
= PyTuple_New(2);
741 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
742 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
743 wxPyEndBlockThreads(blocked
);
746 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
750 self
->height
= height
;
752 PyObject
*wxRect_Get(wxRect
*self
){
753 bool blocked
= wxPyBeginBlockThreads();
754 PyObject
* tup
= PyTuple_New(4);
755 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
756 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
757 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
758 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
759 wxPyEndBlockThreads(blocked
);
763 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
766 wxRect
dest(0,0,0,0);
769 reg1
.Intersect(reg2
);
770 dest
= reg1
.GetBox();
772 if (dest
!= wxRect(0,0,0,0)) {
773 bool blocked
= wxPyBeginBlockThreads();
774 wxRect
* newRect
= new wxRect(dest
);
775 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
776 wxPyEndBlockThreads(blocked
);
784 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
790 } else if (target
== Py_None
) {
794 if (!PyTuple_Check(target
)) {
796 target
= PyTuple_New(1);
797 PyTuple_SetItem(target
, 0, o2
);
800 PyTuple_SetItem(o3
, 0, o
);
803 target
= PySequence_Concat(o2
, o3
);
810 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
814 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
815 bool blocked
= wxPyBeginBlockThreads();
816 PyObject
* tup
= PyTuple_New(2);
817 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
818 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
819 wxPyEndBlockThreads(blocked
);
823 #include "wx/wxPython/pyistream.h"
825 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
826 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
828 return new wxPyInputStream(wxis
);
833 SWIGSTATICINLINE(PyObject
*)
834 SWIG_FromChar(char c
)
836 return PyString_FromStringAndSize(&c
,1);
840 SWIGSTATICINLINE(PyObject
* )
841 SWIG_FromUnsignedLong(unsigned long value
)
843 return (value
> LONG_MAX
) ?
844 PyLong_FromUnsignedLong(value
)
845 : PyInt_FromLong(swig_numeric_cast(long,value
));
849 /* returns '1' if the input is a raw char*, '0' if is a PyString */
851 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
853 static swig_type_info
* pchar_info
= 0;
855 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
857 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
859 PyString_AsStringAndSize(obj
, cptr
, &psize
);
860 if (PyErr_Occurred()) {
862 PyErr_SetString(PyExc_TypeError
,"a string is expected");
864 if (size
) *size
= psize
;
867 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
874 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
876 char* cptr
; size_t csize
;
877 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
878 if (PyErr_Occurred()) {
881 PyString_FromFormat("a char array of size %d is expected", size
);
882 PyErr_SetObject(PyExc_TypeError
, err
);
885 /* in C (but not in C++) you can do:
889 ie, assing the array using an extra '0' char.
892 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
896 PyString_FromFormat("a char array of maximum size %d is expected",
898 PyErr_SetObject(PyExc_TypeError
, err
);
901 if (csize
) memcpy(carray
, cptr
, csize
);
902 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
908 SWIGSTATICINLINE(char)
909 SWIG_AsChar(PyObject
*obj
)
912 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
913 c
= swig_numeric_cast(char,
914 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
915 "char", CHAR_MIN
, CHAR_MAX
));
917 SWIG_AsCharArray(obj
, &c
, 1);
918 if (PyErr_Occurred()) {
920 PyErr_SetString(PyExc_TypeError
, "a char is expected");
927 SWIGSTATICINLINE(int)
928 SWIG_CheckChar(PyObject
* obj
)
931 if (PyErr_Occurred()) {
939 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
940 // We use only strings for the streams, not unicode
941 PyObject
* str
= PyObject_Str(obj
);
943 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
946 self
->Write(PyString_AS_STRING(str
),
947 PyString_GET_SIZE(str
));
951 #include "wx/wxPython/pyistream.h"
954 class wxPyFileSystemHandler
: public wxFileSystemHandler
957 wxPyFileSystemHandler() : wxFileSystemHandler() {}
959 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
960 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
961 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
962 DEC_PYCALLBACK_STRING__pure(FindNext
);
964 wxString
GetProtocol(const wxString
& location
) {
965 return wxFileSystemHandler::GetProtocol(location
);
968 wxString
GetLeftLocation(const wxString
& location
) {
969 return wxFileSystemHandler::GetLeftLocation(location
);
972 wxString
GetAnchor(const wxString
& location
) {
973 return wxFileSystemHandler::GetAnchor(location
);
976 wxString
GetRightLocation(const wxString
& location
) {
977 return wxFileSystemHandler::GetRightLocation(location
);
980 wxString
GetMimeTypeFromExt(const wxString
& location
) {
981 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
988 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
989 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
990 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
991 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
994 SWIGSTATICINLINE(bool)
995 SWIG_AsBool(PyObject
*obj
)
997 return PyObject_IsTrue(obj
) ? true : false;
1001 SWIGSTATICINLINE(int)
1002 SWIG_CheckBool(PyObject
* obj
)
1005 if (PyErr_Occurred()) {
1014 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1015 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1016 return fname
.GetFullPath();
1020 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1023 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1026 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1027 const wxBitmap
& bitmap
,
1029 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1032 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1034 wxMemoryFSHandler::AddFile(filename
,
1035 // TODO: Verify data type
1036 (void*)PyString_AsString(data
),
1037 (size_t)PyString_Size(data
));
1041 #include "wx/wxPython/pyistream.h"
1044 SWIGSTATICINLINE(unsigned long)
1045 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1046 unsigned long max_value
)
1048 if (!PyErr_Occurred()) {
1049 if (value
> max_value
) {
1051 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1052 value
, type
, max_value
);
1053 PyErr_SetObject(PyExc_OverflowError
, err
);
1061 SWIGSTATICINLINE(unsigned long)
1062 SWIG_AsUnsignedLong(PyObject
* obj
)
1064 if (PyLong_Check(obj
)) {
1065 return PyLong_AsUnsignedLong(obj
);
1067 long i
= SWIG_AsLong(obj
);
1068 if ( !PyErr_Occurred() && (i
< 0)) {
1069 PyErr_SetString(PyExc_TypeError
, "negative value received for unsigned type");
1076 SWIGSTATICINLINE(unsigned char)
1077 SWIG_AsUnsignedChar(PyObject
*obj
)
1079 return swig_numeric_cast(unsigned char,
1080 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1081 "unsigned char", UCHAR_MAX
));
1085 SWIGSTATICINLINE(int)
1086 SWIG_CheckUnsignedChar(PyObject
* obj
)
1088 SWIG_AsUnsignedChar(obj
);
1089 if (PyErr_Occurred()) {
1097 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1098 if (width
> 0 && height
> 0)
1099 return new wxImage(width
, height
, clear
);
1103 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1104 return new wxImage(bitmap
.ConvertToImage());
1106 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1107 // Copy the source data so the wxImage can clean it up later
1108 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1113 memcpy(copy
, data
, width
*height
*3);
1114 return new wxImage(width
, height
, copy
, False
);
1116 PyObject
*wxImage_GetData(wxImage
*self
){
1117 unsigned char* data
= self
->GetData();
1118 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1120 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1123 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1124 unsigned char* dataPtr
;
1126 if (! PyString_Check(data
)) {
1127 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1131 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1132 dataPtr
= (unsigned char*) malloc(len
);
1133 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1134 self
->SetData(dataPtr
);
1135 // wxImage takes ownership of dataPtr...
1137 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1138 unsigned char* data
= self
->GetData();
1139 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1141 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1144 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1145 unsigned char* buffer
;
1148 bool blocked
= wxPyBeginBlockThreads();
1149 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1152 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1153 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1156 self
->SetData(buffer
);
1158 wxPyEndBlockThreads(blocked
);
1160 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1161 unsigned char* data
= self
->GetAlpha();
1165 int len
= self
->GetWidth() * self
->GetHeight();
1167 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1171 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1172 unsigned char* dataPtr
;
1174 if (! PyString_Check(data
)) {
1175 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1179 size_t len
= self
->GetWidth() * self
->GetHeight();
1180 dataPtr
= (unsigned char*) malloc(len
);
1181 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1182 self
->SetAlpha(dataPtr
);
1183 // wxImage takes ownership of dataPtr...
1185 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1186 unsigned char* data
= self
->GetAlpha();
1187 int len
= self
->GetWidth() * self
->GetHeight();
1189 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1192 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1193 unsigned char* buffer
;
1196 bool blocked
= wxPyBeginBlockThreads();
1197 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1200 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1201 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1204 self
->SetAlpha(buffer
);
1206 wxPyEndBlockThreads(blocked
);
1209 SWIGSTATICINLINE(int)
1210 SWIG_CheckUnsignedLong(PyObject
* obj
)
1212 SWIG_AsUnsignedLong(obj
);
1213 if (PyErr_Occurred()) {
1221 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1222 wxBitmap
bitmap(*self
);
1225 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1226 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1227 wxBitmap
bitmap( mono
, 1 );
1230 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1231 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1232 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1233 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1234 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1235 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1236 if (PyCallable_Check(func
)) {
1237 self
->Connect(id
, lastId
, eventType
,
1238 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1239 new wxPyCallback(func
));
1241 else if (func
== Py_None
) {
1242 self
->Disconnect(id
, lastId
, eventType
,
1243 (wxObjectEventFunction
)
1244 &wxPyCallback::EventThunker
);
1247 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1250 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1251 return self
->Disconnect(id
, lastId
, eventType
,
1252 (wxObjectEventFunction
)
1253 &wxPyCallback::EventThunker
);
1255 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1256 if (_self
&& _self
!= Py_None
) {
1257 self
->SetClientObject(new wxPyOORClientData(_self
));
1260 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1262 self
->SetClientObject(NULL
); // This will delete it too
1266 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1268 return self
->m_uniChar
;
1274 #if UINT_MAX < LONG_MAX
1275 #define SWIG_FromUnsignedInt SWIG_FromLong
1277 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1281 #if UINT_MAX != ULONG_MAX
1282 SWIGSTATICINLINE(unsigned int)
1283 SWIG_AsUnsignedInt(PyObject
*obj
)
1285 return swig_numeric_cast(unsigned int,
1286 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1287 "unsigned int", UINT_MAX
));
1290 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1294 SWIGSTATICINLINE(int)
1295 SWIG_CheckUnsignedInt(PyObject
* obj
)
1297 SWIG_AsUnsignedInt(obj
);
1298 if (PyErr_Occurred()) {
1306 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1307 self
->m_size
= size
;
1309 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1312 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1313 int count
= self
->GetNumberOfFiles();
1314 wxString
* files
= self
->GetFiles();
1315 PyObject
* list
= PyList_New(count
);
1318 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1322 for (int i
=0; i
<count
; i
++) {
1323 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1329 wxPyApp
*new_wxPyApp(){
1330 wxPythonApp
= new wxPyApp();
1334 void wxApp_CleanUp() {
1339 wxPyApp
* wxGetApp() {
1340 return (wxPyApp
*)wxTheApp
;
1345 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1346 wxVisualAttributes
*new_wxVisualAttributes(){ return new wxVisualAttributes
; }
1347 void delete_wxVisualAttributes(wxVisualAttributes
*self
){}
1348 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1349 wxWindowList
& list
= self
->GetChildren();
1350 return wxPy_ConvertList(&list
);
1352 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1354 return self
->RegisterHotKey(hotkeyId
, modifiers
, keycode
);
1359 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1366 long wxWindow_GetHandle(wxWindow
*self
){
1367 return wxPyGetWinHandle(self
);
1370 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1371 return wxWindow::FindWindowById(id
, parent
);
1374 wxWindow
* wxFindWindowByName( const wxString
& name
,
1375 const wxWindow
*parent
= NULL
) {
1376 return wxWindow::FindWindowByName(name
, parent
);
1379 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1380 const wxWindow
*parent
= NULL
) {
1381 return wxWindow::FindWindowByLabel(label
, parent
);
1386 #include <wx/msw/private.h> // to get wxGetWindowId
1390 wxWindow
* wxWindow_FromHWND(wxWindow
* parent
, unsigned long _hWnd
) {
1392 WXHWND hWnd
= (WXHWND
)_hWnd
;
1393 long id
= wxGetWindowId(hWnd
);
1394 wxWindow
* win
= new wxWindow
;
1395 parent
->AddChild(win
);
1396 win
->SetEventHandler(win
);
1399 win
->SubclassWin(hWnd
);
1400 win
->AdoptAttributesFromHWND();
1401 win
->SetupColours();
1404 wxPyRaiseNotImplemented();
1410 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1411 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1412 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1414 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1416 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1417 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1418 wxMenuItemList
& list
= self
->GetMenuItems();
1419 return wxPy_ConvertList(&list
);
1421 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1422 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1424 wxPyClientData
* data
= new wxPyClientData(clientData
);
1425 return self
->Append(item
, data
);
1427 return self
->Append(item
);
1429 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1431 wxPyClientData
* data
= new wxPyClientData(clientData
);
1432 return self
->Insert(item
, pos
, data
);
1434 return self
->Insert(item
, pos
);
1436 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1437 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1439 Py_INCREF(data
->m_obj
);
1446 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1447 wxPyClientData
* data
= new wxPyClientData(clientData
);
1448 self
->SetClientObject(n
, data
);
1456 SWIG_FloatCast(double value
)
1459 if (!PyErr_Occurred()) {
1460 if (value
< FLT_MIN
) {
1462 PyString_FromFormat("value %g is less than float minimum %g",
1464 PyErr_SetObject(PyExc_OverflowError
, err
);
1466 } else if (value
> FLT_MAX
) {
1468 PyString_FromFormat("value %g is greater than float maximum %g",
1470 PyErr_SetObject(PyExc_OverflowError
, err
);
1473 f
= swig_numeric_cast(float, value
);
1480 SWIGSTATICINLINE(float)
1481 SWIG_AsFloat(PyObject
*obj
)
1483 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1487 SWIGSTATICINLINE(int)
1488 SWIG_CheckFloat(PyObject
* obj
)
1491 if (PyErr_Occurred()) {
1499 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1500 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1502 Py_INCREF(data
->m_obj
);
1510 // Figure out the type of the sizer item
1512 struct wxPySizerItemInfo
{
1514 : window(NULL
), sizer(NULL
), gotSize(False
),
1515 size(wxDefaultSize
), gotPos(False
), pos(-1)
1526 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1528 wxPySizerItemInfo info
;
1530 wxSize
* sizePtr
= &size
;
1532 // Find out what the type of the item is
1534 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1539 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1543 // try wxSize or (w,h)
1544 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1545 info
.size
= *sizePtr
;
1546 info
.gotSize
= True
;
1550 if (checkIdx
&& PyInt_Check(item
)) {
1551 info
.pos
= PyInt_AsLong(item
);
1557 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1558 // no expected type, figure out what kind of error message to generate
1559 if ( !checkSize
&& !checkIdx
)
1560 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1561 else if ( checkSize
&& !checkIdx
)
1562 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1563 else if ( !checkSize
&& checkIdx
)
1564 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1566 // can this one happen?
1567 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1573 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1574 self
->SetClientObject(new wxPyOORClientData(_self
));
1576 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1578 wxPyUserData
* data
= NULL
;
1579 bool blocked
= wxPyBeginBlockThreads();
1580 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1581 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1582 data
= new wxPyUserData(userData
);
1583 wxPyEndBlockThreads(blocked
);
1585 // Now call the real Add method if a valid item type was found
1587 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1588 else if ( info
.sizer
)
1589 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1590 else if (info
.gotSize
)
1591 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1592 proportion
, flag
, border
, data
);
1594 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1596 wxPyUserData
* data
= NULL
;
1597 bool blocked
= wxPyBeginBlockThreads();
1598 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1599 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1600 data
= new wxPyUserData(userData
);
1601 wxPyEndBlockThreads(blocked
);
1603 // Now call the real Insert method if a valid item type was found
1605 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1606 else if ( info
.sizer
)
1607 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1608 else if (info
.gotSize
)
1609 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1610 proportion
, flag
, border
, data
);
1612 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1614 wxPyUserData
* data
= NULL
;
1615 bool blocked
= wxPyBeginBlockThreads();
1616 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1617 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1618 data
= new wxPyUserData(userData
);
1619 wxPyEndBlockThreads(blocked
);
1621 // Now call the real Prepend method if a valid item type was found
1623 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1624 else if ( info
.sizer
)
1625 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1626 else if (info
.gotSize
)
1627 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1628 proportion
, flag
, border
, data
);
1630 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1631 bool blocked
= wxPyBeginBlockThreads();
1632 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1633 wxPyEndBlockThreads(blocked
);
1635 return self
->Remove(info
.window
);
1636 else if ( info
.sizer
)
1637 return self
->Remove(info
.sizer
);
1638 else if ( info
.gotPos
)
1639 return self
->Remove(info
.pos
);
1643 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1644 bool blocked
= wxPyBeginBlockThreads();
1645 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1646 wxPyEndBlockThreads(blocked
);
1648 self
->SetItemMinSize(info
.window
, size
);
1649 else if ( info
.sizer
)
1650 self
->SetItemMinSize(info
.sizer
, size
);
1651 else if ( info
.gotPos
)
1652 self
->SetItemMinSize(info
.pos
, size
);
1654 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1655 wxSizerItemList
& list
= self
->GetChildren();
1656 return wxPy_ConvertList(&list
);
1658 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1659 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1661 self
->Show(info
.window
, show
);
1662 else if ( info
.sizer
)
1663 self
->Show(info
.sizer
, show
);
1665 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1666 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1668 self
->Hide(info
.window
);
1669 else if ( info
.sizer
)
1670 self
->Hide(info
.sizer
);
1672 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1673 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1675 return self
->IsShown(info
.window
);
1676 else if ( info
.sizer
)
1677 return self
->IsShown(info
.sizer
);
1683 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1684 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1685 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1690 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1692 if (source
== Py_None
) {
1693 **obj
= wxGBPosition(-1,-1);
1696 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1699 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1701 if (source
== Py_None
) {
1702 **obj
= wxGBSpan(-1,-1);
1705 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1709 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1713 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1714 bool blocked
= wxPyBeginBlockThreads();
1715 PyObject
* tup
= PyTuple_New(2);
1716 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1717 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1718 wxPyEndBlockThreads(blocked
);
1721 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1722 self
->SetRowspan(rowspan
);
1723 self
->SetColspan(colspan
);
1725 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1726 bool blocked
= wxPyBeginBlockThreads();
1727 PyObject
* tup
= PyTuple_New(2);
1728 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1729 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1730 wxPyEndBlockThreads(blocked
);
1733 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1735 wxPyUserData
* data
= NULL
;
1736 bool blocked
= wxPyBeginBlockThreads();
1737 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1738 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1739 data
= new wxPyUserData(userData
);
1740 wxPyEndBlockThreads(blocked
);
1742 // Now call the real Add method if a valid item type was found
1744 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1745 else if ( info
.sizer
)
1746 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1747 else if (info
.gotSize
)
1748 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1749 pos
, span
, flag
, border
, data
);
1757 static int _wrap_EmptyString_set(PyObject
*_val
) {
1758 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1763 static PyObject
*_wrap_EmptyString_get() {
1768 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1770 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1777 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1778 PyObject
*resultobj
;
1779 wxObject
*arg1
= (wxObject
*) 0 ;
1781 PyObject
* obj0
= 0 ;
1783 (char *) "self", NULL
1786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1791 result
= wxObject_GetClassName(arg1
);
1793 wxPyEndAllowThreads(__tstate
);
1794 if (PyErr_Occurred()) SWIG_fail
;
1798 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1800 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1809 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1810 PyObject
*resultobj
;
1811 wxObject
*arg1
= (wxObject
*) 0 ;
1812 PyObject
* obj0
= 0 ;
1814 (char *) "self", NULL
1817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1822 wxObject_Destroy(arg1
);
1824 wxPyEndAllowThreads(__tstate
);
1825 if (PyErr_Occurred()) SWIG_fail
;
1827 Py_INCREF(Py_None
); resultobj
= Py_None
;
1834 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1836 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1837 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1839 return Py_BuildValue((char *)"");
1841 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1842 PyObject
*resultobj
;
1843 wxSize
*arg1
= (wxSize
*) 0 ;
1845 PyObject
* obj0
= 0 ;
1846 PyObject
* obj1
= 0 ;
1848 (char *) "self",(char *) "x", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1854 arg2
= (int) SWIG_AsInt(obj1
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1856 if (arg1
) (arg1
)->x
= arg2
;
1858 Py_INCREF(Py_None
); resultobj
= Py_None
;
1865 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1866 PyObject
*resultobj
;
1867 wxSize
*arg1
= (wxSize
*) 0 ;
1869 PyObject
* obj0
= 0 ;
1871 (char *) "self", NULL
1874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1877 result
= (int) ((arg1
)->x
);
1879 resultobj
= SWIG_FromInt((int)result
);
1886 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1887 PyObject
*resultobj
;
1888 wxSize
*arg1
= (wxSize
*) 0 ;
1890 PyObject
* obj0
= 0 ;
1891 PyObject
* obj1
= 0 ;
1893 (char *) "self",(char *) "y", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 arg2
= (int) SWIG_AsInt(obj1
);
1900 if (PyErr_Occurred()) SWIG_fail
;
1901 if (arg1
) (arg1
)->y
= arg2
;
1903 Py_INCREF(Py_None
); resultobj
= Py_None
;
1910 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxSize
*arg1
= (wxSize
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1922 result
= (int) ((arg1
)->y
);
1924 resultobj
= SWIG_FromInt((int)result
);
1931 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1932 PyObject
*resultobj
;
1933 int arg1
= (int) 0 ;
1934 int arg2
= (int) 0 ;
1936 PyObject
* obj0
= 0 ;
1937 PyObject
* obj1
= 0 ;
1939 (char *) "w",(char *) "h", NULL
1942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1944 arg1
= (int) SWIG_AsInt(obj0
);
1945 if (PyErr_Occurred()) SWIG_fail
;
1948 arg2
= (int) SWIG_AsInt(obj1
);
1949 if (PyErr_Occurred()) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1953 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1965 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxSize
*arg1
= (wxSize
*) 0 ;
1968 PyObject
* obj0
= 0 ;
1970 (char *) "self", NULL
1973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxSize
*arg1
= (wxSize
*) 0 ;
1996 PyObject
* obj0
= 0 ;
1997 PyObject
* obj1
= 0 ;
1999 (char *) "self",(char *) "sz", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2007 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2025 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxSize
*arg1
= (wxSize
*) 0 ;
2031 PyObject
* obj0
= 0 ;
2032 PyObject
* obj1
= 0 ;
2034 (char *) "self",(char *) "sz", NULL
2037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2046 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2048 wxPyEndAllowThreads(__tstate
);
2049 if (PyErr_Occurred()) SWIG_fail
;
2052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2060 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxSize
*arg1
= (wxSize
*) 0 ;
2066 PyObject
* obj0
= 0 ;
2067 PyObject
* obj1
= 0 ;
2069 (char *) "self",(char *) "sz", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2077 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2081 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2083 wxPyEndAllowThreads(__tstate
);
2084 if (PyErr_Occurred()) SWIG_fail
;
2088 resultptr
= new wxSize((wxSize
&) result
);
2089 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2097 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2098 PyObject
*resultobj
;
2099 wxSize
*arg1
= (wxSize
*) 0 ;
2103 PyObject
* obj0
= 0 ;
2104 PyObject
* obj1
= 0 ;
2106 (char *) "self",(char *) "sz", NULL
2109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2125 resultptr
= new wxSize((wxSize
&) result
);
2126 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2134 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxSize
*arg1
= (wxSize
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2140 PyObject
* obj1
= 0 ;
2142 (char *) "self",(char *) "sz", NULL
2145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2150 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2154 (arg1
)->IncTo((wxSize
const &)*arg2
);
2156 wxPyEndAllowThreads(__tstate
);
2157 if (PyErr_Occurred()) SWIG_fail
;
2159 Py_INCREF(Py_None
); resultobj
= Py_None
;
2166 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2167 PyObject
*resultobj
;
2168 wxSize
*arg1
= (wxSize
*) 0 ;
2171 PyObject
* obj0
= 0 ;
2172 PyObject
* obj1
= 0 ;
2174 (char *) "self",(char *) "sz", NULL
2177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2182 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2186 (arg1
)->DecTo((wxSize
const &)*arg2
);
2188 wxPyEndAllowThreads(__tstate
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 Py_INCREF(Py_None
); resultobj
= Py_None
;
2198 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2199 PyObject
*resultobj
;
2200 wxSize
*arg1
= (wxSize
*) 0 ;
2203 PyObject
* obj0
= 0 ;
2204 PyObject
* obj1
= 0 ;
2205 PyObject
* obj2
= 0 ;
2207 (char *) "self",(char *) "w",(char *) "h", NULL
2210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2213 arg2
= (int) SWIG_AsInt(obj1
);
2214 if (PyErr_Occurred()) SWIG_fail
;
2215 arg3
= (int) SWIG_AsInt(obj2
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->Set(arg2
,arg3
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxSize
*arg1
= (wxSize
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "w", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int) SWIG_AsInt(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->SetWidth(arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxSize
*arg1
= (wxSize
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2265 PyObject
* obj1
= 0 ;
2267 (char *) "self",(char *) "h", NULL
2270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 arg2
= (int) SWIG_AsInt(obj1
);
2274 if (PyErr_Occurred()) SWIG_fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 (arg1
)->SetHeight(arg2
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 Py_INCREF(Py_None
); resultobj
= Py_None
;
2289 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxSize
*arg1
= (wxSize
*) 0 ;
2293 PyObject
* obj0
= 0 ;
2295 (char *) "self", NULL
2298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2305 wxPyEndAllowThreads(__tstate
);
2306 if (PyErr_Occurred()) SWIG_fail
;
2308 resultobj
= SWIG_FromInt((int)result
);
2315 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2316 PyObject
*resultobj
;
2317 wxSize
*arg1
= (wxSize
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2321 (char *) "self", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2329 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2331 wxPyEndAllowThreads(__tstate
);
2332 if (PyErr_Occurred()) SWIG_fail
;
2334 resultobj
= SWIG_FromInt((int)result
);
2341 static PyObject
*_wrap_Size_IsFullySpecified(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2342 PyObject
*resultobj
;
2343 wxSize
*arg1
= (wxSize
*) 0 ;
2345 PyObject
* obj0
= 0 ;
2347 (char *) "self", NULL
2350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_IsFullySpecified",kwnames
,&obj0
)) goto fail
;
2351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2355 result
= (bool)((wxSize
const *)arg1
)->IsFullySpecified();
2357 wxPyEndAllowThreads(__tstate
);
2358 if (PyErr_Occurred()) SWIG_fail
;
2361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2369 static PyObject
*_wrap_Size_SetDefaults(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxSize
*arg1
= (wxSize
*) 0 ;
2374 PyObject
* obj0
= 0 ;
2375 PyObject
* obj1
= 0 ;
2377 (char *) "self",(char *) "size", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetDefaults",kwnames
,&obj0
,&obj1
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2385 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2389 (arg1
)->SetDefaults((wxSize
const &)*arg2
);
2391 wxPyEndAllowThreads(__tstate
);
2392 if (PyErr_Occurred()) SWIG_fail
;
2394 Py_INCREF(Py_None
); resultobj
= Py_None
;
2401 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2402 PyObject
*resultobj
;
2403 wxSize
*arg1
= (wxSize
*) 0 ;
2405 PyObject
* obj0
= 0 ;
2407 (char *) "self", NULL
2410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2415 result
= (PyObject
*)wxSize_Get(arg1
);
2417 wxPyEndAllowThreads(__tstate
);
2418 if (PyErr_Occurred()) SWIG_fail
;
2427 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2430 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2432 return Py_BuildValue((char *)"");
2434 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2435 PyObject
*resultobj
;
2436 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2438 PyObject
* obj0
= 0 ;
2439 PyObject
* obj1
= 0 ;
2441 (char *) "self",(char *) "x", NULL
2444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2447 arg2
= (double) SWIG_AsDouble(obj1
);
2448 if (PyErr_Occurred()) SWIG_fail
;
2449 if (arg1
) (arg1
)->x
= arg2
;
2451 Py_INCREF(Py_None
); resultobj
= Py_None
;
2458 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2464 (char *) "self", NULL
2467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2470 result
= (double) ((arg1
)->x
);
2472 resultobj
= SWIG_FromDouble((double)result
);
2479 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2480 PyObject
*resultobj
;
2481 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2483 PyObject
* obj0
= 0 ;
2484 PyObject
* obj1
= 0 ;
2486 (char *) "self",(char *) "y", NULL
2489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2492 arg2
= (double) SWIG_AsDouble(obj1
);
2493 if (PyErr_Occurred()) SWIG_fail
;
2494 if (arg1
) (arg1
)->y
= arg2
;
2496 Py_INCREF(Py_None
); resultobj
= Py_None
;
2503 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2504 PyObject
*resultobj
;
2505 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2507 PyObject
* obj0
= 0 ;
2509 (char *) "self", NULL
2512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2515 result
= (double) ((arg1
)->y
);
2517 resultobj
= SWIG_FromDouble((double)result
);
2524 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 double arg1
= (double) 0.0 ;
2527 double arg2
= (double) 0.0 ;
2528 wxRealPoint
*result
;
2529 PyObject
* obj0
= 0 ;
2530 PyObject
* obj1
= 0 ;
2532 (char *) "x",(char *) "y", NULL
2535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2537 arg1
= (double) SWIG_AsDouble(obj0
);
2538 if (PyErr_Occurred()) SWIG_fail
;
2541 arg2
= (double) SWIG_AsDouble(obj1
);
2542 if (PyErr_Occurred()) SWIG_fail
;
2545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2546 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2548 wxPyEndAllowThreads(__tstate
);
2549 if (PyErr_Occurred()) SWIG_fail
;
2551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2558 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2559 PyObject
*resultobj
;
2560 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2561 PyObject
* obj0
= 0 ;
2563 (char *) "self", NULL
2566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2573 wxPyEndAllowThreads(__tstate
);
2574 if (PyErr_Occurred()) SWIG_fail
;
2576 Py_INCREF(Py_None
); resultobj
= Py_None
;
2583 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2584 PyObject
*resultobj
;
2585 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2586 wxRealPoint
*arg2
= 0 ;
2589 PyObject
* obj0
= 0 ;
2590 PyObject
* obj1
= 0 ;
2592 (char *) "self",(char *) "pt", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2600 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2604 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2606 wxPyEndAllowThreads(__tstate
);
2607 if (PyErr_Occurred()) SWIG_fail
;
2610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2618 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2619 PyObject
*resultobj
;
2620 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2621 wxRealPoint
*arg2
= 0 ;
2624 PyObject
* obj0
= 0 ;
2625 PyObject
* obj1
= 0 ;
2627 (char *) "self",(char *) "pt", NULL
2630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2635 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2639 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2641 wxPyEndAllowThreads(__tstate
);
2642 if (PyErr_Occurred()) SWIG_fail
;
2645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2653 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2654 PyObject
*resultobj
;
2655 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2656 wxRealPoint
*arg2
= 0 ;
2659 PyObject
* obj0
= 0 ;
2660 PyObject
* obj1
= 0 ;
2662 (char *) "self",(char *) "pt", NULL
2665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2670 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2674 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2676 wxPyEndAllowThreads(__tstate
);
2677 if (PyErr_Occurred()) SWIG_fail
;
2680 wxRealPoint
* resultptr
;
2681 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2682 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2690 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2691 PyObject
*resultobj
;
2692 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2693 wxRealPoint
*arg2
= 0 ;
2696 PyObject
* obj0
= 0 ;
2697 PyObject
* obj1
= 0 ;
2699 (char *) "self",(char *) "pt", NULL
2702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2707 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2717 wxRealPoint
* resultptr
;
2718 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2719 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2727 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2728 PyObject
*resultobj
;
2729 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2732 PyObject
* obj0
= 0 ;
2733 PyObject
* obj1
= 0 ;
2734 PyObject
* obj2
= 0 ;
2736 (char *) "self",(char *) "x",(char *) "y", NULL
2739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2742 arg2
= (double) SWIG_AsDouble(obj1
);
2743 if (PyErr_Occurred()) SWIG_fail
;
2744 arg3
= (double) SWIG_AsDouble(obj2
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 wxRealPoint_Set(arg1
,arg2
,arg3
);
2750 wxPyEndAllowThreads(__tstate
);
2751 if (PyErr_Occurred()) SWIG_fail
;
2753 Py_INCREF(Py_None
); resultobj
= Py_None
;
2760 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2761 PyObject
*resultobj
;
2762 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2764 PyObject
* obj0
= 0 ;
2766 (char *) "self", NULL
2769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2774 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2776 wxPyEndAllowThreads(__tstate
);
2777 if (PyErr_Occurred()) SWIG_fail
;
2786 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2789 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2791 return Py_BuildValue((char *)"");
2793 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2794 PyObject
*resultobj
;
2795 wxPoint
*arg1
= (wxPoint
*) 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "self",(char *) "x", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2806 arg2
= (int) SWIG_AsInt(obj1
);
2807 if (PyErr_Occurred()) SWIG_fail
;
2808 if (arg1
) (arg1
)->x
= arg2
;
2810 Py_INCREF(Py_None
); resultobj
= Py_None
;
2817 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2818 PyObject
*resultobj
;
2819 wxPoint
*arg1
= (wxPoint
*) 0 ;
2821 PyObject
* obj0
= 0 ;
2823 (char *) "self", NULL
2826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2829 result
= (int) ((arg1
)->x
);
2831 resultobj
= SWIG_FromInt((int)result
);
2838 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2839 PyObject
*resultobj
;
2840 wxPoint
*arg1
= (wxPoint
*) 0 ;
2842 PyObject
* obj0
= 0 ;
2843 PyObject
* obj1
= 0 ;
2845 (char *) "self",(char *) "y", NULL
2848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2851 arg2
= (int) SWIG_AsInt(obj1
);
2852 if (PyErr_Occurred()) SWIG_fail
;
2853 if (arg1
) (arg1
)->y
= arg2
;
2855 Py_INCREF(Py_None
); resultobj
= Py_None
;
2862 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2863 PyObject
*resultobj
;
2864 wxPoint
*arg1
= (wxPoint
*) 0 ;
2866 PyObject
* obj0
= 0 ;
2868 (char *) "self", NULL
2871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2874 result
= (int) ((arg1
)->y
);
2876 resultobj
= SWIG_FromInt((int)result
);
2883 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 int arg1
= (int) 0 ;
2886 int arg2
= (int) 0 ;
2888 PyObject
* obj0
= 0 ;
2889 PyObject
* obj1
= 0 ;
2891 (char *) "x",(char *) "y", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2896 arg1
= (int) SWIG_AsInt(obj0
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2900 arg2
= (int) SWIG_AsInt(obj1
);
2901 if (PyErr_Occurred()) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2917 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxPoint
*arg1
= (wxPoint
*) 0 ;
2920 PyObject
* obj0
= 0 ;
2922 (char *) "self", NULL
2925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2932 wxPyEndAllowThreads(__tstate
);
2933 if (PyErr_Occurred()) SWIG_fail
;
2935 Py_INCREF(Py_None
); resultobj
= Py_None
;
2942 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2943 PyObject
*resultobj
;
2944 wxPoint
*arg1
= (wxPoint
*) 0 ;
2948 PyObject
* obj0
= 0 ;
2949 PyObject
* obj1
= 0 ;
2951 (char *) "self",(char *) "pt", NULL
2954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2959 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2963 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2965 wxPyEndAllowThreads(__tstate
);
2966 if (PyErr_Occurred()) SWIG_fail
;
2969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2977 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2978 PyObject
*resultobj
;
2979 wxPoint
*arg1
= (wxPoint
*) 0 ;
2983 PyObject
* obj0
= 0 ;
2984 PyObject
* obj1
= 0 ;
2986 (char *) "self",(char *) "pt", NULL
2989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2994 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2998 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
3000 wxPyEndAllowThreads(__tstate
);
3001 if (PyErr_Occurred()) SWIG_fail
;
3004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3012 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3013 PyObject
*resultobj
;
3014 wxPoint
*arg1
= (wxPoint
*) 0 ;
3018 PyObject
* obj0
= 0 ;
3019 PyObject
* obj1
= 0 ;
3021 (char *) "self",(char *) "pt", NULL
3024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3029 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3033 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
3035 wxPyEndAllowThreads(__tstate
);
3036 if (PyErr_Occurred()) SWIG_fail
;
3039 wxPoint
* resultptr
;
3040 resultptr
= new wxPoint((wxPoint
&) result
);
3041 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3049 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxPoint
*arg1
= (wxPoint
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3056 PyObject
* obj1
= 0 ;
3058 (char *) "self",(char *) "pt", NULL
3061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3066 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3070 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
3072 wxPyEndAllowThreads(__tstate
);
3073 if (PyErr_Occurred()) SWIG_fail
;
3076 wxPoint
* resultptr
;
3077 resultptr
= new wxPoint((wxPoint
&) result
);
3078 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3086 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3087 PyObject
*resultobj
;
3088 wxPoint
*arg1
= (wxPoint
*) 0 ;
3092 PyObject
* obj0
= 0 ;
3093 PyObject
* obj1
= 0 ;
3095 (char *) "self",(char *) "pt", NULL
3098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3103 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3109 result
= (wxPoint
*) &_result_ref
;
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3115 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3122 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3123 PyObject
*resultobj
;
3124 wxPoint
*arg1
= (wxPoint
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3129 PyObject
* obj1
= 0 ;
3131 (char *) "self",(char *) "pt", NULL
3134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3139 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3144 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3145 result
= (wxPoint
*) &_result_ref
;
3148 wxPyEndAllowThreads(__tstate
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3151 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3158 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3159 PyObject
*resultobj
;
3160 wxPoint
*arg1
= (wxPoint
*) 0 ;
3163 PyObject
* obj0
= 0 ;
3164 PyObject
* obj1
= 0 ;
3165 PyObject
* obj2
= 0 ;
3167 (char *) "self",(char *) "x",(char *) "y", NULL
3170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3173 arg2
= (long) SWIG_AsLong(obj1
);
3174 if (PyErr_Occurred()) SWIG_fail
;
3175 arg3
= (long) SWIG_AsLong(obj2
);
3176 if (PyErr_Occurred()) SWIG_fail
;
3178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3179 wxPoint_Set(arg1
,arg2
,arg3
);
3181 wxPyEndAllowThreads(__tstate
);
3182 if (PyErr_Occurred()) SWIG_fail
;
3184 Py_INCREF(Py_None
); resultobj
= Py_None
;
3191 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3192 PyObject
*resultobj
;
3193 wxPoint
*arg1
= (wxPoint
*) 0 ;
3195 PyObject
* obj0
= 0 ;
3197 (char *) "self", NULL
3200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3205 result
= (PyObject
*)wxPoint_Get(arg1
);
3207 wxPyEndAllowThreads(__tstate
);
3208 if (PyErr_Occurred()) SWIG_fail
;
3217 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3220 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3222 return Py_BuildValue((char *)"");
3224 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 int arg1
= (int) 0 ;
3227 int arg2
= (int) 0 ;
3228 int arg3
= (int) 0 ;
3229 int arg4
= (int) 0 ;
3231 PyObject
* obj0
= 0 ;
3232 PyObject
* obj1
= 0 ;
3233 PyObject
* obj2
= 0 ;
3234 PyObject
* obj3
= 0 ;
3236 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3241 arg1
= (int) SWIG_AsInt(obj0
);
3242 if (PyErr_Occurred()) SWIG_fail
;
3245 arg2
= (int) SWIG_AsInt(obj1
);
3246 if (PyErr_Occurred()) SWIG_fail
;
3249 arg3
= (int) SWIG_AsInt(obj2
);
3250 if (PyErr_Occurred()) SWIG_fail
;
3253 arg4
= (int) SWIG_AsInt(obj3
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3258 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3270 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3277 PyObject
* obj0
= 0 ;
3278 PyObject
* obj1
= 0 ;
3280 (char *) "topLeft",(char *) "bottomRight", NULL
3283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3286 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3290 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3294 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3296 wxPyEndAllowThreads(__tstate
);
3297 if (PyErr_Occurred()) SWIG_fail
;
3299 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3306 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3307 PyObject
*resultobj
;
3313 PyObject
* obj0
= 0 ;
3314 PyObject
* obj1
= 0 ;
3316 (char *) "pos",(char *) "size", NULL
3319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3322 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3326 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3330 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3332 wxPyEndAllowThreads(__tstate
);
3333 if (PyErr_Occurred()) SWIG_fail
;
3335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3342 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3343 PyObject
*resultobj
;
3344 wxRect
*arg1
= (wxRect
*) 0 ;
3345 PyObject
* obj0
= 0 ;
3347 (char *) "self", NULL
3350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 wxPyEndAllowThreads(__tstate
);
3358 if (PyErr_Occurred()) SWIG_fail
;
3360 Py_INCREF(Py_None
); resultobj
= Py_None
;
3367 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3368 PyObject
*resultobj
;
3369 wxRect
*arg1
= (wxRect
*) 0 ;
3371 PyObject
* obj0
= 0 ;
3373 (char *) "self", NULL
3376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3381 result
= (int)((wxRect
const *)arg1
)->GetX();
3383 wxPyEndAllowThreads(__tstate
);
3384 if (PyErr_Occurred()) SWIG_fail
;
3386 resultobj
= SWIG_FromInt((int)result
);
3393 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3394 PyObject
*resultobj
;
3395 wxRect
*arg1
= (wxRect
*) 0 ;
3397 PyObject
* obj0
= 0 ;
3398 PyObject
* obj1
= 0 ;
3400 (char *) "self",(char *) "x", NULL
3403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3406 arg2
= (int) SWIG_AsInt(obj1
);
3407 if (PyErr_Occurred()) SWIG_fail
;
3409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 wxPyEndAllowThreads(__tstate
);
3413 if (PyErr_Occurred()) SWIG_fail
;
3415 Py_INCREF(Py_None
); resultobj
= Py_None
;
3422 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3423 PyObject
*resultobj
;
3424 wxRect
*arg1
= (wxRect
*) 0 ;
3426 PyObject
* obj0
= 0 ;
3428 (char *) "self", NULL
3431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3436 result
= (int)(arg1
)->GetY();
3438 wxPyEndAllowThreads(__tstate
);
3439 if (PyErr_Occurred()) SWIG_fail
;
3441 resultobj
= SWIG_FromInt((int)result
);
3448 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3449 PyObject
*resultobj
;
3450 wxRect
*arg1
= (wxRect
*) 0 ;
3452 PyObject
* obj0
= 0 ;
3453 PyObject
* obj1
= 0 ;
3455 (char *) "self",(char *) "y", NULL
3458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3461 arg2
= (int) SWIG_AsInt(obj1
);
3462 if (PyErr_Occurred()) SWIG_fail
;
3464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 wxPyEndAllowThreads(__tstate
);
3468 if (PyErr_Occurred()) SWIG_fail
;
3470 Py_INCREF(Py_None
); resultobj
= Py_None
;
3477 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3478 PyObject
*resultobj
;
3479 wxRect
*arg1
= (wxRect
*) 0 ;
3481 PyObject
* obj0
= 0 ;
3483 (char *) "self", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3491 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3493 wxPyEndAllowThreads(__tstate
);
3494 if (PyErr_Occurred()) SWIG_fail
;
3496 resultobj
= SWIG_FromInt((int)result
);
3503 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3504 PyObject
*resultobj
;
3505 wxRect
*arg1
= (wxRect
*) 0 ;
3507 PyObject
* obj0
= 0 ;
3508 PyObject
* obj1
= 0 ;
3510 (char *) "self",(char *) "w", NULL
3513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3516 arg2
= (int) SWIG_AsInt(obj1
);
3517 if (PyErr_Occurred()) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 (arg1
)->SetWidth(arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 Py_INCREF(Py_None
); resultobj
= Py_None
;
3532 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxRect
*arg1
= (wxRect
*) 0 ;
3536 PyObject
* obj0
= 0 ;
3538 (char *) "self", NULL
3541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3546 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3548 wxPyEndAllowThreads(__tstate
);
3549 if (PyErr_Occurred()) SWIG_fail
;
3551 resultobj
= SWIG_FromInt((int)result
);
3558 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3559 PyObject
*resultobj
;
3560 wxRect
*arg1
= (wxRect
*) 0 ;
3562 PyObject
* obj0
= 0 ;
3563 PyObject
* obj1
= 0 ;
3565 (char *) "self",(char *) "h", NULL
3568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3571 arg2
= (int) SWIG_AsInt(obj1
);
3572 if (PyErr_Occurred()) SWIG_fail
;
3574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3575 (arg1
)->SetHeight(arg2
);
3577 wxPyEndAllowThreads(__tstate
);
3578 if (PyErr_Occurred()) SWIG_fail
;
3580 Py_INCREF(Py_None
); resultobj
= Py_None
;
3587 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3588 PyObject
*resultobj
;
3589 wxRect
*arg1
= (wxRect
*) 0 ;
3591 PyObject
* obj0
= 0 ;
3593 (char *) "self", NULL
3596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3601 result
= ((wxRect
const *)arg1
)->GetPosition();
3603 wxPyEndAllowThreads(__tstate
);
3604 if (PyErr_Occurred()) SWIG_fail
;
3607 wxPoint
* resultptr
;
3608 resultptr
= new wxPoint((wxPoint
&) result
);
3609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3617 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxRect
*arg1
= (wxRect
*) 0 ;
3622 PyObject
* obj0
= 0 ;
3623 PyObject
* obj1
= 0 ;
3625 (char *) "self",(char *) "p", NULL
3628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3637 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3639 wxPyEndAllowThreads(__tstate
);
3640 if (PyErr_Occurred()) SWIG_fail
;
3642 Py_INCREF(Py_None
); resultobj
= Py_None
;
3649 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3650 PyObject
*resultobj
;
3651 wxRect
*arg1
= (wxRect
*) 0 ;
3653 PyObject
* obj0
= 0 ;
3655 (char *) "self", NULL
3658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3663 result
= ((wxRect
const *)arg1
)->GetSize();
3665 wxPyEndAllowThreads(__tstate
);
3666 if (PyErr_Occurred()) SWIG_fail
;
3670 resultptr
= new wxSize((wxSize
&) result
);
3671 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3679 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3680 PyObject
*resultobj
;
3681 wxRect
*arg1
= (wxRect
*) 0 ;
3684 PyObject
* obj0
= 0 ;
3685 PyObject
* obj1
= 0 ;
3687 (char *) "self",(char *) "s", NULL
3690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3695 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3699 (arg1
)->SetSize((wxSize
const &)*arg2
);
3701 wxPyEndAllowThreads(__tstate
);
3702 if (PyErr_Occurred()) SWIG_fail
;
3704 Py_INCREF(Py_None
); resultobj
= Py_None
;
3711 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3712 PyObject
*resultobj
;
3713 wxRect
*arg1
= (wxRect
*) 0 ;
3715 PyObject
* obj0
= 0 ;
3717 (char *) "self", NULL
3720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3725 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3727 wxPyEndAllowThreads(__tstate
);
3728 if (PyErr_Occurred()) SWIG_fail
;
3731 wxPoint
* resultptr
;
3732 resultptr
= new wxPoint((wxPoint
&) result
);
3733 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3741 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
;
3743 wxRect
*arg1
= (wxRect
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3747 PyObject
* obj1
= 0 ;
3749 (char *) "self",(char *) "p", NULL
3752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3761 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3763 wxPyEndAllowThreads(__tstate
);
3764 if (PyErr_Occurred()) SWIG_fail
;
3766 Py_INCREF(Py_None
); resultobj
= Py_None
;
3773 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3774 PyObject
*resultobj
;
3775 wxRect
*arg1
= (wxRect
*) 0 ;
3777 PyObject
* obj0
= 0 ;
3779 (char *) "self", NULL
3782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3787 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3789 wxPyEndAllowThreads(__tstate
);
3790 if (PyErr_Occurred()) SWIG_fail
;
3793 wxPoint
* resultptr
;
3794 resultptr
= new wxPoint((wxPoint
&) result
);
3795 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3803 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3804 PyObject
*resultobj
;
3805 wxRect
*arg1
= (wxRect
*) 0 ;
3808 PyObject
* obj0
= 0 ;
3809 PyObject
* obj1
= 0 ;
3811 (char *) "self",(char *) "p", NULL
3814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3819 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3823 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3825 wxPyEndAllowThreads(__tstate
);
3826 if (PyErr_Occurred()) SWIG_fail
;
3828 Py_INCREF(Py_None
); resultobj
= Py_None
;
3835 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3836 PyObject
*resultobj
;
3837 wxRect
*arg1
= (wxRect
*) 0 ;
3839 PyObject
* obj0
= 0 ;
3841 (char *) "self", NULL
3844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3849 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3851 wxPyEndAllowThreads(__tstate
);
3852 if (PyErr_Occurred()) SWIG_fail
;
3854 resultobj
= SWIG_FromInt((int)result
);
3861 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3862 PyObject
*resultobj
;
3863 wxRect
*arg1
= (wxRect
*) 0 ;
3865 PyObject
* obj0
= 0 ;
3867 (char *) "self", NULL
3870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3875 result
= (int)((wxRect
const *)arg1
)->GetTop();
3877 wxPyEndAllowThreads(__tstate
);
3878 if (PyErr_Occurred()) SWIG_fail
;
3880 resultobj
= SWIG_FromInt((int)result
);
3887 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3888 PyObject
*resultobj
;
3889 wxRect
*arg1
= (wxRect
*) 0 ;
3891 PyObject
* obj0
= 0 ;
3893 (char *) "self", NULL
3896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3901 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3903 wxPyEndAllowThreads(__tstate
);
3904 if (PyErr_Occurred()) SWIG_fail
;
3906 resultobj
= SWIG_FromInt((int)result
);
3913 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3914 PyObject
*resultobj
;
3915 wxRect
*arg1
= (wxRect
*) 0 ;
3917 PyObject
* obj0
= 0 ;
3919 (char *) "self", NULL
3922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3923 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3924 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3927 result
= (int)((wxRect
const *)arg1
)->GetRight();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_FromInt((int)result
);
3939 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
;
3941 wxRect
*arg1
= (wxRect
*) 0 ;
3943 PyObject
* obj0
= 0 ;
3944 PyObject
* obj1
= 0 ;
3946 (char *) "self",(char *) "left", NULL
3949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3952 arg2
= (int) SWIG_AsInt(obj1
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3956 (arg1
)->SetLeft(arg2
);
3958 wxPyEndAllowThreads(__tstate
);
3959 if (PyErr_Occurred()) SWIG_fail
;
3961 Py_INCREF(Py_None
); resultobj
= Py_None
;
3968 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3969 PyObject
*resultobj
;
3970 wxRect
*arg1
= (wxRect
*) 0 ;
3972 PyObject
* obj0
= 0 ;
3973 PyObject
* obj1
= 0 ;
3975 (char *) "self",(char *) "right", NULL
3978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3981 arg2
= (int) SWIG_AsInt(obj1
);
3982 if (PyErr_Occurred()) SWIG_fail
;
3984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3985 (arg1
)->SetRight(arg2
);
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxRect
*arg1
= (wxRect
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4004 (char *) "self",(char *) "top", NULL
4007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
4008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4010 arg2
= (int) SWIG_AsInt(obj1
);
4011 if (PyErr_Occurred()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 (arg1
)->SetTop(arg2
);
4016 wxPyEndAllowThreads(__tstate
);
4017 if (PyErr_Occurred()) SWIG_fail
;
4019 Py_INCREF(Py_None
); resultobj
= Py_None
;
4026 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4027 PyObject
*resultobj
;
4028 wxRect
*arg1
= (wxRect
*) 0 ;
4030 PyObject
* obj0
= 0 ;
4031 PyObject
* obj1
= 0 ;
4033 (char *) "self",(char *) "bottom", NULL
4036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
4037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4039 arg2
= (int) SWIG_AsInt(obj1
);
4040 if (PyErr_Occurred()) SWIG_fail
;
4042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4043 (arg1
)->SetBottom(arg2
);
4045 wxPyEndAllowThreads(__tstate
);
4046 if (PyErr_Occurred()) SWIG_fail
;
4048 Py_INCREF(Py_None
); resultobj
= Py_None
;
4055 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4056 PyObject
*resultobj
;
4057 wxRect
*arg1
= (wxRect
*) 0 ;
4061 PyObject
* obj0
= 0 ;
4062 PyObject
* obj1
= 0 ;
4063 PyObject
* obj2
= 0 ;
4065 (char *) "self",(char *) "dx",(char *) "dy", NULL
4068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4071 arg2
= (int) SWIG_AsInt(obj1
);
4072 if (PyErr_Occurred()) SWIG_fail
;
4073 arg3
= (int) SWIG_AsInt(obj2
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4078 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
4079 result
= (wxRect
*) &_result_ref
;
4082 wxPyEndAllowThreads(__tstate
);
4083 if (PyErr_Occurred()) SWIG_fail
;
4085 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4092 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4093 PyObject
*resultobj
;
4094 wxRect
*arg1
= (wxRect
*) 0 ;
4098 PyObject
* obj0
= 0 ;
4099 PyObject
* obj1
= 0 ;
4100 PyObject
* obj2
= 0 ;
4102 (char *) "self",(char *) "dx",(char *) "dy", NULL
4105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4108 arg2
= (int) SWIG_AsInt(obj1
);
4109 if (PyErr_Occurred()) SWIG_fail
;
4110 arg3
= (int) SWIG_AsInt(obj2
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4115 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4116 result
= (wxRect
*) &_result_ref
;
4119 wxPyEndAllowThreads(__tstate
);
4120 if (PyErr_Occurred()) SWIG_fail
;
4122 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4129 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4130 PyObject
*resultobj
;
4131 wxRect
*arg1
= (wxRect
*) 0 ;
4134 PyObject
* obj0
= 0 ;
4135 PyObject
* obj1
= 0 ;
4136 PyObject
* obj2
= 0 ;
4138 (char *) "self",(char *) "dx",(char *) "dy", NULL
4141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4144 arg2
= (int) SWIG_AsInt(obj1
);
4145 if (PyErr_Occurred()) SWIG_fail
;
4146 arg3
= (int) SWIG_AsInt(obj2
);
4147 if (PyErr_Occurred()) SWIG_fail
;
4149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4150 (arg1
)->Offset(arg2
,arg3
);
4152 wxPyEndAllowThreads(__tstate
);
4153 if (PyErr_Occurred()) SWIG_fail
;
4155 Py_INCREF(Py_None
); resultobj
= Py_None
;
4162 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4163 PyObject
*resultobj
;
4164 wxRect
*arg1
= (wxRect
*) 0 ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4170 (char *) "self",(char *) "pt", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4178 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4182 (arg1
)->Offset((wxPoint
const &)*arg2
);
4184 wxPyEndAllowThreads(__tstate
);
4185 if (PyErr_Occurred()) SWIG_fail
;
4187 Py_INCREF(Py_None
); resultobj
= Py_None
;
4194 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4195 PyObject
*resultobj
;
4196 wxRect
*arg1
= (wxRect
*) 0 ;
4200 PyObject
* obj0
= 0 ;
4201 PyObject
* obj1
= 0 ;
4203 (char *) "self",(char *) "rect", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4211 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4216 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4217 result
= (wxRect
*) &_result_ref
;
4220 wxPyEndAllowThreads(__tstate
);
4221 if (PyErr_Occurred()) SWIG_fail
;
4223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4230 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4231 PyObject
*resultobj
;
4232 wxRect
*arg1
= (wxRect
*) 0 ;
4236 PyObject
* obj0
= 0 ;
4237 PyObject
* obj1
= 0 ;
4239 (char *) "self",(char *) "rect", NULL
4242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4247 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4258 resultptr
= new wxRect((wxRect
&) result
);
4259 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4267 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxRect
*arg1
= (wxRect
*) 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "rect", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4284 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4289 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4290 result
= (wxRect
*) &_result_ref
;
4293 wxPyEndAllowThreads(__tstate
);
4294 if (PyErr_Occurred()) SWIG_fail
;
4296 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4303 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4304 PyObject
*resultobj
;
4305 wxRect
*arg1
= (wxRect
*) 0 ;
4309 PyObject
* obj0
= 0 ;
4310 PyObject
* obj1
= 0 ;
4312 (char *) "self",(char *) "rect", NULL
4315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4320 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4324 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4338 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4339 PyObject
*resultobj
;
4340 wxRect
*arg1
= (wxRect
*) 0 ;
4344 PyObject
* obj0
= 0 ;
4345 PyObject
* obj1
= 0 ;
4347 (char *) "self",(char *) "rect", NULL
4350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4351 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4352 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4355 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4359 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4361 wxPyEndAllowThreads(__tstate
);
4362 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4373 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4374 PyObject
*resultobj
;
4375 wxRect
*arg1
= (wxRect
*) 0 ;
4379 PyObject
* obj0
= 0 ;
4380 PyObject
* obj1
= 0 ;
4381 PyObject
* obj2
= 0 ;
4383 (char *) "self",(char *) "x",(char *) "y", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4389 arg2
= (int) SWIG_AsInt(obj1
);
4390 if (PyErr_Occurred()) SWIG_fail
;
4391 arg3
= (int) SWIG_AsInt(obj2
);
4392 if (PyErr_Occurred()) SWIG_fail
;
4394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4409 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxRect
*arg1
= (wxRect
*) 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4418 (char *) "self",(char *) "pt", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4426 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4432 wxPyEndAllowThreads(__tstate
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4436 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4444 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4445 PyObject
*resultobj
;
4446 wxRect
*arg1
= (wxRect
*) 0 ;
4450 PyObject
* obj0
= 0 ;
4451 PyObject
* obj1
= 0 ;
4453 (char *) "self",(char *) "rect", NULL
4456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4461 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4465 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4467 wxPyEndAllowThreads(__tstate
);
4468 if (PyErr_Occurred()) SWIG_fail
;
4471 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4479 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4480 PyObject
*resultobj
;
4481 wxRect
*arg1
= (wxRect
*) 0 ;
4483 PyObject
* obj0
= 0 ;
4484 PyObject
* obj1
= 0 ;
4486 (char *) "self",(char *) "x", NULL
4489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4492 arg2
= (int) SWIG_AsInt(obj1
);
4493 if (PyErr_Occurred()) SWIG_fail
;
4494 if (arg1
) (arg1
)->x
= arg2
;
4496 Py_INCREF(Py_None
); resultobj
= Py_None
;
4503 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4504 PyObject
*resultobj
;
4505 wxRect
*arg1
= (wxRect
*) 0 ;
4507 PyObject
* obj0
= 0 ;
4509 (char *) "self", NULL
4512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4515 result
= (int) ((arg1
)->x
);
4517 resultobj
= SWIG_FromInt((int)result
);
4524 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxRect
*arg1
= (wxRect
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4529 PyObject
* obj1
= 0 ;
4531 (char *) "self",(char *) "y", NULL
4534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4535 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4537 arg2
= (int) SWIG_AsInt(obj1
);
4538 if (PyErr_Occurred()) SWIG_fail
;
4539 if (arg1
) (arg1
)->y
= arg2
;
4541 Py_INCREF(Py_None
); resultobj
= Py_None
;
4548 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4549 PyObject
*resultobj
;
4550 wxRect
*arg1
= (wxRect
*) 0 ;
4552 PyObject
* obj0
= 0 ;
4554 (char *) "self", NULL
4557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4560 result
= (int) ((arg1
)->y
);
4562 resultobj
= SWIG_FromInt((int)result
);
4569 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4570 PyObject
*resultobj
;
4571 wxRect
*arg1
= (wxRect
*) 0 ;
4573 PyObject
* obj0
= 0 ;
4574 PyObject
* obj1
= 0 ;
4576 (char *) "self",(char *) "width", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4582 arg2
= (int) SWIG_AsInt(obj1
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4584 if (arg1
) (arg1
)->width
= arg2
;
4586 Py_INCREF(Py_None
); resultobj
= Py_None
;
4593 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4594 PyObject
*resultobj
;
4595 wxRect
*arg1
= (wxRect
*) 0 ;
4597 PyObject
* obj0
= 0 ;
4599 (char *) "self", NULL
4602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4605 result
= (int) ((arg1
)->width
);
4607 resultobj
= SWIG_FromInt((int)result
);
4614 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4615 PyObject
*resultobj
;
4616 wxRect
*arg1
= (wxRect
*) 0 ;
4618 PyObject
* obj0
= 0 ;
4619 PyObject
* obj1
= 0 ;
4621 (char *) "self",(char *) "height", NULL
4624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4627 arg2
= (int) SWIG_AsInt(obj1
);
4628 if (PyErr_Occurred()) SWIG_fail
;
4629 if (arg1
) (arg1
)->height
= arg2
;
4631 Py_INCREF(Py_None
); resultobj
= Py_None
;
4638 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4639 PyObject
*resultobj
;
4640 wxRect
*arg1
= (wxRect
*) 0 ;
4642 PyObject
* obj0
= 0 ;
4644 (char *) "self", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 result
= (int) ((arg1
)->height
);
4652 resultobj
= SWIG_FromInt((int)result
);
4659 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4660 PyObject
*resultobj
;
4661 wxRect
*arg1
= (wxRect
*) 0 ;
4662 int arg2
= (int) 0 ;
4663 int arg3
= (int) 0 ;
4664 int arg4
= (int) 0 ;
4665 int arg5
= (int) 0 ;
4666 PyObject
* obj0
= 0 ;
4667 PyObject
* obj1
= 0 ;
4668 PyObject
* obj2
= 0 ;
4669 PyObject
* obj3
= 0 ;
4670 PyObject
* obj4
= 0 ;
4672 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4679 arg2
= (int) SWIG_AsInt(obj1
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4683 arg3
= (int) SWIG_AsInt(obj2
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 arg4
= (int) SWIG_AsInt(obj3
);
4688 if (PyErr_Occurred()) SWIG_fail
;
4691 arg5
= (int) SWIG_AsInt(obj4
);
4692 if (PyErr_Occurred()) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxRect
*arg1
= (wxRect
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4722 result
= (PyObject
*)wxRect_Get(arg1
);
4724 wxPyEndAllowThreads(__tstate
);
4725 if (PyErr_Occurred()) SWIG_fail
;
4734 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4736 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4737 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4739 return Py_BuildValue((char *)"");
4741 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4742 PyObject
*resultobj
;
4743 wxRect
*arg1
= (wxRect
*) 0 ;
4744 wxRect
*arg2
= (wxRect
*) 0 ;
4746 PyObject
* obj0
= 0 ;
4747 PyObject
* obj1
= 0 ;
4749 (char *) "r1",(char *) "r2", NULL
4752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4755 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4759 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4771 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4772 PyObject
*resultobj
;
4773 double arg1
= (double) 0.0 ;
4774 double arg2
= (double) 0.0 ;
4776 PyObject
* obj0
= 0 ;
4777 PyObject
* obj1
= 0 ;
4779 (char *) "x",(char *) "y", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4784 arg1
= (double) SWIG_AsDouble(obj0
);
4785 if (PyErr_Occurred()) SWIG_fail
;
4788 arg2
= (double) SWIG_AsDouble(obj1
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4793 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4795 wxPyEndAllowThreads(__tstate
);
4796 if (PyErr_Occurred()) SWIG_fail
;
4798 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4805 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4806 PyObject
*resultobj
;
4807 wxPoint2D
*arg1
= 0 ;
4810 PyObject
* obj0
= 0 ;
4815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4818 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4822 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4824 wxPyEndAllowThreads(__tstate
);
4825 if (PyErr_Occurred()) SWIG_fail
;
4827 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4834 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4839 PyObject
* obj0
= 0 ;
4844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4847 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4853 wxPyEndAllowThreads(__tstate
);
4854 if (PyErr_Occurred()) SWIG_fail
;
4856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4863 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4864 PyObject
*resultobj
;
4865 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4866 int *arg2
= (int *) 0 ;
4867 int *arg3
= (int *) 0 ;
4870 PyObject
* obj0
= 0 ;
4872 (char *) "self", NULL
4877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4882 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4884 wxPyEndAllowThreads(__tstate
);
4885 if (PyErr_Occurred()) SWIG_fail
;
4887 Py_INCREF(Py_None
); resultobj
= Py_None
;
4889 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4890 resultobj
= t_output_helper(resultobj
,o
);
4893 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4894 resultobj
= t_output_helper(resultobj
,o
);
4902 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4903 PyObject
*resultobj
;
4904 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4905 int *arg2
= (int *) 0 ;
4906 int *arg3
= (int *) 0 ;
4909 PyObject
* obj0
= 0 ;
4911 (char *) "self", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4921 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4923 wxPyEndAllowThreads(__tstate
);
4924 if (PyErr_Occurred()) SWIG_fail
;
4926 Py_INCREF(Py_None
); resultobj
= Py_None
;
4928 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4929 resultobj
= t_output_helper(resultobj
,o
);
4932 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4933 resultobj
= t_output_helper(resultobj
,o
);
4941 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4955 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4957 wxPyEndAllowThreads(__tstate
);
4958 if (PyErr_Occurred()) SWIG_fail
;
4960 resultobj
= SWIG_FromDouble((double)result
);
4967 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4968 PyObject
*resultobj
;
4969 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4971 PyObject
* obj0
= 0 ;
4973 (char *) "self", NULL
4976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4981 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4983 wxPyEndAllowThreads(__tstate
);
4984 if (PyErr_Occurred()) SWIG_fail
;
4986 resultobj
= SWIG_FromDouble((double)result
);
4993 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4994 PyObject
*resultobj
;
4995 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4997 PyObject
* obj0
= 0 ;
4998 PyObject
* obj1
= 0 ;
5000 (char *) "self",(char *) "length", NULL
5003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
5004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5006 arg2
= (double) SWIG_AsDouble(obj1
);
5007 if (PyErr_Occurred()) SWIG_fail
;
5009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5010 (arg1
)->SetVectorLength(arg2
);
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 Py_INCREF(Py_None
); resultobj
= Py_None
;
5022 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
;
5024 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5026 PyObject
* obj0
= 0 ;
5027 PyObject
* obj1
= 0 ;
5029 (char *) "self",(char *) "degrees", NULL
5032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
5033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5035 arg2
= (double) SWIG_AsDouble(obj1
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 (arg1
)->SetVectorAngle(arg2
);
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 Py_INCREF(Py_None
); resultobj
= Py_None
;
5051 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5054 wxPoint2D
*arg2
= 0 ;
5057 PyObject
* obj0
= 0 ;
5058 PyObject
* obj1
= 0 ;
5060 (char *) "self",(char *) "pt", NULL
5063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
5064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5068 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5072 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
5074 wxPyEndAllowThreads(__tstate
);
5075 if (PyErr_Occurred()) SWIG_fail
;
5077 resultobj
= SWIG_FromDouble((double)result
);
5084 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5085 PyObject
*resultobj
;
5086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5087 wxPoint2D
*arg2
= 0 ;
5090 PyObject
* obj0
= 0 ;
5091 PyObject
* obj1
= 0 ;
5093 (char *) "self",(char *) "pt", NULL
5096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
5097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5101 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5105 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5107 wxPyEndAllowThreads(__tstate
);
5108 if (PyErr_Occurred()) SWIG_fail
;
5110 resultobj
= SWIG_FromDouble((double)result
);
5117 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5118 PyObject
*resultobj
;
5119 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5120 wxPoint2D
*arg2
= 0 ;
5123 PyObject
* obj0
= 0 ;
5124 PyObject
* obj1
= 0 ;
5126 (char *) "self",(char *) "vec", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5134 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5138 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5140 wxPyEndAllowThreads(__tstate
);
5141 if (PyErr_Occurred()) SWIG_fail
;
5143 resultobj
= SWIG_FromDouble((double)result
);
5150 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5151 PyObject
*resultobj
;
5152 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5153 wxPoint2D
*arg2
= 0 ;
5156 PyObject
* obj0
= 0 ;
5157 PyObject
* obj1
= 0 ;
5159 (char *) "self",(char *) "vec", NULL
5162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5167 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5171 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5173 wxPyEndAllowThreads(__tstate
);
5174 if (PyErr_Occurred()) SWIG_fail
;
5176 resultobj
= SWIG_FromDouble((double)result
);
5183 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5184 PyObject
*resultobj
;
5185 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5187 PyObject
* obj0
= 0 ;
5189 (char *) "self", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5197 result
= (arg1
)->operator -();
5199 wxPyEndAllowThreads(__tstate
);
5200 if (PyErr_Occurred()) SWIG_fail
;
5203 wxPoint2D
* resultptr
;
5204 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5213 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5216 wxPoint2D
*arg2
= 0 ;
5219 PyObject
* obj0
= 0 ;
5220 PyObject
* obj1
= 0 ;
5222 (char *) "self",(char *) "pt", NULL
5225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5230 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5235 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5236 result
= (wxPoint2D
*) &_result_ref
;
5239 wxPyEndAllowThreads(__tstate
);
5240 if (PyErr_Occurred()) SWIG_fail
;
5242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5249 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5250 PyObject
*resultobj
;
5251 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5252 wxPoint2D
*arg2
= 0 ;
5255 PyObject
* obj0
= 0 ;
5256 PyObject
* obj1
= 0 ;
5258 (char *) "self",(char *) "pt", NULL
5261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5266 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5272 result
= (wxPoint2D
*) &_result_ref
;
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5285 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5286 PyObject
*resultobj
;
5287 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5288 wxPoint2D
*arg2
= 0 ;
5291 PyObject
* obj0
= 0 ;
5292 PyObject
* obj1
= 0 ;
5294 (char *) "self",(char *) "pt", NULL
5297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5302 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5308 result
= (wxPoint2D
*) &_result_ref
;
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5321 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5324 wxPoint2D
*arg2
= 0 ;
5327 PyObject
* obj0
= 0 ;
5328 PyObject
* obj1
= 0 ;
5330 (char *) "self",(char *) "pt", NULL
5333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5338 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5343 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5344 result
= (wxPoint2D
*) &_result_ref
;
5347 wxPyEndAllowThreads(__tstate
);
5348 if (PyErr_Occurred()) SWIG_fail
;
5350 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5357 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5358 PyObject
*resultobj
;
5359 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5360 wxPoint2D
*arg2
= 0 ;
5363 PyObject
* obj0
= 0 ;
5364 PyObject
* obj1
= 0 ;
5366 (char *) "self",(char *) "pt", NULL
5369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5378 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5384 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5392 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5395 wxPoint2D
*arg2
= 0 ;
5398 PyObject
* obj0
= 0 ;
5399 PyObject
* obj1
= 0 ;
5401 (char *) "self",(char *) "pt", NULL
5404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5409 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5413 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5415 wxPyEndAllowThreads(__tstate
);
5416 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5427 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5431 PyObject
* obj0
= 0 ;
5432 PyObject
* obj1
= 0 ;
5434 (char *) "self",(char *) "m_x", NULL
5437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5440 arg2
= (double) SWIG_AsDouble(obj1
);
5441 if (PyErr_Occurred()) SWIG_fail
;
5442 if (arg1
) (arg1
)->m_x
= arg2
;
5444 Py_INCREF(Py_None
); resultobj
= Py_None
;
5451 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5452 PyObject
*resultobj
;
5453 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5455 PyObject
* obj0
= 0 ;
5457 (char *) "self", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5463 result
= (double) ((arg1
)->m_x
);
5465 resultobj
= SWIG_FromDouble((double)result
);
5472 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5473 PyObject
*resultobj
;
5474 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5476 PyObject
* obj0
= 0 ;
5477 PyObject
* obj1
= 0 ;
5479 (char *) "self",(char *) "m_y", NULL
5482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5485 arg2
= (double) SWIG_AsDouble(obj1
);
5486 if (PyErr_Occurred()) SWIG_fail
;
5487 if (arg1
) (arg1
)->m_y
= arg2
;
5489 Py_INCREF(Py_None
); resultobj
= Py_None
;
5496 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5497 PyObject
*resultobj
;
5498 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5500 PyObject
* obj0
= 0 ;
5502 (char *) "self", NULL
5505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5508 result
= (double) ((arg1
)->m_y
);
5510 resultobj
= SWIG_FromDouble((double)result
);
5517 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5518 PyObject
*resultobj
;
5519 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5520 double arg2
= (double) 0 ;
5521 double arg3
= (double) 0 ;
5522 PyObject
* obj0
= 0 ;
5523 PyObject
* obj1
= 0 ;
5524 PyObject
* obj2
= 0 ;
5526 (char *) "self",(char *) "x",(char *) "y", NULL
5529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5533 arg2
= (double) SWIG_AsDouble(obj1
);
5534 if (PyErr_Occurred()) SWIG_fail
;
5537 arg3
= (double) SWIG_AsDouble(obj2
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5542 wxPoint2D_Set(arg1
,arg2
,arg3
);
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5558 PyObject
* obj0
= 0 ;
5560 (char *) "self", NULL
5563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5568 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5570 wxPyEndAllowThreads(__tstate
);
5571 if (PyErr_Occurred()) SWIG_fail
;
5580 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5583 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5585 return Py_BuildValue((char *)"");
5587 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5588 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5593 static PyObject
*_wrap_DefaultPosition_get() {
5596 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5601 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5602 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5607 static PyObject
*_wrap_DefaultSize_get() {
5610 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5615 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 PyObject
*arg1
= (PyObject
*) 0 ;
5618 wxPyInputStream
*result
;
5619 PyObject
* obj0
= 0 ;
5624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5628 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5630 wxPyEndAllowThreads(__tstate
);
5631 if (PyErr_Occurred()) SWIG_fail
;
5633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5640 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5641 PyObject
*resultobj
;
5642 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5643 PyObject
* obj0
= 0 ;
5645 (char *) "self", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5658 Py_INCREF(Py_None
); resultobj
= Py_None
;
5665 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5666 PyObject
*resultobj
;
5667 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5668 PyObject
* obj0
= 0 ;
5670 (char *) "self", NULL
5673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5680 wxPyEndAllowThreads(__tstate
);
5681 if (PyErr_Occurred()) SWIG_fail
;
5683 Py_INCREF(Py_None
); resultobj
= Py_None
;
5690 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5691 PyObject
*resultobj
;
5692 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5694 PyObject
* obj0
= 0 ;
5696 (char *) "self", NULL
5699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5704 result
= (bool)(arg1
)->eof();
5706 wxPyEndAllowThreads(__tstate
);
5707 if (PyErr_Occurred()) SWIG_fail
;
5710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5718 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5719 PyObject
*resultobj
;
5720 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5721 int arg2
= (int) -1 ;
5723 PyObject
* obj0
= 0 ;
5724 PyObject
* obj1
= 0 ;
5726 (char *) "self",(char *) "size", NULL
5729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5733 arg2
= (int) SWIG_AsInt(obj1
);
5734 if (PyErr_Occurred()) SWIG_fail
;
5737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5738 result
= (PyObject
*)(arg1
)->read(arg2
);
5740 wxPyEndAllowThreads(__tstate
);
5741 if (PyErr_Occurred()) SWIG_fail
;
5750 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
;
5752 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5753 int arg2
= (int) -1 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5758 (char *) "self",(char *) "size", NULL
5761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5765 arg2
= (int) SWIG_AsInt(obj1
);
5766 if (PyErr_Occurred()) SWIG_fail
;
5769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5770 result
= (PyObject
*)(arg1
)->readline(arg2
);
5772 wxPyEndAllowThreads(__tstate
);
5773 if (PyErr_Occurred()) SWIG_fail
;
5782 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5783 PyObject
*resultobj
;
5784 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5785 int arg2
= (int) -1 ;
5787 PyObject
* obj0
= 0 ;
5788 PyObject
* obj1
= 0 ;
5790 (char *) "self",(char *) "sizehint", NULL
5793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5797 arg2
= (int) SWIG_AsInt(obj1
);
5798 if (PyErr_Occurred()) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5814 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5818 int arg3
= (int) 0 ;
5819 PyObject
* obj0
= 0 ;
5820 PyObject
* obj1
= 0 ;
5821 PyObject
* obj2
= 0 ;
5823 (char *) "self",(char *) "offset",(char *) "whence", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 arg2
= (int) SWIG_AsInt(obj1
);
5830 if (PyErr_Occurred()) SWIG_fail
;
5832 arg3
= (int) SWIG_AsInt(obj2
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5837 (arg1
)->seek(arg2
,arg3
);
5839 wxPyEndAllowThreads(__tstate
);
5840 if (PyErr_Occurred()) SWIG_fail
;
5842 Py_INCREF(Py_None
); resultobj
= Py_None
;
5849 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5850 PyObject
*resultobj
;
5851 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5853 PyObject
* obj0
= 0 ;
5855 (char *) "self", NULL
5858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5863 result
= (int)(arg1
)->tell();
5865 wxPyEndAllowThreads(__tstate
);
5866 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= SWIG_FromInt((int)result
);
5875 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5876 PyObject
*resultobj
;
5877 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5879 PyObject
* obj0
= 0 ;
5881 (char *) "self", NULL
5884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5889 result
= (char)(arg1
)->Peek();
5891 wxPyEndAllowThreads(__tstate
);
5892 if (PyErr_Occurred()) SWIG_fail
;
5894 resultobj
= SWIG_FromChar((char)result
);
5901 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5902 PyObject
*resultobj
;
5903 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5905 PyObject
* obj0
= 0 ;
5907 (char *) "self", NULL
5910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (char)(arg1
)->GetC();
5917 wxPyEndAllowThreads(__tstate
);
5918 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= SWIG_FromChar((char)result
);
5927 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5928 PyObject
*resultobj
;
5929 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5931 PyObject
* obj0
= 0 ;
5933 (char *) "self", NULL
5936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5941 result
= (size_t)(arg1
)->LastRead();
5943 wxPyEndAllowThreads(__tstate
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5946 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5953 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5967 result
= (bool)(arg1
)->CanRead();
5969 wxPyEndAllowThreads(__tstate
);
5970 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5981 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5982 PyObject
*resultobj
;
5983 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5985 PyObject
* obj0
= 0 ;
5987 (char *) "self", NULL
5990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5995 result
= (bool)(arg1
)->Eof();
5997 wxPyEndAllowThreads(__tstate
);
5998 if (PyErr_Occurred()) SWIG_fail
;
6001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6009 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6010 PyObject
*resultobj
;
6011 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6015 PyObject
* obj1
= 0 ;
6017 (char *) "self",(char *) "c", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6023 arg2
= (char) SWIG_AsChar(obj1
);
6024 if (PyErr_Occurred()) SWIG_fail
;
6026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6027 result
= (bool)(arg1
)->Ungetch(arg2
);
6029 wxPyEndAllowThreads(__tstate
);
6030 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6041 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6042 PyObject
*resultobj
;
6043 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6045 int arg3
= (int) wxFromStart
;
6047 PyObject
* obj0
= 0 ;
6048 PyObject
* obj1
= 0 ;
6049 PyObject
* obj2
= 0 ;
6051 (char *) "self",(char *) "pos",(char *) "mode", NULL
6054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6057 arg2
= (long) SWIG_AsLong(obj1
);
6058 if (PyErr_Occurred()) SWIG_fail
;
6060 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6065 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
6067 wxPyEndAllowThreads(__tstate
);
6068 if (PyErr_Occurred()) SWIG_fail
;
6070 resultobj
= SWIG_FromLong((long)result
);
6077 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6078 PyObject
*resultobj
;
6079 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
6081 PyObject
* obj0
= 0 ;
6083 (char *) "self", NULL
6086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
6087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
6088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6091 result
= (long)(arg1
)->TellI();
6093 wxPyEndAllowThreads(__tstate
);
6094 if (PyErr_Occurred()) SWIG_fail
;
6096 resultobj
= SWIG_FromLong((long)result
);
6103 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6106 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
6108 return Py_BuildValue((char *)"");
6110 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6111 PyObject
*resultobj
;
6112 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
6113 PyObject
*arg2
= (PyObject
*) 0 ;
6114 PyObject
* obj0
= 0 ;
6115 PyObject
* obj1
= 0 ;
6117 (char *) "self",(char *) "obj", NULL
6120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6126 wxOutputStream_write(arg1
,arg2
);
6128 wxPyEndAllowThreads(__tstate
);
6129 if (PyErr_Occurred()) SWIG_fail
;
6131 Py_INCREF(Py_None
); resultobj
= Py_None
;
6138 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6141 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6143 return Py_BuildValue((char *)"");
6145 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6146 PyObject
*resultobj
;
6147 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6148 wxString
*arg2
= 0 ;
6149 wxString
*arg3
= 0 ;
6150 wxString
*arg4
= 0 ;
6153 wxPyInputStream
*temp1
;
6155 bool temp2
= False
;
6156 bool temp3
= False
;
6157 bool temp4
= False
;
6159 PyObject
* obj0
= 0 ;
6160 PyObject
* obj1
= 0 ;
6161 PyObject
* obj2
= 0 ;
6162 PyObject
* obj3
= 0 ;
6163 PyObject
* obj4
= 0 ;
6165 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6170 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6171 arg1
= temp1
->m_wxis
;
6174 PyErr_Clear(); // clear the failure of the wxPyConvert above
6175 arg1
= wxPyCBInputStream_create(obj0
, False
);
6177 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6184 arg2
= wxString_in_helper(obj1
);
6185 if (arg2
== NULL
) SWIG_fail
;
6189 arg3
= wxString_in_helper(obj2
);
6190 if (arg3
== NULL
) SWIG_fail
;
6194 arg4
= wxString_in_helper(obj3
);
6195 if (arg4
== NULL
) SWIG_fail
;
6198 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6199 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6205 wxPyEndAllowThreads(__tstate
);
6206 if (PyErr_Occurred()) SWIG_fail
;
6209 resultobj
= wxPyMake_wxObject(result
);
6249 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6250 PyObject
*resultobj
;
6251 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6252 PyObject
* obj0
= 0 ;
6254 (char *) "self", NULL
6257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6264 wxPyEndAllowThreads(__tstate
);
6265 if (PyErr_Occurred()) SWIG_fail
;
6267 Py_INCREF(Py_None
); resultobj
= Py_None
;
6274 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6275 PyObject
*resultobj
;
6276 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6277 wxInputStream
*result
;
6278 PyObject
* obj0
= 0 ;
6280 (char *) "self", NULL
6283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6288 result
= (wxInputStream
*)(arg1
)->GetStream();
6290 wxPyEndAllowThreads(__tstate
);
6291 if (PyErr_Occurred()) SWIG_fail
;
6294 wxPyInputStream
* _ptr
= NULL
;
6297 _ptr
= new wxPyInputStream(result
);
6299 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6307 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6311 PyObject
* obj0
= 0 ;
6313 (char *) "self", NULL
6316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6322 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6323 result
= (wxString
*) &_result_ref
;
6326 wxPyEndAllowThreads(__tstate
);
6327 if (PyErr_Occurred()) SWIG_fail
;
6331 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6333 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6342 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6343 PyObject
*resultobj
;
6344 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6346 PyObject
* obj0
= 0 ;
6348 (char *) "self", NULL
6351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6357 wxString
const &_result_ref
= (arg1
)->GetLocation();
6358 result
= (wxString
*) &_result_ref
;
6361 wxPyEndAllowThreads(__tstate
);
6362 if (PyErr_Occurred()) SWIG_fail
;
6366 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6368 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6377 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6378 PyObject
*resultobj
;
6379 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6381 PyObject
* obj0
= 0 ;
6383 (char *) "self", NULL
6386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6392 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6393 result
= (wxString
*) &_result_ref
;
6396 wxPyEndAllowThreads(__tstate
);
6397 if (PyErr_Occurred()) SWIG_fail
;
6401 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6403 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6412 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6413 PyObject
*resultobj
;
6414 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6416 PyObject
* obj0
= 0 ;
6418 (char *) "self", NULL
6421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6426 result
= (arg1
)->GetModificationTime();
6428 wxPyEndAllowThreads(__tstate
);
6429 if (PyErr_Occurred()) SWIG_fail
;
6432 wxDateTime
* resultptr
;
6433 resultptr
= new wxDateTime((wxDateTime
&) result
);
6434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6442 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6444 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6445 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6447 return Py_BuildValue((char *)"");
6449 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6451 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6452 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6454 return Py_BuildValue((char *)"");
6456 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6457 PyObject
*resultobj
;
6458 wxPyFileSystemHandler
*result
;
6463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6466 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6468 wxPyEndAllowThreads(__tstate
);
6469 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6478 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6479 PyObject
*resultobj
;
6480 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6481 PyObject
*arg2
= (PyObject
*) 0 ;
6482 PyObject
*arg3
= (PyObject
*) 0 ;
6483 PyObject
* obj0
= 0 ;
6484 PyObject
* obj1
= 0 ;
6485 PyObject
* obj2
= 0 ;
6487 (char *) "self",(char *) "self",(char *) "_class", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6502 Py_INCREF(Py_None
); resultobj
= Py_None
;
6509 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6510 PyObject
*resultobj
;
6511 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6512 wxString
*arg2
= 0 ;
6514 bool temp2
= False
;
6515 PyObject
* obj0
= 0 ;
6516 PyObject
* obj1
= 0 ;
6518 (char *) "self",(char *) "location", NULL
6521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6525 arg2
= wxString_in_helper(obj1
);
6526 if (arg2
== NULL
) SWIG_fail
;
6530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6531 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6533 wxPyEndAllowThreads(__tstate
);
6534 if (PyErr_Occurred()) SWIG_fail
;
6537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6553 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6554 PyObject
*resultobj
;
6555 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6556 wxFileSystem
*arg2
= 0 ;
6557 wxString
*arg3
= 0 ;
6559 bool temp3
= False
;
6560 PyObject
* obj0
= 0 ;
6561 PyObject
* obj1
= 0 ;
6562 PyObject
* obj2
= 0 ;
6564 (char *) "self",(char *) "fs",(char *) "location", NULL
6567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6574 PyErr_SetString(PyExc_TypeError
,"null reference");
6578 arg3
= wxString_in_helper(obj2
);
6579 if (arg3
== NULL
) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= wxPyMake_wxObject(result
);
6606 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6609 wxString
*arg2
= 0 ;
6610 int arg3
= (int) 0 ;
6612 bool temp2
= False
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6615 PyObject
* obj2
= 0 ;
6617 (char *) "self",(char *) "spec",(char *) "flags", NULL
6620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6621 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6624 arg2
= wxString_in_helper(obj1
);
6625 if (arg2
== NULL
) SWIG_fail
;
6629 arg3
= (int) SWIG_AsInt(obj2
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6634 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6636 wxPyEndAllowThreads(__tstate
);
6637 if (PyErr_Occurred()) SWIG_fail
;
6641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6660 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6664 PyObject
* obj0
= 0 ;
6666 (char *) "self", NULL
6669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6674 result
= (arg1
)->FindNext();
6676 wxPyEndAllowThreads(__tstate
);
6677 if (PyErr_Occurred()) SWIG_fail
;
6681 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6683 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6692 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6695 wxString
*arg2
= 0 ;
6697 bool temp2
= False
;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6701 (char *) "self",(char *) "location", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6708 arg2
= wxString_in_helper(obj1
);
6709 if (arg2
== NULL
) SWIG_fail
;
6713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6714 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6716 wxPyEndAllowThreads(__tstate
);
6717 if (PyErr_Occurred()) SWIG_fail
;
6721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6740 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6741 PyObject
*resultobj
;
6742 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6743 wxString
*arg2
= 0 ;
6745 bool temp2
= False
;
6746 PyObject
* obj0
= 0 ;
6747 PyObject
* obj1
= 0 ;
6749 (char *) "self",(char *) "location", NULL
6752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6756 arg2
= wxString_in_helper(obj1
);
6757 if (arg2
== NULL
) SWIG_fail
;
6761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6762 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6764 wxPyEndAllowThreads(__tstate
);
6765 if (PyErr_Occurred()) SWIG_fail
;
6769 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6771 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6788 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6789 PyObject
*resultobj
;
6790 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6791 wxString
*arg2
= 0 ;
6793 bool temp2
= False
;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6797 (char *) "self",(char *) "location", NULL
6800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6804 arg2
= wxString_in_helper(obj1
);
6805 if (arg2
== NULL
) SWIG_fail
;
6809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6810 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6812 wxPyEndAllowThreads(__tstate
);
6813 if (PyErr_Occurred()) SWIG_fail
;
6817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6836 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6839 wxString
*arg2
= 0 ;
6841 bool temp2
= False
;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6845 (char *) "self",(char *) "location", NULL
6848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6852 arg2
= wxString_in_helper(obj1
);
6853 if (arg2
== NULL
) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6884 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6887 wxString
*arg2
= 0 ;
6889 bool temp2
= False
;
6890 PyObject
* obj0
= 0 ;
6891 PyObject
* obj1
= 0 ;
6893 (char *) "self",(char *) "location", NULL
6896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6900 arg2
= wxString_in_helper(obj1
);
6901 if (arg2
== NULL
) SWIG_fail
;
6905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6906 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6908 wxPyEndAllowThreads(__tstate
);
6909 if (PyErr_Occurred()) SWIG_fail
;
6913 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6915 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6932 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6935 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6937 return Py_BuildValue((char *)"");
6939 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6940 PyObject
*resultobj
;
6941 wxFileSystem
*result
;
6946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6949 result
= (wxFileSystem
*)new wxFileSystem();
6951 wxPyEndAllowThreads(__tstate
);
6952 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= wxPyMake_wxObject(result
);
6963 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6964 PyObject
*resultobj
;
6965 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6966 PyObject
* obj0
= 0 ;
6968 (char *) "self", NULL
6971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 Py_INCREF(Py_None
); resultobj
= Py_None
;
6988 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6991 wxString
*arg2
= 0 ;
6992 bool arg3
= (bool) False
;
6993 bool temp2
= False
;
6994 PyObject
* obj0
= 0 ;
6995 PyObject
* obj1
= 0 ;
6996 PyObject
* obj2
= 0 ;
6998 (char *) "self",(char *) "location",(char *) "is_dir", NULL
7001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7005 arg2
= wxString_in_helper(obj1
);
7006 if (arg2
== NULL
) SWIG_fail
;
7010 arg3
= (bool) SWIG_AsBool(obj2
);
7011 if (PyErr_Occurred()) SWIG_fail
;
7014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7015 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
7017 wxPyEndAllowThreads(__tstate
);
7018 if (PyErr_Occurred()) SWIG_fail
;
7020 Py_INCREF(Py_None
); resultobj
= Py_None
;
7035 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7036 PyObject
*resultobj
;
7037 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7039 PyObject
* obj0
= 0 ;
7041 (char *) "self", NULL
7044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
7045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7049 result
= (arg1
)->GetPath();
7051 wxPyEndAllowThreads(__tstate
);
7052 if (PyErr_Occurred()) SWIG_fail
;
7056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7067 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7068 PyObject
*resultobj
;
7069 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7070 wxString
*arg2
= 0 ;
7072 bool temp2
= False
;
7073 PyObject
* obj0
= 0 ;
7074 PyObject
* obj1
= 0 ;
7076 (char *) "self",(char *) "location", NULL
7079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
7080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7083 arg2
= wxString_in_helper(obj1
);
7084 if (arg2
== NULL
) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7095 resultobj
= wxPyMake_wxObject(result
);
7111 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7112 PyObject
*resultobj
;
7113 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7114 wxString
*arg2
= 0 ;
7115 int arg3
= (int) 0 ;
7117 bool temp2
= False
;
7118 PyObject
* obj0
= 0 ;
7119 PyObject
* obj1
= 0 ;
7120 PyObject
* obj2
= 0 ;
7122 (char *) "self",(char *) "spec",(char *) "flags", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7129 arg2
= wxString_in_helper(obj1
);
7130 if (arg2
== NULL
) SWIG_fail
;
7134 arg3
= (int) SWIG_AsInt(obj2
);
7135 if (PyErr_Occurred()) SWIG_fail
;
7138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7139 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7141 wxPyEndAllowThreads(__tstate
);
7142 if (PyErr_Occurred()) SWIG_fail
;
7146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7165 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7179 result
= (arg1
)->FindNext();
7181 wxPyEndAllowThreads(__tstate
);
7182 if (PyErr_Occurred()) SWIG_fail
;
7186 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7188 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7197 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7198 PyObject
*resultobj
;
7199 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7200 PyObject
* obj0
= 0 ;
7202 (char *) "handler", NULL
7205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 wxFileSystem::AddHandler(arg1
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7222 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7223 PyObject
*resultobj
;
7228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7231 wxFileSystem::CleanUpHandlers();
7233 wxPyEndAllowThreads(__tstate
);
7234 if (PyErr_Occurred()) SWIG_fail
;
7236 Py_INCREF(Py_None
); resultobj
= Py_None
;
7243 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7244 PyObject
*resultobj
;
7245 wxString
*arg1
= 0 ;
7247 bool temp1
= False
;
7248 PyObject
* obj0
= 0 ;
7250 (char *) "filename", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7255 arg1
= wxString_in_helper(obj0
);
7256 if (arg1
== NULL
) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7270 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7287 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7289 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7290 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7292 return Py_BuildValue((char *)"");
7294 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxString
*arg1
= 0 ;
7298 bool temp1
= False
;
7299 PyObject
* obj0
= 0 ;
7301 (char *) "url", NULL
7304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7306 arg1
= wxString_in_helper(obj0
);
7307 if (arg1
== NULL
) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7319 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7321 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7338 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7339 PyObject
*resultobj
;
7340 wxInternetFSHandler
*result
;
7345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7350 wxPyEndAllowThreads(__tstate
);
7351 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7360 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7363 wxString
*arg2
= 0 ;
7365 bool temp2
= False
;
7366 PyObject
* obj0
= 0 ;
7367 PyObject
* obj1
= 0 ;
7369 (char *) "self",(char *) "location", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7376 arg2
= wxString_in_helper(obj1
);
7377 if (arg2
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7404 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7407 wxFileSystem
*arg2
= 0 ;
7408 wxString
*arg3
= 0 ;
7410 bool temp3
= False
;
7411 PyObject
* obj0
= 0 ;
7412 PyObject
* obj1
= 0 ;
7413 PyObject
* obj2
= 0 ;
7415 (char *) "self",(char *) "fs",(char *) "location", NULL
7418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7421 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7422 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7425 PyErr_SetString(PyExc_TypeError
,"null reference");
7429 arg3
= wxString_in_helper(obj2
);
7430 if (arg3
== NULL
) SWIG_fail
;
7434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7435 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7437 wxPyEndAllowThreads(__tstate
);
7438 if (PyErr_Occurred()) SWIG_fail
;
7441 resultobj
= wxPyMake_wxObject(result
);
7457 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7459 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7460 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7462 return Py_BuildValue((char *)"");
7464 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7465 PyObject
*resultobj
;
7466 wxZipFSHandler
*result
;
7471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7474 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7476 wxPyEndAllowThreads(__tstate
);
7477 if (PyErr_Occurred()) SWIG_fail
;
7479 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7486 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7487 PyObject
*resultobj
;
7488 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7489 wxString
*arg2
= 0 ;
7491 bool temp2
= False
;
7492 PyObject
* obj0
= 0 ;
7493 PyObject
* obj1
= 0 ;
7495 (char *) "self",(char *) "location", NULL
7498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7502 arg2
= wxString_in_helper(obj1
);
7503 if (arg2
== NULL
) SWIG_fail
;
7507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7508 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7510 wxPyEndAllowThreads(__tstate
);
7511 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7530 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7531 PyObject
*resultobj
;
7532 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7533 wxFileSystem
*arg2
= 0 ;
7534 wxString
*arg3
= 0 ;
7536 bool temp3
= False
;
7537 PyObject
* obj0
= 0 ;
7538 PyObject
* obj1
= 0 ;
7539 PyObject
* obj2
= 0 ;
7541 (char *) "self",(char *) "fs",(char *) "location", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7547 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7548 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7551 PyErr_SetString(PyExc_TypeError
,"null reference");
7555 arg3
= wxString_in_helper(obj2
);
7556 if (arg3
== NULL
) SWIG_fail
;
7560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7561 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7563 wxPyEndAllowThreads(__tstate
);
7564 if (PyErr_Occurred()) SWIG_fail
;
7567 resultobj
= wxPyMake_wxObject(result
);
7583 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7584 PyObject
*resultobj
;
7585 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7586 wxString
*arg2
= 0 ;
7587 int arg3
= (int) 0 ;
7589 bool temp2
= False
;
7590 PyObject
* obj0
= 0 ;
7591 PyObject
* obj1
= 0 ;
7592 PyObject
* obj2
= 0 ;
7594 (char *) "self",(char *) "spec",(char *) "flags", NULL
7597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7601 arg2
= wxString_in_helper(obj1
);
7602 if (arg2
== NULL
) SWIG_fail
;
7606 arg3
= (int) SWIG_AsInt(obj2
);
7607 if (PyErr_Occurred()) SWIG_fail
;
7610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7611 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7613 wxPyEndAllowThreads(__tstate
);
7614 if (PyErr_Occurred()) SWIG_fail
;
7618 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7620 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7637 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "self", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7651 result
= (arg1
)->FindNext();
7653 wxPyEndAllowThreads(__tstate
);
7654 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7660 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7669 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7671 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7672 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7674 return Py_BuildValue((char *)"");
7676 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7677 PyObject
*resultobj
;
7678 wxString
*arg1
= 0 ;
7681 bool temp1
= False
;
7682 PyObject
* obj0
= 0 ;
7683 PyObject
* obj1
= 0 ;
7684 PyObject
* obj2
= 0 ;
7686 (char *) "filename",(char *) "image",(char *) "type", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7691 arg1
= wxString_in_helper(obj0
);
7692 if (arg1
== NULL
) SWIG_fail
;
7695 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7696 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7699 PyErr_SetString(PyExc_TypeError
,"null reference");
7702 arg3
= (long) SWIG_AsLong(obj2
);
7703 if (PyErr_Occurred()) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7726 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 wxString
*arg1
= 0 ;
7729 wxBitmap
*arg2
= 0 ;
7731 bool temp1
= False
;
7732 PyObject
* obj0
= 0 ;
7733 PyObject
* obj1
= 0 ;
7734 PyObject
* obj2
= 0 ;
7736 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7741 arg1
= wxString_in_helper(obj0
);
7742 if (arg1
== NULL
) SWIG_fail
;
7745 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7746 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7749 PyErr_SetString(PyExc_TypeError
,"null reference");
7752 arg3
= (long) SWIG_AsLong(obj2
);
7753 if (PyErr_Occurred()) SWIG_fail
;
7755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7756 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 Py_INCREF(Py_None
); resultobj
= Py_None
;
7776 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7777 PyObject
*resultobj
;
7778 wxString
*arg1
= 0 ;
7779 PyObject
*arg2
= (PyObject
*) 0 ;
7780 bool temp1
= False
;
7781 PyObject
* obj0
= 0 ;
7782 PyObject
* obj1
= 0 ;
7784 (char *) "filename",(char *) "data", NULL
7787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7789 arg1
= wxString_in_helper(obj0
);
7790 if (arg1
== NULL
) SWIG_fail
;
7795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7796 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7798 wxPyEndAllowThreads(__tstate
);
7799 if (PyErr_Occurred()) SWIG_fail
;
7801 Py_INCREF(Py_None
); resultobj
= Py_None
;
7816 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
;
7818 wxMemoryFSHandler
*result
;
7823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7838 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxString
*arg1
= 0 ;
7841 bool temp1
= False
;
7842 PyObject
* obj0
= 0 ;
7844 (char *) "filename", NULL
7847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7849 arg1
= wxString_in_helper(obj0
);
7850 if (arg1
== NULL
) SWIG_fail
;
7854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7855 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7857 wxPyEndAllowThreads(__tstate
);
7858 if (PyErr_Occurred()) SWIG_fail
;
7860 Py_INCREF(Py_None
); resultobj
= Py_None
;
7875 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7876 PyObject
*resultobj
;
7877 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7878 wxString
*arg2
= 0 ;
7880 bool temp2
= False
;
7881 PyObject
* obj0
= 0 ;
7882 PyObject
* obj1
= 0 ;
7884 (char *) "self",(char *) "location", NULL
7887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7891 arg2
= wxString_in_helper(obj1
);
7892 if (arg2
== NULL
) SWIG_fail
;
7896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7897 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7899 wxPyEndAllowThreads(__tstate
);
7900 if (PyErr_Occurred()) SWIG_fail
;
7903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7919 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7920 PyObject
*resultobj
;
7921 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7922 wxFileSystem
*arg2
= 0 ;
7923 wxString
*arg3
= 0 ;
7925 bool temp3
= False
;
7926 PyObject
* obj0
= 0 ;
7927 PyObject
* obj1
= 0 ;
7928 PyObject
* obj2
= 0 ;
7930 (char *) "self",(char *) "fs",(char *) "location", NULL
7933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7940 PyErr_SetString(PyExc_TypeError
,"null reference");
7944 arg3
= wxString_in_helper(obj2
);
7945 if (arg3
== NULL
) SWIG_fail
;
7949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7950 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7952 wxPyEndAllowThreads(__tstate
);
7953 if (PyErr_Occurred()) SWIG_fail
;
7956 resultobj
= wxPyMake_wxObject(result
);
7972 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7975 wxString
*arg2
= 0 ;
7976 int arg3
= (int) 0 ;
7978 bool temp2
= False
;
7979 PyObject
* obj0
= 0 ;
7980 PyObject
* obj1
= 0 ;
7981 PyObject
* obj2
= 0 ;
7983 (char *) "self",(char *) "spec",(char *) "flags", NULL
7986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7990 arg2
= wxString_in_helper(obj1
);
7991 if (arg2
== NULL
) SWIG_fail
;
7995 arg3
= (int) SWIG_AsInt(obj2
);
7996 if (PyErr_Occurred()) SWIG_fail
;
7999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8000 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
8002 wxPyEndAllowThreads(__tstate
);
8003 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8026 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
8030 PyObject
* obj0
= 0 ;
8032 (char *) "self", NULL
8035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
8036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
8037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8040 result
= (arg1
)->FindNext();
8042 wxPyEndAllowThreads(__tstate
);
8043 if (PyErr_Occurred()) SWIG_fail
;
8047 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8049 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8058 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8061 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
8063 return Py_BuildValue((char *)"");
8065 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8066 PyObject
*resultobj
;
8067 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8069 PyObject
* obj0
= 0 ;
8071 (char *) "self", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8079 result
= (arg1
)->GetName();
8081 wxPyEndAllowThreads(__tstate
);
8082 if (PyErr_Occurred()) SWIG_fail
;
8086 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8088 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8097 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8098 PyObject
*resultobj
;
8099 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8101 PyObject
* obj0
= 0 ;
8103 (char *) "self", NULL
8106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
8107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8111 result
= (arg1
)->GetExtension();
8113 wxPyEndAllowThreads(__tstate
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8118 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8120 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8129 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (long)(arg1
)->GetType();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= SWIG_FromLong((long)result
);
8155 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8159 PyObject
* obj0
= 0 ;
8161 (char *) "self", NULL
8164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8169 result
= (arg1
)->GetMimeType();
8171 wxPyEndAllowThreads(__tstate
);
8172 if (PyErr_Occurred()) SWIG_fail
;
8176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8187 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8188 PyObject
*resultobj
;
8189 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8190 wxString
*arg2
= 0 ;
8192 bool temp2
= False
;
8193 PyObject
* obj0
= 0 ;
8194 PyObject
* obj1
= 0 ;
8196 (char *) "self",(char *) "name", NULL
8199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8203 arg2
= wxString_in_helper(obj1
);
8204 if (arg2
== NULL
) SWIG_fail
;
8208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8209 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8211 wxPyEndAllowThreads(__tstate
);
8212 if (PyErr_Occurred()) SWIG_fail
;
8215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8231 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8232 PyObject
*resultobj
;
8233 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8234 wxString
*arg2
= 0 ;
8235 bool temp2
= False
;
8236 PyObject
* obj0
= 0 ;
8237 PyObject
* obj1
= 0 ;
8239 (char *) "self",(char *) "name", NULL
8242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8246 arg2
= wxString_in_helper(obj1
);
8247 if (arg2
== NULL
) SWIG_fail
;
8251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8252 (arg1
)->SetName((wxString
const &)*arg2
);
8254 wxPyEndAllowThreads(__tstate
);
8255 if (PyErr_Occurred()) SWIG_fail
;
8257 Py_INCREF(Py_None
); resultobj
= Py_None
;
8272 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8273 PyObject
*resultobj
;
8274 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8275 wxString
*arg2
= 0 ;
8276 bool temp2
= False
;
8277 PyObject
* obj0
= 0 ;
8278 PyObject
* obj1
= 0 ;
8280 (char *) "self",(char *) "extension", NULL
8283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8287 arg2
= wxString_in_helper(obj1
);
8288 if (arg2
== NULL
) SWIG_fail
;
8292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8293 (arg1
)->SetExtension((wxString
const &)*arg2
);
8295 wxPyEndAllowThreads(__tstate
);
8296 if (PyErr_Occurred()) SWIG_fail
;
8298 Py_INCREF(Py_None
); resultobj
= Py_None
;
8313 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8314 PyObject
*resultobj
;
8315 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8317 PyObject
* obj0
= 0 ;
8318 PyObject
* obj1
= 0 ;
8320 (char *) "self",(char *) "type", NULL
8323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8326 arg2
= (long) SWIG_AsLong(obj1
);
8327 if (PyErr_Occurred()) SWIG_fail
;
8329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8330 (arg1
)->SetType(arg2
);
8332 wxPyEndAllowThreads(__tstate
);
8333 if (PyErr_Occurred()) SWIG_fail
;
8335 Py_INCREF(Py_None
); resultobj
= Py_None
;
8342 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8343 PyObject
*resultobj
;
8344 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8345 wxString
*arg2
= 0 ;
8346 bool temp2
= False
;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8350 (char *) "self",(char *) "mimetype", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8357 arg2
= wxString_in_helper(obj1
);
8358 if (arg2
== NULL
) SWIG_fail
;
8362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8363 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8365 wxPyEndAllowThreads(__tstate
);
8366 if (PyErr_Occurred()) SWIG_fail
;
8368 Py_INCREF(Py_None
); resultobj
= Py_None
;
8383 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8385 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8386 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8388 return Py_BuildValue((char *)"");
8390 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8391 PyObject
*resultobj
;
8392 wxImageHistogram
*result
;
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (wxImageHistogram
*)new wxImageHistogram();
8402 wxPyEndAllowThreads(__tstate
);
8403 if (PyErr_Occurred()) SWIG_fail
;
8405 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8412 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8413 PyObject
*resultobj
;
8414 unsigned char arg1
;
8415 unsigned char arg2
;
8416 unsigned char arg3
;
8417 unsigned long result
;
8418 PyObject
* obj0
= 0 ;
8419 PyObject
* obj1
= 0 ;
8420 PyObject
* obj2
= 0 ;
8422 (char *) "r",(char *) "g",(char *) "b", NULL
8425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8426 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8427 if (PyErr_Occurred()) SWIG_fail
;
8428 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8429 if (PyErr_Occurred()) SWIG_fail
;
8430 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8431 if (PyErr_Occurred()) SWIG_fail
;
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8446 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8447 PyObject
*resultobj
;
8448 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8449 unsigned char *arg2
= (unsigned char *) 0 ;
8450 unsigned char *arg3
= (unsigned char *) 0 ;
8451 unsigned char *arg4
= (unsigned char *) 0 ;
8452 unsigned char arg5
= (unsigned char) 1 ;
8453 unsigned char arg6
= (unsigned char) 0 ;
8454 unsigned char arg7
= (unsigned char) 0 ;
8456 unsigned char temp2
;
8457 unsigned char temp3
;
8458 unsigned char temp4
;
8459 PyObject
* obj0
= 0 ;
8460 PyObject
* obj1
= 0 ;
8461 PyObject
* obj2
= 0 ;
8462 PyObject
* obj3
= 0 ;
8464 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8474 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8475 if (PyErr_Occurred()) SWIG_fail
;
8478 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8479 if (PyErr_Occurred()) SWIG_fail
;
8482 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8483 if (PyErr_Occurred()) SWIG_fail
;
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8496 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8497 resultobj
= t_output_helper(resultobj
,o
);
8500 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8501 resultobj
= t_output_helper(resultobj
,o
);
8504 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8505 resultobj
= t_output_helper(resultobj
,o
);
8513 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8515 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8516 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8518 return Py_BuildValue((char *)"");
8520 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxString
*arg1
= 0 ;
8523 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8524 int arg3
= (int) -1 ;
8526 bool temp1
= False
;
8527 PyObject
* obj0
= 0 ;
8528 PyObject
* obj1
= 0 ;
8529 PyObject
* obj2
= 0 ;
8531 (char *) "name",(char *) "type",(char *) "index", NULL
8534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8536 arg1
= wxString_in_helper(obj0
);
8537 if (arg1
== NULL
) SWIG_fail
;
8541 arg2
= (long) SWIG_AsLong(obj1
);
8542 if (PyErr_Occurred()) SWIG_fail
;
8545 arg3
= (int) SWIG_AsInt(obj2
);
8546 if (PyErr_Occurred()) SWIG_fail
;
8549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8550 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8552 wxPyEndAllowThreads(__tstate
);
8553 if (PyErr_Occurred()) SWIG_fail
;
8555 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8570 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8571 PyObject
*resultobj
;
8572 wxImage
*arg1
= (wxImage
*) 0 ;
8573 PyObject
* obj0
= 0 ;
8575 (char *) "self", NULL
8578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8585 wxPyEndAllowThreads(__tstate
);
8586 if (PyErr_Occurred()) SWIG_fail
;
8588 Py_INCREF(Py_None
); resultobj
= Py_None
;
8595 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
;
8597 wxString
*arg1
= 0 ;
8598 wxString
*arg2
= 0 ;
8599 int arg3
= (int) -1 ;
8601 bool temp1
= False
;
8602 bool temp2
= False
;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8607 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8612 arg1
= wxString_in_helper(obj0
);
8613 if (arg1
== NULL
) SWIG_fail
;
8617 arg2
= wxString_in_helper(obj1
);
8618 if (arg2
== NULL
) SWIG_fail
;
8622 arg3
= (int) SWIG_AsInt(obj2
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8627 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8629 wxPyEndAllowThreads(__tstate
);
8630 if (PyErr_Occurred()) SWIG_fail
;
8632 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8655 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8656 PyObject
*resultobj
;
8657 wxInputStream
*arg1
= 0 ;
8658 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8659 int arg3
= (int) -1 ;
8661 wxPyInputStream
*temp1
;
8663 PyObject
* obj0
= 0 ;
8664 PyObject
* obj1
= 0 ;
8665 PyObject
* obj2
= 0 ;
8667 (char *) "stream",(char *) "type",(char *) "index", NULL
8670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8672 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8673 arg1
= temp1
->m_wxis
;
8676 PyErr_Clear(); // clear the failure of the wxPyConvert above
8677 arg1
= wxPyCBInputStream_create(obj0
, False
);
8679 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8686 arg2
= (long) SWIG_AsLong(obj1
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8690 arg3
= (int) SWIG_AsInt(obj2
);
8691 if (PyErr_Occurred()) SWIG_fail
;
8694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8695 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8715 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxInputStream
*arg1
= 0 ;
8718 wxString
*arg2
= 0 ;
8719 int arg3
= (int) -1 ;
8721 wxPyInputStream
*temp1
;
8723 bool temp2
= False
;
8724 PyObject
* obj0
= 0 ;
8725 PyObject
* obj1
= 0 ;
8726 PyObject
* obj2
= 0 ;
8728 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8733 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8734 arg1
= temp1
->m_wxis
;
8737 PyErr_Clear(); // clear the failure of the wxPyConvert above
8738 arg1
= wxPyCBInputStream_create(obj0
, False
);
8740 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8747 arg2
= wxString_in_helper(obj1
);
8748 if (arg2
== NULL
) SWIG_fail
;
8752 arg3
= (int) SWIG_AsInt(obj2
);
8753 if (PyErr_Occurred()) SWIG_fail
;
8756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8757 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8759 wxPyEndAllowThreads(__tstate
);
8760 if (PyErr_Occurred()) SWIG_fail
;
8762 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8785 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 int arg1
= (int) 0 ;
8788 int arg2
= (int) 0 ;
8789 bool arg3
= (bool) True
;
8791 PyObject
* obj0
= 0 ;
8792 PyObject
* obj1
= 0 ;
8793 PyObject
* obj2
= 0 ;
8795 (char *) "width",(char *) "height",(char *) "clear", NULL
8798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8800 arg1
= (int) SWIG_AsInt(obj0
);
8801 if (PyErr_Occurred()) SWIG_fail
;
8804 arg2
= (int) SWIG_AsInt(obj1
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8808 arg3
= (bool) SWIG_AsBool(obj2
);
8809 if (PyErr_Occurred()) SWIG_fail
;
8812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8813 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8815 wxPyEndAllowThreads(__tstate
);
8816 if (PyErr_Occurred()) SWIG_fail
;
8818 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8825 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8826 PyObject
*resultobj
;
8827 wxBitmap
*arg1
= 0 ;
8829 PyObject
* obj0
= 0 ;
8831 (char *) "bitmap", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8836 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8839 PyErr_SetString(PyExc_TypeError
,"null reference");
8843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8844 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8846 wxPyEndAllowThreads(__tstate
);
8847 if (PyErr_Occurred()) SWIG_fail
;
8849 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8856 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8857 PyObject
*resultobj
;
8860 unsigned char *arg3
= (unsigned char *) 0 ;
8862 PyObject
* obj0
= 0 ;
8863 PyObject
* obj1
= 0 ;
8864 PyObject
* obj2
= 0 ;
8866 (char *) "width",(char *) "height",(char *) "data", NULL
8869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8870 arg1
= (int) SWIG_AsInt(obj0
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8872 arg2
= (int) SWIG_AsInt(obj1
);
8873 if (PyErr_Occurred()) SWIG_fail
;
8874 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8878 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8880 wxPyEndAllowThreads(__tstate
);
8881 if (PyErr_Occurred()) SWIG_fail
;
8883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8890 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8891 PyObject
*resultobj
;
8892 wxImage
*arg1
= (wxImage
*) 0 ;
8895 PyObject
* obj0
= 0 ;
8896 PyObject
* obj1
= 0 ;
8897 PyObject
* obj2
= 0 ;
8899 (char *) "self",(char *) "width",(char *) "height", NULL
8902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8905 arg2
= (int) SWIG_AsInt(obj1
);
8906 if (PyErr_Occurred()) SWIG_fail
;
8907 arg3
= (int) SWIG_AsInt(obj2
);
8908 if (PyErr_Occurred()) SWIG_fail
;
8910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8911 (arg1
)->Create(arg2
,arg3
);
8913 wxPyEndAllowThreads(__tstate
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 Py_INCREF(Py_None
); resultobj
= Py_None
;
8923 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8924 PyObject
*resultobj
;
8925 wxImage
*arg1
= (wxImage
*) 0 ;
8926 PyObject
* obj0
= 0 ;
8928 (char *) "self", NULL
8931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8938 wxPyEndAllowThreads(__tstate
);
8939 if (PyErr_Occurred()) SWIG_fail
;
8941 Py_INCREF(Py_None
); resultobj
= Py_None
;
8948 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
;
8950 wxImage
*arg1
= (wxImage
*) 0 ;
8953 SwigValueWrapper
< wxImage
> result
;
8954 PyObject
* obj0
= 0 ;
8955 PyObject
* obj1
= 0 ;
8956 PyObject
* obj2
= 0 ;
8958 (char *) "self",(char *) "width",(char *) "height", NULL
8961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8964 arg2
= (int) SWIG_AsInt(obj1
);
8965 if (PyErr_Occurred()) SWIG_fail
;
8966 arg3
= (int) SWIG_AsInt(obj2
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8970 result
= (arg1
)->Scale(arg2
,arg3
);
8972 wxPyEndAllowThreads(__tstate
);
8973 if (PyErr_Occurred()) SWIG_fail
;
8976 wxImage
* resultptr
;
8977 resultptr
= new wxImage((wxImage
&) result
);
8978 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8986 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8987 PyObject
*resultobj
;
8988 wxImage
*arg1
= (wxImage
*) 0 ;
8991 SwigValueWrapper
< wxImage
> result
;
8992 PyObject
* obj0
= 0 ;
8993 PyObject
* obj1
= 0 ;
8994 PyObject
* obj2
= 0 ;
8996 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9002 arg2
= (int) SWIG_AsInt(obj1
);
9003 if (PyErr_Occurred()) SWIG_fail
;
9004 arg3
= (int) SWIG_AsInt(obj2
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9014 wxImage
* resultptr
;
9015 resultptr
= new wxImage((wxImage
&) result
);
9016 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9024 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9025 PyObject
*resultobj
;
9026 wxImage
*arg1
= (wxImage
*) 0 ;
9030 PyObject
* obj0
= 0 ;
9031 PyObject
* obj1
= 0 ;
9032 PyObject
* obj2
= 0 ;
9034 (char *) "self",(char *) "width",(char *) "height", NULL
9037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9040 arg2
= (int) SWIG_AsInt(obj1
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9042 arg3
= (int) SWIG_AsInt(obj2
);
9043 if (PyErr_Occurred()) SWIG_fail
;
9045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9047 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
9048 result
= (wxImage
*) &_result_ref
;
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
9061 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxImage
*arg1
= (wxImage
*) 0 ;
9066 unsigned char arg4
;
9067 unsigned char arg5
;
9068 unsigned char arg6
;
9069 PyObject
* obj0
= 0 ;
9070 PyObject
* obj1
= 0 ;
9071 PyObject
* obj2
= 0 ;
9072 PyObject
* obj3
= 0 ;
9073 PyObject
* obj4
= 0 ;
9074 PyObject
* obj5
= 0 ;
9076 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
9079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
9080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9082 arg2
= (int) SWIG_AsInt(obj1
);
9083 if (PyErr_Occurred()) SWIG_fail
;
9084 arg3
= (int) SWIG_AsInt(obj2
);
9085 if (PyErr_Occurred()) SWIG_fail
;
9086 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9088 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9090 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9094 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
9096 wxPyEndAllowThreads(__tstate
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9099 Py_INCREF(Py_None
); resultobj
= Py_None
;
9106 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9107 PyObject
*resultobj
;
9108 wxImage
*arg1
= (wxImage
*) 0 ;
9111 unsigned char result
;
9112 PyObject
* obj0
= 0 ;
9113 PyObject
* obj1
= 0 ;
9114 PyObject
* obj2
= 0 ;
9116 (char *) "self",(char *) "x",(char *) "y", NULL
9119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9122 arg2
= (int) SWIG_AsInt(obj1
);
9123 if (PyErr_Occurred()) SWIG_fail
;
9124 arg3
= (int) SWIG_AsInt(obj2
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9128 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9130 wxPyEndAllowThreads(__tstate
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9133 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9140 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9141 PyObject
*resultobj
;
9142 wxImage
*arg1
= (wxImage
*) 0 ;
9145 unsigned char result
;
9146 PyObject
* obj0
= 0 ;
9147 PyObject
* obj1
= 0 ;
9148 PyObject
* obj2
= 0 ;
9150 (char *) "self",(char *) "x",(char *) "y", NULL
9153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9156 arg2
= (int) SWIG_AsInt(obj1
);
9157 if (PyErr_Occurred()) SWIG_fail
;
9158 arg3
= (int) SWIG_AsInt(obj2
);
9159 if (PyErr_Occurred()) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9174 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxImage
*arg1
= (wxImage
*) 0 ;
9179 unsigned char result
;
9180 PyObject
* obj0
= 0 ;
9181 PyObject
* obj1
= 0 ;
9182 PyObject
* obj2
= 0 ;
9184 (char *) "self",(char *) "x",(char *) "y", NULL
9187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9190 arg2
= (int) SWIG_AsInt(obj1
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9192 arg3
= (int) SWIG_AsInt(obj2
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9198 wxPyEndAllowThreads(__tstate
);
9199 if (PyErr_Occurred()) SWIG_fail
;
9201 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9208 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9213 unsigned char arg4
;
9214 PyObject
* obj0
= 0 ;
9215 PyObject
* obj1
= 0 ;
9216 PyObject
* obj2
= 0 ;
9217 PyObject
* obj3
= 0 ;
9219 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9225 arg2
= (int) SWIG_AsInt(obj1
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9227 arg3
= (int) SWIG_AsInt(obj2
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9229 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9233 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9235 wxPyEndAllowThreads(__tstate
);
9236 if (PyErr_Occurred()) SWIG_fail
;
9238 Py_INCREF(Py_None
); resultobj
= Py_None
;
9245 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9246 PyObject
*resultobj
;
9247 wxImage
*arg1
= (wxImage
*) 0 ;
9250 unsigned char result
;
9251 PyObject
* obj0
= 0 ;
9252 PyObject
* obj1
= 0 ;
9253 PyObject
* obj2
= 0 ;
9255 (char *) "self",(char *) "x",(char *) "y", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9261 arg2
= (int) SWIG_AsInt(obj1
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9263 arg3
= (int) SWIG_AsInt(obj2
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9267 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9269 wxPyEndAllowThreads(__tstate
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9272 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9279 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9280 PyObject
*resultobj
;
9281 wxImage
*arg1
= (wxImage
*) 0 ;
9283 PyObject
* obj0
= 0 ;
9285 (char *) "self", NULL
9288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9293 result
= (bool)(arg1
)->HasAlpha();
9295 wxPyEndAllowThreads(__tstate
);
9296 if (PyErr_Occurred()) SWIG_fail
;
9299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9307 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9308 PyObject
*resultobj
;
9309 wxImage
*arg1
= (wxImage
*) 0 ;
9310 byte
*arg2
= (byte
*) 0 ;
9311 byte
*arg3
= (byte
*) 0 ;
9312 byte
*arg4
= (byte
*) 0 ;
9313 byte arg5
= (byte
) 0 ;
9314 byte arg6
= (byte
) 0 ;
9315 byte arg7
= (byte
) 0 ;
9320 PyObject
* obj0
= 0 ;
9321 PyObject
* obj1
= 0 ;
9322 PyObject
* obj2
= 0 ;
9323 PyObject
* obj3
= 0 ;
9325 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9335 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9336 if (PyErr_Occurred()) SWIG_fail
;
9339 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9340 if (PyErr_Occurred()) SWIG_fail
;
9343 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9357 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9358 resultobj
= t_output_helper(resultobj
,o
);
9361 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9362 resultobj
= t_output_helper(resultobj
,o
);
9365 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9366 resultobj
= t_output_helper(resultobj
,o
);
9374 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9375 PyObject
*resultobj
;
9376 wxImage
*arg1
= (wxImage
*) 0 ;
9382 PyObject
* obj0
= 0 ;
9383 PyObject
* obj1
= 0 ;
9384 PyObject
* obj2
= 0 ;
9385 PyObject
* obj3
= 0 ;
9386 PyObject
* obj4
= 0 ;
9388 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9394 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9395 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9398 PyErr_SetString(PyExc_TypeError
,"null reference");
9401 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9405 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9406 if (PyErr_Occurred()) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9423 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9424 PyObject
*resultobj
;
9425 wxString
*arg1
= 0 ;
9427 bool temp1
= False
;
9428 PyObject
* obj0
= 0 ;
9430 (char *) "name", NULL
9433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9435 arg1
= wxString_in_helper(obj0
);
9436 if (arg1
== NULL
) SWIG_fail
;
9440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9441 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9443 wxPyEndAllowThreads(__tstate
);
9444 if (PyErr_Occurred()) SWIG_fail
;
9447 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9463 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9464 PyObject
*resultobj
;
9465 wxString
*arg1
= 0 ;
9466 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9468 bool temp1
= False
;
9469 PyObject
* obj0
= 0 ;
9470 PyObject
* obj1
= 0 ;
9472 (char *) "name",(char *) "type", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9477 arg1
= wxString_in_helper(obj0
);
9478 if (arg1
== NULL
) SWIG_fail
;
9482 arg2
= (long) SWIG_AsLong(obj1
);
9483 if (PyErr_Occurred()) SWIG_fail
;
9486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9487 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9489 wxPyEndAllowThreads(__tstate
);
9490 if (PyErr_Occurred()) SWIG_fail
;
9492 resultobj
= SWIG_FromInt((int)result
);
9507 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9508 PyObject
*resultobj
;
9509 wxImage
*arg1
= (wxImage
*) 0 ;
9510 wxString
*arg2
= 0 ;
9511 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9512 int arg4
= (int) -1 ;
9514 bool temp2
= False
;
9515 PyObject
* obj0
= 0 ;
9516 PyObject
* obj1
= 0 ;
9517 PyObject
* obj2
= 0 ;
9518 PyObject
* obj3
= 0 ;
9520 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9527 arg2
= wxString_in_helper(obj1
);
9528 if (arg2
== NULL
) SWIG_fail
;
9532 arg3
= (long) SWIG_AsLong(obj2
);
9533 if (PyErr_Occurred()) SWIG_fail
;
9536 arg4
= (int) SWIG_AsInt(obj3
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9541 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9543 wxPyEndAllowThreads(__tstate
);
9544 if (PyErr_Occurred()) SWIG_fail
;
9547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9563 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9564 PyObject
*resultobj
;
9565 wxImage
*arg1
= (wxImage
*) 0 ;
9566 wxString
*arg2
= 0 ;
9567 wxString
*arg3
= 0 ;
9568 int arg4
= (int) -1 ;
9570 bool temp2
= False
;
9571 bool temp3
= False
;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9574 PyObject
* obj2
= 0 ;
9575 PyObject
* obj3
= 0 ;
9577 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9584 arg2
= wxString_in_helper(obj1
);
9585 if (arg2
== NULL
) SWIG_fail
;
9589 arg3
= wxString_in_helper(obj2
);
9590 if (arg3
== NULL
) SWIG_fail
;
9594 arg4
= (int) SWIG_AsInt(obj3
);
9595 if (PyErr_Occurred()) SWIG_fail
;
9598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9599 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9601 wxPyEndAllowThreads(__tstate
);
9602 if (PyErr_Occurred()) SWIG_fail
;
9605 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9629 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxImage
*arg1
= (wxImage
*) 0 ;
9632 wxString
*arg2
= 0 ;
9635 bool temp2
= False
;
9636 PyObject
* obj0
= 0 ;
9637 PyObject
* obj1
= 0 ;
9638 PyObject
* obj2
= 0 ;
9640 (char *) "self",(char *) "name",(char *) "type", NULL
9643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9647 arg2
= wxString_in_helper(obj1
);
9648 if (arg2
== NULL
) SWIG_fail
;
9651 arg3
= (int) SWIG_AsInt(obj2
);
9652 if (PyErr_Occurred()) SWIG_fail
;
9654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9655 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9657 wxPyEndAllowThreads(__tstate
);
9658 if (PyErr_Occurred()) SWIG_fail
;
9661 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9677 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxImage
*arg1
= (wxImage
*) 0 ;
9680 wxString
*arg2
= 0 ;
9681 wxString
*arg3
= 0 ;
9683 bool temp2
= False
;
9684 bool temp3
= False
;
9685 PyObject
* obj0
= 0 ;
9686 PyObject
* obj1
= 0 ;
9687 PyObject
* obj2
= 0 ;
9689 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9696 arg2
= wxString_in_helper(obj1
);
9697 if (arg2
== NULL
) SWIG_fail
;
9701 arg3
= wxString_in_helper(obj2
);
9702 if (arg3
== NULL
) SWIG_fail
;
9706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9707 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9709 wxPyEndAllowThreads(__tstate
);
9710 if (PyErr_Occurred()) SWIG_fail
;
9713 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9738 PyObject
*resultobj
;
9739 wxInputStream
*arg1
= 0 ;
9741 wxPyInputStream
*temp1
;
9743 PyObject
* obj0
= 0 ;
9745 (char *) "stream", NULL
9748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9750 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9751 arg1
= temp1
->m_wxis
;
9754 PyErr_Clear(); // clear the failure of the wxPyConvert above
9755 arg1
= wxPyCBInputStream_create(obj0
, False
);
9757 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9765 result
= (bool)wxImage::CanRead(*arg1
);
9767 wxPyEndAllowThreads(__tstate
);
9768 if (PyErr_Occurred()) SWIG_fail
;
9771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9787 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
;
9789 wxImage
*arg1
= (wxImage
*) 0 ;
9790 wxInputStream
*arg2
= 0 ;
9791 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9792 int arg4
= (int) -1 ;
9794 wxPyInputStream
*temp2
;
9796 PyObject
* obj0
= 0 ;
9797 PyObject
* obj1
= 0 ;
9798 PyObject
* obj2
= 0 ;
9799 PyObject
* obj3
= 0 ;
9801 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9805 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9808 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9809 arg2
= temp2
->m_wxis
;
9812 PyErr_Clear(); // clear the failure of the wxPyConvert above
9813 arg2
= wxPyCBInputStream_create(obj1
, False
);
9815 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9822 arg3
= (long) SWIG_AsLong(obj2
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9826 arg4
= (int) SWIG_AsInt(obj3
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9831 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9833 wxPyEndAllowThreads(__tstate
);
9834 if (PyErr_Occurred()) SWIG_fail
;
9837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9853 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9854 PyObject
*resultobj
;
9855 wxImage
*arg1
= (wxImage
*) 0 ;
9856 wxInputStream
*arg2
= 0 ;
9857 wxString
*arg3
= 0 ;
9858 int arg4
= (int) -1 ;
9860 wxPyInputStream
*temp2
;
9862 bool temp3
= False
;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 PyObject
* obj2
= 0 ;
9866 PyObject
* obj3
= 0 ;
9868 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9875 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9876 arg2
= temp2
->m_wxis
;
9879 PyErr_Clear(); // clear the failure of the wxPyConvert above
9880 arg2
= wxPyCBInputStream_create(obj1
, False
);
9882 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9889 arg3
= wxString_in_helper(obj2
);
9890 if (arg3
== NULL
) SWIG_fail
;
9894 arg4
= (int) SWIG_AsInt(obj3
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9899 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9901 wxPyEndAllowThreads(__tstate
);
9902 if (PyErr_Occurred()) SWIG_fail
;
9905 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9929 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9930 PyObject
*resultobj
;
9931 wxImage
*arg1
= (wxImage
*) 0 ;
9933 PyObject
* obj0
= 0 ;
9935 (char *) "self", NULL
9938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9943 result
= (bool)(arg1
)->Ok();
9945 wxPyEndAllowThreads(__tstate
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9957 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9958 PyObject
*resultobj
;
9959 wxImage
*arg1
= (wxImage
*) 0 ;
9961 PyObject
* obj0
= 0 ;
9963 (char *) "self", NULL
9966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9971 result
= (int)(arg1
)->GetWidth();
9973 wxPyEndAllowThreads(__tstate
);
9974 if (PyErr_Occurred()) SWIG_fail
;
9976 resultobj
= SWIG_FromInt((int)result
);
9983 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9984 PyObject
*resultobj
;
9985 wxImage
*arg1
= (wxImage
*) 0 ;
9987 PyObject
* obj0
= 0 ;
9989 (char *) "self", NULL
9992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9997 result
= (int)(arg1
)->GetHeight();
9999 wxPyEndAllowThreads(__tstate
);
10000 if (PyErr_Occurred()) SWIG_fail
;
10002 resultobj
= SWIG_FromInt((int)result
);
10009 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10010 PyObject
*resultobj
;
10011 wxImage
*arg1
= (wxImage
*) 0 ;
10013 SwigValueWrapper
< wxImage
> result
;
10015 PyObject
* obj0
= 0 ;
10016 PyObject
* obj1
= 0 ;
10017 char *kwnames
[] = {
10018 (char *) "self",(char *) "rect", NULL
10021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
10022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10026 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
10032 wxPyEndAllowThreads(__tstate
);
10033 if (PyErr_Occurred()) SWIG_fail
;
10036 wxImage
* resultptr
;
10037 resultptr
= new wxImage((wxImage
&) result
);
10038 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10046 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10047 PyObject
*resultobj
;
10048 wxImage
*arg1
= (wxImage
*) 0 ;
10049 SwigValueWrapper
< wxImage
> result
;
10050 PyObject
* obj0
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10060 result
= (arg1
)->Copy();
10062 wxPyEndAllowThreads(__tstate
);
10063 if (PyErr_Occurred()) SWIG_fail
;
10066 wxImage
* resultptr
;
10067 resultptr
= new wxImage((wxImage
&) result
);
10068 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10076 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10077 PyObject
*resultobj
;
10078 wxImage
*arg1
= (wxImage
*) 0 ;
10079 wxImage
*arg2
= 0 ;
10082 PyObject
* obj0
= 0 ;
10083 PyObject
* obj1
= 0 ;
10084 PyObject
* obj2
= 0 ;
10085 PyObject
* obj3
= 0 ;
10086 char *kwnames
[] = {
10087 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
10090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
10094 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10096 if (arg2
== NULL
) {
10097 PyErr_SetString(PyExc_TypeError
,"null reference");
10100 arg3
= (int) SWIG_AsInt(obj2
);
10101 if (PyErr_Occurred()) SWIG_fail
;
10102 arg4
= (int) SWIG_AsInt(obj3
);
10103 if (PyErr_Occurred()) SWIG_fail
;
10105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10106 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
10108 wxPyEndAllowThreads(__tstate
);
10109 if (PyErr_Occurred()) SWIG_fail
;
10111 Py_INCREF(Py_None
); resultobj
= Py_None
;
10118 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxImage
*arg1
= (wxImage
*) 0 ;
10122 PyObject
* obj0
= 0 ;
10123 char *kwnames
[] = {
10124 (char *) "self", NULL
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
10128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10132 result
= (PyObject
*)wxImage_GetData(arg1
);
10134 wxPyEndAllowThreads(__tstate
);
10135 if (PyErr_Occurred()) SWIG_fail
;
10137 resultobj
= result
;
10144 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10145 PyObject
*resultobj
;
10146 wxImage
*arg1
= (wxImage
*) 0 ;
10147 PyObject
*arg2
= (PyObject
*) 0 ;
10148 PyObject
* obj0
= 0 ;
10149 PyObject
* obj1
= 0 ;
10150 char *kwnames
[] = {
10151 (char *) "self",(char *) "data", NULL
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10160 wxImage_SetData(arg1
,arg2
);
10162 wxPyEndAllowThreads(__tstate
);
10163 if (PyErr_Occurred()) SWIG_fail
;
10165 Py_INCREF(Py_None
); resultobj
= Py_None
;
10172 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10173 PyObject
*resultobj
;
10174 wxImage
*arg1
= (wxImage
*) 0 ;
10176 PyObject
* obj0
= 0 ;
10177 char *kwnames
[] = {
10178 (char *) "self", NULL
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= result
;
10198 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10199 PyObject
*resultobj
;
10200 wxImage
*arg1
= (wxImage
*) 0 ;
10201 PyObject
*arg2
= (PyObject
*) 0 ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 char *kwnames
[] = {
10205 (char *) "self",(char *) "data", NULL
10208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10214 wxImage_SetDataBuffer(arg1
,arg2
);
10216 wxPyEndAllowThreads(__tstate
);
10217 if (PyErr_Occurred()) SWIG_fail
;
10219 Py_INCREF(Py_None
); resultobj
= Py_None
;
10226 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10227 PyObject
*resultobj
;
10228 wxImage
*arg1
= (wxImage
*) 0 ;
10230 PyObject
* obj0
= 0 ;
10231 char *kwnames
[] = {
10232 (char *) "self", NULL
10235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10240 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10242 wxPyEndAllowThreads(__tstate
);
10243 if (PyErr_Occurred()) SWIG_fail
;
10245 resultobj
= result
;
10252 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10253 PyObject
*resultobj
;
10254 wxImage
*arg1
= (wxImage
*) 0 ;
10255 PyObject
*arg2
= (PyObject
*) 0 ;
10256 PyObject
* obj0
= 0 ;
10257 PyObject
* obj1
= 0 ;
10258 char *kwnames
[] = {
10259 (char *) "self",(char *) "data", NULL
10262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10268 wxImage_SetAlphaData(arg1
,arg2
);
10270 wxPyEndAllowThreads(__tstate
);
10271 if (PyErr_Occurred()) SWIG_fail
;
10273 Py_INCREF(Py_None
); resultobj
= Py_None
;
10280 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10281 PyObject
*resultobj
;
10282 wxImage
*arg1
= (wxImage
*) 0 ;
10284 PyObject
* obj0
= 0 ;
10285 char *kwnames
[] = {
10286 (char *) "self", NULL
10289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10294 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= result
;
10306 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxImage
*arg1
= (wxImage
*) 0 ;
10309 PyObject
*arg2
= (PyObject
*) 0 ;
10310 PyObject
* obj0
= 0 ;
10311 PyObject
* obj1
= 0 ;
10312 char *kwnames
[] = {
10313 (char *) "self",(char *) "data", NULL
10316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 wxImage_SetAlphaBuffer(arg1
,arg2
);
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 Py_INCREF(Py_None
); resultobj
= Py_None
;
10334 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
;
10336 wxImage
*arg1
= (wxImage
*) 0 ;
10337 unsigned char arg2
;
10338 unsigned char arg3
;
10339 unsigned char arg4
;
10340 PyObject
* obj0
= 0 ;
10341 PyObject
* obj1
= 0 ;
10342 PyObject
* obj2
= 0 ;
10343 PyObject
* obj3
= 0 ;
10344 char *kwnames
[] = {
10345 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10351 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10353 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10354 if (PyErr_Occurred()) SWIG_fail
;
10355 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10356 if (PyErr_Occurred()) SWIG_fail
;
10358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10359 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10361 wxPyEndAllowThreads(__tstate
);
10362 if (PyErr_Occurred()) SWIG_fail
;
10364 Py_INCREF(Py_None
); resultobj
= Py_None
;
10371 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10372 PyObject
*resultobj
;
10373 wxImage
*arg1
= (wxImage
*) 0 ;
10374 unsigned char result
;
10375 PyObject
* obj0
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= (unsigned char)(arg1
)->GetMaskRed();
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10397 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxImage
*arg1
= (wxImage
*) 0 ;
10400 unsigned char result
;
10401 PyObject
* obj0
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10407 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10408 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10411 result
= (unsigned char)(arg1
)->GetMaskGreen();
10413 wxPyEndAllowThreads(__tstate
);
10414 if (PyErr_Occurred()) SWIG_fail
;
10416 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10423 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10424 PyObject
*resultobj
;
10425 wxImage
*arg1
= (wxImage
*) 0 ;
10426 unsigned char result
;
10427 PyObject
* obj0
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10437 result
= (unsigned char)(arg1
)->GetMaskBlue();
10439 wxPyEndAllowThreads(__tstate
);
10440 if (PyErr_Occurred()) SWIG_fail
;
10442 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10449 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10450 PyObject
*resultobj
;
10451 wxImage
*arg1
= (wxImage
*) 0 ;
10452 bool arg2
= (bool) True
;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "mask", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10463 arg2
= (bool) SWIG_AsBool(obj1
);
10464 if (PyErr_Occurred()) SWIG_fail
;
10467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10468 (arg1
)->SetMask(arg2
);
10470 wxPyEndAllowThreads(__tstate
);
10471 if (PyErr_Occurred()) SWIG_fail
;
10473 Py_INCREF(Py_None
); resultobj
= Py_None
;
10480 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10481 PyObject
*resultobj
;
10482 wxImage
*arg1
= (wxImage
*) 0 ;
10484 PyObject
* obj0
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10494 result
= (bool)(arg1
)->HasMask();
10496 wxPyEndAllowThreads(__tstate
);
10497 if (PyErr_Occurred()) SWIG_fail
;
10500 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10508 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10509 PyObject
*resultobj
;
10510 wxImage
*arg1
= (wxImage
*) 0 ;
10512 wxPoint
*arg3
= 0 ;
10513 bool arg4
= (bool) True
;
10514 wxPoint
*arg5
= (wxPoint
*) NULL
;
10515 SwigValueWrapper
< wxImage
> result
;
10517 PyObject
* obj0
= 0 ;
10518 PyObject
* obj1
= 0 ;
10519 PyObject
* obj2
= 0 ;
10520 PyObject
* obj3
= 0 ;
10521 PyObject
* obj4
= 0 ;
10522 char *kwnames
[] = {
10523 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10527 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10528 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10529 arg2
= (double) SWIG_AsDouble(obj1
);
10530 if (PyErr_Occurred()) SWIG_fail
;
10533 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10536 arg4
= (bool) SWIG_AsBool(obj3
);
10537 if (PyErr_Occurred()) SWIG_fail
;
10540 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10545 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10547 wxPyEndAllowThreads(__tstate
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10551 wxImage
* resultptr
;
10552 resultptr
= new wxImage((wxImage
&) result
);
10553 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10561 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxImage
*arg1
= (wxImage
*) 0 ;
10564 bool arg2
= (bool) True
;
10565 SwigValueWrapper
< wxImage
> result
;
10566 PyObject
* obj0
= 0 ;
10567 PyObject
* obj1
= 0 ;
10568 char *kwnames
[] = {
10569 (char *) "self",(char *) "clockwise", NULL
10572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10576 arg2
= (bool) SWIG_AsBool(obj1
);
10577 if (PyErr_Occurred()) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (arg1
)->Rotate90(arg2
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10587 wxImage
* resultptr
;
10588 resultptr
= new wxImage((wxImage
&) result
);
10589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10597 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10598 PyObject
*resultobj
;
10599 wxImage
*arg1
= (wxImage
*) 0 ;
10600 bool arg2
= (bool) True
;
10601 SwigValueWrapper
< wxImage
> result
;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 char *kwnames
[] = {
10605 (char *) "self",(char *) "horizontally", NULL
10608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10612 arg2
= (bool) SWIG_AsBool(obj1
);
10613 if (PyErr_Occurred()) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 result
= (arg1
)->Mirror(arg2
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10623 wxImage
* resultptr
;
10624 resultptr
= new wxImage((wxImage
&) result
);
10625 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10633 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10634 PyObject
*resultobj
;
10635 wxImage
*arg1
= (wxImage
*) 0 ;
10636 unsigned char arg2
;
10637 unsigned char arg3
;
10638 unsigned char arg4
;
10639 unsigned char arg5
;
10640 unsigned char arg6
;
10641 unsigned char arg7
;
10642 PyObject
* obj0
= 0 ;
10643 PyObject
* obj1
= 0 ;
10644 PyObject
* obj2
= 0 ;
10645 PyObject
* obj3
= 0 ;
10646 PyObject
* obj4
= 0 ;
10647 PyObject
* obj5
= 0 ;
10648 PyObject
* obj6
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10655 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10656 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10657 if (PyErr_Occurred()) SWIG_fail
;
10658 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10660 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10661 if (PyErr_Occurred()) SWIG_fail
;
10662 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10663 if (PyErr_Occurred()) SWIG_fail
;
10664 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10665 if (PyErr_Occurred()) SWIG_fail
;
10666 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10667 if (PyErr_Occurred()) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxImage
*arg1
= (wxImage
*) 0 ;
10685 unsigned char arg2
;
10686 unsigned char arg3
;
10687 unsigned char arg4
;
10688 SwigValueWrapper
< wxImage
> result
;
10689 PyObject
* obj0
= 0 ;
10690 PyObject
* obj1
= 0 ;
10691 PyObject
* obj2
= 0 ;
10692 PyObject
* obj3
= 0 ;
10693 char *kwnames
[] = {
10694 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10700 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10701 if (PyErr_Occurred()) SWIG_fail
;
10702 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10703 if (PyErr_Occurred()) SWIG_fail
;
10704 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10705 if (PyErr_Occurred()) SWIG_fail
;
10707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10708 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10710 wxPyEndAllowThreads(__tstate
);
10711 if (PyErr_Occurred()) SWIG_fail
;
10714 wxImage
* resultptr
;
10715 resultptr
= new wxImage((wxImage
&) result
);
10716 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10724 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10725 PyObject
*resultobj
;
10726 wxImage
*arg1
= (wxImage
*) 0 ;
10727 wxString
*arg2
= 0 ;
10728 wxString
*arg3
= 0 ;
10729 bool temp2
= False
;
10730 bool temp3
= False
;
10731 PyObject
* obj0
= 0 ;
10732 PyObject
* obj1
= 0 ;
10733 PyObject
* obj2
= 0 ;
10734 char *kwnames
[] = {
10735 (char *) "self",(char *) "name",(char *) "value", NULL
10738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10742 arg2
= wxString_in_helper(obj1
);
10743 if (arg2
== NULL
) SWIG_fail
;
10747 arg3
= wxString_in_helper(obj2
);
10748 if (arg3
== NULL
) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10755 wxPyEndAllowThreads(__tstate
);
10756 if (PyErr_Occurred()) SWIG_fail
;
10758 Py_INCREF(Py_None
); resultobj
= Py_None
;
10781 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10782 PyObject
*resultobj
;
10783 wxImage
*arg1
= (wxImage
*) 0 ;
10784 wxString
*arg2
= 0 ;
10786 bool temp2
= False
;
10787 PyObject
* obj0
= 0 ;
10788 PyObject
* obj1
= 0 ;
10789 PyObject
* obj2
= 0 ;
10790 char *kwnames
[] = {
10791 (char *) "self",(char *) "name",(char *) "value", NULL
10794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10798 arg2
= wxString_in_helper(obj1
);
10799 if (arg2
== NULL
) SWIG_fail
;
10802 arg3
= (int) SWIG_AsInt(obj2
);
10803 if (PyErr_Occurred()) SWIG_fail
;
10805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10806 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10808 wxPyEndAllowThreads(__tstate
);
10809 if (PyErr_Occurred()) SWIG_fail
;
10811 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxImage
*arg1
= (wxImage
*) 0 ;
10829 wxString
*arg2
= 0 ;
10831 bool temp2
= False
;
10832 PyObject
* obj0
= 0 ;
10833 PyObject
* obj1
= 0 ;
10834 char *kwnames
[] = {
10835 (char *) "self",(char *) "name", NULL
10838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10842 arg2
= wxString_in_helper(obj1
);
10843 if (arg2
== NULL
) SWIG_fail
;
10847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10848 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10850 wxPyEndAllowThreads(__tstate
);
10851 if (PyErr_Occurred()) SWIG_fail
;
10855 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10857 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10874 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10875 PyObject
*resultobj
;
10876 wxImage
*arg1
= (wxImage
*) 0 ;
10877 wxString
*arg2
= 0 ;
10879 bool temp2
= False
;
10880 PyObject
* obj0
= 0 ;
10881 PyObject
* obj1
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self",(char *) "name", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10890 arg2
= wxString_in_helper(obj1
);
10891 if (arg2
== NULL
) SWIG_fail
;
10895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10896 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10898 wxPyEndAllowThreads(__tstate
);
10899 if (PyErr_Occurred()) SWIG_fail
;
10901 resultobj
= SWIG_FromInt((int)result
);
10916 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10917 PyObject
*resultobj
;
10918 wxImage
*arg1
= (wxImage
*) 0 ;
10919 wxString
*arg2
= 0 ;
10921 bool temp2
= False
;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "self",(char *) "name", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10929 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10930 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10932 arg2
= wxString_in_helper(obj1
);
10933 if (arg2
== NULL
) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10960 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10961 PyObject
*resultobj
;
10962 wxImage
*arg1
= (wxImage
*) 0 ;
10963 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10964 unsigned long result
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 char *kwnames
[] = {
10968 (char *) "self",(char *) "stopafter", NULL
10971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10975 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10976 if (PyErr_Occurred()) SWIG_fail
;
10979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10980 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10982 wxPyEndAllowThreads(__tstate
);
10983 if (PyErr_Occurred()) SWIG_fail
;
10985 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10992 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10993 PyObject
*resultobj
;
10994 wxImage
*arg1
= (wxImage
*) 0 ;
10995 wxImageHistogram
*arg2
= 0 ;
10996 unsigned long result
;
10997 PyObject
* obj0
= 0 ;
10998 PyObject
* obj1
= 0 ;
10999 char *kwnames
[] = {
11000 (char *) "self",(char *) "h", NULL
11003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
11004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11006 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
11007 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11009 if (arg2
== NULL
) {
11010 PyErr_SetString(PyExc_TypeError
,"null reference");
11014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11015 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
11017 wxPyEndAllowThreads(__tstate
);
11018 if (PyErr_Occurred()) SWIG_fail
;
11020 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
11027 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11028 PyObject
*resultobj
;
11029 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11030 PyObject
* obj0
= 0 ;
11031 char *kwnames
[] = {
11032 (char *) "handler", NULL
11035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
11036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 wxImage::AddHandler(arg1
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11045 Py_INCREF(Py_None
); resultobj
= Py_None
;
11052 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11053 PyObject
*resultobj
;
11054 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
11055 PyObject
* obj0
= 0 ;
11056 char *kwnames
[] = {
11057 (char *) "handler", NULL
11060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
11061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
11062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11065 wxImage::InsertHandler(arg1
);
11067 wxPyEndAllowThreads(__tstate
);
11068 if (PyErr_Occurred()) SWIG_fail
;
11070 Py_INCREF(Py_None
); resultobj
= Py_None
;
11077 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11078 PyObject
*resultobj
;
11079 wxString
*arg1
= 0 ;
11081 bool temp1
= False
;
11082 PyObject
* obj0
= 0 ;
11083 char *kwnames
[] = {
11084 (char *) "name", NULL
11087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
11089 arg1
= wxString_in_helper(obj0
);
11090 if (arg1
== NULL
) SWIG_fail
;
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
11097 wxPyEndAllowThreads(__tstate
);
11098 if (PyErr_Occurred()) SWIG_fail
;
11101 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11117 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11118 PyObject
*resultobj
;
11120 char *kwnames
[] = {
11124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
11126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11127 result
= wxImage::GetImageExtWildcard();
11129 wxPyEndAllowThreads(__tstate
);
11130 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11136 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11145 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11146 PyObject
*resultobj
;
11147 wxImage
*arg1
= (wxImage
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 char *kwnames
[] = {
11151 (char *) "self", NULL
11154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
11155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= wxImage_ConvertToBitmap(arg1
);
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11165 wxBitmap
* resultptr
;
11166 resultptr
= new wxBitmap((wxBitmap
&) result
);
11167 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11175 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11176 PyObject
*resultobj
;
11177 wxImage
*arg1
= (wxImage
*) 0 ;
11178 unsigned char arg2
;
11179 unsigned char arg3
;
11180 unsigned char arg4
;
11182 PyObject
* obj0
= 0 ;
11183 PyObject
* obj1
= 0 ;
11184 PyObject
* obj2
= 0 ;
11185 PyObject
* obj3
= 0 ;
11186 char *kwnames
[] = {
11187 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11193 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11194 if (PyErr_Occurred()) SWIG_fail
;
11195 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11196 if (PyErr_Occurred()) SWIG_fail
;
11197 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11198 if (PyErr_Occurred()) SWIG_fail
;
11200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11201 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11207 wxBitmap
* resultptr
;
11208 resultptr
= new wxBitmap((wxBitmap
&) result
);
11209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11217 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11220 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11222 return Py_BuildValue((char *)"");
11224 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11225 PyObject
*resultobj
;
11226 char *kwnames
[] = {
11230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11233 wxInitAllImageHandlers();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11245 static int _wrap_NullImage_set(PyObject
*_val
) {
11246 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11251 static PyObject
*_wrap_NullImage_get() {
11254 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11259 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11260 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11265 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11270 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11272 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11279 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11280 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11285 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11290 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11292 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11299 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11300 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11305 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11310 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11312 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11319 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11320 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11325 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11330 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11332 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11339 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11340 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11345 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11350 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11352 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11359 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxBMPHandler
*result
;
11362 char *kwnames
[] = {
11366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11369 result
= (wxBMPHandler
*)new wxBMPHandler();
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11381 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11384 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11386 return Py_BuildValue((char *)"");
11388 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11389 PyObject
*resultobj
;
11390 wxICOHandler
*result
;
11391 char *kwnames
[] = {
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11398 result
= (wxICOHandler
*)new wxICOHandler();
11400 wxPyEndAllowThreads(__tstate
);
11401 if (PyErr_Occurred()) SWIG_fail
;
11403 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11410 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11413 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11415 return Py_BuildValue((char *)"");
11417 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11418 PyObject
*resultobj
;
11419 wxCURHandler
*result
;
11420 char *kwnames
[] = {
11424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11427 result
= (wxCURHandler
*)new wxCURHandler();
11429 wxPyEndAllowThreads(__tstate
);
11430 if (PyErr_Occurred()) SWIG_fail
;
11432 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11439 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11442 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11444 return Py_BuildValue((char *)"");
11446 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11447 PyObject
*resultobj
;
11448 wxANIHandler
*result
;
11449 char *kwnames
[] = {
11453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11456 result
= (wxANIHandler
*)new wxANIHandler();
11458 wxPyEndAllowThreads(__tstate
);
11459 if (PyErr_Occurred()) SWIG_fail
;
11461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11468 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11470 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11471 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11473 return Py_BuildValue((char *)"");
11475 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
;
11477 wxPNGHandler
*result
;
11478 char *kwnames
[] = {
11482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11485 result
= (wxPNGHandler
*)new wxPNGHandler();
11487 wxPyEndAllowThreads(__tstate
);
11488 if (PyErr_Occurred()) SWIG_fail
;
11490 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11497 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11500 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11502 return Py_BuildValue((char *)"");
11504 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxGIFHandler
*result
;
11507 char *kwnames
[] = {
11511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11514 result
= (wxGIFHandler
*)new wxGIFHandler();
11516 wxPyEndAllowThreads(__tstate
);
11517 if (PyErr_Occurred()) SWIG_fail
;
11519 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11526 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11529 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11531 return Py_BuildValue((char *)"");
11533 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11534 PyObject
*resultobj
;
11535 wxPCXHandler
*result
;
11536 char *kwnames
[] = {
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 result
= (wxPCXHandler
*)new wxPCXHandler();
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11555 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11558 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11560 return Py_BuildValue((char *)"");
11562 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11563 PyObject
*resultobj
;
11564 wxJPEGHandler
*result
;
11565 char *kwnames
[] = {
11569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11574 wxPyEndAllowThreads(__tstate
);
11575 if (PyErr_Occurred()) SWIG_fail
;
11577 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11584 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11586 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11587 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11589 return Py_BuildValue((char *)"");
11591 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11592 PyObject
*resultobj
;
11593 wxPNMHandler
*result
;
11594 char *kwnames
[] = {
11598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11601 result
= (wxPNMHandler
*)new wxPNMHandler();
11603 wxPyEndAllowThreads(__tstate
);
11604 if (PyErr_Occurred()) SWIG_fail
;
11606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11613 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11615 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11616 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11618 return Py_BuildValue((char *)"");
11620 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11621 PyObject
*resultobj
;
11622 wxXPMHandler
*result
;
11623 char *kwnames
[] = {
11627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11630 result
= (wxXPMHandler
*)new wxXPMHandler();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11642 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11644 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11645 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11647 return Py_BuildValue((char *)"");
11649 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11650 PyObject
*resultobj
;
11651 wxTIFFHandler
*result
;
11652 char *kwnames
[] = {
11656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11661 wxPyEndAllowThreads(__tstate
);
11662 if (PyErr_Occurred()) SWIG_fail
;
11664 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11671 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11673 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11674 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11676 return Py_BuildValue((char *)"");
11678 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11679 PyObject
*resultobj
;
11680 wxEvtHandler
*result
;
11681 char *kwnames
[] = {
11685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11688 result
= (wxEvtHandler
*)new wxEvtHandler();
11690 wxPyEndAllowThreads(__tstate
);
11691 if (PyErr_Occurred()) SWIG_fail
;
11694 resultobj
= wxPyMake_wxObject(result
);
11702 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11703 PyObject
*resultobj
;
11704 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11705 wxEvtHandler
*result
;
11706 PyObject
* obj0
= 0 ;
11707 char *kwnames
[] = {
11708 (char *) "self", NULL
11711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11716 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11718 wxPyEndAllowThreads(__tstate
);
11719 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= wxPyMake_wxObject(result
);
11730 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11733 wxEvtHandler
*result
;
11734 PyObject
* obj0
= 0 ;
11735 char *kwnames
[] = {
11736 (char *) "self", NULL
11739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11744 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11750 resultobj
= wxPyMake_wxObject(result
);
11758 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11759 PyObject
*resultobj
;
11760 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11761 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11762 PyObject
* obj0
= 0 ;
11763 PyObject
* obj1
= 0 ;
11764 char *kwnames
[] = {
11765 (char *) "self",(char *) "handler", NULL
11768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11771 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11775 (arg1
)->SetNextHandler(arg2
);
11777 wxPyEndAllowThreads(__tstate
);
11778 if (PyErr_Occurred()) SWIG_fail
;
11780 Py_INCREF(Py_None
); resultobj
= Py_None
;
11787 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11788 PyObject
*resultobj
;
11789 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11790 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11791 PyObject
* obj0
= 0 ;
11792 PyObject
* obj1
= 0 ;
11793 char *kwnames
[] = {
11794 (char *) "self",(char *) "handler", NULL
11797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11800 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11804 (arg1
)->SetPreviousHandler(arg2
);
11806 wxPyEndAllowThreads(__tstate
);
11807 if (PyErr_Occurred()) SWIG_fail
;
11809 Py_INCREF(Py_None
); resultobj
= Py_None
;
11816 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11817 PyObject
*resultobj
;
11818 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 char *kwnames
[] = {
11822 (char *) "self", NULL
11825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11836 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11844 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11848 PyObject
* obj0
= 0 ;
11849 PyObject
* obj1
= 0 ;
11850 char *kwnames
[] = {
11851 (char *) "self",(char *) "enabled", NULL
11854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11857 arg2
= (bool) SWIG_AsBool(obj1
);
11858 if (PyErr_Occurred()) SWIG_fail
;
11860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11861 (arg1
)->SetEvtHandlerEnabled(arg2
);
11863 wxPyEndAllowThreads(__tstate
);
11864 if (PyErr_Occurred()) SWIG_fail
;
11866 Py_INCREF(Py_None
); resultobj
= Py_None
;
11873 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11874 PyObject
*resultobj
;
11875 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11876 wxEvent
*arg2
= 0 ;
11878 PyObject
* obj0
= 0 ;
11879 PyObject
* obj1
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self",(char *) "event", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11887 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11888 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11890 if (arg2
== NULL
) {
11891 PyErr_SetString(PyExc_TypeError
,"null reference");
11895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11896 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11898 wxPyEndAllowThreads(__tstate
);
11899 if (PyErr_Occurred()) SWIG_fail
;
11902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11910 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11911 PyObject
*resultobj
;
11912 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11913 wxEvent
*arg2
= 0 ;
11914 PyObject
* obj0
= 0 ;
11915 PyObject
* obj1
= 0 ;
11916 char *kwnames
[] = {
11917 (char *) "self",(char *) "event", NULL
11920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11923 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11924 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11926 if (arg2
== NULL
) {
11927 PyErr_SetString(PyExc_TypeError
,"null reference");
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 (arg1
)->AddPendingEvent(*arg2
);
11934 wxPyEndAllowThreads(__tstate
);
11935 if (PyErr_Occurred()) SWIG_fail
;
11937 Py_INCREF(Py_None
); resultobj
= Py_None
;
11944 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11945 PyObject
*resultobj
;
11946 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11947 PyObject
* obj0
= 0 ;
11948 char *kwnames
[] = {
11949 (char *) "self", NULL
11952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11957 (arg1
)->ProcessPendingEvents();
11959 wxPyEndAllowThreads(__tstate
);
11960 if (PyErr_Occurred()) SWIG_fail
;
11962 Py_INCREF(Py_None
); resultobj
= Py_None
;
11969 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11970 PyObject
*resultobj
;
11971 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11975 PyObject
*arg5
= (PyObject
*) 0 ;
11976 PyObject
* obj0
= 0 ;
11977 PyObject
* obj1
= 0 ;
11978 PyObject
* obj2
= 0 ;
11979 PyObject
* obj3
= 0 ;
11980 PyObject
* obj4
= 0 ;
11981 char *kwnames
[] = {
11982 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11988 arg2
= (int) SWIG_AsInt(obj1
);
11989 if (PyErr_Occurred()) SWIG_fail
;
11990 arg3
= (int) SWIG_AsInt(obj2
);
11991 if (PyErr_Occurred()) SWIG_fail
;
11992 arg4
= (int) SWIG_AsInt(obj3
);
11993 if (PyErr_Occurred()) SWIG_fail
;
11996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11997 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11999 wxPyEndAllowThreads(__tstate
);
12000 if (PyErr_Occurred()) SWIG_fail
;
12002 Py_INCREF(Py_None
); resultobj
= Py_None
;
12009 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12010 PyObject
*resultobj
;
12011 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12013 int arg3
= (int) -1 ;
12014 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
12016 PyObject
* obj0
= 0 ;
12017 PyObject
* obj1
= 0 ;
12018 PyObject
* obj2
= 0 ;
12019 PyObject
* obj3
= 0 ;
12020 char *kwnames
[] = {
12021 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
12024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12027 arg2
= (int) SWIG_AsInt(obj1
);
12028 if (PyErr_Occurred()) SWIG_fail
;
12030 arg3
= (int) SWIG_AsInt(obj2
);
12031 if (PyErr_Occurred()) SWIG_fail
;
12034 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
12035 if (PyErr_Occurred()) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12053 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
12056 PyObject
*arg2
= (PyObject
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "_self", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 wxEvtHandler__setOORInfo(arg1
,arg2
);
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 Py_INCREF(Py_None
); resultobj
= Py_None
;
12081 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
12083 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12084 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
12086 return Py_BuildValue((char *)"");
12088 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12089 PyObject
*resultobj
;
12090 wxEventType result
;
12091 char *kwnames
[] = {
12095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (wxEventType
)wxNewEventType();
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= SWIG_FromInt((int)result
);
12110 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxEvent
*arg1
= (wxEvent
*) 0 ;
12113 PyObject
* obj0
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 Py_INCREF(Py_None
); resultobj
= Py_None
;
12135 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxEvent
*arg1
= (wxEvent
*) 0 ;
12139 PyObject
* obj0
= 0 ;
12140 PyObject
* obj1
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self",(char *) "typ", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12148 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12152 (arg1
)->SetEventType(arg2
);
12154 wxPyEndAllowThreads(__tstate
);
12155 if (PyErr_Occurred()) SWIG_fail
;
12157 Py_INCREF(Py_None
); resultobj
= Py_None
;
12164 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12165 PyObject
*resultobj
;
12166 wxEvent
*arg1
= (wxEvent
*) 0 ;
12167 wxEventType result
;
12168 PyObject
* obj0
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12178 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12180 wxPyEndAllowThreads(__tstate
);
12181 if (PyErr_Occurred()) SWIG_fail
;
12183 resultobj
= SWIG_FromInt((int)result
);
12190 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12191 PyObject
*resultobj
;
12192 wxEvent
*arg1
= (wxEvent
*) 0 ;
12194 PyObject
* obj0
= 0 ;
12195 char *kwnames
[] = {
12196 (char *) "self", NULL
12199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12204 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12206 wxPyEndAllowThreads(__tstate
);
12207 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= wxPyMake_wxObject(result
);
12218 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxEvent
*arg1
= (wxEvent
*) 0 ;
12221 wxObject
*arg2
= (wxObject
*) 0 ;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "obj", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12231 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12235 (arg1
)->SetEventObject(arg2
);
12237 wxPyEndAllowThreads(__tstate
);
12238 if (PyErr_Occurred()) SWIG_fail
;
12240 Py_INCREF(Py_None
); resultobj
= Py_None
;
12247 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12248 PyObject
*resultobj
;
12249 wxEvent
*arg1
= (wxEvent
*) 0 ;
12251 PyObject
* obj0
= 0 ;
12252 char *kwnames
[] = {
12253 (char *) "self", NULL
12256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12261 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12263 wxPyEndAllowThreads(__tstate
);
12264 if (PyErr_Occurred()) SWIG_fail
;
12266 resultobj
= SWIG_FromLong((long)result
);
12273 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12274 PyObject
*resultobj
;
12275 wxEvent
*arg1
= (wxEvent
*) 0 ;
12276 long arg2
= (long) 0 ;
12277 PyObject
* obj0
= 0 ;
12278 PyObject
* obj1
= 0 ;
12279 char *kwnames
[] = {
12280 (char *) "self",(char *) "ts", NULL
12283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12287 arg2
= (long) SWIG_AsLong(obj1
);
12288 if (PyErr_Occurred()) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 (arg1
)->SetTimestamp(arg2
);
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 Py_INCREF(Py_None
); resultobj
= Py_None
;
12304 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxEvent
*arg1
= (wxEvent
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 result
= (int)((wxEvent
const *)arg1
)->GetId();
12320 wxPyEndAllowThreads(__tstate
);
12321 if (PyErr_Occurred()) SWIG_fail
;
12323 resultobj
= SWIG_FromInt((int)result
);
12330 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12331 PyObject
*resultobj
;
12332 wxEvent
*arg1
= (wxEvent
*) 0 ;
12334 PyObject
* obj0
= 0 ;
12335 PyObject
* obj1
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self",(char *) "Id", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12343 arg2
= (int) SWIG_AsInt(obj1
);
12344 if (PyErr_Occurred()) SWIG_fail
;
12346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12347 (arg1
)->SetId(arg2
);
12349 wxPyEndAllowThreads(__tstate
);
12350 if (PyErr_Occurred()) SWIG_fail
;
12352 Py_INCREF(Py_None
); resultobj
= Py_None
;
12359 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12360 PyObject
*resultobj
;
12361 wxEvent
*arg1
= (wxEvent
*) 0 ;
12363 PyObject
* obj0
= 0 ;
12364 char *kwnames
[] = {
12365 (char *) "self", NULL
12368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12373 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12375 wxPyEndAllowThreads(__tstate
);
12376 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12387 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxEvent
*arg1
= (wxEvent
*) 0 ;
12390 bool arg2
= (bool) True
;
12391 PyObject
* obj0
= 0 ;
12392 PyObject
* obj1
= 0 ;
12393 char *kwnames
[] = {
12394 (char *) "self",(char *) "skip", NULL
12397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12401 arg2
= (bool) SWIG_AsBool(obj1
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12406 (arg1
)->Skip(arg2
);
12408 wxPyEndAllowThreads(__tstate
);
12409 if (PyErr_Occurred()) SWIG_fail
;
12411 Py_INCREF(Py_None
); resultobj
= Py_None
;
12418 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12419 PyObject
*resultobj
;
12420 wxEvent
*arg1
= (wxEvent
*) 0 ;
12422 PyObject
* obj0
= 0 ;
12423 char *kwnames
[] = {
12424 (char *) "self", NULL
12427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12432 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12434 wxPyEndAllowThreads(__tstate
);
12435 if (PyErr_Occurred()) SWIG_fail
;
12438 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12446 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12447 PyObject
*resultobj
;
12448 wxEvent
*arg1
= (wxEvent
*) 0 ;
12450 PyObject
* obj0
= 0 ;
12451 char *kwnames
[] = {
12452 (char *) "self", NULL
12455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12460 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12462 wxPyEndAllowThreads(__tstate
);
12463 if (PyErr_Occurred()) SWIG_fail
;
12466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12474 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12475 PyObject
*resultobj
;
12476 wxEvent
*arg1
= (wxEvent
*) 0 ;
12478 PyObject
* obj0
= 0 ;
12479 char *kwnames
[] = {
12480 (char *) "self", NULL
12483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (int)(arg1
)->StopPropagation();
12490 wxPyEndAllowThreads(__tstate
);
12491 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= SWIG_FromInt((int)result
);
12500 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12501 PyObject
*resultobj
;
12502 wxEvent
*arg1
= (wxEvent
*) 0 ;
12504 PyObject
* obj0
= 0 ;
12505 PyObject
* obj1
= 0 ;
12506 char *kwnames
[] = {
12507 (char *) "self",(char *) "propagationLevel", NULL
12510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12513 arg2
= (int) SWIG_AsInt(obj1
);
12514 if (PyErr_Occurred()) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 (arg1
)->ResumePropagation(arg2
);
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 Py_INCREF(Py_None
); resultobj
= Py_None
;
12529 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxEvent
*arg1
= (wxEvent
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12543 result
= (wxEvent
*)(arg1
)->Clone();
12545 wxPyEndAllowThreads(__tstate
);
12546 if (PyErr_Occurred()) SWIG_fail
;
12548 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12555 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12557 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12558 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12560 return Py_BuildValue((char *)"");
12562 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxEvent
*arg1
= 0 ;
12565 wxPropagationDisabler
*result
;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "event", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12575 if (arg1
== NULL
) {
12576 PyErr_SetString(PyExc_TypeError
,"null reference");
12580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12581 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12583 wxPyEndAllowThreads(__tstate
);
12584 if (PyErr_Occurred()) SWIG_fail
;
12586 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12593 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12594 PyObject
*resultobj
;
12595 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12596 PyObject
* obj0
= 0 ;
12597 char *kwnames
[] = {
12598 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12608 wxPyEndAllowThreads(__tstate
);
12609 if (PyErr_Occurred()) SWIG_fail
;
12611 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12621 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12623 return Py_BuildValue((char *)"");
12625 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxEvent
*arg1
= 0 ;
12628 wxPropagateOnce
*result
;
12629 PyObject
* obj0
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "event", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12636 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12638 if (arg1
== NULL
) {
12639 PyErr_SetString(PyExc_TypeError
,"null reference");
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12649 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12656 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12659 PyObject
* obj0
= 0 ;
12660 char *kwnames
[] = {
12661 (char *) "self", NULL
12664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 Py_INCREF(Py_None
); resultobj
= Py_None
;
12681 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12683 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12684 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12686 return Py_BuildValue((char *)"");
12688 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12689 PyObject
*resultobj
;
12690 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12691 int arg2
= (int) 0 ;
12692 wxCommandEvent
*result
;
12693 PyObject
* obj0
= 0 ;
12694 PyObject
* obj1
= 0 ;
12695 char *kwnames
[] = {
12696 (char *) "commandType",(char *) "winid", NULL
12699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12701 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 arg2
= (int) SWIG_AsInt(obj1
);
12706 if (PyErr_Occurred()) SWIG_fail
;
12709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12710 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12712 wxPyEndAllowThreads(__tstate
);
12713 if (PyErr_Occurred()) SWIG_fail
;
12715 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12722 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12723 PyObject
*resultobj
;
12724 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12726 PyObject
* obj0
= 0 ;
12727 char *kwnames
[] = {
12728 (char *) "self", NULL
12731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12736 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12738 wxPyEndAllowThreads(__tstate
);
12739 if (PyErr_Occurred()) SWIG_fail
;
12741 resultobj
= SWIG_FromInt((int)result
);
12748 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12749 PyObject
*resultobj
;
12750 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12751 wxString
*arg2
= 0 ;
12752 bool temp2
= False
;
12753 PyObject
* obj0
= 0 ;
12754 PyObject
* obj1
= 0 ;
12755 char *kwnames
[] = {
12756 (char *) "self",(char *) "s", NULL
12759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12763 arg2
= wxString_in_helper(obj1
);
12764 if (arg2
== NULL
) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 (arg1
)->SetString((wxString
const &)*arg2
);
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 Py_INCREF(Py_None
); resultobj
= Py_None
;
12789 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12803 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12805 wxPyEndAllowThreads(__tstate
);
12806 if (PyErr_Occurred()) SWIG_fail
;
12810 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12812 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12821 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12822 PyObject
*resultobj
;
12823 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12825 PyObject
* obj0
= 0 ;
12826 char *kwnames
[] = {
12827 (char *) "self", NULL
12830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12835 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12837 wxPyEndAllowThreads(__tstate
);
12838 if (PyErr_Occurred()) SWIG_fail
;
12841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12849 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12850 PyObject
*resultobj
;
12851 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12853 PyObject
* obj0
= 0 ;
12854 char *kwnames
[] = {
12855 (char *) "self", NULL
12858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12863 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12865 wxPyEndAllowThreads(__tstate
);
12866 if (PyErr_Occurred()) SWIG_fail
;
12869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12877 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12881 PyObject
* obj0
= 0 ;
12882 PyObject
* obj1
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self",(char *) "extraLong", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12890 arg2
= (long) SWIG_AsLong(obj1
);
12891 if (PyErr_Occurred()) SWIG_fail
;
12893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 (arg1
)->SetExtraLong(arg2
);
12896 wxPyEndAllowThreads(__tstate
);
12897 if (PyErr_Occurred()) SWIG_fail
;
12899 Py_INCREF(Py_None
); resultobj
= Py_None
;
12906 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12907 PyObject
*resultobj
;
12908 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12910 PyObject
* obj0
= 0 ;
12911 char *kwnames
[] = {
12912 (char *) "self", NULL
12915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12920 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12922 wxPyEndAllowThreads(__tstate
);
12923 if (PyErr_Occurred()) SWIG_fail
;
12925 resultobj
= SWIG_FromLong((long)result
);
12932 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12933 PyObject
*resultobj
;
12934 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12936 PyObject
* obj0
= 0 ;
12937 PyObject
* obj1
= 0 ;
12938 char *kwnames
[] = {
12939 (char *) "self",(char *) "i", NULL
12942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12945 arg2
= (int) SWIG_AsInt(obj1
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 (arg1
)->SetInt(arg2
);
12951 wxPyEndAllowThreads(__tstate
);
12952 if (PyErr_Occurred()) SWIG_fail
;
12954 Py_INCREF(Py_None
); resultobj
= Py_None
;
12961 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12962 PyObject
*resultobj
;
12963 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12965 PyObject
* obj0
= 0 ;
12966 char *kwnames
[] = {
12967 (char *) "self", NULL
12970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12977 wxPyEndAllowThreads(__tstate
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= SWIG_FromLong((long)result
);
12987 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12988 PyObject
*resultobj
;
12989 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12991 PyObject
* obj0
= 0 ;
12992 char *kwnames
[] = {
12993 (char *) "self", NULL
12996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
13003 wxPyEndAllowThreads(__tstate
);
13004 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
13013 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13015 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13016 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
13018 return Py_BuildValue((char *)"");
13020 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13021 PyObject
*resultobj
;
13022 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13023 int arg2
= (int) 0 ;
13024 wxNotifyEvent
*result
;
13025 PyObject
* obj0
= 0 ;
13026 PyObject
* obj1
= 0 ;
13027 char *kwnames
[] = {
13028 (char *) "commandType",(char *) "winid", NULL
13031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
13033 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13034 if (PyErr_Occurred()) SWIG_fail
;
13037 arg2
= (int) SWIG_AsInt(obj1
);
13038 if (PyErr_Occurred()) SWIG_fail
;
13041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13042 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
13044 wxPyEndAllowThreads(__tstate
);
13045 if (PyErr_Occurred()) SWIG_fail
;
13047 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
13054 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13055 PyObject
*resultobj
;
13056 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13057 PyObject
* obj0
= 0 ;
13058 char *kwnames
[] = {
13059 (char *) "self", NULL
13062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
13063 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13064 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13069 wxPyEndAllowThreads(__tstate
);
13070 if (PyErr_Occurred()) SWIG_fail
;
13072 Py_INCREF(Py_None
); resultobj
= Py_None
;
13079 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13080 PyObject
*resultobj
;
13081 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13082 PyObject
* obj0
= 0 ;
13083 char *kwnames
[] = {
13084 (char *) "self", NULL
13087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
13088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13094 wxPyEndAllowThreads(__tstate
);
13095 if (PyErr_Occurred()) SWIG_fail
;
13097 Py_INCREF(Py_None
); resultobj
= Py_None
;
13104 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
13115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (bool)(arg1
)->IsAllowed();
13120 wxPyEndAllowThreads(__tstate
);
13121 if (PyErr_Occurred()) SWIG_fail
;
13124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13132 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13134 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13135 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
13137 return Py_BuildValue((char *)"");
13139 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13140 PyObject
*resultobj
;
13141 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13142 int arg2
= (int) 0 ;
13143 int arg3
= (int) 0 ;
13144 int arg4
= (int) 0 ;
13145 wxScrollEvent
*result
;
13146 PyObject
* obj0
= 0 ;
13147 PyObject
* obj1
= 0 ;
13148 PyObject
* obj2
= 0 ;
13149 PyObject
* obj3
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
13156 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13157 if (PyErr_Occurred()) SWIG_fail
;
13160 arg2
= (int) SWIG_AsInt(obj1
);
13161 if (PyErr_Occurred()) SWIG_fail
;
13164 arg3
= (int) SWIG_AsInt(obj2
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13168 arg4
= (int) SWIG_AsInt(obj3
);
13169 if (PyErr_Occurred()) SWIG_fail
;
13172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13173 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
13175 wxPyEndAllowThreads(__tstate
);
13176 if (PyErr_Occurred()) SWIG_fail
;
13178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13185 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13186 PyObject
*resultobj
;
13187 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 char *kwnames
[] = {
13191 (char *) "self", NULL
13194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13199 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13201 wxPyEndAllowThreads(__tstate
);
13202 if (PyErr_Occurred()) SWIG_fail
;
13204 resultobj
= SWIG_FromInt((int)result
);
13211 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13225 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13227 wxPyEndAllowThreads(__tstate
);
13228 if (PyErr_Occurred()) SWIG_fail
;
13230 resultobj
= SWIG_FromInt((int)result
);
13237 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13238 PyObject
*resultobj
;
13239 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13241 PyObject
* obj0
= 0 ;
13242 PyObject
* obj1
= 0 ;
13243 char *kwnames
[] = {
13244 (char *) "self",(char *) "orient", NULL
13247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13250 arg2
= (int) SWIG_AsInt(obj1
);
13251 if (PyErr_Occurred()) SWIG_fail
;
13253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13254 (arg1
)->SetOrientation(arg2
);
13256 wxPyEndAllowThreads(__tstate
);
13257 if (PyErr_Occurred()) SWIG_fail
;
13259 Py_INCREF(Py_None
); resultobj
= Py_None
;
13266 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13267 PyObject
*resultobj
;
13268 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13270 PyObject
* obj0
= 0 ;
13271 PyObject
* obj1
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "pos", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13279 arg2
= (int) SWIG_AsInt(obj1
);
13280 if (PyErr_Occurred()) SWIG_fail
;
13282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13283 (arg1
)->SetPosition(arg2
);
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 Py_INCREF(Py_None
); resultobj
= Py_None
;
13295 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13298 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13300 return Py_BuildValue((char *)"");
13302 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13303 PyObject
*resultobj
;
13304 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13305 int arg2
= (int) 0 ;
13306 int arg3
= (int) 0 ;
13307 wxScrollWinEvent
*result
;
13308 PyObject
* obj0
= 0 ;
13309 PyObject
* obj1
= 0 ;
13310 PyObject
* obj2
= 0 ;
13311 char *kwnames
[] = {
13312 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13317 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13318 if (PyErr_Occurred()) SWIG_fail
;
13321 arg2
= (int) SWIG_AsInt(obj1
);
13322 if (PyErr_Occurred()) SWIG_fail
;
13325 arg3
= (int) SWIG_AsInt(obj2
);
13326 if (PyErr_Occurred()) SWIG_fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13342 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= SWIG_FromInt((int)result
);
13368 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13372 PyObject
* obj0
= 0 ;
13373 char *kwnames
[] = {
13374 (char *) "self", NULL
13377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13382 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13384 wxPyEndAllowThreads(__tstate
);
13385 if (PyErr_Occurred()) SWIG_fail
;
13387 resultobj
= SWIG_FromInt((int)result
);
13394 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13395 PyObject
*resultobj
;
13396 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13398 PyObject
* obj0
= 0 ;
13399 PyObject
* obj1
= 0 ;
13400 char *kwnames
[] = {
13401 (char *) "self",(char *) "orient", NULL
13404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13407 arg2
= (int) SWIG_AsInt(obj1
);
13408 if (PyErr_Occurred()) SWIG_fail
;
13410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13411 (arg1
)->SetOrientation(arg2
);
13413 wxPyEndAllowThreads(__tstate
);
13414 if (PyErr_Occurred()) SWIG_fail
;
13416 Py_INCREF(Py_None
); resultobj
= Py_None
;
13423 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13424 PyObject
*resultobj
;
13425 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13427 PyObject
* obj0
= 0 ;
13428 PyObject
* obj1
= 0 ;
13429 char *kwnames
[] = {
13430 (char *) "self",(char *) "pos", NULL
13433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13436 arg2
= (int) SWIG_AsInt(obj1
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13440 (arg1
)->SetPosition(arg2
);
13442 wxPyEndAllowThreads(__tstate
);
13443 if (PyErr_Occurred()) SWIG_fail
;
13445 Py_INCREF(Py_None
); resultobj
= Py_None
;
13452 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13455 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13457 return Py_BuildValue((char *)"");
13459 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13462 wxMouseEvent
*result
;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "mouseType", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13470 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13471 if (PyErr_Occurred()) SWIG_fail
;
13474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13475 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13477 wxPyEndAllowThreads(__tstate
);
13478 if (PyErr_Occurred()) SWIG_fail
;
13481 resultobj
= wxPyMake_wxObject(result
);
13489 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13490 PyObject
*resultobj
;
13491 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13493 PyObject
* obj0
= 0 ;
13494 char *kwnames
[] = {
13495 (char *) "self", NULL
13498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13503 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13505 wxPyEndAllowThreads(__tstate
);
13506 if (PyErr_Occurred()) SWIG_fail
;
13509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13517 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13518 PyObject
*resultobj
;
13519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13520 int arg2
= (int) wxMOUSE_BTN_ANY
;
13522 PyObject
* obj0
= 0 ;
13523 PyObject
* obj1
= 0 ;
13524 char *kwnames
[] = {
13525 (char *) "self",(char *) "but", NULL
13528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13532 arg2
= (int) SWIG_AsInt(obj1
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13537 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13539 wxPyEndAllowThreads(__tstate
);
13540 if (PyErr_Occurred()) SWIG_fail
;
13543 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13551 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13554 int arg2
= (int) wxMOUSE_BTN_ANY
;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self",(char *) "but", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13566 arg2
= (int) SWIG_AsInt(obj1
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13571 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13573 wxPyEndAllowThreads(__tstate
);
13574 if (PyErr_Occurred()) SWIG_fail
;
13577 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13585 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13586 PyObject
*resultobj
;
13587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13588 int arg2
= (int) wxMOUSE_BTN_ANY
;
13590 PyObject
* obj0
= 0 ;
13591 PyObject
* obj1
= 0 ;
13592 char *kwnames
[] = {
13593 (char *) "self",(char *) "but", NULL
13596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13600 arg2
= (int) SWIG_AsInt(obj1
);
13601 if (PyErr_Occurred()) SWIG_fail
;
13604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13605 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13607 wxPyEndAllowThreads(__tstate
);
13608 if (PyErr_Occurred()) SWIG_fail
;
13611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13619 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13620 PyObject
*resultobj
;
13621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13624 PyObject
* obj0
= 0 ;
13625 PyObject
* obj1
= 0 ;
13626 char *kwnames
[] = {
13627 (char *) "self",(char *) "but", NULL
13630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13633 arg2
= (int) SWIG_AsInt(obj1
);
13634 if (PyErr_Occurred()) SWIG_fail
;
13636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13637 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13639 wxPyEndAllowThreads(__tstate
);
13640 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13651 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13656 PyObject
* obj0
= 0 ;
13657 PyObject
* obj1
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self",(char *) "but", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13665 arg2
= (int) SWIG_AsInt(obj1
);
13666 if (PyErr_Occurred()) SWIG_fail
;
13668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13669 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13671 wxPyEndAllowThreads(__tstate
);
13672 if (PyErr_Occurred()) SWIG_fail
;
13675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13683 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= SWIG_FromInt((int)result
);
13709 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13723 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13737 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13738 PyObject
*resultobj
;
13739 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13741 PyObject
* obj0
= 0 ;
13742 char *kwnames
[] = {
13743 (char *) "self", NULL
13746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13747 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13748 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13751 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13753 wxPyEndAllowThreads(__tstate
);
13754 if (PyErr_Occurred()) SWIG_fail
;
13757 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13765 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13766 PyObject
*resultobj
;
13767 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13769 PyObject
* obj0
= 0 ;
13770 char *kwnames
[] = {
13771 (char *) "self", NULL
13774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13775 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13776 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13779 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13781 wxPyEndAllowThreads(__tstate
);
13782 if (PyErr_Occurred()) SWIG_fail
;
13785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13793 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13807 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13809 wxPyEndAllowThreads(__tstate
);
13810 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13821 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13822 PyObject
*resultobj
;
13823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 char *kwnames
[] = {
13827 (char *) "self", NULL
13830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13841 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13849 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13850 PyObject
*resultobj
;
13851 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13853 PyObject
* obj0
= 0 ;
13854 char *kwnames
[] = {
13855 (char *) "self", NULL
13858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13859 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13863 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13865 wxPyEndAllowThreads(__tstate
);
13866 if (PyErr_Occurred()) SWIG_fail
;
13869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13877 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13878 PyObject
*resultobj
;
13879 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13881 PyObject
* obj0
= 0 ;
13882 char *kwnames
[] = {
13883 (char *) "self", NULL
13886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13891 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13919 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13921 wxPyEndAllowThreads(__tstate
);
13922 if (PyErr_Occurred()) SWIG_fail
;
13925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13933 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13934 PyObject
*resultobj
;
13935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13937 PyObject
* obj0
= 0 ;
13938 char *kwnames
[] = {
13939 (char *) "self", NULL
13942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13943 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13944 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13947 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13949 wxPyEndAllowThreads(__tstate
);
13950 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13961 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
;
13963 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13965 PyObject
* obj0
= 0 ;
13966 char *kwnames
[] = {
13967 (char *) "self", NULL
13970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13975 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13977 wxPyEndAllowThreads(__tstate
);
13978 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13989 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13990 PyObject
*resultobj
;
13991 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13993 PyObject
* obj0
= 0 ;
13994 char *kwnames
[] = {
13995 (char *) "self", NULL
13998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14003 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
14005 wxPyEndAllowThreads(__tstate
);
14006 if (PyErr_Occurred()) SWIG_fail
;
14009 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14017 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14018 PyObject
*resultobj
;
14019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14021 PyObject
* obj0
= 0 ;
14022 char *kwnames
[] = {
14023 (char *) "self", NULL
14026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
14027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14031 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
14033 wxPyEndAllowThreads(__tstate
);
14034 if (PyErr_Occurred()) SWIG_fail
;
14037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14045 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14046 PyObject
*resultobj
;
14047 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14049 PyObject
* obj0
= 0 ;
14050 char *kwnames
[] = {
14051 (char *) "self", NULL
14054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
14055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14059 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
14061 wxPyEndAllowThreads(__tstate
);
14062 if (PyErr_Occurred()) SWIG_fail
;
14065 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14073 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14074 PyObject
*resultobj
;
14075 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 result
= (bool)(arg1
)->LeftIsDown();
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14101 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14102 PyObject
*resultobj
;
14103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14105 PyObject
* obj0
= 0 ;
14106 char *kwnames
[] = {
14107 (char *) "self", NULL
14110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
14111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (bool)(arg1
)->MiddleIsDown();
14117 wxPyEndAllowThreads(__tstate
);
14118 if (PyErr_Occurred()) SWIG_fail
;
14121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14129 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14130 PyObject
*resultobj
;
14131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14133 PyObject
* obj0
= 0 ;
14134 char *kwnames
[] = {
14135 (char *) "self", NULL
14138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
14139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (bool)(arg1
)->RightIsDown();
14145 wxPyEndAllowThreads(__tstate
);
14146 if (PyErr_Occurred()) SWIG_fail
;
14149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14157 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14158 PyObject
*resultobj
;
14159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14161 PyObject
* obj0
= 0 ;
14162 char *kwnames
[] = {
14163 (char *) "self", NULL
14166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
14167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14171 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
14173 wxPyEndAllowThreads(__tstate
);
14174 if (PyErr_Occurred()) SWIG_fail
;
14177 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14185 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14186 PyObject
*resultobj
;
14187 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14189 PyObject
* obj0
= 0 ;
14190 char *kwnames
[] = {
14191 (char *) "self", NULL
14194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
14195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14199 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
14201 wxPyEndAllowThreads(__tstate
);
14202 if (PyErr_Occurred()) SWIG_fail
;
14205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14213 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14214 PyObject
*resultobj
;
14215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14217 PyObject
* obj0
= 0 ;
14218 char *kwnames
[] = {
14219 (char *) "self", NULL
14222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
14223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14227 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14229 wxPyEndAllowThreads(__tstate
);
14230 if (PyErr_Occurred()) SWIG_fail
;
14233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14241 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14242 PyObject
*resultobj
;
14243 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14245 PyObject
* obj0
= 0 ;
14246 char *kwnames
[] = {
14247 (char *) "self", NULL
14250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14255 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14257 wxPyEndAllowThreads(__tstate
);
14258 if (PyErr_Occurred()) SWIG_fail
;
14261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14269 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14270 PyObject
*resultobj
;
14271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14273 PyObject
* obj0
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14283 result
= (arg1
)->GetPosition();
14285 wxPyEndAllowThreads(__tstate
);
14286 if (PyErr_Occurred()) SWIG_fail
;
14289 wxPoint
* resultptr
;
14290 resultptr
= new wxPoint((wxPoint
&) result
);
14291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14299 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14300 PyObject
*resultobj
;
14301 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14302 long *arg2
= (long *) 0 ;
14303 long *arg3
= (long *) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 char *kwnames
[] = {
14308 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14318 (arg1
)->GetPosition(arg2
,arg3
);
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 Py_INCREF(Py_None
); resultobj
= Py_None
;
14325 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14326 resultobj
= t_output_helper(resultobj
,o
);
14329 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14330 resultobj
= t_output_helper(resultobj
,o
);
14338 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14339 PyObject
*resultobj
;
14340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14343 PyObject
* obj0
= 0 ;
14344 PyObject
* obj1
= 0 ;
14345 char *kwnames
[] = {
14346 (char *) "self",(char *) "dc", NULL
14349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14352 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14353 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14355 if (arg2
== NULL
) {
14356 PyErr_SetString(PyExc_TypeError
,"null reference");
14360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14361 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14363 wxPyEndAllowThreads(__tstate
);
14364 if (PyErr_Occurred()) SWIG_fail
;
14367 wxPoint
* resultptr
;
14368 resultptr
= new wxPoint((wxPoint
&) result
);
14369 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14377 static PyObject
*_wrap_MouseEvent_GetX(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_GetX",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
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14393 wxPyEndAllowThreads(__tstate
);
14394 if (PyErr_Occurred()) SWIG_fail
;
14396 resultobj
= SWIG_FromInt((int)result
);
14403 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14407 PyObject
* obj0
= 0 ;
14408 char *kwnames
[] = {
14409 (char *) "self", NULL
14412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14417 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_FromInt((int)result
);
14429 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
;
14431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 char *kwnames
[] = {
14435 (char *) "self", NULL
14438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14443 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14445 wxPyEndAllowThreads(__tstate
);
14446 if (PyErr_Occurred()) SWIG_fail
;
14448 resultobj
= SWIG_FromInt((int)result
);
14455 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14469 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14471 wxPyEndAllowThreads(__tstate
);
14472 if (PyErr_Occurred()) SWIG_fail
;
14474 resultobj
= SWIG_FromInt((int)result
);
14481 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14482 PyObject
*resultobj
;
14483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14485 PyObject
* obj0
= 0 ;
14486 char *kwnames
[] = {
14487 (char *) "self", NULL
14490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14495 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14497 wxPyEndAllowThreads(__tstate
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14500 resultobj
= SWIG_FromInt((int)result
);
14507 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14508 PyObject
*resultobj
;
14509 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14511 PyObject
* obj0
= 0 ;
14512 char *kwnames
[] = {
14513 (char *) "self", NULL
14516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14521 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14523 wxPyEndAllowThreads(__tstate
);
14524 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14535 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14536 PyObject
*resultobj
;
14537 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14539 PyObject
* obj0
= 0 ;
14540 PyObject
* obj1
= 0 ;
14541 char *kwnames
[] = {
14542 (char *) "self",(char *) "m_x", NULL
14545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14548 arg2
= (int) SWIG_AsInt(obj1
);
14549 if (PyErr_Occurred()) SWIG_fail
;
14550 if (arg1
) (arg1
)->m_x
= arg2
;
14552 Py_INCREF(Py_None
); resultobj
= Py_None
;
14559 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14560 PyObject
*resultobj
;
14561 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 char *kwnames
[] = {
14565 (char *) "self", NULL
14568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14571 result
= (int) ((arg1
)->m_x
);
14573 resultobj
= SWIG_FromInt((int)result
);
14580 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14581 PyObject
*resultobj
;
14582 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14584 PyObject
* obj0
= 0 ;
14585 PyObject
* obj1
= 0 ;
14586 char *kwnames
[] = {
14587 (char *) "self",(char *) "m_y", NULL
14590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14593 arg2
= (int) SWIG_AsInt(obj1
);
14594 if (PyErr_Occurred()) SWIG_fail
;
14595 if (arg1
) (arg1
)->m_y
= arg2
;
14597 Py_INCREF(Py_None
); resultobj
= Py_None
;
14604 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14608 PyObject
* obj0
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14616 result
= (int) ((arg1
)->m_y
);
14618 resultobj
= SWIG_FromInt((int)result
);
14625 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14626 PyObject
*resultobj
;
14627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14629 PyObject
* obj0
= 0 ;
14630 PyObject
* obj1
= 0 ;
14631 char *kwnames
[] = {
14632 (char *) "self",(char *) "m_leftDown", NULL
14635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14638 arg2
= (bool) SWIG_AsBool(obj1
);
14639 if (PyErr_Occurred()) SWIG_fail
;
14640 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14642 Py_INCREF(Py_None
); resultobj
= Py_None
;
14649 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14650 PyObject
*resultobj
;
14651 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14653 PyObject
* obj0
= 0 ;
14654 char *kwnames
[] = {
14655 (char *) "self", NULL
14658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14661 result
= (bool) ((arg1
)->m_leftDown
);
14664 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14672 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14673 PyObject
*resultobj
;
14674 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14676 PyObject
* obj0
= 0 ;
14677 PyObject
* obj1
= 0 ;
14678 char *kwnames
[] = {
14679 (char *) "self",(char *) "m_middleDown", NULL
14682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14685 arg2
= (bool) SWIG_AsBool(obj1
);
14686 if (PyErr_Occurred()) SWIG_fail
;
14687 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14689 Py_INCREF(Py_None
); resultobj
= Py_None
;
14696 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14697 PyObject
*resultobj
;
14698 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14700 PyObject
* obj0
= 0 ;
14701 char *kwnames
[] = {
14702 (char *) "self", NULL
14705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14708 result
= (bool) ((arg1
)->m_middleDown
);
14711 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14719 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14720 PyObject
*resultobj
;
14721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14723 PyObject
* obj0
= 0 ;
14724 PyObject
* obj1
= 0 ;
14725 char *kwnames
[] = {
14726 (char *) "self",(char *) "m_rightDown", NULL
14729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14732 arg2
= (bool) SWIG_AsBool(obj1
);
14733 if (PyErr_Occurred()) SWIG_fail
;
14734 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14736 Py_INCREF(Py_None
); resultobj
= Py_None
;
14743 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14744 PyObject
*resultobj
;
14745 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14747 PyObject
* obj0
= 0 ;
14748 char *kwnames
[] = {
14749 (char *) "self", NULL
14752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14753 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14754 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14755 result
= (bool) ((arg1
)->m_rightDown
);
14758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14766 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14767 PyObject
*resultobj
;
14768 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14770 PyObject
* obj0
= 0 ;
14771 PyObject
* obj1
= 0 ;
14772 char *kwnames
[] = {
14773 (char *) "self",(char *) "m_controlDown", NULL
14776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14779 arg2
= (bool) SWIG_AsBool(obj1
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14781 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14783 Py_INCREF(Py_None
); resultobj
= Py_None
;
14790 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
;
14792 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14794 PyObject
* obj0
= 0 ;
14795 char *kwnames
[] = {
14796 (char *) "self", NULL
14799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14802 result
= (bool) ((arg1
)->m_controlDown
);
14805 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14813 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14817 PyObject
* obj0
= 0 ;
14818 PyObject
* obj1
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self",(char *) "m_shiftDown", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14826 arg2
= (bool) SWIG_AsBool(obj1
);
14827 if (PyErr_Occurred()) SWIG_fail
;
14828 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14830 Py_INCREF(Py_None
); resultobj
= Py_None
;
14837 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14838 PyObject
*resultobj
;
14839 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14841 PyObject
* obj0
= 0 ;
14842 char *kwnames
[] = {
14843 (char *) "self", NULL
14846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14849 result
= (bool) ((arg1
)->m_shiftDown
);
14852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14860 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14861 PyObject
*resultobj
;
14862 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14864 PyObject
* obj0
= 0 ;
14865 PyObject
* obj1
= 0 ;
14866 char *kwnames
[] = {
14867 (char *) "self",(char *) "m_altDown", NULL
14870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14873 arg2
= (bool) SWIG_AsBool(obj1
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14875 if (arg1
) (arg1
)->m_altDown
= arg2
;
14877 Py_INCREF(Py_None
); resultobj
= Py_None
;
14884 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14888 PyObject
* obj0
= 0 ;
14889 char *kwnames
[] = {
14890 (char *) "self", NULL
14893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 result
= (bool) ((arg1
)->m_altDown
);
14899 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14907 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14908 PyObject
*resultobj
;
14909 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14911 PyObject
* obj0
= 0 ;
14912 PyObject
* obj1
= 0 ;
14913 char *kwnames
[] = {
14914 (char *) "self",(char *) "m_metaDown", NULL
14917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14920 arg2
= (bool) SWIG_AsBool(obj1
);
14921 if (PyErr_Occurred()) SWIG_fail
;
14922 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14924 Py_INCREF(Py_None
); resultobj
= Py_None
;
14931 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14932 PyObject
*resultobj
;
14933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14935 PyObject
* obj0
= 0 ;
14936 char *kwnames
[] = {
14937 (char *) "self", NULL
14940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14943 result
= (bool) ((arg1
)->m_metaDown
);
14946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14954 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14955 PyObject
*resultobj
;
14956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14958 PyObject
* obj0
= 0 ;
14959 PyObject
* obj1
= 0 ;
14960 char *kwnames
[] = {
14961 (char *) "self",(char *) "m_wheelRotation", NULL
14964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14967 arg2
= (int) SWIG_AsInt(obj1
);
14968 if (PyErr_Occurred()) SWIG_fail
;
14969 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14971 Py_INCREF(Py_None
); resultobj
= Py_None
;
14978 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14979 PyObject
*resultobj
;
14980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14982 PyObject
* obj0
= 0 ;
14983 char *kwnames
[] = {
14984 (char *) "self", NULL
14987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14990 result
= (int) ((arg1
)->m_wheelRotation
);
14992 resultobj
= SWIG_FromInt((int)result
);
14999 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
;
15001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self",(char *) "m_wheelDelta", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15012 arg2
= (int) SWIG_AsInt(obj1
);
15013 if (PyErr_Occurred()) SWIG_fail
;
15014 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
15016 Py_INCREF(Py_None
); resultobj
= Py_None
;
15023 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15027 PyObject
* obj0
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "self", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
15033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15035 result
= (int) ((arg1
)->m_wheelDelta
);
15037 resultobj
= SWIG_FromInt((int)result
);
15044 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15045 PyObject
*resultobj
;
15046 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15048 PyObject
* obj0
= 0 ;
15049 PyObject
* obj1
= 0 ;
15050 char *kwnames
[] = {
15051 (char *) "self",(char *) "m_linesPerAction", NULL
15054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15057 arg2
= (int) SWIG_AsInt(obj1
);
15058 if (PyErr_Occurred()) SWIG_fail
;
15059 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
15061 Py_INCREF(Py_None
); resultobj
= Py_None
;
15068 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15069 PyObject
*resultobj
;
15070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
15072 PyObject
* obj0
= 0 ;
15073 char *kwnames
[] = {
15074 (char *) "self", NULL
15077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
15078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
15079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15080 result
= (int) ((arg1
)->m_linesPerAction
);
15082 resultobj
= SWIG_FromInt((int)result
);
15089 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15091 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15092 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
15094 return Py_BuildValue((char *)"");
15096 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15097 PyObject
*resultobj
;
15098 int arg1
= (int) 0 ;
15099 int arg2
= (int) 0 ;
15100 wxSetCursorEvent
*result
;
15101 PyObject
* obj0
= 0 ;
15102 PyObject
* obj1
= 0 ;
15103 char *kwnames
[] = {
15104 (char *) "x",(char *) "y", NULL
15107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15109 arg1
= (int) SWIG_AsInt(obj0
);
15110 if (PyErr_Occurred()) SWIG_fail
;
15113 arg2
= (int) SWIG_AsInt(obj1
);
15114 if (PyErr_Occurred()) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
15120 wxPyEndAllowThreads(__tstate
);
15121 if (PyErr_Occurred()) SWIG_fail
;
15123 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
15130 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15131 PyObject
*resultobj
;
15132 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15134 PyObject
* obj0
= 0 ;
15135 char *kwnames
[] = {
15136 (char *) "self", NULL
15139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
15140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15144 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
15146 wxPyEndAllowThreads(__tstate
);
15147 if (PyErr_Occurred()) SWIG_fail
;
15149 resultobj
= SWIG_FromInt((int)result
);
15156 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
;
15158 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15160 PyObject
* obj0
= 0 ;
15161 char *kwnames
[] = {
15162 (char *) "self", NULL
15165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
15166 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_FromInt((int)result
);
15182 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15185 wxCursor
*arg2
= 0 ;
15186 PyObject
* obj0
= 0 ;
15187 PyObject
* obj1
= 0 ;
15188 char *kwnames
[] = {
15189 (char *) "self",(char *) "cursor", NULL
15192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
15193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15195 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
15196 SWIG_POINTER_EXCEPTION
| 0)) == -1)
15198 if (arg2
== NULL
) {
15199 PyErr_SetString(PyExc_TypeError
,"null reference");
15203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15204 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
15206 wxPyEndAllowThreads(__tstate
);
15207 if (PyErr_Occurred()) SWIG_fail
;
15209 Py_INCREF(Py_None
); resultobj
= Py_None
;
15216 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15217 PyObject
*resultobj
;
15218 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15220 PyObject
* obj0
= 0 ;
15221 char *kwnames
[] = {
15222 (char *) "self", NULL
15225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
15226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
15232 result
= (wxCursor
*) &_result_ref
;
15235 wxPyEndAllowThreads(__tstate
);
15236 if (PyErr_Occurred()) SWIG_fail
;
15239 wxCursor
* resultptr
= new wxCursor(*result
);
15240 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
15248 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 char *kwnames
[] = {
15254 (char *) "self", NULL
15257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15262 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15264 wxPyEndAllowThreads(__tstate
);
15265 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15276 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15278 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15279 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15281 return Py_BuildValue((char *)"");
15283 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15284 PyObject
*resultobj
;
15285 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15286 wxKeyEvent
*result
;
15287 PyObject
* obj0
= 0 ;
15288 char *kwnames
[] = {
15289 (char *) "keyType", NULL
15292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15294 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15295 if (PyErr_Occurred()) SWIG_fail
;
15298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15299 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15301 wxPyEndAllowThreads(__tstate
);
15302 if (PyErr_Occurred()) SWIG_fail
;
15304 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15311 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15312 PyObject
*resultobj
;
15313 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15315 PyObject
* obj0
= 0 ;
15316 char *kwnames
[] = {
15317 (char *) "self", NULL
15320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15325 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15327 wxPyEndAllowThreads(__tstate
);
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15339 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15340 PyObject
*resultobj
;
15341 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15343 PyObject
* obj0
= 0 ;
15344 char *kwnames
[] = {
15345 (char *) "self", NULL
15348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15353 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15355 wxPyEndAllowThreads(__tstate
);
15356 if (PyErr_Occurred()) SWIG_fail
;
15359 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15367 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15368 PyObject
*resultobj
;
15369 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15371 PyObject
* obj0
= 0 ;
15372 char *kwnames
[] = {
15373 (char *) "self", NULL
15376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15381 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15383 wxPyEndAllowThreads(__tstate
);
15384 if (PyErr_Occurred()) SWIG_fail
;
15387 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15395 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15396 PyObject
*resultobj
;
15397 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15399 PyObject
* obj0
= 0 ;
15400 char *kwnames
[] = {
15401 (char *) "self", NULL
15404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15409 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15411 wxPyEndAllowThreads(__tstate
);
15412 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15423 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15424 PyObject
*resultobj
;
15425 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15427 PyObject
* obj0
= 0 ;
15428 char *kwnames
[] = {
15429 (char *) "self", NULL
15432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15443 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15451 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15452 PyObject
*resultobj
;
15453 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15455 PyObject
* obj0
= 0 ;
15456 char *kwnames
[] = {
15457 (char *) "self", NULL
15460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 resultobj
= SWIG_FromInt((int)result
);
15477 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15491 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15493 wxPyEndAllowThreads(__tstate
);
15494 if (PyErr_Occurred()) SWIG_fail
;
15496 resultobj
= SWIG_FromInt((int)result
);
15503 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15504 PyObject
*resultobj
;
15505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15506 unsigned int result
;
15507 PyObject
* obj0
= 0 ;
15508 char *kwnames
[] = {
15509 (char *) "self", NULL
15512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",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
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15519 wxPyEndAllowThreads(__tstate
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15522 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15529 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15530 PyObject
*resultobj
;
15531 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15532 unsigned int result
;
15533 PyObject
* obj0
= 0 ;
15534 char *kwnames
[] = {
15535 (char *) "self", NULL
15538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15543 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15545 wxPyEndAllowThreads(__tstate
);
15546 if (PyErr_Occurred()) SWIG_fail
;
15548 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15555 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15556 PyObject
*resultobj
;
15557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15559 PyObject
* obj0
= 0 ;
15560 char *kwnames
[] = {
15561 (char *) "self", NULL
15564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15569 result
= (arg1
)->GetPosition();
15571 wxPyEndAllowThreads(__tstate
);
15572 if (PyErr_Occurred()) SWIG_fail
;
15575 wxPoint
* resultptr
;
15576 resultptr
= new wxPoint((wxPoint
&) result
);
15577 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15585 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15586 PyObject
*resultobj
;
15587 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15588 long *arg2
= (long *) 0 ;
15589 long *arg3
= (long *) 0 ;
15592 PyObject
* obj0
= 0 ;
15593 char *kwnames
[] = {
15594 (char *) "self", NULL
15599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15604 (arg1
)->GetPosition(arg2
,arg3
);
15606 wxPyEndAllowThreads(__tstate
);
15607 if (PyErr_Occurred()) SWIG_fail
;
15609 Py_INCREF(Py_None
); resultobj
= Py_None
;
15611 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15612 resultobj
= t_output_helper(resultobj
,o
);
15615 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15616 resultobj
= t_output_helper(resultobj
,o
);
15624 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15625 PyObject
*resultobj
;
15626 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15628 PyObject
* obj0
= 0 ;
15629 char *kwnames
[] = {
15630 (char *) "self", NULL
15633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_FromInt((int)result
);
15650 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15664 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_FromInt((int)result
);
15676 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15677 PyObject
*resultobj
;
15678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15680 PyObject
* obj0
= 0 ;
15681 PyObject
* obj1
= 0 ;
15682 char *kwnames
[] = {
15683 (char *) "self",(char *) "m_x", NULL
15686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15687 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15688 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15689 arg2
= (int) SWIG_AsInt(obj1
);
15690 if (PyErr_Occurred()) SWIG_fail
;
15691 if (arg1
) (arg1
)->m_x
= arg2
;
15693 Py_INCREF(Py_None
); resultobj
= Py_None
;
15700 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15701 PyObject
*resultobj
;
15702 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15704 PyObject
* obj0
= 0 ;
15705 char *kwnames
[] = {
15706 (char *) "self", NULL
15709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15712 result
= (int) ((arg1
)->m_x
);
15714 resultobj
= SWIG_FromInt((int)result
);
15721 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15722 PyObject
*resultobj
;
15723 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15725 PyObject
* obj0
= 0 ;
15726 PyObject
* obj1
= 0 ;
15727 char *kwnames
[] = {
15728 (char *) "self",(char *) "m_y", NULL
15731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15734 arg2
= (int) SWIG_AsInt(obj1
);
15735 if (PyErr_Occurred()) SWIG_fail
;
15736 if (arg1
) (arg1
)->m_y
= arg2
;
15738 Py_INCREF(Py_None
); resultobj
= Py_None
;
15745 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15746 PyObject
*resultobj
;
15747 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15749 PyObject
* obj0
= 0 ;
15750 char *kwnames
[] = {
15751 (char *) "self", NULL
15754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15757 result
= (int) ((arg1
)->m_y
);
15759 resultobj
= SWIG_FromInt((int)result
);
15766 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15767 PyObject
*resultobj
;
15768 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15770 PyObject
* obj0
= 0 ;
15771 PyObject
* obj1
= 0 ;
15772 char *kwnames
[] = {
15773 (char *) "self",(char *) "m_keyCode", NULL
15776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15779 arg2
= (long) SWIG_AsLong(obj1
);
15780 if (PyErr_Occurred()) SWIG_fail
;
15781 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15783 Py_INCREF(Py_None
); resultobj
= Py_None
;
15790 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15802 result
= (long) ((arg1
)->m_keyCode
);
15804 resultobj
= SWIG_FromLong((long)result
);
15811 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 PyObject
* obj1
= 0 ;
15817 char *kwnames
[] = {
15818 (char *) "self",(char *) "m_controlDown", NULL
15821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15824 arg2
= (bool) SWIG_AsBool(obj1
);
15825 if (PyErr_Occurred()) SWIG_fail
;
15826 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15828 Py_INCREF(Py_None
); resultobj
= Py_None
;
15835 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15836 PyObject
*resultobj
;
15837 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15839 PyObject
* obj0
= 0 ;
15840 char *kwnames
[] = {
15841 (char *) "self", NULL
15844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15847 result
= (bool) ((arg1
)->m_controlDown
);
15850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15858 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15859 PyObject
*resultobj
;
15860 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15862 PyObject
* obj0
= 0 ;
15863 PyObject
* obj1
= 0 ;
15864 char *kwnames
[] = {
15865 (char *) "self",(char *) "m_shiftDown", NULL
15868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15871 arg2
= (bool) SWIG_AsBool(obj1
);
15872 if (PyErr_Occurred()) SWIG_fail
;
15873 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15875 Py_INCREF(Py_None
); resultobj
= Py_None
;
15882 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15883 PyObject
*resultobj
;
15884 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15886 PyObject
* obj0
= 0 ;
15887 char *kwnames
[] = {
15888 (char *) "self", NULL
15891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15894 result
= (bool) ((arg1
)->m_shiftDown
);
15897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15905 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15906 PyObject
*resultobj
;
15907 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15909 PyObject
* obj0
= 0 ;
15910 PyObject
* obj1
= 0 ;
15911 char *kwnames
[] = {
15912 (char *) "self",(char *) "m_altDown", NULL
15915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15918 arg2
= (bool) SWIG_AsBool(obj1
);
15919 if (PyErr_Occurred()) SWIG_fail
;
15920 if (arg1
) (arg1
)->m_altDown
= arg2
;
15922 Py_INCREF(Py_None
); resultobj
= Py_None
;
15929 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15930 PyObject
*resultobj
;
15931 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15933 PyObject
* obj0
= 0 ;
15934 char *kwnames
[] = {
15935 (char *) "self", NULL
15938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15941 result
= (bool) ((arg1
)->m_altDown
);
15944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15952 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15953 PyObject
*resultobj
;
15954 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15956 PyObject
* obj0
= 0 ;
15957 PyObject
* obj1
= 0 ;
15958 char *kwnames
[] = {
15959 (char *) "self",(char *) "m_metaDown", NULL
15962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15965 arg2
= (bool) SWIG_AsBool(obj1
);
15966 if (PyErr_Occurred()) SWIG_fail
;
15967 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15969 Py_INCREF(Py_None
); resultobj
= Py_None
;
15976 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15977 PyObject
*resultobj
;
15978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15980 PyObject
* obj0
= 0 ;
15981 char *kwnames
[] = {
15982 (char *) "self", NULL
15985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15988 result
= (bool) ((arg1
)->m_metaDown
);
15991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15999 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16000 PyObject
*resultobj
;
16001 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16003 PyObject
* obj0
= 0 ;
16004 PyObject
* obj1
= 0 ;
16005 char *kwnames
[] = {
16006 (char *) "self",(char *) "m_scanCode", NULL
16009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16012 arg2
= (bool) SWIG_AsBool(obj1
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16014 if (arg1
) (arg1
)->m_scanCode
= arg2
;
16016 Py_INCREF(Py_None
); resultobj
= Py_None
;
16023 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16024 PyObject
*resultobj
;
16025 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16027 PyObject
* obj0
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16035 result
= (bool) ((arg1
)->m_scanCode
);
16038 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16046 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16047 PyObject
*resultobj
;
16048 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16049 unsigned int arg2
;
16050 PyObject
* obj0
= 0 ;
16051 PyObject
* obj1
= 0 ;
16052 char *kwnames
[] = {
16053 (char *) "self",(char *) "m_rawCode", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16059 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16061 if (arg1
) (arg1
)->m_rawCode
= arg2
;
16063 Py_INCREF(Py_None
); resultobj
= Py_None
;
16070 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16071 PyObject
*resultobj
;
16072 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16073 unsigned int result
;
16074 PyObject
* obj0
= 0 ;
16075 char *kwnames
[] = {
16076 (char *) "self", NULL
16079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
16080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16082 result
= (unsigned int) ((arg1
)->m_rawCode
);
16084 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16091 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16092 PyObject
*resultobj
;
16093 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16094 unsigned int arg2
;
16095 PyObject
* obj0
= 0 ;
16096 PyObject
* obj1
= 0 ;
16097 char *kwnames
[] = {
16098 (char *) "self",(char *) "m_rawFlags", NULL
16101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16104 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
16105 if (PyErr_Occurred()) SWIG_fail
;
16106 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
16108 Py_INCREF(Py_None
); resultobj
= Py_None
;
16115 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16116 PyObject
*resultobj
;
16117 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
16118 unsigned int result
;
16119 PyObject
* obj0
= 0 ;
16120 char *kwnames
[] = {
16121 (char *) "self", NULL
16124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
16125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
16126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16127 result
= (unsigned int) ((arg1
)->m_rawFlags
);
16129 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
16136 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16139 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
16141 return Py_BuildValue((char *)"");
16143 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16144 PyObject
*resultobj
;
16145 wxSize
const &arg1_defvalue
= wxDefaultSize
;
16146 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
16147 int arg2
= (int) 0 ;
16148 wxSizeEvent
*result
;
16150 PyObject
* obj0
= 0 ;
16151 PyObject
* obj1
= 0 ;
16152 char *kwnames
[] = {
16153 (char *) "sz",(char *) "winid", NULL
16156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16160 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
16164 arg2
= (int) SWIG_AsInt(obj1
);
16165 if (PyErr_Occurred()) SWIG_fail
;
16168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16169 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
16171 wxPyEndAllowThreads(__tstate
);
16172 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
16181 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16182 PyObject
*resultobj
;
16183 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16185 PyObject
* obj0
= 0 ;
16186 char *kwnames
[] = {
16187 (char *) "self", NULL
16190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
16191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16195 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
16197 wxPyEndAllowThreads(__tstate
);
16198 if (PyErr_Occurred()) SWIG_fail
;
16201 wxSize
* resultptr
;
16202 resultptr
= new wxSize((wxSize
&) result
);
16203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
16211 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16212 PyObject
*resultobj
;
16213 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16215 PyObject
* obj0
= 0 ;
16216 char *kwnames
[] = {
16217 (char *) "self", NULL
16220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16225 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
16227 wxPyEndAllowThreads(__tstate
);
16228 if (PyErr_Occurred()) SWIG_fail
;
16231 wxRect
* resultptr
;
16232 resultptr
= new wxRect((wxRect
&) result
);
16233 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16241 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16246 PyObject
* obj0
= 0 ;
16247 PyObject
* obj1
= 0 ;
16248 char *kwnames
[] = {
16249 (char *) "self",(char *) "rect", NULL
16252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16256 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->SetRect(arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16277 PyObject
* obj0
= 0 ;
16278 PyObject
* obj1
= 0 ;
16279 char *kwnames
[] = {
16280 (char *) "self",(char *) "size", NULL
16283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16286 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16287 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16291 wxSizeEvent_SetSize(arg1
,arg2
);
16293 wxPyEndAllowThreads(__tstate
);
16294 if (PyErr_Occurred()) SWIG_fail
;
16296 Py_INCREF(Py_None
); resultobj
= Py_None
;
16303 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16304 PyObject
*resultobj
;
16305 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16306 wxSize
*arg2
= (wxSize
*) 0 ;
16307 PyObject
* obj0
= 0 ;
16308 PyObject
* obj1
= 0 ;
16309 char *kwnames
[] = {
16310 (char *) "self",(char *) "m_size", NULL
16313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16314 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16316 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16318 if (arg1
) (arg1
)->m_size
= *arg2
;
16320 Py_INCREF(Py_None
); resultobj
= Py_None
;
16327 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 char *kwnames
[] = {
16333 (char *) "self", NULL
16336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16339 result
= (wxSize
*)& ((arg1
)->m_size
);
16341 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16348 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16349 PyObject
*resultobj
;
16350 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16351 wxRect
*arg2
= (wxRect
*) 0 ;
16352 PyObject
* obj0
= 0 ;
16353 PyObject
* obj1
= 0 ;
16354 char *kwnames
[] = {
16355 (char *) "self",(char *) "m_rect", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16361 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16363 if (arg1
) (arg1
)->m_rect
= *arg2
;
16365 Py_INCREF(Py_None
); resultobj
= Py_None
;
16372 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16373 PyObject
*resultobj
;
16374 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16376 PyObject
* obj0
= 0 ;
16377 char *kwnames
[] = {
16378 (char *) "self", NULL
16381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16384 result
= (wxRect
*)& ((arg1
)->m_rect
);
16386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16393 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16395 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16396 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16398 return Py_BuildValue((char *)"");
16400 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16403 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16404 int arg2
= (int) 0 ;
16405 wxMoveEvent
*result
;
16407 PyObject
* obj0
= 0 ;
16408 PyObject
* obj1
= 0 ;
16409 char *kwnames
[] = {
16410 (char *) "pos",(char *) "winid", NULL
16413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16417 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16421 arg2
= (int) SWIG_AsInt(obj1
);
16422 if (PyErr_Occurred()) SWIG_fail
;
16425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16426 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16438 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16439 PyObject
*resultobj
;
16440 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16442 PyObject
* obj0
= 0 ;
16443 char *kwnames
[] = {
16444 (char *) "self", NULL
16447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16458 wxPoint
* resultptr
;
16459 resultptr
= new wxPoint((wxPoint
&) result
);
16460 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16468 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16469 PyObject
*resultobj
;
16470 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16472 PyObject
* obj0
= 0 ;
16473 char *kwnames
[] = {
16474 (char *) "self", NULL
16477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16482 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16484 wxPyEndAllowThreads(__tstate
);
16485 if (PyErr_Occurred()) SWIG_fail
;
16488 wxRect
* resultptr
;
16489 resultptr
= new wxRect((wxRect
&) result
);
16490 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16498 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16503 PyObject
* obj0
= 0 ;
16504 PyObject
* obj1
= 0 ;
16505 char *kwnames
[] = {
16506 (char *) "self",(char *) "rect", NULL
16509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16512 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16513 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16517 (arg1
)->SetRect(arg2
);
16519 wxPyEndAllowThreads(__tstate
);
16520 if (PyErr_Occurred()) SWIG_fail
;
16522 Py_INCREF(Py_None
); resultobj
= Py_None
;
16529 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16530 PyObject
*resultobj
;
16531 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16534 PyObject
* obj0
= 0 ;
16535 PyObject
* obj1
= 0 ;
16536 char *kwnames
[] = {
16537 (char *) "self",(char *) "pos", NULL
16540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16543 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16544 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 wxMoveEvent_SetPosition(arg1
,arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 Py_INCREF(Py_None
); resultobj
= Py_None
;
16560 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16563 wxPoint
*arg2
= (wxPoint
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 PyObject
* obj1
= 0 ;
16566 char *kwnames
[] = {
16567 (char *) "self",(char *) "m_pos", NULL
16570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16575 if (arg1
) (arg1
)->m_pos
= *arg2
;
16577 Py_INCREF(Py_None
); resultobj
= Py_None
;
16584 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16585 PyObject
*resultobj
;
16586 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16588 PyObject
* obj0
= 0 ;
16589 char *kwnames
[] = {
16590 (char *) "self", NULL
16593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16596 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16605 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16608 wxRect
*arg2
= (wxRect
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 PyObject
* obj1
= 0 ;
16611 char *kwnames
[] = {
16612 (char *) "self",(char *) "m_rect", NULL
16615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16618 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16620 if (arg1
) (arg1
)->m_rect
= *arg2
;
16622 Py_INCREF(Py_None
); resultobj
= Py_None
;
16629 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16630 PyObject
*resultobj
;
16631 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16633 PyObject
* obj0
= 0 ;
16634 char *kwnames
[] = {
16635 (char *) "self", NULL
16638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16641 result
= (wxRect
*)& ((arg1
)->m_rect
);
16643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16650 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16652 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16653 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16655 return Py_BuildValue((char *)"");
16657 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16658 PyObject
*resultobj
;
16659 int arg1
= (int) 0 ;
16660 wxPaintEvent
*result
;
16661 PyObject
* obj0
= 0 ;
16662 char *kwnames
[] = {
16663 (char *) "Id", NULL
16666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16668 arg1
= (int) SWIG_AsInt(obj0
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16673 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16675 wxPyEndAllowThreads(__tstate
);
16676 if (PyErr_Occurred()) SWIG_fail
;
16678 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16685 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16688 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16690 return Py_BuildValue((char *)"");
16692 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16693 PyObject
*resultobj
;
16694 int arg1
= (int) 0 ;
16695 wxNcPaintEvent
*result
;
16696 PyObject
* obj0
= 0 ;
16697 char *kwnames
[] = {
16698 (char *) "winid", NULL
16701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16703 arg1
= (int) SWIG_AsInt(obj0
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16708 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16720 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16722 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16723 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16725 return Py_BuildValue((char *)"");
16727 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 int arg1
= (int) 0 ;
16730 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16731 wxEraseEvent
*result
;
16732 PyObject
* obj0
= 0 ;
16733 PyObject
* obj1
= 0 ;
16734 char *kwnames
[] = {
16735 (char *) "Id",(char *) "dc", NULL
16738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16740 arg1
= (int) SWIG_AsInt(obj0
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16749 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16751 wxPyEndAllowThreads(__tstate
);
16752 if (PyErr_Occurred()) SWIG_fail
;
16754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16761 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16762 PyObject
*resultobj
;
16763 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16765 PyObject
* obj0
= 0 ;
16766 char *kwnames
[] = {
16767 (char *) "self", NULL
16770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16777 wxPyEndAllowThreads(__tstate
);
16778 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= wxPyMake_wxObject(result
);
16789 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16792 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16794 return Py_BuildValue((char *)"");
16796 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16799 int arg2
= (int) 0 ;
16800 wxFocusEvent
*result
;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 char *kwnames
[] = {
16804 (char *) "type",(char *) "winid", NULL
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16809 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 arg2
= (int) SWIG_AsInt(obj1
);
16814 if (PyErr_Occurred()) SWIG_fail
;
16817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16818 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16820 wxPyEndAllowThreads(__tstate
);
16821 if (PyErr_Occurred()) SWIG_fail
;
16823 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16830 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16831 PyObject
*resultobj
;
16832 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16834 PyObject
* obj0
= 0 ;
16835 char *kwnames
[] = {
16836 (char *) "self", NULL
16839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16844 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16846 wxPyEndAllowThreads(__tstate
);
16847 if (PyErr_Occurred()) SWIG_fail
;
16850 resultobj
= wxPyMake_wxObject(result
);
16858 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16859 PyObject
*resultobj
;
16860 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16861 wxWindow
*arg2
= (wxWindow
*) 0 ;
16862 PyObject
* obj0
= 0 ;
16863 PyObject
* obj1
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self",(char *) "win", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16871 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 (arg1
)->SetWindow(arg2
);
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 Py_INCREF(Py_None
); resultobj
= Py_None
;
16887 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16889 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16890 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16892 return Py_BuildValue((char *)"");
16894 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16895 PyObject
*resultobj
;
16896 wxWindow
*arg1
= (wxWindow
*) NULL
;
16897 wxChildFocusEvent
*result
;
16898 PyObject
* obj0
= 0 ;
16899 char *kwnames
[] = {
16900 (char *) "win", NULL
16903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16922 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16926 PyObject
* obj0
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "self", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16936 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16938 wxPyEndAllowThreads(__tstate
);
16939 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= wxPyMake_wxObject(result
);
16950 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16952 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16953 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16955 return Py_BuildValue((char *)"");
16957 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
;
16959 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16960 bool arg2
= (bool) True
;
16961 int arg3
= (int) 0 ;
16962 wxActivateEvent
*result
;
16963 PyObject
* obj0
= 0 ;
16964 PyObject
* obj1
= 0 ;
16965 PyObject
* obj2
= 0 ;
16966 char *kwnames
[] = {
16967 (char *) "type",(char *) "active",(char *) "Id", NULL
16970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16972 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16973 if (PyErr_Occurred()) SWIG_fail
;
16976 arg2
= (bool) SWIG_AsBool(obj1
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16980 arg3
= (int) SWIG_AsInt(obj2
);
16981 if (PyErr_Occurred()) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16985 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16997 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 char *kwnames
[] = {
17003 (char *) "self", NULL
17006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
17007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
17008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17011 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
17013 wxPyEndAllowThreads(__tstate
);
17014 if (PyErr_Occurred()) SWIG_fail
;
17017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17025 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17028 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
17030 return Py_BuildValue((char *)"");
17032 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17033 PyObject
*resultobj
;
17034 int arg1
= (int) 0 ;
17035 wxInitDialogEvent
*result
;
17036 PyObject
* obj0
= 0 ;
17037 char *kwnames
[] = {
17038 (char *) "Id", NULL
17041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
17043 arg1
= (int) SWIG_AsInt(obj0
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17048 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
17050 wxPyEndAllowThreads(__tstate
);
17051 if (PyErr_Occurred()) SWIG_fail
;
17053 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
17060 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17063 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
17065 return Py_BuildValue((char *)"");
17067 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17068 PyObject
*resultobj
;
17069 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17070 int arg2
= (int) 0 ;
17071 wxMenu
*arg3
= (wxMenu
*) NULL
;
17072 wxMenuEvent
*result
;
17073 PyObject
* obj0
= 0 ;
17074 PyObject
* obj1
= 0 ;
17075 PyObject
* obj2
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "type",(char *) "winid",(char *) "menu", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17082 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17083 if (PyErr_Occurred()) SWIG_fail
;
17086 arg2
= (int) SWIG_AsInt(obj1
);
17087 if (PyErr_Occurred()) SWIG_fail
;
17090 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
17091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17095 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
17097 wxPyEndAllowThreads(__tstate
);
17098 if (PyErr_Occurred()) SWIG_fail
;
17100 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
17107 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17108 PyObject
*resultobj
;
17109 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17111 PyObject
* obj0
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 resultobj
= SWIG_FromInt((int)result
);
17133 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17147 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
17149 wxPyEndAllowThreads(__tstate
);
17150 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17161 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17162 PyObject
*resultobj
;
17163 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
17165 PyObject
* obj0
= 0 ;
17166 char *kwnames
[] = {
17167 (char *) "self", NULL
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
17171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
17172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
);
17189 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17191 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17192 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
17194 return Py_BuildValue((char *)"");
17196 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17197 PyObject
*resultobj
;
17198 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17199 int arg2
= (int) 0 ;
17200 wxCloseEvent
*result
;
17201 PyObject
* obj0
= 0 ;
17202 PyObject
* obj1
= 0 ;
17203 char *kwnames
[] = {
17204 (char *) "type",(char *) "winid", NULL
17207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17209 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17213 arg2
= (int) SWIG_AsInt(obj1
);
17214 if (PyErr_Occurred()) SWIG_fail
;
17217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17218 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
17220 wxPyEndAllowThreads(__tstate
);
17221 if (PyErr_Occurred()) SWIG_fail
;
17223 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
17230 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17231 PyObject
*resultobj
;
17232 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17234 PyObject
* obj0
= 0 ;
17235 PyObject
* obj1
= 0 ;
17236 char *kwnames
[] = {
17237 (char *) "self",(char *) "logOff", NULL
17240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
17241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17243 arg2
= (bool) SWIG_AsBool(obj1
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17247 (arg1
)->SetLoggingOff(arg2
);
17249 wxPyEndAllowThreads(__tstate
);
17250 if (PyErr_Occurred()) SWIG_fail
;
17252 Py_INCREF(Py_None
); resultobj
= Py_None
;
17259 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17260 PyObject
*resultobj
;
17261 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17263 PyObject
* obj0
= 0 ;
17264 char *kwnames
[] = {
17265 (char *) "self", NULL
17268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
17269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17273 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17275 wxPyEndAllowThreads(__tstate
);
17276 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17287 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17288 PyObject
*resultobj
;
17289 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17290 bool arg2
= (bool) True
;
17291 PyObject
* obj0
= 0 ;
17292 PyObject
* obj1
= 0 ;
17293 char *kwnames
[] = {
17294 (char *) "self",(char *) "veto", NULL
17297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17301 arg2
= (bool) SWIG_AsBool(obj1
);
17302 if (PyErr_Occurred()) SWIG_fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 (arg1
)->Veto(arg2
);
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17311 Py_INCREF(Py_None
); resultobj
= Py_None
;
17318 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17319 PyObject
*resultobj
;
17320 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17322 PyObject
* obj0
= 0 ;
17323 PyObject
* obj1
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self",(char *) "canVeto", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17331 arg2
= (bool) SWIG_AsBool(obj1
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17335 (arg1
)->SetCanVeto(arg2
);
17337 wxPyEndAllowThreads(__tstate
);
17338 if (PyErr_Occurred()) SWIG_fail
;
17340 Py_INCREF(Py_None
); resultobj
= Py_None
;
17347 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17351 PyObject
* obj0
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17375 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17376 PyObject
*resultobj
;
17377 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17379 PyObject
* obj0
= 0 ;
17380 char *kwnames
[] = {
17381 (char *) "self", NULL
17384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17389 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17391 wxPyEndAllowThreads(__tstate
);
17392 if (PyErr_Occurred()) SWIG_fail
;
17395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17403 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17406 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17408 return Py_BuildValue((char *)"");
17410 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17411 PyObject
*resultobj
;
17412 int arg1
= (int) 0 ;
17413 bool arg2
= (bool) False
;
17414 wxShowEvent
*result
;
17415 PyObject
* obj0
= 0 ;
17416 PyObject
* obj1
= 0 ;
17417 char *kwnames
[] = {
17418 (char *) "winid",(char *) "show", NULL
17421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 arg1
= (int) SWIG_AsInt(obj0
);
17424 if (PyErr_Occurred()) SWIG_fail
;
17427 arg2
= (bool) SWIG_AsBool(obj1
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17432 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17434 wxPyEndAllowThreads(__tstate
);
17435 if (PyErr_Occurred()) SWIG_fail
;
17437 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17444 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 PyObject
* obj1
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self",(char *) "show", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17457 arg2
= (bool) SWIG_AsBool(obj1
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17461 (arg1
)->SetShow(arg2
);
17463 wxPyEndAllowThreads(__tstate
);
17464 if (PyErr_Occurred()) SWIG_fail
;
17466 Py_INCREF(Py_None
); resultobj
= Py_None
;
17473 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17474 PyObject
*resultobj
;
17475 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17477 PyObject
* obj0
= 0 ;
17478 char *kwnames
[] = {
17479 (char *) "self", NULL
17482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17489 wxPyEndAllowThreads(__tstate
);
17490 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17501 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17504 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17506 return Py_BuildValue((char *)"");
17508 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17509 PyObject
*resultobj
;
17510 int arg1
= (int) 0 ;
17511 bool arg2
= (bool) True
;
17512 wxIconizeEvent
*result
;
17513 PyObject
* obj0
= 0 ;
17514 PyObject
* obj1
= 0 ;
17515 char *kwnames
[] = {
17516 (char *) "id",(char *) "iconized", NULL
17519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17521 arg1
= (int) SWIG_AsInt(obj0
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17525 arg2
= (bool) SWIG_AsBool(obj1
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17532 wxPyEndAllowThreads(__tstate
);
17533 if (PyErr_Occurred()) SWIG_fail
;
17535 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17542 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17543 PyObject
*resultobj
;
17544 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17546 PyObject
* obj0
= 0 ;
17547 char *kwnames
[] = {
17548 (char *) "self", NULL
17551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17556 result
= (bool)(arg1
)->Iconized();
17558 wxPyEndAllowThreads(__tstate
);
17559 if (PyErr_Occurred()) SWIG_fail
;
17562 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17570 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17573 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17575 return Py_BuildValue((char *)"");
17577 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17578 PyObject
*resultobj
;
17579 int arg1
= (int) 0 ;
17580 wxMaximizeEvent
*result
;
17581 PyObject
* obj0
= 0 ;
17582 char *kwnames
[] = {
17583 (char *) "id", NULL
17586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17588 arg1
= (int) SWIG_AsInt(obj0
);
17589 if (PyErr_Occurred()) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17605 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17608 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17610 return Py_BuildValue((char *)"");
17612 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17613 PyObject
*resultobj
;
17614 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17616 PyObject
* obj0
= 0 ;
17617 char *kwnames
[] = {
17618 (char *) "self", NULL
17621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 result
= (arg1
)->GetPosition();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17632 wxPoint
* resultptr
;
17633 resultptr
= new wxPoint((wxPoint
&) result
);
17634 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17642 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17643 PyObject
*resultobj
;
17644 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17646 PyObject
* obj0
= 0 ;
17647 char *kwnames
[] = {
17648 (char *) "self", NULL
17651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17656 result
= (int)(arg1
)->GetNumberOfFiles();
17658 wxPyEndAllowThreads(__tstate
);
17659 if (PyErr_Occurred()) SWIG_fail
;
17661 resultobj
= SWIG_FromInt((int)result
);
17668 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17669 PyObject
*resultobj
;
17670 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17682 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17687 resultobj
= result
;
17694 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17696 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17697 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17699 return Py_BuildValue((char *)"");
17701 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17702 PyObject
*resultobj
;
17703 int arg1
= (int) 0 ;
17704 wxUpdateUIEvent
*result
;
17705 PyObject
* obj0
= 0 ;
17706 char *kwnames
[] = {
17707 (char *) "commandId", NULL
17710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17712 arg1
= (int) SWIG_AsInt(obj0
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17729 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17731 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17733 PyObject
* obj0
= 0 ;
17734 char *kwnames
[] = {
17735 (char *) "self", NULL
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17743 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17745 wxPyEndAllowThreads(__tstate
);
17746 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17757 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17758 PyObject
*resultobj
;
17759 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17761 PyObject
* obj0
= 0 ;
17762 char *kwnames
[] = {
17763 (char *) "self", NULL
17766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17771 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17773 wxPyEndAllowThreads(__tstate
);
17774 if (PyErr_Occurred()) SWIG_fail
;
17777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17785 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17786 PyObject
*resultobj
;
17787 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17789 PyObject
* obj0
= 0 ;
17790 char *kwnames
[] = {
17791 (char *) "self", NULL
17794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17806 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17808 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17817 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17818 PyObject
*resultobj
;
17819 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17821 PyObject
* obj0
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17831 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17833 wxPyEndAllowThreads(__tstate
);
17834 if (PyErr_Occurred()) SWIG_fail
;
17837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17845 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17846 PyObject
*resultobj
;
17847 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17849 PyObject
* obj0
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "self", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17873 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17874 PyObject
*resultobj
;
17875 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17877 PyObject
* obj0
= 0 ;
17878 char *kwnames
[] = {
17879 (char *) "self", NULL
17882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17901 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
;
17903 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17905 PyObject
* obj0
= 0 ;
17906 PyObject
* obj1
= 0 ;
17907 char *kwnames
[] = {
17908 (char *) "self",(char *) "check", NULL
17911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17914 arg2
= (bool) SWIG_AsBool(obj1
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17918 (arg1
)->Check(arg2
);
17920 wxPyEndAllowThreads(__tstate
);
17921 if (PyErr_Occurred()) SWIG_fail
;
17923 Py_INCREF(Py_None
); resultobj
= Py_None
;
17930 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17931 PyObject
*resultobj
;
17932 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17934 PyObject
* obj0
= 0 ;
17935 PyObject
* obj1
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self",(char *) "enable", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17942 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17943 arg2
= (bool) SWIG_AsBool(obj1
);
17944 if (PyErr_Occurred()) SWIG_fail
;
17946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17947 (arg1
)->Enable(arg2
);
17949 wxPyEndAllowThreads(__tstate
);
17950 if (PyErr_Occurred()) SWIG_fail
;
17952 Py_INCREF(Py_None
); resultobj
= Py_None
;
17959 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17960 PyObject
*resultobj
;
17961 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17962 wxString
*arg2
= 0 ;
17963 bool temp2
= False
;
17964 PyObject
* obj0
= 0 ;
17965 PyObject
* obj1
= 0 ;
17966 char *kwnames
[] = {
17967 (char *) "self",(char *) "text", NULL
17970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17974 arg2
= wxString_in_helper(obj1
);
17975 if (arg2
== NULL
) SWIG_fail
;
17979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17980 (arg1
)->SetText((wxString
const &)*arg2
);
17982 wxPyEndAllowThreads(__tstate
);
17983 if (PyErr_Occurred()) SWIG_fail
;
17985 Py_INCREF(Py_None
); resultobj
= Py_None
;
18000 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18001 PyObject
*resultobj
;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "updateInterval", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
18009 arg1
= (long) SWIG_AsLong(obj0
);
18010 if (PyErr_Occurred()) SWIG_fail
;
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 wxUpdateUIEvent::SetUpdateInterval(arg1
);
18015 wxPyEndAllowThreads(__tstate
);
18016 if (PyErr_Occurred()) SWIG_fail
;
18018 Py_INCREF(Py_None
); resultobj
= Py_None
;
18025 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18026 PyObject
*resultobj
;
18028 char *kwnames
[] = {
18032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
18034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18035 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
18037 wxPyEndAllowThreads(__tstate
);
18038 if (PyErr_Occurred()) SWIG_fail
;
18040 resultobj
= SWIG_FromLong((long)result
);
18047 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18048 PyObject
*resultobj
;
18049 wxWindow
*arg1
= (wxWindow
*) 0 ;
18051 PyObject
* obj0
= 0 ;
18052 char *kwnames
[] = {
18053 (char *) "win", NULL
18056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
18057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18061 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
18063 wxPyEndAllowThreads(__tstate
);
18064 if (PyErr_Occurred()) SWIG_fail
;
18067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18075 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18076 PyObject
*resultobj
;
18077 char *kwnames
[] = {
18081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
18083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18084 wxUpdateUIEvent::ResetUpdateTime();
18086 wxPyEndAllowThreads(__tstate
);
18087 if (PyErr_Occurred()) SWIG_fail
;
18089 Py_INCREF(Py_None
); resultobj
= Py_None
;
18096 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18097 PyObject
*resultobj
;
18099 PyObject
* obj0
= 0 ;
18100 char *kwnames
[] = {
18101 (char *) "mode", NULL
18104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18105 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
18106 if (PyErr_Occurred()) SWIG_fail
;
18108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18109 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
18111 wxPyEndAllowThreads(__tstate
);
18112 if (PyErr_Occurred()) SWIG_fail
;
18114 Py_INCREF(Py_None
); resultobj
= Py_None
;
18121 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18122 PyObject
*resultobj
;
18124 char *kwnames
[] = {
18128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
18130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18131 result
= (int)wxUpdateUIEvent::GetMode();
18133 wxPyEndAllowThreads(__tstate
);
18134 if (PyErr_Occurred()) SWIG_fail
;
18136 resultobj
= SWIG_FromInt((int)result
);
18143 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18145 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18146 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
18148 return Py_BuildValue((char *)"");
18150 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18151 PyObject
*resultobj
;
18152 wxSysColourChangedEvent
*result
;
18153 char *kwnames
[] = {
18157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
18159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18160 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
18162 wxPyEndAllowThreads(__tstate
);
18163 if (PyErr_Occurred()) SWIG_fail
;
18165 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
18172 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18174 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18175 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
18177 return Py_BuildValue((char *)"");
18179 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18180 PyObject
*resultobj
;
18181 int arg1
= (int) 0 ;
18182 wxWindow
*arg2
= (wxWindow
*) NULL
;
18183 wxMouseCaptureChangedEvent
*result
;
18184 PyObject
* obj0
= 0 ;
18185 PyObject
* obj1
= 0 ;
18186 char *kwnames
[] = {
18187 (char *) "winid",(char *) "gainedCapture", NULL
18190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18192 arg1
= (int) SWIG_AsInt(obj0
);
18193 if (PyErr_Occurred()) SWIG_fail
;
18196 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
18203 wxPyEndAllowThreads(__tstate
);
18204 if (PyErr_Occurred()) SWIG_fail
;
18206 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
18213 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18214 PyObject
*resultobj
;
18215 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
18217 PyObject
* obj0
= 0 ;
18218 char *kwnames
[] = {
18219 (char *) "self", NULL
18222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
18223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
18224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18227 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
18229 wxPyEndAllowThreads(__tstate
);
18230 if (PyErr_Occurred()) SWIG_fail
;
18233 resultobj
= wxPyMake_wxObject(result
);
18241 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18244 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
18246 return Py_BuildValue((char *)"");
18248 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxDisplayChangedEvent
*result
;
18251 char *kwnames
[] = {
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18263 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
18270 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18273 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
18275 return Py_BuildValue((char *)"");
18277 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18278 PyObject
*resultobj
;
18279 int arg1
= (int) 0 ;
18280 wxPaletteChangedEvent
*result
;
18281 PyObject
* obj0
= 0 ;
18282 char *kwnames
[] = {
18283 (char *) "id", NULL
18286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
18288 arg1
= (int) SWIG_AsInt(obj0
);
18289 if (PyErr_Occurred()) SWIG_fail
;
18292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18293 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
18295 wxPyEndAllowThreads(__tstate
);
18296 if (PyErr_Occurred()) SWIG_fail
;
18298 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18305 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18306 PyObject
*resultobj
;
18307 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18308 wxWindow
*arg2
= (wxWindow
*) 0 ;
18309 PyObject
* obj0
= 0 ;
18310 PyObject
* obj1
= 0 ;
18311 char *kwnames
[] = {
18312 (char *) "self",(char *) "win", NULL
18315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18318 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18322 (arg1
)->SetChangedWindow(arg2
);
18324 wxPyEndAllowThreads(__tstate
);
18325 if (PyErr_Occurred()) SWIG_fail
;
18327 Py_INCREF(Py_None
); resultobj
= Py_None
;
18334 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18335 PyObject
*resultobj
;
18336 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18338 PyObject
* obj0
= 0 ;
18339 char *kwnames
[] = {
18340 (char *) "self", NULL
18343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18348 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18350 wxPyEndAllowThreads(__tstate
);
18351 if (PyErr_Occurred()) SWIG_fail
;
18354 resultobj
= wxPyMake_wxObject(result
);
18362 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18364 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18365 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18367 return Py_BuildValue((char *)"");
18369 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18370 PyObject
*resultobj
;
18371 int arg1
= (int) 0 ;
18372 wxQueryNewPaletteEvent
*result
;
18373 PyObject
* obj0
= 0 ;
18374 char *kwnames
[] = {
18375 (char *) "winid", NULL
18378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18380 arg1
= (int) SWIG_AsInt(obj0
);
18381 if (PyErr_Occurred()) SWIG_fail
;
18384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18385 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18387 wxPyEndAllowThreads(__tstate
);
18388 if (PyErr_Occurred()) SWIG_fail
;
18390 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18397 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18398 PyObject
*resultobj
;
18399 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18401 PyObject
* obj0
= 0 ;
18402 PyObject
* obj1
= 0 ;
18403 char *kwnames
[] = {
18404 (char *) "self",(char *) "realized", NULL
18407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18410 arg2
= (bool) SWIG_AsBool(obj1
);
18411 if (PyErr_Occurred()) SWIG_fail
;
18413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18414 (arg1
)->SetPaletteRealized(arg2
);
18416 wxPyEndAllowThreads(__tstate
);
18417 if (PyErr_Occurred()) SWIG_fail
;
18419 Py_INCREF(Py_None
); resultobj
= Py_None
;
18426 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18427 PyObject
*resultobj
;
18428 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18430 PyObject
* obj0
= 0 ;
18431 char *kwnames
[] = {
18432 (char *) "self", NULL
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18440 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18442 wxPyEndAllowThreads(__tstate
);
18443 if (PyErr_Occurred()) SWIG_fail
;
18446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18454 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18457 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18459 return Py_BuildValue((char *)"");
18461 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18462 PyObject
*resultobj
;
18463 wxNavigationKeyEvent
*result
;
18464 char *kwnames
[] = {
18468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18471 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18473 wxPyEndAllowThreads(__tstate
);
18474 if (PyErr_Occurred()) SWIG_fail
;
18476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18483 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18487 PyObject
* obj0
= 0 ;
18488 char *kwnames
[] = {
18489 (char *) "self", NULL
18492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18497 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18499 wxPyEndAllowThreads(__tstate
);
18500 if (PyErr_Occurred()) SWIG_fail
;
18503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18511 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18512 PyObject
*resultobj
;
18513 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18515 PyObject
* obj0
= 0 ;
18516 PyObject
* obj1
= 0 ;
18517 char *kwnames
[] = {
18518 (char *) "self",(char *) "bForward", NULL
18521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18524 arg2
= (bool) SWIG_AsBool(obj1
);
18525 if (PyErr_Occurred()) SWIG_fail
;
18527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18528 (arg1
)->SetDirection(arg2
);
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 Py_INCREF(Py_None
); resultobj
= Py_None
;
18540 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18541 PyObject
*resultobj
;
18542 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 char *kwnames
[] = {
18546 (char *) "self", NULL
18549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18554 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18556 wxPyEndAllowThreads(__tstate
);
18557 if (PyErr_Occurred()) SWIG_fail
;
18560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18568 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
;
18570 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18572 PyObject
* obj0
= 0 ;
18573 PyObject
* obj1
= 0 ;
18574 char *kwnames
[] = {
18575 (char *) "self",(char *) "bIs", NULL
18578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18581 arg2
= (bool) SWIG_AsBool(obj1
);
18582 if (PyErr_Occurred()) SWIG_fail
;
18584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18585 (arg1
)->SetWindowChange(arg2
);
18587 wxPyEndAllowThreads(__tstate
);
18588 if (PyErr_Occurred()) SWIG_fail
;
18590 Py_INCREF(Py_None
); resultobj
= Py_None
;
18597 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18601 PyObject
* obj0
= 0 ;
18602 char *kwnames
[] = {
18603 (char *) "self", NULL
18606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18611 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18613 wxPyEndAllowThreads(__tstate
);
18614 if (PyErr_Occurred()) SWIG_fail
;
18617 resultobj
= wxPyMake_wxObject(result
);
18625 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18626 PyObject
*resultobj
;
18627 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18628 wxWindow
*arg2
= (wxWindow
*) 0 ;
18629 PyObject
* obj0
= 0 ;
18630 PyObject
* obj1
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self",(char *) "win", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 (arg1
)->SetCurrentFocus(arg2
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 Py_INCREF(Py_None
); resultobj
= Py_None
;
18654 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18656 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18657 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18659 return Py_BuildValue((char *)"");
18661 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18662 PyObject
*resultobj
;
18663 wxWindow
*arg1
= (wxWindow
*) NULL
;
18664 wxWindowCreateEvent
*result
;
18665 PyObject
* obj0
= 0 ;
18666 char *kwnames
[] = {
18667 (char *) "win", NULL
18670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18677 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18679 wxPyEndAllowThreads(__tstate
);
18680 if (PyErr_Occurred()) SWIG_fail
;
18682 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18689 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18690 PyObject
*resultobj
;
18691 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18693 PyObject
* obj0
= 0 ;
18694 char *kwnames
[] = {
18695 (char *) "self", NULL
18698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18703 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18705 wxPyEndAllowThreads(__tstate
);
18706 if (PyErr_Occurred()) SWIG_fail
;
18709 resultobj
= wxPyMake_wxObject(result
);
18717 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18720 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18722 return Py_BuildValue((char *)"");
18724 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18725 PyObject
*resultobj
;
18726 wxWindow
*arg1
= (wxWindow
*) NULL
;
18727 wxWindowDestroyEvent
*result
;
18728 PyObject
* obj0
= 0 ;
18729 char *kwnames
[] = {
18730 (char *) "win", NULL
18733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18752 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18766 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= wxPyMake_wxObject(result
);
18780 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18782 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18783 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18785 return Py_BuildValue((char *)"");
18787 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18788 PyObject
*resultobj
;
18789 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18790 int arg2
= (int) 0 ;
18791 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18792 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18793 wxContextMenuEvent
*result
;
18795 PyObject
* obj0
= 0 ;
18796 PyObject
* obj1
= 0 ;
18797 PyObject
* obj2
= 0 ;
18798 char *kwnames
[] = {
18799 (char *) "type",(char *) "winid",(char *) "pt", NULL
18802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18804 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18808 arg2
= (int) SWIG_AsInt(obj1
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18814 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18819 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18821 wxPyEndAllowThreads(__tstate
);
18822 if (PyErr_Occurred()) SWIG_fail
;
18824 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18831 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18832 PyObject
*resultobj
;
18833 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18835 PyObject
* obj0
= 0 ;
18836 char *kwnames
[] = {
18837 (char *) "self", NULL
18840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18846 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18847 result
= (wxPoint
*) &_result_ref
;
18850 wxPyEndAllowThreads(__tstate
);
18851 if (PyErr_Occurred()) SWIG_fail
;
18853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18860 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18863 wxPoint
*arg2
= 0 ;
18865 PyObject
* obj0
= 0 ;
18866 PyObject
* obj1
= 0 ;
18867 char *kwnames
[] = {
18868 (char *) "self",(char *) "pos", NULL
18871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18876 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18880 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18882 wxPyEndAllowThreads(__tstate
);
18883 if (PyErr_Occurred()) SWIG_fail
;
18885 Py_INCREF(Py_None
); resultobj
= Py_None
;
18892 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18894 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18895 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18897 return Py_BuildValue((char *)"");
18899 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxIdleEvent
*result
;
18902 char *kwnames
[] = {
18906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18909 result
= (wxIdleEvent
*)new wxIdleEvent();
18911 wxPyEndAllowThreads(__tstate
);
18912 if (PyErr_Occurred()) SWIG_fail
;
18914 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18921 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18922 PyObject
*resultobj
;
18923 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18924 bool arg2
= (bool) True
;
18925 PyObject
* obj0
= 0 ;
18926 PyObject
* obj1
= 0 ;
18927 char *kwnames
[] = {
18928 (char *) "self",(char *) "needMore", NULL
18931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18935 arg2
= (bool) SWIG_AsBool(obj1
);
18936 if (PyErr_Occurred()) SWIG_fail
;
18939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18940 (arg1
)->RequestMore(arg2
);
18942 wxPyEndAllowThreads(__tstate
);
18943 if (PyErr_Occurred()) SWIG_fail
;
18945 Py_INCREF(Py_None
); resultobj
= Py_None
;
18952 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18953 PyObject
*resultobj
;
18954 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18956 PyObject
* obj0
= 0 ;
18957 char *kwnames
[] = {
18958 (char *) "self", NULL
18961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18966 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18968 wxPyEndAllowThreads(__tstate
);
18969 if (PyErr_Occurred()) SWIG_fail
;
18972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18980 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18981 PyObject
*resultobj
;
18983 PyObject
* obj0
= 0 ;
18984 char *kwnames
[] = {
18985 (char *) "mode", NULL
18988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18989 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18990 if (PyErr_Occurred()) SWIG_fail
;
18992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18993 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18995 wxPyEndAllowThreads(__tstate
);
18996 if (PyErr_Occurred()) SWIG_fail
;
18998 Py_INCREF(Py_None
); resultobj
= Py_None
;
19005 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19006 PyObject
*resultobj
;
19008 char *kwnames
[] = {
19012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
19014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19015 result
= (int)wxIdleEvent::GetMode();
19017 wxPyEndAllowThreads(__tstate
);
19018 if (PyErr_Occurred()) SWIG_fail
;
19020 resultobj
= SWIG_FromInt((int)result
);
19027 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19028 PyObject
*resultobj
;
19029 wxWindow
*arg1
= (wxWindow
*) 0 ;
19031 PyObject
* obj0
= 0 ;
19032 char *kwnames
[] = {
19033 (char *) "win", NULL
19036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
19037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
19038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (bool)wxIdleEvent::CanSend(arg1
);
19043 wxPyEndAllowThreads(__tstate
);
19044 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19055 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19058 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
19060 return Py_BuildValue((char *)"");
19062 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 int arg1
= (int) 0 ;
19065 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "winid",(char *) "commandType", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19075 arg1
= (int) SWIG_AsInt(obj0
);
19076 if (PyErr_Occurred()) SWIG_fail
;
19079 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
19080 if (PyErr_Occurred()) SWIG_fail
;
19083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19084 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
19086 wxPyEndAllowThreads(__tstate
);
19087 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
19096 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19097 PyObject
*resultobj
;
19098 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19099 PyObject
* obj0
= 0 ;
19100 char *kwnames
[] = {
19101 (char *) "self", NULL
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
19105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19111 wxPyEndAllowThreads(__tstate
);
19112 if (PyErr_Occurred()) SWIG_fail
;
19114 Py_INCREF(Py_None
); resultobj
= Py_None
;
19121 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19122 PyObject
*resultobj
;
19123 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19124 PyObject
*arg2
= (PyObject
*) 0 ;
19125 PyObject
* obj0
= 0 ;
19126 PyObject
* obj1
= 0 ;
19127 char *kwnames
[] = {
19128 (char *) "self",(char *) "self", NULL
19131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19137 (arg1
)->SetSelf(arg2
);
19139 wxPyEndAllowThreads(__tstate
);
19140 if (PyErr_Occurred()) SWIG_fail
;
19142 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= (PyObject
*)(arg1
)->GetSelf();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= result
;
19175 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19178 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
19180 return Py_BuildValue((char *)"");
19182 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19183 PyObject
*resultobj
;
19184 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19185 int arg2
= (int) 0 ;
19186 wxPyCommandEvent
*result
;
19187 PyObject
* obj0
= 0 ;
19188 PyObject
* obj1
= 0 ;
19189 char *kwnames
[] = {
19190 (char *) "commandType",(char *) "id", NULL
19193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
19195 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
19196 if (PyErr_Occurred()) SWIG_fail
;
19199 arg2
= (int) SWIG_AsInt(obj1
);
19200 if (PyErr_Occurred()) SWIG_fail
;
19203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19204 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
19206 wxPyEndAllowThreads(__tstate
);
19207 if (PyErr_Occurred()) SWIG_fail
;
19209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
19216 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19217 PyObject
*resultobj
;
19218 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19219 PyObject
* obj0
= 0 ;
19220 char *kwnames
[] = {
19221 (char *) "self", NULL
19224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
19225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19231 wxPyEndAllowThreads(__tstate
);
19232 if (PyErr_Occurred()) SWIG_fail
;
19234 Py_INCREF(Py_None
); resultobj
= Py_None
;
19241 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19242 PyObject
*resultobj
;
19243 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19244 PyObject
*arg2
= (PyObject
*) 0 ;
19245 PyObject
* obj0
= 0 ;
19246 PyObject
* obj1
= 0 ;
19247 char *kwnames
[] = {
19248 (char *) "self",(char *) "self", NULL
19251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
19252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetSelf(arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19269 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19270 PyObject
*resultobj
;
19271 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
19273 PyObject
* obj0
= 0 ;
19274 char *kwnames
[] = {
19275 (char *) "self", NULL
19278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
19279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
19280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 result
= (PyObject
*)(arg1
)->GetSelf();
19285 wxPyEndAllowThreads(__tstate
);
19286 if (PyErr_Occurred()) SWIG_fail
;
19288 resultobj
= result
;
19295 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
19297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
19298 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
19300 return Py_BuildValue((char *)"");
19302 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19303 PyObject
*resultobj
;
19305 char *kwnames
[] = {
19309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (wxPyApp
*)new_wxPyApp();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19318 resultobj
= wxPyMake_wxObject(result
);
19326 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19327 PyObject
*resultobj
;
19328 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19329 PyObject
* obj0
= 0 ;
19330 char *kwnames
[] = {
19331 (char *) "self", NULL
19334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 wxPyEndAllowThreads(__tstate
);
19342 if (PyErr_Occurred()) SWIG_fail
;
19344 Py_INCREF(Py_None
); resultobj
= Py_None
;
19351 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19352 PyObject
*resultobj
;
19353 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19354 PyObject
*arg2
= (PyObject
*) 0 ;
19355 PyObject
*arg3
= (PyObject
*) 0 ;
19356 PyObject
* obj0
= 0 ;
19357 PyObject
* obj1
= 0 ;
19358 PyObject
* obj2
= 0 ;
19359 char *kwnames
[] = {
19360 (char *) "self",(char *) "self",(char *) "_class", NULL
19363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19370 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19372 wxPyEndAllowThreads(__tstate
);
19373 if (PyErr_Occurred()) SWIG_fail
;
19375 Py_INCREF(Py_None
); resultobj
= Py_None
;
19382 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19383 PyObject
*resultobj
;
19384 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19386 PyObject
* obj0
= 0 ;
19387 char *kwnames
[] = {
19388 (char *) "self", NULL
19391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19396 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19403 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19405 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19414 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19415 PyObject
*resultobj
;
19416 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19417 wxString
*arg2
= 0 ;
19418 bool temp2
= False
;
19419 PyObject
* obj0
= 0 ;
19420 PyObject
* obj1
= 0 ;
19421 char *kwnames
[] = {
19422 (char *) "self",(char *) "name", NULL
19425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19429 arg2
= wxString_in_helper(obj1
);
19430 if (arg2
== NULL
) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->SetAppName((wxString
const &)*arg2
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19455 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19459 PyObject
* obj0
= 0 ;
19460 char *kwnames
[] = {
19461 (char *) "self", NULL
19464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19469 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19471 wxPyEndAllowThreads(__tstate
);
19472 if (PyErr_Occurred()) SWIG_fail
;
19476 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19478 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19487 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19488 PyObject
*resultobj
;
19489 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19490 wxString
*arg2
= 0 ;
19491 bool temp2
= False
;
19492 PyObject
* obj0
= 0 ;
19493 PyObject
* obj1
= 0 ;
19494 char *kwnames
[] = {
19495 (char *) "self",(char *) "name", NULL
19498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19502 arg2
= wxString_in_helper(obj1
);
19503 if (arg2
== NULL
) SWIG_fail
;
19507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19508 (arg1
)->SetClassName((wxString
const &)*arg2
);
19510 wxPyEndAllowThreads(__tstate
);
19511 if (PyErr_Occurred()) SWIG_fail
;
19513 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19532 PyObject
* obj0
= 0 ;
19533 char *kwnames
[] = {
19534 (char *) "self", NULL
19537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19543 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19544 result
= (wxString
*) &_result_ref
;
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19552 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19554 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19563 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19564 PyObject
*resultobj
;
19565 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19566 wxString
*arg2
= 0 ;
19567 bool temp2
= False
;
19568 PyObject
* obj0
= 0 ;
19569 PyObject
* obj1
= 0 ;
19570 char *kwnames
[] = {
19571 (char *) "self",(char *) "name", NULL
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 arg2
= wxString_in_helper(obj1
);
19579 if (arg2
== NULL
) SWIG_fail
;
19583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19586 wxPyEndAllowThreads(__tstate
);
19587 if (PyErr_Occurred()) SWIG_fail
;
19589 Py_INCREF(Py_None
); resultobj
= Py_None
;
19604 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19605 PyObject
*resultobj
;
19606 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19607 wxAppTraits
*result
;
19608 PyObject
* obj0
= 0 ;
19609 char *kwnames
[] = {
19610 (char *) "self", NULL
19613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19618 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19620 wxPyEndAllowThreads(__tstate
);
19621 if (PyErr_Occurred()) SWIG_fail
;
19623 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19630 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19631 PyObject
*resultobj
;
19632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19633 PyObject
* obj0
= 0 ;
19634 char *kwnames
[] = {
19635 (char *) "self", NULL
19638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",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 (arg1
)->ProcessPendingEvents();
19645 wxPyEndAllowThreads(__tstate
);
19646 if (PyErr_Occurred()) SWIG_fail
;
19648 Py_INCREF(Py_None
); resultobj
= Py_None
;
19655 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19656 PyObject
*resultobj
;
19657 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19658 bool arg2
= (bool) False
;
19660 PyObject
* obj0
= 0 ;
19661 PyObject
* obj1
= 0 ;
19662 char *kwnames
[] = {
19663 (char *) "self",(char *) "onlyIfNeeded", NULL
19666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19670 arg2
= (bool) SWIG_AsBool(obj1
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19675 result
= (bool)(arg1
)->Yield(arg2
);
19677 wxPyEndAllowThreads(__tstate
);
19678 if (PyErr_Occurred()) SWIG_fail
;
19681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19689 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
;
19691 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19692 PyObject
* obj0
= 0 ;
19693 char *kwnames
[] = {
19694 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19702 (arg1
)->WakeUpIdle();
19704 wxPyEndAllowThreads(__tstate
);
19705 if (PyErr_Occurred()) SWIG_fail
;
19707 Py_INCREF(Py_None
); resultobj
= Py_None
;
19714 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19715 PyObject
*resultobj
;
19716 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 char *kwnames
[] = {
19720 (char *) "self", NULL
19723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19728 result
= (int)(arg1
)->MainLoop();
19730 wxPyEndAllowThreads(__tstate
);
19731 if (PyErr_Occurred()) SWIG_fail
;
19733 resultobj
= SWIG_FromInt((int)result
);
19740 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
;
19742 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19743 PyObject
* obj0
= 0 ;
19744 char *kwnames
[] = {
19745 (char *) "self", NULL
19748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19755 wxPyEndAllowThreads(__tstate
);
19756 if (PyErr_Occurred()) SWIG_fail
;
19758 Py_INCREF(Py_None
); resultobj
= Py_None
;
19765 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19766 PyObject
*resultobj
;
19767 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 (arg1
)->ExitMainLoop();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 Py_INCREF(Py_None
); resultobj
= Py_None
;
19790 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 char *kwnames
[] = {
19796 (char *) "self", NULL
19799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19804 result
= (bool)(arg1
)->Pending();
19806 wxPyEndAllowThreads(__tstate
);
19807 if (PyErr_Occurred()) SWIG_fail
;
19810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19818 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19819 PyObject
*resultobj
;
19820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19822 PyObject
* obj0
= 0 ;
19823 char *kwnames
[] = {
19824 (char *) "self", NULL
19827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19832 result
= (bool)(arg1
)->Dispatch();
19834 wxPyEndAllowThreads(__tstate
);
19835 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19846 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19860 result
= (bool)(arg1
)->ProcessIdle();
19862 wxPyEndAllowThreads(__tstate
);
19863 if (PyErr_Occurred()) SWIG_fail
;
19866 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19874 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19877 wxWindow
*arg2
= (wxWindow
*) 0 ;
19878 wxIdleEvent
*arg3
= 0 ;
19880 PyObject
* obj0
= 0 ;
19881 PyObject
* obj1
= 0 ;
19882 PyObject
* obj2
= 0 ;
19883 char *kwnames
[] = {
19884 (char *) "self",(char *) "win",(char *) "event", NULL
19887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19892 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19893 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19895 if (arg3
== NULL
) {
19896 PyErr_SetString(PyExc_TypeError
,"null reference");
19900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19901 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19903 wxPyEndAllowThreads(__tstate
);
19904 if (PyErr_Occurred()) SWIG_fail
;
19907 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19915 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19916 PyObject
*resultobj
;
19917 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19919 PyObject
* obj0
= 0 ;
19920 char *kwnames
[] = {
19921 (char *) "self", NULL
19924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19929 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19943 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19944 PyObject
*resultobj
;
19945 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19946 wxWindow
*arg2
= (wxWindow
*) 0 ;
19947 PyObject
* obj0
= 0 ;
19948 PyObject
* obj1
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self",(char *) "win", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19960 (arg1
)->SetTopWindow(arg2
);
19962 wxPyEndAllowThreads(__tstate
);
19963 if (PyErr_Occurred()) SWIG_fail
;
19965 Py_INCREF(Py_None
); resultobj
= Py_None
;
19972 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19973 PyObject
*resultobj
;
19974 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19976 PyObject
* obj0
= 0 ;
19977 char *kwnames
[] = {
19978 (char *) "self", NULL
19981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19992 resultobj
= wxPyMake_wxObject(result
);
20000 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20001 PyObject
*resultobj
;
20002 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20004 PyObject
* obj0
= 0 ;
20005 PyObject
* obj1
= 0 ;
20006 char *kwnames
[] = {
20007 (char *) "self",(char *) "flag", NULL
20010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
20011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20013 arg2
= (bool) SWIG_AsBool(obj1
);
20014 if (PyErr_Occurred()) SWIG_fail
;
20016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20017 (arg1
)->SetExitOnFrameDelete(arg2
);
20019 wxPyEndAllowThreads(__tstate
);
20020 if (PyErr_Occurred()) SWIG_fail
;
20022 Py_INCREF(Py_None
); resultobj
= Py_None
;
20029 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20030 PyObject
*resultobj
;
20031 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20033 PyObject
* obj0
= 0 ;
20034 char *kwnames
[] = {
20035 (char *) "self", NULL
20038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
20039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20043 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
20045 wxPyEndAllowThreads(__tstate
);
20046 if (PyErr_Occurred()) SWIG_fail
;
20049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20057 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20058 PyObject
*resultobj
;
20059 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20061 PyObject
* obj0
= 0 ;
20062 PyObject
* obj1
= 0 ;
20063 char *kwnames
[] = {
20064 (char *) "self",(char *) "flag", NULL
20067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
20068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20070 arg2
= (bool) SWIG_AsBool(obj1
);
20071 if (PyErr_Occurred()) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 (arg1
)->SetUseBestVisual(arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 Py_INCREF(Py_None
); resultobj
= Py_None
;
20086 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20100 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
20102 wxPyEndAllowThreads(__tstate
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20114 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20115 PyObject
*resultobj
;
20116 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20118 PyObject
* obj0
= 0 ;
20119 PyObject
* obj1
= 0 ;
20120 char *kwnames
[] = {
20121 (char *) "self",(char *) "mode", NULL
20124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20125 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20126 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20127 arg2
= (int) SWIG_AsInt(obj1
);
20128 if (PyErr_Occurred()) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 (arg1
)->SetPrintMode(arg2
);
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 Py_INCREF(Py_None
); resultobj
= Py_None
;
20143 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
20153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20157 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
20159 wxPyEndAllowThreads(__tstate
);
20160 if (PyErr_Occurred()) SWIG_fail
;
20162 resultobj
= SWIG_FromInt((int)result
);
20169 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20170 PyObject
*resultobj
;
20171 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20173 PyObject
* obj0
= 0 ;
20174 PyObject
* obj1
= 0 ;
20175 char *kwnames
[] = {
20176 (char *) "self",(char *) "mode", NULL
20179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
20180 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20181 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20182 arg2
= (int) SWIG_AsInt(obj1
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20186 (arg1
)->SetAssertMode(arg2
);
20188 wxPyEndAllowThreads(__tstate
);
20189 if (PyErr_Occurred()) SWIG_fail
;
20191 Py_INCREF(Py_None
); resultobj
= Py_None
;
20198 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20199 PyObject
*resultobj
;
20200 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20202 PyObject
* obj0
= 0 ;
20203 char *kwnames
[] = {
20204 (char *) "self", NULL
20207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
20208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20212 result
= (int)(arg1
)->GetAssertMode();
20214 wxPyEndAllowThreads(__tstate
);
20215 if (PyErr_Occurred()) SWIG_fail
;
20217 resultobj
= SWIG_FromInt((int)result
);
20224 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20225 PyObject
*resultobj
;
20227 char *kwnames
[] = {
20231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20240 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20248 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20249 PyObject
*resultobj
;
20251 char *kwnames
[] = {
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
20257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20258 result
= (long)wxPyApp::GetMacAboutMenuItemId();
20260 wxPyEndAllowThreads(__tstate
);
20261 if (PyErr_Occurred()) SWIG_fail
;
20263 resultobj
= SWIG_FromLong((long)result
);
20270 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20271 PyObject
*resultobj
;
20273 char *kwnames
[] = {
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
20279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20280 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
20282 wxPyEndAllowThreads(__tstate
);
20283 if (PyErr_Occurred()) SWIG_fail
;
20285 resultobj
= SWIG_FromLong((long)result
);
20292 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20293 PyObject
*resultobj
;
20295 char *kwnames
[] = {
20299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (long)wxPyApp::GetMacExitMenuItemId();
20304 wxPyEndAllowThreads(__tstate
);
20305 if (PyErr_Occurred()) SWIG_fail
;
20307 resultobj
= SWIG_FromLong((long)result
);
20314 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20315 PyObject
*resultobj
;
20317 char *kwnames
[] = {
20321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 result
= wxPyApp::GetMacHelpMenuTitleName();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20342 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20343 PyObject
*resultobj
;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "val", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20351 arg1
= (bool) SWIG_AsBool(obj0
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20355 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20357 wxPyEndAllowThreads(__tstate
);
20358 if (PyErr_Occurred()) SWIG_fail
;
20360 Py_INCREF(Py_None
); resultobj
= Py_None
;
20367 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20370 PyObject
* obj0
= 0 ;
20371 char *kwnames
[] = {
20372 (char *) "val", NULL
20375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20376 arg1
= (long) SWIG_AsLong(obj0
);
20377 if (PyErr_Occurred()) SWIG_fail
;
20379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20380 wxPyApp::SetMacAboutMenuItemId(arg1
);
20382 wxPyEndAllowThreads(__tstate
);
20383 if (PyErr_Occurred()) SWIG_fail
;
20385 Py_INCREF(Py_None
); resultobj
= Py_None
;
20392 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20393 PyObject
*resultobj
;
20395 PyObject
* obj0
= 0 ;
20396 char *kwnames
[] = {
20397 (char *) "val", NULL
20400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20401 arg1
= (long) SWIG_AsLong(obj0
);
20402 if (PyErr_Occurred()) SWIG_fail
;
20404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20405 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20410 Py_INCREF(Py_None
); resultobj
= Py_None
;
20417 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20418 PyObject
*resultobj
;
20420 PyObject
* obj0
= 0 ;
20421 char *kwnames
[] = {
20422 (char *) "val", NULL
20425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20426 arg1
= (long) SWIG_AsLong(obj0
);
20427 if (PyErr_Occurred()) SWIG_fail
;
20429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20430 wxPyApp::SetMacExitMenuItemId(arg1
);
20432 wxPyEndAllowThreads(__tstate
);
20433 if (PyErr_Occurred()) SWIG_fail
;
20435 Py_INCREF(Py_None
); resultobj
= Py_None
;
20442 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20443 PyObject
*resultobj
;
20444 wxString
*arg1
= 0 ;
20445 bool temp1
= False
;
20446 PyObject
* obj0
= 0 ;
20447 char *kwnames
[] = {
20448 (char *) "val", NULL
20451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20453 arg1
= wxString_in_helper(obj0
);
20454 if (arg1
== NULL
) SWIG_fail
;
20458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20459 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20461 wxPyEndAllowThreads(__tstate
);
20462 if (PyErr_Occurred()) SWIG_fail
;
20464 Py_INCREF(Py_None
); resultobj
= Py_None
;
20479 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20482 PyObject
* obj0
= 0 ;
20483 char *kwnames
[] = {
20484 (char *) "self", NULL
20487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20492 (arg1
)->_BootstrapApp();
20494 wxPyEndAllowThreads(__tstate
);
20495 if (PyErr_Occurred()) SWIG_fail
;
20497 Py_INCREF(Py_None
); resultobj
= Py_None
;
20504 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20507 char *kwnames
[] = {
20511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20514 result
= (int)wxPyApp::GetComCtl32Version();
20516 wxPyEndAllowThreads(__tstate
);
20517 if (PyErr_Occurred()) SWIG_fail
;
20519 resultobj
= SWIG_FromInt((int)result
);
20526 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20528 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20529 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20531 return Py_BuildValue((char *)"");
20533 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20534 PyObject
*resultobj
;
20535 char *kwnames
[] = {
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20557 char *kwnames
[] = {
20561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20564 result
= (bool)wxYield();
20566 wxPyEndAllowThreads(__tstate
);
20567 if (PyErr_Occurred()) SWIG_fail
;
20570 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20578 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20579 PyObject
*resultobj
;
20581 char *kwnames
[] = {
20585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20588 result
= (bool)wxYieldIfNeeded();
20590 wxPyEndAllowThreads(__tstate
);
20591 if (PyErr_Occurred()) SWIG_fail
;
20594 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20602 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20603 PyObject
*resultobj
;
20604 wxWindow
*arg1
= (wxWindow
*) NULL
;
20605 bool arg2
= (bool) False
;
20607 PyObject
* obj0
= 0 ;
20608 PyObject
* obj1
= 0 ;
20609 char *kwnames
[] = {
20610 (char *) "win",(char *) "onlyIfNeeded", NULL
20613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20619 arg2
= (bool) SWIG_AsBool(obj1
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20624 result
= (bool)wxSafeYield(arg1
,arg2
);
20626 wxPyEndAllowThreads(__tstate
);
20627 if (PyErr_Occurred()) SWIG_fail
;
20630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20638 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 char *kwnames
[] = {
20644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20649 wxPyEndAllowThreads(__tstate
);
20650 if (PyErr_Occurred()) SWIG_fail
;
20652 Py_INCREF(Py_None
); resultobj
= Py_None
;
20659 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20662 wxEvent
*arg2
= 0 ;
20663 PyObject
* obj0
= 0 ;
20664 PyObject
* obj1
= 0 ;
20665 char *kwnames
[] = {
20666 (char *) "dest",(char *) "event", NULL
20669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20672 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20673 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20675 if (arg2
== NULL
) {
20676 PyErr_SetString(PyExc_TypeError
,"null reference");
20680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20681 wxPostEvent(arg1
,*arg2
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 Py_INCREF(Py_None
); resultobj
= Py_None
;
20693 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20694 PyObject
*resultobj
;
20695 char *kwnames
[] = {
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 Py_INCREF(Py_None
); resultobj
= Py_None
;
20714 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20717 char *kwnames
[] = {
20721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20724 result
= (wxPyApp
*)wxGetApp();
20726 wxPyEndAllowThreads(__tstate
);
20727 if (PyErr_Occurred()) SWIG_fail
;
20730 resultobj
= wxPyMake_wxObject(result
);
20738 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20739 PyObject
*resultobj
;
20740 int arg1
= (int) 0 ;
20741 int arg2
= (int) 0 ;
20742 int arg3
= (int) 0 ;
20743 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20744 wxAcceleratorEntry
*result
;
20745 PyObject
* obj0
= 0 ;
20746 PyObject
* obj1
= 0 ;
20747 PyObject
* obj2
= 0 ;
20748 PyObject
* obj3
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20755 arg1
= (int) SWIG_AsInt(obj0
);
20756 if (PyErr_Occurred()) SWIG_fail
;
20759 arg2
= (int) SWIG_AsInt(obj1
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20763 arg3
= (int) SWIG_AsInt(obj2
);
20764 if (PyErr_Occurred()) SWIG_fail
;
20767 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20772 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20774 wxPyEndAllowThreads(__tstate
);
20775 if (PyErr_Occurred()) SWIG_fail
;
20777 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20784 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20785 PyObject
*resultobj
;
20786 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20787 PyObject
* obj0
= 0 ;
20788 char *kwnames
[] = {
20789 (char *) "self", NULL
20792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20799 wxPyEndAllowThreads(__tstate
);
20800 if (PyErr_Occurred()) SWIG_fail
;
20802 Py_INCREF(Py_None
); resultobj
= Py_None
;
20809 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
;
20811 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20815 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20816 PyObject
* obj0
= 0 ;
20817 PyObject
* obj1
= 0 ;
20818 PyObject
* obj2
= 0 ;
20819 PyObject
* obj3
= 0 ;
20820 PyObject
* obj4
= 0 ;
20821 char *kwnames
[] = {
20822 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20828 arg2
= (int) SWIG_AsInt(obj1
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20830 arg3
= (int) SWIG_AsInt(obj2
);
20831 if (PyErr_Occurred()) SWIG_fail
;
20832 arg4
= (int) SWIG_AsInt(obj3
);
20833 if (PyErr_Occurred()) SWIG_fail
;
20835 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20840 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20842 wxPyEndAllowThreads(__tstate
);
20843 if (PyErr_Occurred()) SWIG_fail
;
20845 Py_INCREF(Py_None
); resultobj
= Py_None
;
20852 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20853 PyObject
*resultobj
;
20854 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20855 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "item", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20869 (arg1
)->SetMenuItem(arg2
);
20871 wxPyEndAllowThreads(__tstate
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20874 Py_INCREF(Py_None
); resultobj
= Py_None
;
20881 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20882 PyObject
*resultobj
;
20883 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20884 wxMenuItem
*result
;
20885 PyObject
* obj0
= 0 ;
20886 char *kwnames
[] = {
20887 (char *) "self", NULL
20890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20901 resultobj
= wxPyMake_wxObject(result
);
20909 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20910 PyObject
*resultobj
;
20911 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20913 PyObject
* obj0
= 0 ;
20914 char *kwnames
[] = {
20915 (char *) "self", NULL
20918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20923 result
= (int)(arg1
)->GetFlags();
20925 wxPyEndAllowThreads(__tstate
);
20926 if (PyErr_Occurred()) SWIG_fail
;
20928 resultobj
= SWIG_FromInt((int)result
);
20935 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20936 PyObject
*resultobj
;
20937 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20939 PyObject
* obj0
= 0 ;
20940 char *kwnames
[] = {
20941 (char *) "self", NULL
20944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20949 result
= (int)(arg1
)->GetKeyCode();
20951 wxPyEndAllowThreads(__tstate
);
20952 if (PyErr_Occurred()) SWIG_fail
;
20954 resultobj
= SWIG_FromInt((int)result
);
20961 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20962 PyObject
*resultobj
;
20963 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20965 PyObject
* obj0
= 0 ;
20966 char *kwnames
[] = {
20967 (char *) "self", NULL
20970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20975 result
= (int)(arg1
)->GetCommand();
20977 wxPyEndAllowThreads(__tstate
);
20978 if (PyErr_Occurred()) SWIG_fail
;
20980 resultobj
= SWIG_FromInt((int)result
);
20987 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20990 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20992 return Py_BuildValue((char *)"");
20994 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20995 PyObject
*resultobj
;
20997 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20998 wxAcceleratorTable
*result
;
20999 PyObject
* obj0
= 0 ;
21000 char *kwnames
[] = {
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21006 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
21007 if (arg2
) arg1
= PyList_Size(obj0
);
21011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21012 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
21030 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21031 PyObject
*resultobj
;
21032 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21033 PyObject
* obj0
= 0 ;
21034 char *kwnames
[] = {
21035 (char *) "self", NULL
21038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
21039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 wxPyEndAllowThreads(__tstate
);
21046 if (PyErr_Occurred()) SWIG_fail
;
21048 Py_INCREF(Py_None
); resultobj
= Py_None
;
21055 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21056 PyObject
*resultobj
;
21057 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 char *kwnames
[] = {
21061 (char *) "self", NULL
21064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
21065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
21066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21069 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
21071 wxPyEndAllowThreads(__tstate
);
21072 if (PyErr_Occurred()) SWIG_fail
;
21075 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21083 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
21085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21086 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
21088 return Py_BuildValue((char *)"");
21090 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
21091 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
21096 static PyObject
*_wrap_NullAcceleratorTable_get() {
21099 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
21104 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21105 PyObject
*resultobj
;
21106 wxString
*arg1
= 0 ;
21107 wxAcceleratorEntry
*result
;
21108 bool temp1
= False
;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "label", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
21116 arg1
= wxString_in_helper(obj0
);
21117 if (arg1
== NULL
) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
21142 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
21143 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
21148 static PyObject
*_wrap_PanelNameStr_get() {
21153 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21155 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
21162 static PyObject
*_wrap_new_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
;
21164 wxVisualAttributes
*result
;
21165 char *kwnames
[] = {
21169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_VisualAttributes",kwnames
)) goto fail
;
21171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21172 result
= (wxVisualAttributes
*)new_wxVisualAttributes();
21174 wxPyEndAllowThreads(__tstate
);
21175 if (PyErr_Occurred()) SWIG_fail
;
21177 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxVisualAttributes
, 1);
21184 static PyObject
*_wrap_delete_VisualAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21187 PyObject
* obj0
= 0 ;
21188 char *kwnames
[] = {
21189 (char *) "self", NULL
21192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_VisualAttributes",kwnames
,&obj0
)) goto fail
;
21193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21197 delete_wxVisualAttributes(arg1
);
21199 wxPyEndAllowThreads(__tstate
);
21200 if (PyErr_Occurred()) SWIG_fail
;
21202 Py_INCREF(Py_None
); resultobj
= Py_None
;
21209 static PyObject
*_wrap_VisualAttributes_font_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21210 PyObject
*resultobj
;
21211 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21212 wxFont
*arg2
= (wxFont
*) 0 ;
21213 PyObject
* obj0
= 0 ;
21214 PyObject
* obj1
= 0 ;
21215 char *kwnames
[] = {
21216 (char *) "self",(char *) "font", NULL
21219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_font_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21222 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
21223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21224 if (arg1
) (arg1
)->font
= *arg2
;
21226 Py_INCREF(Py_None
); resultobj
= Py_None
;
21233 static PyObject
*_wrap_VisualAttributes_font_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21234 PyObject
*resultobj
;
21235 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21237 PyObject
* obj0
= 0 ;
21238 char *kwnames
[] = {
21239 (char *) "self", NULL
21242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_font_get",kwnames
,&obj0
)) goto fail
;
21243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 result
= (wxFont
*)& ((arg1
)->font
);
21247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
21254 static PyObject
*_wrap_VisualAttributes_colFg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21257 wxColour
*arg2
= (wxColour
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self",(char *) "colFg", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colFg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21267 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21269 if (arg1
) (arg1
)->colFg
= *arg2
;
21271 Py_INCREF(Py_None
); resultobj
= Py_None
;
21278 static PyObject
*_wrap_VisualAttributes_colFg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21279 PyObject
*resultobj
;
21280 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 char *kwnames
[] = {
21284 (char *) "self", NULL
21287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colFg_get",kwnames
,&obj0
)) goto fail
;
21288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21290 result
= (wxColour
*)& ((arg1
)->colFg
);
21292 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21299 static PyObject
*_wrap_VisualAttributes_colBg_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
;
21301 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21302 wxColour
*arg2
= (wxColour
*) 0 ;
21303 PyObject
* obj0
= 0 ;
21304 PyObject
* obj1
= 0 ;
21305 char *kwnames
[] = {
21306 (char *) "self",(char *) "colBg", NULL
21309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VisualAttributes_colBg_set",kwnames
,&obj0
,&obj1
)) goto fail
;
21310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21312 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxColour
,
21313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21314 if (arg1
) (arg1
)->colBg
= *arg2
;
21316 Py_INCREF(Py_None
); resultobj
= Py_None
;
21323 static PyObject
*_wrap_VisualAttributes_colBg_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21324 PyObject
*resultobj
;
21325 wxVisualAttributes
*arg1
= (wxVisualAttributes
*) 0 ;
21327 PyObject
* obj0
= 0 ;
21328 char *kwnames
[] = {
21329 (char *) "self", NULL
21332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:VisualAttributes_colBg_get",kwnames
,&obj0
)) goto fail
;
21333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxVisualAttributes
,
21334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21335 result
= (wxColour
*)& ((arg1
)->colBg
);
21337 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxColour
, 0);
21344 static PyObject
* VisualAttributes_swigregister(PyObject
*self
, PyObject
*args
) {
21346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
21347 SWIG_TypeClientData(SWIGTYPE_p_wxVisualAttributes
, obj
);
21349 return Py_BuildValue((char *)"");
21351 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21352 PyObject
*resultobj
;
21353 wxWindow
*arg1
= (wxWindow
*) 0 ;
21354 int arg2
= (int) (int)-1 ;
21355 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21356 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21357 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21358 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21359 long arg5
= (long) 0 ;
21360 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21361 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21365 bool temp6
= False
;
21366 PyObject
* obj0
= 0 ;
21367 PyObject
* obj1
= 0 ;
21368 PyObject
* obj2
= 0 ;
21369 PyObject
* obj3
= 0 ;
21370 PyObject
* obj4
= 0 ;
21371 PyObject
* obj5
= 0 ;
21372 char *kwnames
[] = {
21373 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21380 arg2
= (int const) SWIG_AsInt(obj1
);
21381 if (PyErr_Occurred()) SWIG_fail
;
21386 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21392 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21396 arg5
= (long) SWIG_AsLong(obj4
);
21397 if (PyErr_Occurred()) SWIG_fail
;
21401 arg6
= wxString_in_helper(obj5
);
21402 if (arg6
== NULL
) SWIG_fail
;
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21410 wxPyEndAllowThreads(__tstate
);
21411 if (PyErr_Occurred()) SWIG_fail
;
21414 resultobj
= wxPyMake_wxObject(result
);
21430 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21431 PyObject
*resultobj
;
21433 char *kwnames
[] = {
21437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
21439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21440 result
= (wxWindow
*)new wxWindow();
21442 wxPyEndAllowThreads(__tstate
);
21443 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= wxPyMake_wxObject(result
);
21454 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21455 PyObject
*resultobj
;
21456 wxWindow
*arg1
= (wxWindow
*) 0 ;
21457 wxWindow
*arg2
= (wxWindow
*) 0 ;
21458 int arg3
= (int) (int)-1 ;
21459 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21460 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21461 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21462 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21463 long arg6
= (long) 0 ;
21464 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
21465 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21469 bool temp7
= False
;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 PyObject
* obj2
= 0 ;
21473 PyObject
* obj3
= 0 ;
21474 PyObject
* obj4
= 0 ;
21475 PyObject
* obj5
= 0 ;
21476 PyObject
* obj6
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
21485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21487 arg3
= (int const) SWIG_AsInt(obj2
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21493 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21499 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21503 arg6
= (long) SWIG_AsLong(obj5
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21508 arg7
= wxString_in_helper(obj6
);
21509 if (arg7
== NULL
) SWIG_fail
;
21514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21515 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21517 wxPyEndAllowThreads(__tstate
);
21518 if (PyErr_Occurred()) SWIG_fail
;
21521 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21537 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21538 PyObject
*resultobj
;
21539 wxWindow
*arg1
= (wxWindow
*) 0 ;
21540 bool arg2
= (bool) False
;
21542 PyObject
* obj0
= 0 ;
21543 PyObject
* obj1
= 0 ;
21544 char *kwnames
[] = {
21545 (char *) "self",(char *) "force", NULL
21548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21552 arg2
= (bool) SWIG_AsBool(obj1
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21557 result
= (bool)(arg1
)->Close(arg2
);
21559 wxPyEndAllowThreads(__tstate
);
21560 if (PyErr_Occurred()) SWIG_fail
;
21563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21571 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxWindow
*arg1
= (wxWindow
*) 0 ;
21575 PyObject
* obj0
= 0 ;
21576 char *kwnames
[] = {
21577 (char *) "self", NULL
21580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 result
= (bool)(arg1
)->Destroy();
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21599 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21600 PyObject
*resultobj
;
21601 wxWindow
*arg1
= (wxWindow
*) 0 ;
21603 PyObject
* obj0
= 0 ;
21604 char *kwnames
[] = {
21605 (char *) "self", NULL
21608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21613 result
= (bool)(arg1
)->DestroyChildren();
21615 wxPyEndAllowThreads(__tstate
);
21616 if (PyErr_Occurred()) SWIG_fail
;
21619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21627 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21628 PyObject
*resultobj
;
21629 wxWindow
*arg1
= (wxWindow
*) 0 ;
21631 PyObject
* obj0
= 0 ;
21632 char *kwnames
[] = {
21633 (char *) "self", NULL
21636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21641 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21643 wxPyEndAllowThreads(__tstate
);
21644 if (PyErr_Occurred()) SWIG_fail
;
21647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21655 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21656 PyObject
*resultobj
;
21657 wxWindow
*arg1
= (wxWindow
*) 0 ;
21658 wxString
*arg2
= 0 ;
21659 bool temp2
= False
;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 char *kwnames
[] = {
21663 (char *) "self",(char *) "title", NULL
21666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21670 arg2
= wxString_in_helper(obj1
);
21671 if (arg2
== NULL
) SWIG_fail
;
21675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21676 (arg1
)->SetTitle((wxString
const &)*arg2
);
21678 wxPyEndAllowThreads(__tstate
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21681 Py_INCREF(Py_None
); resultobj
= Py_None
;
21696 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21697 PyObject
*resultobj
;
21698 wxWindow
*arg1
= (wxWindow
*) 0 ;
21700 PyObject
* obj0
= 0 ;
21701 char *kwnames
[] = {
21702 (char *) "self", NULL
21705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= ((wxWindow
const *)arg1
)->GetTitle();
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21717 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21719 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21728 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21729 PyObject
*resultobj
;
21730 wxWindow
*arg1
= (wxWindow
*) 0 ;
21731 wxString
*arg2
= 0 ;
21732 bool temp2
= False
;
21733 PyObject
* obj0
= 0 ;
21734 PyObject
* obj1
= 0 ;
21735 char *kwnames
[] = {
21736 (char *) "self",(char *) "label", NULL
21739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21743 arg2
= wxString_in_helper(obj1
);
21744 if (arg2
== NULL
) SWIG_fail
;
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 (arg1
)->SetLabel((wxString
const &)*arg2
);
21751 wxPyEndAllowThreads(__tstate
);
21752 if (PyErr_Occurred()) SWIG_fail
;
21754 Py_INCREF(Py_None
); resultobj
= Py_None
;
21769 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21770 PyObject
*resultobj
;
21771 wxWindow
*arg1
= (wxWindow
*) 0 ;
21773 PyObject
* obj0
= 0 ;
21774 char *kwnames
[] = {
21775 (char *) "self", NULL
21778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21783 result
= ((wxWindow
const *)arg1
)->GetLabel();
21785 wxPyEndAllowThreads(__tstate
);
21786 if (PyErr_Occurred()) SWIG_fail
;
21790 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21792 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21801 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxWindow
*arg1
= (wxWindow
*) 0 ;
21804 wxString
*arg2
= 0 ;
21805 bool temp2
= False
;
21806 PyObject
* obj0
= 0 ;
21807 PyObject
* obj1
= 0 ;
21808 char *kwnames
[] = {
21809 (char *) "self",(char *) "name", NULL
21812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21816 arg2
= wxString_in_helper(obj1
);
21817 if (arg2
== NULL
) SWIG_fail
;
21821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21822 (arg1
)->SetName((wxString
const &)*arg2
);
21824 wxPyEndAllowThreads(__tstate
);
21825 if (PyErr_Occurred()) SWIG_fail
;
21827 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21843 PyObject
*resultobj
;
21844 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 PyObject
* obj0
= 0 ;
21847 char *kwnames
[] = {
21848 (char *) "self", NULL
21851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21856 result
= ((wxWindow
const *)arg1
)->GetName();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21863 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21865 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21874 static PyObject
*_wrap_Window_SetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxWindow
*arg1
= (wxWindow
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 PyObject
* obj1
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self",(char *) "variant", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowVariant",kwnames
,&obj0
,&obj1
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21887 arg2
= (wxWindowVariant
) SWIG_AsInt(obj1
);
21888 if (PyErr_Occurred()) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->SetWindowVariant((wxWindowVariant
)arg2
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21903 static PyObject
*_wrap_Window_GetWindowVariant(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
;
21905 wxWindow
*arg1
= (wxWindow
*) 0 ;
21907 PyObject
* obj0
= 0 ;
21908 char *kwnames
[] = {
21909 (char *) "self", NULL
21912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowVariant",kwnames
,&obj0
)) goto fail
;
21913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= (int)((wxWindow
const *)arg1
)->GetWindowVariant();
21919 wxPyEndAllowThreads(__tstate
);
21920 if (PyErr_Occurred()) SWIG_fail
;
21922 resultobj
= SWIG_FromInt((int)result
);
21929 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21930 PyObject
*resultobj
;
21931 wxWindow
*arg1
= (wxWindow
*) 0 ;
21933 PyObject
* obj0
= 0 ;
21934 PyObject
* obj1
= 0 ;
21935 char *kwnames
[] = {
21936 (char *) "self",(char *) "winid", NULL
21939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21942 arg2
= (int) SWIG_AsInt(obj1
);
21943 if (PyErr_Occurred()) SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 (arg1
)->SetId(arg2
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 Py_INCREF(Py_None
); resultobj
= Py_None
;
21958 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxWindow
*arg1
= (wxWindow
*) 0 ;
21962 PyObject
* obj0
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 result
= (int)((wxWindow
const *)arg1
)->GetId();
21974 wxPyEndAllowThreads(__tstate
);
21975 if (PyErr_Occurred()) SWIG_fail
;
21977 resultobj
= SWIG_FromInt((int)result
);
21984 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21985 PyObject
*resultobj
;
21987 char *kwnames
[] = {
21991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= (int)wxWindow::NewControlId();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
21999 resultobj
= SWIG_FromInt((int)result
);
22006 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22007 PyObject
*resultobj
;
22010 PyObject
* obj0
= 0 ;
22011 char *kwnames
[] = {
22012 (char *) "winid", NULL
22015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
22016 arg1
= (int) SWIG_AsInt(obj0
);
22017 if (PyErr_Occurred()) SWIG_fail
;
22019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22020 result
= (int)wxWindow::NextControlId(arg1
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_FromInt((int)result
);
22032 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22033 PyObject
*resultobj
;
22036 PyObject
* obj0
= 0 ;
22037 char *kwnames
[] = {
22038 (char *) "winid", NULL
22041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
22042 arg1
= (int) SWIG_AsInt(obj0
);
22043 if (PyErr_Occurred()) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (int)wxWindow::PrevControlId(arg1
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22051 resultobj
= SWIG_FromInt((int)result
);
22058 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22059 PyObject
*resultobj
;
22060 wxWindow
*arg1
= (wxWindow
*) 0 ;
22063 PyObject
* obj0
= 0 ;
22064 PyObject
* obj1
= 0 ;
22065 char *kwnames
[] = {
22066 (char *) "self",(char *) "size", NULL
22069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22070 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22071 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22074 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22078 (arg1
)->SetSize((wxSize
const &)*arg2
);
22080 wxPyEndAllowThreads(__tstate
);
22081 if (PyErr_Occurred()) SWIG_fail
;
22083 Py_INCREF(Py_None
); resultobj
= Py_None
;
22090 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22091 PyObject
*resultobj
;
22092 wxWindow
*arg1
= (wxWindow
*) 0 ;
22097 int arg6
= (int) wxSIZE_AUTO
;
22098 PyObject
* obj0
= 0 ;
22099 PyObject
* obj1
= 0 ;
22100 PyObject
* obj2
= 0 ;
22101 PyObject
* obj3
= 0 ;
22102 PyObject
* obj4
= 0 ;
22103 PyObject
* obj5
= 0 ;
22104 char *kwnames
[] = {
22105 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
22109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22111 arg2
= (int) SWIG_AsInt(obj1
);
22112 if (PyErr_Occurred()) SWIG_fail
;
22113 arg3
= (int) SWIG_AsInt(obj2
);
22114 if (PyErr_Occurred()) SWIG_fail
;
22115 arg4
= (int) SWIG_AsInt(obj3
);
22116 if (PyErr_Occurred()) SWIG_fail
;
22117 arg5
= (int) SWIG_AsInt(obj4
);
22118 if (PyErr_Occurred()) SWIG_fail
;
22120 arg6
= (int) SWIG_AsInt(obj5
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22125 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22127 wxPyEndAllowThreads(__tstate
);
22128 if (PyErr_Occurred()) SWIG_fail
;
22130 Py_INCREF(Py_None
); resultobj
= Py_None
;
22137 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxWindow
*arg1
= (wxWindow
*) 0 ;
22141 int arg3
= (int) wxSIZE_AUTO
;
22143 PyObject
* obj0
= 0 ;
22144 PyObject
* obj1
= 0 ;
22145 PyObject
* obj2
= 0 ;
22146 char *kwnames
[] = {
22147 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
22150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22155 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22158 arg3
= (int) SWIG_AsInt(obj2
);
22159 if (PyErr_Occurred()) SWIG_fail
;
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
22165 wxPyEndAllowThreads(__tstate
);
22166 if (PyErr_Occurred()) SWIG_fail
;
22168 Py_INCREF(Py_None
); resultobj
= Py_None
;
22175 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22176 PyObject
*resultobj
;
22177 wxWindow
*arg1
= (wxWindow
*) 0 ;
22180 PyObject
* obj0
= 0 ;
22181 PyObject
* obj1
= 0 ;
22182 PyObject
* obj2
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "width",(char *) "height", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22189 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22190 arg2
= (int) SWIG_AsInt(obj1
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22192 arg3
= (int) SWIG_AsInt(obj2
);
22193 if (PyErr_Occurred()) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->SetSize(arg2
,arg3
);
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxWindow
*arg1
= (wxWindow
*) 0 ;
22211 wxPoint
*arg2
= 0 ;
22212 int arg3
= (int) wxSIZE_USE_EXISTING
;
22214 PyObject
* obj0
= 0 ;
22215 PyObject
* obj1
= 0 ;
22216 PyObject
* obj2
= 0 ;
22217 char *kwnames
[] = {
22218 (char *) "self",(char *) "pt",(char *) "flags", NULL
22221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22229 arg3
= (int) SWIG_AsInt(obj2
);
22230 if (PyErr_Occurred()) SWIG_fail
;
22233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22234 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
22236 wxPyEndAllowThreads(__tstate
);
22237 if (PyErr_Occurred()) SWIG_fail
;
22239 Py_INCREF(Py_None
); resultobj
= Py_None
;
22246 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22247 PyObject
*resultobj
;
22248 wxWindow
*arg1
= (wxWindow
*) 0 ;
22251 int arg4
= (int) wxSIZE_USE_EXISTING
;
22252 PyObject
* obj0
= 0 ;
22253 PyObject
* obj1
= 0 ;
22254 PyObject
* obj2
= 0 ;
22255 PyObject
* obj3
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22263 arg2
= (int) SWIG_AsInt(obj1
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22265 arg3
= (int) SWIG_AsInt(obj2
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 arg4
= (int) SWIG_AsInt(obj3
);
22269 if (PyErr_Occurred()) SWIG_fail
;
22272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22273 (arg1
)->Move(arg2
,arg3
,arg4
);
22275 wxPyEndAllowThreads(__tstate
);
22276 if (PyErr_Occurred()) SWIG_fail
;
22278 Py_INCREF(Py_None
); resultobj
= Py_None
;
22285 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22286 PyObject
*resultobj
;
22287 wxWindow
*arg1
= (wxWindow
*) 0 ;
22288 PyObject
* obj0
= 0 ;
22289 char *kwnames
[] = {
22290 (char *) "self", NULL
22293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
22294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 wxPyEndAllowThreads(__tstate
);
22301 if (PyErr_Occurred()) SWIG_fail
;
22303 Py_INCREF(Py_None
); resultobj
= Py_None
;
22310 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22311 PyObject
*resultobj
;
22312 wxWindow
*arg1
= (wxWindow
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 wxPyEndAllowThreads(__tstate
);
22326 if (PyErr_Occurred()) SWIG_fail
;
22328 Py_INCREF(Py_None
); resultobj
= Py_None
;
22335 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22336 PyObject
*resultobj
;
22337 wxWindow
*arg1
= (wxWindow
*) 0 ;
22340 PyObject
* obj0
= 0 ;
22341 PyObject
* obj1
= 0 ;
22342 char *kwnames
[] = {
22343 (char *) "self",(char *) "size", NULL
22346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22351 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22355 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
22357 wxPyEndAllowThreads(__tstate
);
22358 if (PyErr_Occurred()) SWIG_fail
;
22360 Py_INCREF(Py_None
); resultobj
= Py_None
;
22367 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22368 PyObject
*resultobj
;
22369 wxWindow
*arg1
= (wxWindow
*) 0 ;
22372 PyObject
* obj0
= 0 ;
22373 PyObject
* obj1
= 0 ;
22374 PyObject
* obj2
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self",(char *) "width",(char *) "height", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22382 arg2
= (int) SWIG_AsInt(obj1
);
22383 if (PyErr_Occurred()) SWIG_fail
;
22384 arg3
= (int) SWIG_AsInt(obj2
);
22385 if (PyErr_Occurred()) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22388 (arg1
)->SetClientSize(arg2
,arg3
);
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxWindow
*arg1
= (wxWindow
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 PyObject
* obj1
= 0 ;
22407 char *kwnames
[] = {
22408 (char *) "self",(char *) "rect", NULL
22411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22416 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxWindow
*arg1
= (wxWindow
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 result
= (arg1
)->GetPosition();
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22452 wxPoint
* resultptr
;
22453 resultptr
= new wxPoint((wxPoint
&) result
);
22454 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22462 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22463 PyObject
*resultobj
;
22464 wxWindow
*arg1
= (wxWindow
*) 0 ;
22465 int *arg2
= (int *) 0 ;
22466 int *arg3
= (int *) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
22477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22481 (arg1
)->GetPosition(arg2
,arg3
);
22483 wxPyEndAllowThreads(__tstate
);
22484 if (PyErr_Occurred()) SWIG_fail
;
22486 Py_INCREF(Py_None
); resultobj
= Py_None
;
22488 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22489 resultobj
= t_output_helper(resultobj
,o
);
22492 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22493 resultobj
= t_output_helper(resultobj
,o
);
22501 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22502 PyObject
*resultobj
;
22503 wxWindow
*arg1
= (wxWindow
*) 0 ;
22505 PyObject
* obj0
= 0 ;
22506 char *kwnames
[] = {
22507 (char *) "self", NULL
22510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
22511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22515 result
= ((wxWindow
const *)arg1
)->GetSize();
22517 wxPyEndAllowThreads(__tstate
);
22518 if (PyErr_Occurred()) SWIG_fail
;
22521 wxSize
* resultptr
;
22522 resultptr
= new wxSize((wxSize
&) result
);
22523 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22531 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22532 PyObject
*resultobj
;
22533 wxWindow
*arg1
= (wxWindow
*) 0 ;
22534 int *arg2
= (int *) 0 ;
22535 int *arg3
= (int *) 0 ;
22538 PyObject
* obj0
= 0 ;
22539 char *kwnames
[] = {
22540 (char *) "self", NULL
22545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
22546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22550 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
22552 wxPyEndAllowThreads(__tstate
);
22553 if (PyErr_Occurred()) SWIG_fail
;
22555 Py_INCREF(Py_None
); resultobj
= Py_None
;
22557 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22558 resultobj
= t_output_helper(resultobj
,o
);
22561 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22562 resultobj
= t_output_helper(resultobj
,o
);
22570 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22571 PyObject
*resultobj
;
22572 wxWindow
*arg1
= (wxWindow
*) 0 ;
22574 PyObject
* obj0
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 result
= ((wxWindow
const *)arg1
)->GetRect();
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22590 wxRect
* resultptr
;
22591 resultptr
= new wxRect((wxRect
&) result
);
22592 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22600 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22601 PyObject
*resultobj
;
22602 wxWindow
*arg1
= (wxWindow
*) 0 ;
22604 PyObject
* obj0
= 0 ;
22605 char *kwnames
[] = {
22606 (char *) "self", NULL
22609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22614 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22616 wxPyEndAllowThreads(__tstate
);
22617 if (PyErr_Occurred()) SWIG_fail
;
22620 wxSize
* resultptr
;
22621 resultptr
= new wxSize((wxSize
&) result
);
22622 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22630 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22631 PyObject
*resultobj
;
22632 wxWindow
*arg1
= (wxWindow
*) 0 ;
22633 int *arg2
= (int *) 0 ;
22634 int *arg3
= (int *) 0 ;
22637 PyObject
* obj0
= 0 ;
22638 char *kwnames
[] = {
22639 (char *) "self", NULL
22644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22657 resultobj
= t_output_helper(resultobj
,o
);
22660 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22661 resultobj
= t_output_helper(resultobj
,o
);
22669 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22670 PyObject
*resultobj
;
22671 wxWindow
*arg1
= (wxWindow
*) 0 ;
22673 PyObject
* obj0
= 0 ;
22674 char *kwnames
[] = {
22675 (char *) "self", NULL
22678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22683 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22685 wxPyEndAllowThreads(__tstate
);
22686 if (PyErr_Occurred()) SWIG_fail
;
22689 wxPoint
* resultptr
;
22690 resultptr
= new wxPoint((wxPoint
&) result
);
22691 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22699 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxWindow
*arg1
= (wxWindow
*) 0 ;
22703 PyObject
* obj0
= 0 ;
22704 char *kwnames
[] = {
22705 (char *) "self", NULL
22708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22719 wxRect
* resultptr
;
22720 resultptr
= new wxRect((wxRect
&) result
);
22721 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22729 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22730 PyObject
*resultobj
;
22731 wxWindow
*arg1
= (wxWindow
*) 0 ;
22733 PyObject
* obj0
= 0 ;
22734 char *kwnames
[] = {
22735 (char *) "self", NULL
22738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22743 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22745 wxPyEndAllowThreads(__tstate
);
22746 if (PyErr_Occurred()) SWIG_fail
;
22749 wxSize
* resultptr
;
22750 resultptr
= new wxSize((wxSize
&) result
);
22751 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22759 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22760 PyObject
*resultobj
;
22761 wxWindow
*arg1
= (wxWindow
*) 0 ;
22762 int *arg2
= (int *) 0 ;
22763 int *arg3
= (int *) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 char *kwnames
[] = {
22768 (char *) "self", NULL
22773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22778 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22780 wxPyEndAllowThreads(__tstate
);
22781 if (PyErr_Occurred()) SWIG_fail
;
22783 Py_INCREF(Py_None
); resultobj
= Py_None
;
22785 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22786 resultobj
= t_output_helper(resultobj
,o
);
22789 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22790 resultobj
= t_output_helper(resultobj
,o
);
22798 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22799 PyObject
*resultobj
;
22800 wxWindow
*arg1
= (wxWindow
*) 0 ;
22802 PyObject
* obj0
= 0 ;
22803 char *kwnames
[] = {
22804 (char *) "self", NULL
22807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22812 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22814 wxPyEndAllowThreads(__tstate
);
22815 if (PyErr_Occurred()) SWIG_fail
;
22818 wxSize
* resultptr
;
22819 resultptr
= new wxSize((wxSize
&) result
);
22820 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22828 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22829 PyObject
*resultobj
;
22830 wxWindow
*arg1
= (wxWindow
*) 0 ;
22831 int arg2
= (int) wxBOTH
;
22832 PyObject
* obj0
= 0 ;
22833 PyObject
* obj1
= 0 ;
22834 char *kwnames
[] = {
22835 (char *) "self",(char *) "direction", NULL
22838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22842 arg2
= (int) SWIG_AsInt(obj1
);
22843 if (PyErr_Occurred()) SWIG_fail
;
22846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22847 (arg1
)->Center(arg2
);
22849 wxPyEndAllowThreads(__tstate
);
22850 if (PyErr_Occurred()) SWIG_fail
;
22852 Py_INCREF(Py_None
); resultobj
= Py_None
;
22859 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22860 PyObject
*resultobj
;
22861 wxWindow
*arg1
= (wxWindow
*) 0 ;
22862 int arg2
= (int) wxBOTH
;
22863 PyObject
* obj0
= 0 ;
22864 PyObject
* obj1
= 0 ;
22865 char *kwnames
[] = {
22866 (char *) "self",(char *) "dir", NULL
22869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22873 arg2
= (int) SWIG_AsInt(obj1
);
22874 if (PyErr_Occurred()) SWIG_fail
;
22877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22878 (arg1
)->CenterOnScreen(arg2
);
22880 wxPyEndAllowThreads(__tstate
);
22881 if (PyErr_Occurred()) SWIG_fail
;
22883 Py_INCREF(Py_None
); resultobj
= Py_None
;
22890 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22891 PyObject
*resultobj
;
22892 wxWindow
*arg1
= (wxWindow
*) 0 ;
22893 int arg2
= (int) wxBOTH
;
22894 PyObject
* obj0
= 0 ;
22895 PyObject
* obj1
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self",(char *) "dir", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22904 arg2
= (int) SWIG_AsInt(obj1
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 (arg1
)->CenterOnParent(arg2
);
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 Py_INCREF(Py_None
); resultobj
= Py_None
;
22921 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxWindow
*arg1
= (wxWindow
*) 0 ;
22924 PyObject
* obj0
= 0 ;
22925 char *kwnames
[] = {
22926 (char *) "self", NULL
22929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 Py_INCREF(Py_None
); resultobj
= Py_None
;
22946 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22947 PyObject
*resultobj
;
22948 wxWindow
*arg1
= (wxWindow
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22959 (arg1
)->FitInside();
22961 wxPyEndAllowThreads(__tstate
);
22962 if (PyErr_Occurred()) SWIG_fail
;
22964 Py_INCREF(Py_None
); resultobj
= Py_None
;
22971 static PyObject
*_wrap_Window_SetSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
22972 PyObject
*resultobj
;
22973 wxWindow
*arg1
= (wxWindow
*) 0 ;
22976 int arg4
= (int) -1 ;
22977 int arg5
= (int) -1 ;
22978 int arg6
= (int) -1 ;
22979 int arg7
= (int) -1 ;
22980 PyObject
* obj0
= 0 ;
22981 PyObject
* obj1
= 0 ;
22982 PyObject
* obj2
= 0 ;
22983 PyObject
* obj3
= 0 ;
22984 PyObject
* obj4
= 0 ;
22985 PyObject
* obj5
= 0 ;
22986 PyObject
* obj6
= 0 ;
22988 if(!PyArg_ParseTuple(args
,(char *)"OOO|OOOO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 arg2
= (int) SWIG_AsInt(obj1
);
22992 if (PyErr_Occurred()) SWIG_fail
;
22993 arg3
= (int) SWIG_AsInt(obj2
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 arg4
= (int) SWIG_AsInt(obj3
);
22997 if (PyErr_Occurred()) SWIG_fail
;
23000 arg5
= (int) SWIG_AsInt(obj4
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23004 arg6
= (int) SWIG_AsInt(obj5
);
23005 if (PyErr_Occurred()) SWIG_fail
;
23008 arg7
= (int) SWIG_AsInt(obj6
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 Py_INCREF(Py_None
); resultobj
= Py_None
;
23025 static PyObject
*_wrap_Window_SetSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23026 PyObject
*resultobj
;
23027 wxWindow
*arg1
= (wxWindow
*) 0 ;
23029 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23030 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
23032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
23036 PyObject
* obj0
= 0 ;
23037 PyObject
* obj1
= 0 ;
23038 PyObject
* obj2
= 0 ;
23039 PyObject
* obj3
= 0 ;
23041 if(!PyArg_ParseTuple(args
,(char *)"OO|OO:Window_SetSizeHints",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23046 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23051 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23057 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23062 (arg1
)->SetSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
,(wxSize
const &)*arg4
);
23064 wxPyEndAllowThreads(__tstate
);
23065 if (PyErr_Occurred()) SWIG_fail
;
23067 Py_INCREF(Py_None
); resultobj
= Py_None
;
23074 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
) {
23079 argc
= PyObject_Length(args
);
23080 for (ii
= 0; (ii
< argc
) && (ii
< 7); ii
++) {
23081 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23083 if ((argc
>= 2) && (argc
<= 4)) {
23087 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23096 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23100 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23103 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23107 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23110 _v
= wxPySimple_typecheck(argv
[3], wxT("wxSize"), 2);
23113 return _wrap_Window_SetSizeHints__SWIG_1(self
,args
);
23119 if ((argc
>= 3) && (argc
<= 7)) {
23123 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23131 _v
= SWIG_CheckInt(argv
[1]);
23133 _v
= SWIG_CheckInt(argv
[2]);
23136 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23138 _v
= SWIG_CheckInt(argv
[3]);
23141 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23143 _v
= SWIG_CheckInt(argv
[4]);
23146 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23148 _v
= SWIG_CheckInt(argv
[5]);
23151 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23153 _v
= SWIG_CheckInt(argv
[6]);
23155 return _wrap_Window_SetSizeHints__SWIG_0(self
,args
);
23165 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetSizeHints'");
23170 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_0(PyObject
*self
, PyObject
*args
) {
23171 PyObject
*resultobj
;
23172 wxWindow
*arg1
= (wxWindow
*) 0 ;
23175 int arg4
= (int) -1 ;
23176 int arg5
= (int) -1 ;
23177 PyObject
* obj0
= 0 ;
23178 PyObject
* obj1
= 0 ;
23179 PyObject
* obj2
= 0 ;
23180 PyObject
* obj3
= 0 ;
23181 PyObject
* obj4
= 0 ;
23183 if(!PyArg_ParseTuple(args
,(char *)"OOO|OO:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
23184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 arg2
= (int) SWIG_AsInt(obj1
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23188 arg3
= (int) SWIG_AsInt(obj2
);
23189 if (PyErr_Occurred()) SWIG_fail
;
23191 arg4
= (int) SWIG_AsInt(obj3
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23195 arg5
= (int) SWIG_AsInt(obj4
);
23196 if (PyErr_Occurred()) SWIG_fail
;
23199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23200 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
23202 wxPyEndAllowThreads(__tstate
);
23203 if (PyErr_Occurred()) SWIG_fail
;
23205 Py_INCREF(Py_None
); resultobj
= Py_None
;
23212 static PyObject
*_wrap_Window_SetVirtualSizeHints__SWIG_1(PyObject
*self
, PyObject
*args
) {
23213 PyObject
*resultobj
;
23214 wxWindow
*arg1
= (wxWindow
*) 0 ;
23216 wxSize
const &arg3_defvalue
= wxDefaultSize
;
23217 wxSize
*arg3
= (wxSize
*) &arg3_defvalue
;
23220 PyObject
* obj0
= 0 ;
23221 PyObject
* obj1
= 0 ;
23222 PyObject
* obj2
= 0 ;
23224 if(!PyArg_ParseTuple(args
,(char *)"OO|O:Window_SetVirtualSizeHints",&obj0
,&obj1
,&obj2
)) goto fail
;
23225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23234 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 (arg1
)->SetVirtualSizeHints((wxSize
const &)*arg2
,(wxSize
const &)*arg3
);
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
) {
23256 argc
= PyObject_Length(args
);
23257 for (ii
= 0; (ii
< argc
) && (ii
< 5); ii
++) {
23258 argv
[ii
] = PyTuple_GetItem(args
,ii
);
23260 if ((argc
>= 2) && (argc
<= 3)) {
23264 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23273 _v
= wxPySimple_typecheck(argv
[1], wxT("wxSize"), 2);
23277 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23280 _v
= wxPySimple_typecheck(argv
[2], wxT("wxSize"), 2);
23283 return _wrap_Window_SetVirtualSizeHints__SWIG_1(self
,args
);
23288 if ((argc
>= 3) && (argc
<= 5)) {
23292 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
23300 _v
= SWIG_CheckInt(argv
[1]);
23302 _v
= SWIG_CheckInt(argv
[2]);
23305 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23307 _v
= SWIG_CheckInt(argv
[3]);
23310 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23312 _v
= SWIG_CheckInt(argv
[4]);
23314 return _wrap_Window_SetVirtualSizeHints__SWIG_0(self
,args
);
23322 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_SetVirtualSizeHints'");
23327 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxWindow
*arg1
= (wxWindow
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23341 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23346 resultobj
= SWIG_FromInt((int)result
);
23353 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 PyObject
* obj0
= 0 ;
23358 char *kwnames
[] = {
23359 (char *) "self", NULL
23362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
23363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23367 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
23369 wxPyEndAllowThreads(__tstate
);
23370 if (PyErr_Occurred()) SWIG_fail
;
23372 resultobj
= SWIG_FromInt((int)result
);
23379 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23380 PyObject
*resultobj
;
23381 wxWindow
*arg1
= (wxWindow
*) 0 ;
23383 PyObject
* obj0
= 0 ;
23384 char *kwnames
[] = {
23385 (char *) "self", NULL
23388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
23389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23393 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
23395 wxPyEndAllowThreads(__tstate
);
23396 if (PyErr_Occurred()) SWIG_fail
;
23398 resultobj
= SWIG_FromInt((int)result
);
23405 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23406 PyObject
*resultobj
;
23407 wxWindow
*arg1
= (wxWindow
*) 0 ;
23409 PyObject
* obj0
= 0 ;
23410 char *kwnames
[] = {
23411 (char *) "self", NULL
23414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
23415 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23416 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= SWIG_FromInt((int)result
);
23431 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23435 PyObject
* obj0
= 0 ;
23436 char *kwnames
[] = {
23437 (char *) "self", NULL
23440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
23441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23445 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
23447 wxPyEndAllowThreads(__tstate
);
23448 if (PyErr_Occurred()) SWIG_fail
;
23451 wxSize
* resultptr
;
23452 resultptr
= new wxSize((wxSize
&) result
);
23453 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23461 static PyObject
*_wrap_Window_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23465 PyObject
* obj0
= 0 ;
23466 char *kwnames
[] = {
23467 (char *) "self", NULL
23470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinSize",kwnames
,&obj0
)) goto fail
;
23471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= ((wxWindow
const *)arg1
)->GetMinSize();
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23481 wxSize
* resultptr
;
23482 resultptr
= new wxSize((wxSize
&) result
);
23483 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23491 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23492 PyObject
*resultobj
;
23493 wxWindow
*arg1
= (wxWindow
*) 0 ;
23496 PyObject
* obj0
= 0 ;
23497 PyObject
* obj1
= 0 ;
23498 char *kwnames
[] = {
23499 (char *) "self",(char *) "size", NULL
23502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
23503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23507 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23511 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 Py_INCREF(Py_None
); resultobj
= Py_None
;
23523 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23524 PyObject
*resultobj
;
23525 wxWindow
*arg1
= (wxWindow
*) 0 ;
23528 PyObject
* obj0
= 0 ;
23529 PyObject
* obj1
= 0 ;
23530 PyObject
* obj2
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "w",(char *) "h", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 arg2
= (int) SWIG_AsInt(obj1
);
23539 if (PyErr_Occurred()) SWIG_fail
;
23540 arg3
= (int) SWIG_AsInt(obj2
);
23541 if (PyErr_Occurred()) SWIG_fail
;
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 (arg1
)->SetVirtualSize(arg2
,arg3
);
23546 wxPyEndAllowThreads(__tstate
);
23547 if (PyErr_Occurred()) SWIG_fail
;
23549 Py_INCREF(Py_None
); resultobj
= Py_None
;
23556 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23557 PyObject
*resultobj
;
23558 wxWindow
*arg1
= (wxWindow
*) 0 ;
23560 PyObject
* obj0
= 0 ;
23561 char *kwnames
[] = {
23562 (char *) "self", NULL
23565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
23566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23570 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
23572 wxPyEndAllowThreads(__tstate
);
23573 if (PyErr_Occurred()) SWIG_fail
;
23576 wxSize
* resultptr
;
23577 resultptr
= new wxSize((wxSize
&) result
);
23578 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23586 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23587 PyObject
*resultobj
;
23588 wxWindow
*arg1
= (wxWindow
*) 0 ;
23589 int *arg2
= (int *) 0 ;
23590 int *arg3
= (int *) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23605 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
23607 wxPyEndAllowThreads(__tstate
);
23608 if (PyErr_Occurred()) SWIG_fail
;
23610 Py_INCREF(Py_None
); resultobj
= Py_None
;
23612 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23613 resultobj
= t_output_helper(resultobj
,o
);
23616 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23617 resultobj
= t_output_helper(resultobj
,o
);
23625 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23626 PyObject
*resultobj
;
23627 wxWindow
*arg1
= (wxWindow
*) 0 ;
23629 PyObject
* obj0
= 0 ;
23630 char *kwnames
[] = {
23631 (char *) "self", NULL
23634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
23635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23639 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
23641 wxPyEndAllowThreads(__tstate
);
23642 if (PyErr_Occurred()) SWIG_fail
;
23645 wxSize
* resultptr
;
23646 resultptr
= new wxSize((wxSize
&) result
);
23647 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
23655 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23656 PyObject
*resultobj
;
23657 wxWindow
*arg1
= (wxWindow
*) 0 ;
23658 bool arg2
= (bool) True
;
23660 PyObject
* obj0
= 0 ;
23661 PyObject
* obj1
= 0 ;
23662 char *kwnames
[] = {
23663 (char *) "self",(char *) "show", NULL
23666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
23667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23670 arg2
= (bool) SWIG_AsBool(obj1
);
23671 if (PyErr_Occurred()) SWIG_fail
;
23674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23675 result
= (bool)(arg1
)->Show(arg2
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23689 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23690 PyObject
*resultobj
;
23691 wxWindow
*arg1
= (wxWindow
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 result
= (bool)(arg1
)->Hide();
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23717 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23718 PyObject
*resultobj
;
23719 wxWindow
*arg1
= (wxWindow
*) 0 ;
23720 bool arg2
= (bool) True
;
23722 PyObject
* obj0
= 0 ;
23723 PyObject
* obj1
= 0 ;
23724 char *kwnames
[] = {
23725 (char *) "self",(char *) "enable", NULL
23728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
23729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 arg2
= (bool) SWIG_AsBool(obj1
);
23733 if (PyErr_Occurred()) SWIG_fail
;
23736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23737 result
= (bool)(arg1
)->Enable(arg2
);
23739 wxPyEndAllowThreads(__tstate
);
23740 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23751 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23752 PyObject
*resultobj
;
23753 wxWindow
*arg1
= (wxWindow
*) 0 ;
23755 PyObject
* obj0
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 result
= (bool)(arg1
)->Disable();
23767 wxPyEndAllowThreads(__tstate
);
23768 if (PyErr_Occurred()) SWIG_fail
;
23771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23779 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23780 PyObject
*resultobj
;
23781 wxWindow
*arg1
= (wxWindow
*) 0 ;
23783 PyObject
* obj0
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23807 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23808 PyObject
*resultobj
;
23809 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 char *kwnames
[] = {
23813 (char *) "self", NULL
23816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
23817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23821 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
23823 wxPyEndAllowThreads(__tstate
);
23824 if (PyErr_Occurred()) SWIG_fail
;
23827 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23835 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23836 PyObject
*resultobj
;
23837 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 PyObject
* obj0
= 0 ;
23840 PyObject
* obj1
= 0 ;
23841 char *kwnames
[] = {
23842 (char *) "self",(char *) "style", NULL
23845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23848 arg2
= (long) SWIG_AsLong(obj1
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23852 (arg1
)->SetWindowStyleFlag(arg2
);
23854 wxPyEndAllowThreads(__tstate
);
23855 if (PyErr_Occurred()) SWIG_fail
;
23857 Py_INCREF(Py_None
); resultobj
= Py_None
;
23864 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23865 PyObject
*resultobj
;
23866 wxWindow
*arg1
= (wxWindow
*) 0 ;
23868 PyObject
* obj0
= 0 ;
23869 char *kwnames
[] = {
23870 (char *) "self", NULL
23873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
23874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23878 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
23880 wxPyEndAllowThreads(__tstate
);
23881 if (PyErr_Occurred()) SWIG_fail
;
23883 resultobj
= SWIG_FromLong((long)result
);
23890 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23891 PyObject
*resultobj
;
23892 wxWindow
*arg1
= (wxWindow
*) 0 ;
23895 PyObject
* obj0
= 0 ;
23896 PyObject
* obj1
= 0 ;
23897 char *kwnames
[] = {
23898 (char *) "self",(char *) "flag", NULL
23901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23904 arg2
= (int) SWIG_AsInt(obj1
);
23905 if (PyErr_Occurred()) SWIG_fail
;
23907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23908 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23922 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23923 PyObject
*resultobj
;
23924 wxWindow
*arg1
= (wxWindow
*) 0 ;
23926 PyObject
* obj0
= 0 ;
23927 char *kwnames
[] = {
23928 (char *) "self", NULL
23931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23936 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23938 wxPyEndAllowThreads(__tstate
);
23939 if (PyErr_Occurred()) SWIG_fail
;
23942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23950 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23951 PyObject
*resultobj
;
23952 wxWindow
*arg1
= (wxWindow
*) 0 ;
23954 PyObject
* obj0
= 0 ;
23955 PyObject
* obj1
= 0 ;
23956 char *kwnames
[] = {
23957 (char *) "self",(char *) "exStyle", NULL
23960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23963 arg2
= (long) SWIG_AsLong(obj1
);
23964 if (PyErr_Occurred()) SWIG_fail
;
23966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23967 (arg1
)->SetExtraStyle(arg2
);
23969 wxPyEndAllowThreads(__tstate
);
23970 if (PyErr_Occurred()) SWIG_fail
;
23972 Py_INCREF(Py_None
); resultobj
= Py_None
;
23979 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23980 PyObject
*resultobj
;
23981 wxWindow
*arg1
= (wxWindow
*) 0 ;
23983 PyObject
* obj0
= 0 ;
23984 char *kwnames
[] = {
23985 (char *) "self", NULL
23988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23993 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 resultobj
= SWIG_FromLong((long)result
);
24005 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24006 PyObject
*resultobj
;
24007 wxWindow
*arg1
= (wxWindow
*) 0 ;
24008 bool arg2
= (bool) True
;
24009 PyObject
* obj0
= 0 ;
24010 PyObject
* obj1
= 0 ;
24011 char *kwnames
[] = {
24012 (char *) "self",(char *) "modal", NULL
24015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24019 arg2
= (bool) SWIG_AsBool(obj1
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24024 (arg1
)->MakeModal(arg2
);
24026 wxPyEndAllowThreads(__tstate
);
24027 if (PyErr_Occurred()) SWIG_fail
;
24029 Py_INCREF(Py_None
); resultobj
= Py_None
;
24036 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24037 PyObject
*resultobj
;
24038 wxWindow
*arg1
= (wxWindow
*) 0 ;
24040 PyObject
* obj0
= 0 ;
24041 PyObject
* obj1
= 0 ;
24042 char *kwnames
[] = {
24043 (char *) "self",(char *) "enableTheme", NULL
24046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
24047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24049 arg2
= (bool) SWIG_AsBool(obj1
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24053 (arg1
)->SetThemeEnabled(arg2
);
24055 wxPyEndAllowThreads(__tstate
);
24056 if (PyErr_Occurred()) SWIG_fail
;
24058 Py_INCREF(Py_None
); resultobj
= Py_None
;
24065 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 char *kwnames
[] = {
24071 (char *) "self", NULL
24074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
24075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24079 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
24081 wxPyEndAllowThreads(__tstate
);
24082 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24093 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24094 PyObject
*resultobj
;
24095 wxWindow
*arg1
= (wxWindow
*) 0 ;
24096 PyObject
* obj0
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "self", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",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 (arg1
)->SetFocus();
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24111 Py_INCREF(Py_None
); resultobj
= Py_None
;
24118 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24119 PyObject
*resultobj
;
24120 wxWindow
*arg1
= (wxWindow
*) 0 ;
24121 PyObject
* obj0
= 0 ;
24122 char *kwnames
[] = {
24123 (char *) "self", NULL
24126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
24127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24131 (arg1
)->SetFocusFromKbd();
24133 wxPyEndAllowThreads(__tstate
);
24134 if (PyErr_Occurred()) SWIG_fail
;
24136 Py_INCREF(Py_None
); resultobj
= Py_None
;
24143 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24146 char *kwnames
[] = {
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
24152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24153 result
= (wxWindow
*)wxWindow::FindFocus();
24155 wxPyEndAllowThreads(__tstate
);
24156 if (PyErr_Occurred()) SWIG_fail
;
24159 resultobj
= wxPyMake_wxObject(result
);
24167 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24168 PyObject
*resultobj
;
24169 wxWindow
*arg1
= (wxWindow
*) 0 ;
24171 PyObject
* obj0
= 0 ;
24172 char *kwnames
[] = {
24173 (char *) "self", NULL
24176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
24177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
24183 wxPyEndAllowThreads(__tstate
);
24184 if (PyErr_Occurred()) SWIG_fail
;
24187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24195 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxWindow
*arg1
= (wxWindow
*) 0 ;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24209 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
24211 wxPyEndAllowThreads(__tstate
);
24212 if (PyErr_Occurred()) SWIG_fail
;
24215 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24223 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24224 PyObject
*resultobj
;
24225 wxWindow
*arg1
= (wxWindow
*) 0 ;
24227 PyObject
* obj0
= 0 ;
24228 char *kwnames
[] = {
24229 (char *) "self", NULL
24232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
24233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24243 resultobj
= wxPyMake_wxObject(result
);
24251 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24252 PyObject
*resultobj
;
24253 wxWindow
*arg1
= (wxWindow
*) 0 ;
24254 wxWindow
*arg2
= (wxWindow
*) 0 ;
24256 PyObject
* obj0
= 0 ;
24257 PyObject
* obj1
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "child", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= wxPyMake_wxObject(result
);
24283 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxWindow
*arg1
= (wxWindow
*) 0 ;
24286 wxWindow
*arg2
= (wxWindow
*) 0 ;
24287 PyObject
* obj0
= 0 ;
24288 PyObject
* obj1
= 0 ;
24289 char *kwnames
[] = {
24290 (char *) "self",(char *) "win", NULL
24293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24296 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 (arg1
)->SetTmpDefaultItem(arg2
);
24302 wxPyEndAllowThreads(__tstate
);
24303 if (PyErr_Occurred()) SWIG_fail
;
24305 Py_INCREF(Py_None
); resultobj
= Py_None
;
24312 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxWindow
*arg1
= (wxWindow
*) 0 ;
24316 PyObject
* obj0
= 0 ;
24317 char *kwnames
[] = {
24318 (char *) "self", NULL
24321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
24322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24326 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
24328 wxPyEndAllowThreads(__tstate
);
24329 if (PyErr_Occurred()) SWIG_fail
;
24331 resultobj
= result
;
24338 static PyObject
*_wrap_Window_GetParent(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_GetParent",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
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= wxPyMake_wxObject(result
);
24366 static PyObject
*_wrap_Window_GetGrandParent(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_GetGrandParent",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
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
24382 wxPyEndAllowThreads(__tstate
);
24383 if (PyErr_Occurred()) SWIG_fail
;
24386 resultobj
= wxPyMake_wxObject(result
);
24394 static PyObject
*_wrap_Window_IsTopLevel(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_IsTopLevel",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
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24422 static PyObject
*_wrap_Window_Reparent(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 *) "newParent", NULL
24433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",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
= (bool)(arg1
)->Reparent(arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24446 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24454 static PyObject
*_wrap_Window_AddChild(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 *) "child", NULL
24464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",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
)->AddChild(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 Py_INCREF(Py_None
); resultobj
= Py_None
;
24483 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
;
24485 wxWindow
*arg1
= (wxWindow
*) 0 ;
24486 wxWindow
*arg2
= (wxWindow
*) 0 ;
24487 PyObject
* obj0
= 0 ;
24488 PyObject
* obj1
= 0 ;
24489 char *kwnames
[] = {
24490 (char *) "self",(char *) "child", NULL
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
24494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24496 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
24497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24500 (arg1
)->RemoveChild(arg2
);
24502 wxPyEndAllowThreads(__tstate
);
24503 if (PyErr_Occurred()) SWIG_fail
;
24505 Py_INCREF(Py_None
); resultobj
= Py_None
;
24512 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24513 PyObject
*resultobj
;
24514 wxWindow
*arg1
= (wxWindow
*) 0 ;
24517 PyObject
* obj0
= 0 ;
24518 PyObject
* obj1
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "self",(char *) "winid", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
24524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24526 arg2
= (long) SWIG_AsLong(obj1
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24530 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
24532 wxPyEndAllowThreads(__tstate
);
24533 if (PyErr_Occurred()) SWIG_fail
;
24536 resultobj
= wxPyMake_wxObject(result
);
24544 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24545 PyObject
*resultobj
;
24546 wxWindow
*arg1
= (wxWindow
*) 0 ;
24547 wxString
*arg2
= 0 ;
24549 bool temp2
= False
;
24550 PyObject
* obj0
= 0 ;
24551 PyObject
* obj1
= 0 ;
24552 char *kwnames
[] = {
24553 (char *) "self",(char *) "name", NULL
24556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24560 arg2
= wxString_in_helper(obj1
);
24561 if (arg2
== NULL
) SWIG_fail
;
24565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24566 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
24568 wxPyEndAllowThreads(__tstate
);
24569 if (PyErr_Occurred()) SWIG_fail
;
24572 resultobj
= wxPyMake_wxObject(result
);
24588 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24589 PyObject
*resultobj
;
24590 wxWindow
*arg1
= (wxWindow
*) 0 ;
24591 wxEvtHandler
*result
;
24592 PyObject
* obj0
= 0 ;
24593 char *kwnames
[] = {
24594 (char *) "self", NULL
24597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
24598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24602 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
24604 wxPyEndAllowThreads(__tstate
);
24605 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= wxPyMake_wxObject(result
);
24616 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24617 PyObject
*resultobj
;
24618 wxWindow
*arg1
= (wxWindow
*) 0 ;
24619 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24620 PyObject
* obj0
= 0 ;
24621 PyObject
* obj1
= 0 ;
24622 char *kwnames
[] = {
24623 (char *) "self",(char *) "handler", NULL
24626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24629 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24633 (arg1
)->SetEventHandler(arg2
);
24635 wxPyEndAllowThreads(__tstate
);
24636 if (PyErr_Occurred()) SWIG_fail
;
24638 Py_INCREF(Py_None
); resultobj
= Py_None
;
24645 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24648 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24649 PyObject
* obj0
= 0 ;
24650 PyObject
* obj1
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self",(char *) "handler", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24658 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24662 (arg1
)->PushEventHandler(arg2
);
24664 wxPyEndAllowThreads(__tstate
);
24665 if (PyErr_Occurred()) SWIG_fail
;
24667 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxWindow
*arg1
= (wxWindow
*) 0 ;
24677 bool arg2
= (bool) False
;
24678 wxEvtHandler
*result
;
24679 PyObject
* obj0
= 0 ;
24680 PyObject
* obj1
= 0 ;
24681 char *kwnames
[] = {
24682 (char *) "self",(char *) "deleteHandler", NULL
24685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24689 arg2
= (bool) SWIG_AsBool(obj1
);
24690 if (PyErr_Occurred()) SWIG_fail
;
24693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24694 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
24696 wxPyEndAllowThreads(__tstate
);
24697 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= wxPyMake_wxObject(result
);
24708 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 wxWindow
*arg1
= (wxWindow
*) 0 ;
24711 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
24713 PyObject
* obj0
= 0 ;
24714 PyObject
* obj1
= 0 ;
24715 char *kwnames
[] = {
24716 (char *) "self",(char *) "handler", NULL
24719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
24720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24722 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
24723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
24728 wxPyEndAllowThreads(__tstate
);
24729 if (PyErr_Occurred()) SWIG_fail
;
24732 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24740 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxWindow
*arg1
= (wxWindow
*) 0 ;
24743 wxValidator
*arg2
= 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "validator", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24753 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
24754 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24756 if (arg2
== NULL
) {
24757 PyErr_SetString(PyExc_TypeError
,"null reference");
24761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24762 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 Py_INCREF(Py_None
); resultobj
= Py_None
;
24774 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24775 PyObject
*resultobj
;
24776 wxWindow
*arg1
= (wxWindow
*) 0 ;
24777 wxValidator
*result
;
24778 PyObject
* obj0
= 0 ;
24779 char *kwnames
[] = {
24780 (char *) "self", NULL
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
24784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24788 result
= (wxValidator
*)(arg1
)->GetValidator();
24790 wxPyEndAllowThreads(__tstate
);
24791 if (PyErr_Occurred()) SWIG_fail
;
24794 resultobj
= wxPyMake_wxObject(result
);
24802 static PyObject
*_wrap_Window_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24803 PyObject
*resultobj
;
24804 wxWindow
*arg1
= (wxWindow
*) 0 ;
24806 PyObject
* obj0
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Validate",kwnames
,&obj0
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (bool)(arg1
)->Validate();
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24830 static PyObject
*_wrap_Window_TransferDataToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxWindow
*arg1
= (wxWindow
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 char *kwnames
[] = {
24836 (char *) "self", NULL
24839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataToWindow",kwnames
,&obj0
)) goto fail
;
24840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24844 result
= (bool)(arg1
)->TransferDataToWindow();
24846 wxPyEndAllowThreads(__tstate
);
24847 if (PyErr_Occurred()) SWIG_fail
;
24850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24858 static PyObject
*_wrap_Window_TransferDataFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24859 PyObject
*resultobj
;
24860 wxWindow
*arg1
= (wxWindow
*) 0 ;
24862 PyObject
* obj0
= 0 ;
24863 char *kwnames
[] = {
24864 (char *) "self", NULL
24867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_TransferDataFromWindow",kwnames
,&obj0
)) goto fail
;
24868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (bool)(arg1
)->TransferDataFromWindow();
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24886 static PyObject
*_wrap_Window_InitDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24887 PyObject
*resultobj
;
24888 wxWindow
*arg1
= (wxWindow
*) 0 ;
24889 PyObject
* obj0
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_InitDialog",kwnames
,&obj0
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24899 (arg1
)->InitDialog();
24901 wxPyEndAllowThreads(__tstate
);
24902 if (PyErr_Occurred()) SWIG_fail
;
24904 Py_INCREF(Py_None
); resultobj
= Py_None
;
24911 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24912 PyObject
*resultobj
;
24913 wxWindow
*arg1
= (wxWindow
*) 0 ;
24914 wxAcceleratorTable
*arg2
= 0 ;
24915 PyObject
* obj0
= 0 ;
24916 PyObject
* obj1
= 0 ;
24917 char *kwnames
[] = {
24918 (char *) "self",(char *) "accel", NULL
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
24922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
24925 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24927 if (arg2
== NULL
) {
24928 PyErr_SetString(PyExc_TypeError
,"null reference");
24932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 Py_INCREF(Py_None
); resultobj
= Py_None
;
24945 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxWindow
*arg1
= (wxWindow
*) 0 ;
24948 wxAcceleratorTable
*result
;
24949 PyObject
* obj0
= 0 ;
24950 char *kwnames
[] = {
24951 (char *) "self", NULL
24954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
24955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24959 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
24961 wxPyEndAllowThreads(__tstate
);
24962 if (PyErr_Occurred()) SWIG_fail
;
24964 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
24971 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24972 PyObject
*resultobj
;
24973 wxWindow
*arg1
= (wxWindow
*) 0 ;
24978 PyObject
* obj0
= 0 ;
24979 PyObject
* obj1
= 0 ;
24980 PyObject
* obj2
= 0 ;
24981 PyObject
* obj3
= 0 ;
24982 char *kwnames
[] = {
24983 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
24986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
24987 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24988 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24989 arg2
= (int) SWIG_AsInt(obj1
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24991 arg3
= (int) SWIG_AsInt(obj2
);
24992 if (PyErr_Occurred()) SWIG_fail
;
24993 arg4
= (int) SWIG_AsInt(obj3
);
24994 if (PyErr_Occurred()) SWIG_fail
;
24996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25011 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxWindow
*arg1
= (wxWindow
*) 0 ;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 char *kwnames
[] = {
25019 (char *) "self",(char *) "hotkeyId", NULL
25022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
25023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 arg2
= (int) SWIG_AsInt(obj1
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25029 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
25031 wxPyEndAllowThreads(__tstate
);
25032 if (PyErr_Occurred()) SWIG_fail
;
25035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25043 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxWindow
*arg1
= (wxWindow
*) 0 ;
25046 wxPoint
*arg2
= 0 ;
25049 PyObject
* obj0
= 0 ;
25050 PyObject
* obj1
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "pt", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25060 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25064 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25066 wxPyEndAllowThreads(__tstate
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25070 wxPoint
* resultptr
;
25071 resultptr
= new wxPoint((wxPoint
&) result
);
25072 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25080 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25081 PyObject
*resultobj
;
25082 wxWindow
*arg1
= (wxWindow
*) 0 ;
25086 PyObject
* obj0
= 0 ;
25087 PyObject
* obj1
= 0 ;
25088 char *kwnames
[] = {
25089 (char *) "self",(char *) "sz", NULL
25092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
25093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25101 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25103 wxPyEndAllowThreads(__tstate
);
25104 if (PyErr_Occurred()) SWIG_fail
;
25107 wxSize
* resultptr
;
25108 resultptr
= new wxSize((wxSize
&) result
);
25109 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25117 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
;
25119 wxWindow
*arg1
= (wxWindow
*) 0 ;
25120 wxPoint
*arg2
= 0 ;
25123 PyObject
* obj0
= 0 ;
25124 PyObject
* obj1
= 0 ;
25125 char *kwnames
[] = {
25126 (char *) "self",(char *) "pt", NULL
25129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
25130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25134 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25144 wxPoint
* resultptr
;
25145 resultptr
= new wxPoint((wxPoint
&) result
);
25146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25154 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25155 PyObject
*resultobj
;
25156 wxWindow
*arg1
= (wxWindow
*) 0 ;
25160 PyObject
* obj0
= 0 ;
25161 PyObject
* obj1
= 0 ;
25162 char *kwnames
[] = {
25163 (char *) "self",(char *) "sz", NULL
25166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
25167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25171 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25175 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
25177 wxPyEndAllowThreads(__tstate
);
25178 if (PyErr_Occurred()) SWIG_fail
;
25181 wxSize
* resultptr
;
25182 resultptr
= new wxSize((wxSize
&) result
);
25183 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25191 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25192 PyObject
*resultobj
;
25193 wxWindow
*arg1
= (wxWindow
*) 0 ;
25194 wxPoint
*arg2
= 0 ;
25197 PyObject
* obj0
= 0 ;
25198 PyObject
* obj1
= 0 ;
25199 char *kwnames
[] = {
25200 (char *) "self",(char *) "pt", NULL
25203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25208 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25218 wxPoint
* resultptr
;
25219 resultptr
= new wxPoint((wxPoint
&) result
);
25220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25228 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxWindow
*arg1
= (wxWindow
*) 0 ;
25234 PyObject
* obj0
= 0 ;
25235 PyObject
* obj1
= 0 ;
25236 char *kwnames
[] = {
25237 (char *) "self",(char *) "sz", NULL
25240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
25241 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25242 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25245 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25249 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
25251 wxPyEndAllowThreads(__tstate
);
25252 if (PyErr_Occurred()) SWIG_fail
;
25255 wxSize
* resultptr
;
25256 resultptr
= new wxSize((wxSize
&) result
);
25257 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
25265 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25266 PyObject
*resultobj
;
25267 wxWindow
*arg1
= (wxWindow
*) 0 ;
25270 PyObject
* obj0
= 0 ;
25271 PyObject
* obj1
= 0 ;
25272 PyObject
* obj2
= 0 ;
25273 char *kwnames
[] = {
25274 (char *) "self",(char *) "x",(char *) "y", NULL
25277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25280 arg2
= (int) SWIG_AsInt(obj1
);
25281 if (PyErr_Occurred()) SWIG_fail
;
25282 arg3
= (int) SWIG_AsInt(obj2
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 (arg1
)->WarpPointer(arg2
,arg3
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 Py_INCREF(Py_None
); resultobj
= Py_None
;
25298 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
;
25300 wxWindow
*arg1
= (wxWindow
*) 0 ;
25301 PyObject
* obj0
= 0 ;
25302 char *kwnames
[] = {
25303 (char *) "self", NULL
25306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
25307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25311 (arg1
)->CaptureMouse();
25313 wxPyEndAllowThreads(__tstate
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25316 Py_INCREF(Py_None
); resultobj
= Py_None
;
25323 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25324 PyObject
*resultobj
;
25325 wxWindow
*arg1
= (wxWindow
*) 0 ;
25326 PyObject
* obj0
= 0 ;
25327 char *kwnames
[] = {
25328 (char *) "self", NULL
25331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
25332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25336 (arg1
)->ReleaseMouse();
25338 wxPyEndAllowThreads(__tstate
);
25339 if (PyErr_Occurred()) SWIG_fail
;
25341 Py_INCREF(Py_None
); resultobj
= Py_None
;
25348 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25349 PyObject
*resultobj
;
25351 char *kwnames
[] = {
25355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
25357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25358 result
= (wxWindow
*)wxWindow::GetCapture();
25360 wxPyEndAllowThreads(__tstate
);
25361 if (PyErr_Occurred()) SWIG_fail
;
25364 resultobj
= wxPyMake_wxObject(result
);
25372 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
;
25374 wxWindow
*arg1
= (wxWindow
*) 0 ;
25376 PyObject
* obj0
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25386 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
25388 wxPyEndAllowThreads(__tstate
);
25389 if (PyErr_Occurred()) SWIG_fail
;
25392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25400 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25401 PyObject
*resultobj
;
25402 wxWindow
*arg1
= (wxWindow
*) 0 ;
25403 bool arg2
= (bool) True
;
25404 wxRect
*arg3
= (wxRect
*) NULL
;
25405 PyObject
* obj0
= 0 ;
25406 PyObject
* obj1
= 0 ;
25407 PyObject
* obj2
= 0 ;
25408 char *kwnames
[] = {
25409 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
25412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25413 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25414 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25416 arg2
= (bool) SWIG_AsBool(obj1
);
25417 if (PyErr_Occurred()) SWIG_fail
;
25420 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
25421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25425 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
25427 wxPyEndAllowThreads(__tstate
);
25428 if (PyErr_Occurred()) SWIG_fail
;
25430 Py_INCREF(Py_None
); resultobj
= Py_None
;
25437 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25438 PyObject
*resultobj
;
25439 wxWindow
*arg1
= (wxWindow
*) 0 ;
25442 PyObject
* obj0
= 0 ;
25443 PyObject
* obj1
= 0 ;
25444 char *kwnames
[] = {
25445 (char *) "self",(char *) "rect", NULL
25448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25453 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25457 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
25459 wxPyEndAllowThreads(__tstate
);
25460 if (PyErr_Occurred()) SWIG_fail
;
25462 Py_INCREF(Py_None
); resultobj
= Py_None
;
25469 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25470 PyObject
*resultobj
;
25471 wxWindow
*arg1
= (wxWindow
*) 0 ;
25472 PyObject
* obj0
= 0 ;
25473 char *kwnames
[] = {
25474 (char *) "self", NULL
25477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
25478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25484 wxPyEndAllowThreads(__tstate
);
25485 if (PyErr_Occurred()) SWIG_fail
;
25487 Py_INCREF(Py_None
); resultobj
= Py_None
;
25494 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxWindow
*arg1
= (wxWindow
*) 0 ;
25497 PyObject
* obj0
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 (arg1
)->ClearBackground();
25509 wxPyEndAllowThreads(__tstate
);
25510 if (PyErr_Occurred()) SWIG_fail
;
25512 Py_INCREF(Py_None
); resultobj
= Py_None
;
25519 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25520 PyObject
*resultobj
;
25521 wxWindow
*arg1
= (wxWindow
*) 0 ;
25522 PyObject
* obj0
= 0 ;
25523 char *kwnames
[] = {
25524 (char *) "self", NULL
25527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
25528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25534 wxPyEndAllowThreads(__tstate
);
25535 if (PyErr_Occurred()) SWIG_fail
;
25537 Py_INCREF(Py_None
); resultobj
= Py_None
;
25544 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25545 PyObject
*resultobj
;
25546 wxWindow
*arg1
= (wxWindow
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25559 wxPyEndAllowThreads(__tstate
);
25560 if (PyErr_Occurred()) SWIG_fail
;
25562 Py_INCREF(Py_None
); resultobj
= Py_None
;
25569 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25570 PyObject
*resultobj
;
25571 wxWindow
*arg1
= (wxWindow
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "dc", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25582 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
25583 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25585 if (arg2
== NULL
) {
25586 PyErr_SetString(PyExc_TypeError
,"null reference");
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 (arg1
)->PrepareDC(*arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25596 Py_INCREF(Py_None
); resultobj
= Py_None
;
25603 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25604 PyObject
*resultobj
;
25605 wxWindow
*arg1
= (wxWindow
*) 0 ;
25607 PyObject
* obj0
= 0 ;
25608 char *kwnames
[] = {
25609 (char *) "self", NULL
25612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
25613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25618 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
25619 result
= (wxRegion
*) &_result_ref
;
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
25632 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxWindow
*arg1
= (wxWindow
*) 0 ;
25636 PyObject
* obj0
= 0 ;
25637 char *kwnames
[] = {
25638 (char *) "self", NULL
25641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
25642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25652 wxRect
* resultptr
;
25653 resultptr
= new wxRect((wxRect
&) result
);
25654 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
25662 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25663 PyObject
*resultobj
;
25664 wxWindow
*arg1
= (wxWindow
*) 0 ;
25667 int arg4
= (int) 1 ;
25668 int arg5
= (int) 1 ;
25670 PyObject
* obj0
= 0 ;
25671 PyObject
* obj1
= 0 ;
25672 PyObject
* obj2
= 0 ;
25673 PyObject
* obj3
= 0 ;
25674 PyObject
* obj4
= 0 ;
25675 char *kwnames
[] = {
25676 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
25679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
25680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25682 arg2
= (int) SWIG_AsInt(obj1
);
25683 if (PyErr_Occurred()) SWIG_fail
;
25684 arg3
= (int) SWIG_AsInt(obj2
);
25685 if (PyErr_Occurred()) SWIG_fail
;
25687 arg4
= (int) SWIG_AsInt(obj3
);
25688 if (PyErr_Occurred()) SWIG_fail
;
25691 arg5
= (int) SWIG_AsInt(obj4
);
25692 if (PyErr_Occurred()) SWIG_fail
;
25695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25696 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25710 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25711 PyObject
*resultobj
;
25712 wxWindow
*arg1
= (wxWindow
*) 0 ;
25713 wxPoint
*arg2
= 0 ;
25716 PyObject
* obj0
= 0 ;
25717 PyObject
* obj1
= 0 ;
25718 char *kwnames
[] = {
25719 (char *) "self",(char *) "pt", NULL
25722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
25723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25737 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25745 static PyObject
*_wrap_Window_IsExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25746 PyObject
*resultobj
;
25747 wxWindow
*arg1
= (wxWindow
*) 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj1
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "rect", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25762 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
25765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25766 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
25768 wxPyEndAllowThreads(__tstate
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25780 static PyObject
*_wrap_Window_GetDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25781 PyObject
*resultobj
;
25782 wxWindow
*arg1
= (wxWindow
*) 0 ;
25783 wxVisualAttributes result
;
25784 PyObject
* obj0
= 0 ;
25785 char *kwnames
[] = {
25786 (char *) "self", NULL
25789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25794 result
= ((wxWindow
const *)arg1
)->GetDefaultAttributes();
25796 wxPyEndAllowThreads(__tstate
);
25797 if (PyErr_Occurred()) SWIG_fail
;
25800 wxVisualAttributes
* resultptr
;
25801 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25802 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25810 static PyObject
*_wrap_Window_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25811 PyObject
*resultobj
;
25812 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
25813 wxVisualAttributes result
;
25814 PyObject
* obj0
= 0 ;
25815 char *kwnames
[] = {
25816 (char *) "variant", NULL
25819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Window_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
25821 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
25822 if (PyErr_Occurred()) SWIG_fail
;
25825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25826 result
= wxWindow::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
25828 wxPyEndAllowThreads(__tstate
);
25829 if (PyErr_Occurred()) SWIG_fail
;
25832 wxVisualAttributes
* resultptr
;
25833 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
25834 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
25842 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25843 PyObject
*resultobj
;
25844 wxWindow
*arg1
= (wxWindow
*) 0 ;
25845 wxColour
*arg2
= 0 ;
25848 PyObject
* obj0
= 0 ;
25849 PyObject
* obj1
= 0 ;
25850 char *kwnames
[] = {
25851 (char *) "self",(char *) "colour", NULL
25854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25859 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25863 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
25865 wxPyEndAllowThreads(__tstate
);
25866 if (PyErr_Occurred()) SWIG_fail
;
25869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25877 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25878 PyObject
*resultobj
;
25879 wxWindow
*arg1
= (wxWindow
*) 0 ;
25880 wxColour
*arg2
= 0 ;
25883 PyObject
* obj0
= 0 ;
25884 PyObject
* obj1
= 0 ;
25885 char *kwnames
[] = {
25886 (char *) "self",(char *) "colour", NULL
25889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
25890 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25894 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
25897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25898 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
25900 wxPyEndAllowThreads(__tstate
);
25901 if (PyErr_Occurred()) SWIG_fail
;
25904 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25912 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxWindow
*arg1
= (wxWindow
*) 0 ;
25916 PyObject
* obj0
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
25922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25926 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
25928 wxPyEndAllowThreads(__tstate
);
25929 if (PyErr_Occurred()) SWIG_fail
;
25932 wxColour
* resultptr
;
25933 resultptr
= new wxColour((wxColour
&) result
);
25934 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25942 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxWindow
*arg1
= (wxWindow
*) 0 ;
25946 PyObject
* obj0
= 0 ;
25947 char *kwnames
[] = {
25948 (char *) "self", NULL
25951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
25952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25956 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
25958 wxPyEndAllowThreads(__tstate
);
25959 if (PyErr_Occurred()) SWIG_fail
;
25962 wxColour
* resultptr
;
25963 resultptr
= new wxColour((wxColour
&) result
);
25964 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
25972 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25973 PyObject
*resultobj
;
25974 wxWindow
*arg1
= (wxWindow
*) 0 ;
25975 wxCursor
*arg2
= 0 ;
25977 PyObject
* obj0
= 0 ;
25978 PyObject
* obj1
= 0 ;
25979 char *kwnames
[] = {
25980 (char *) "self",(char *) "cursor", NULL
25983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
25984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25986 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
25987 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25989 if (arg2
== NULL
) {
25990 PyErr_SetString(PyExc_TypeError
,"null reference");
25994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25995 result
= (bool)(arg1
)->SetCursor((wxCursor
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_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26010 PyObject
*resultobj
;
26011 wxWindow
*arg1
= (wxWindow
*) 0 ;
26013 PyObject
* obj0
= 0 ;
26014 char *kwnames
[] = {
26015 (char *) "self", NULL
26018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
26019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26024 wxCursor
&_result_ref
= (arg1
)->GetCursor();
26025 result
= (wxCursor
*) &_result_ref
;
26028 wxPyEndAllowThreads(__tstate
);
26029 if (PyErr_Occurred()) SWIG_fail
;
26032 wxCursor
* resultptr
= new wxCursor(*result
);
26033 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxCursor
, 1);
26041 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26042 PyObject
*resultobj
;
26043 wxWindow
*arg1
= (wxWindow
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 PyObject
* obj1
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self",(char *) "font", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
26053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26055 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
26056 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26058 if (arg2
== NULL
) {
26059 PyErr_SetString(PyExc_TypeError
,"null reference");
26063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26064 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
26066 wxPyEndAllowThreads(__tstate
);
26067 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26078 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxWindow
*arg1
= (wxWindow
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 char *kwnames
[] = {
26084 (char *) "self", NULL
26087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
26088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26093 wxFont
&_result_ref
= (arg1
)->GetFont();
26094 result
= (wxFont
*) &_result_ref
;
26097 wxPyEndAllowThreads(__tstate
);
26098 if (PyErr_Occurred()) SWIG_fail
;
26101 wxFont
* resultptr
= new wxFont(*result
);
26102 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxFont
, 1);
26110 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26111 PyObject
*resultobj
;
26112 wxWindow
*arg1
= (wxWindow
*) 0 ;
26113 wxCaret
*arg2
= (wxCaret
*) 0 ;
26114 PyObject
* obj0
= 0 ;
26115 PyObject
* obj1
= 0 ;
26116 char *kwnames
[] = {
26117 (char *) "self",(char *) "caret", NULL
26120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
26121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
26124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26127 (arg1
)->SetCaret(arg2
);
26129 wxPyEndAllowThreads(__tstate
);
26130 if (PyErr_Occurred()) SWIG_fail
;
26132 Py_INCREF(Py_None
); resultobj
= Py_None
;
26139 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26140 PyObject
*resultobj
;
26141 wxWindow
*arg1
= (wxWindow
*) 0 ;
26143 PyObject
* obj0
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26153 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
26155 wxPyEndAllowThreads(__tstate
);
26156 if (PyErr_Occurred()) SWIG_fail
;
26158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
26165 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26166 PyObject
*resultobj
;
26167 wxWindow
*arg1
= (wxWindow
*) 0 ;
26169 PyObject
* obj0
= 0 ;
26170 char *kwnames
[] = {
26171 (char *) "self", NULL
26174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
26175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 resultobj
= SWIG_FromInt((int)result
);
26191 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26192 PyObject
*resultobj
;
26193 wxWindow
*arg1
= (wxWindow
*) 0 ;
26195 PyObject
* obj0
= 0 ;
26196 char *kwnames
[] = {
26197 (char *) "self", NULL
26200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
26201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26205 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
26207 wxPyEndAllowThreads(__tstate
);
26208 if (PyErr_Occurred()) SWIG_fail
;
26210 resultobj
= SWIG_FromInt((int)result
);
26217 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxWindow
*arg1
= (wxWindow
*) 0 ;
26220 wxString
*arg2
= 0 ;
26221 int *arg3
= (int *) 0 ;
26222 int *arg4
= (int *) 0 ;
26223 bool temp2
= False
;
26226 PyObject
* obj0
= 0 ;
26227 PyObject
* obj1
= 0 ;
26228 char *kwnames
[] = {
26229 (char *) "self",(char *) "string", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26238 arg2
= wxString_in_helper(obj1
);
26239 if (arg2
== NULL
) SWIG_fail
;
26243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26244 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
26246 wxPyEndAllowThreads(__tstate
);
26247 if (PyErr_Occurred()) SWIG_fail
;
26249 Py_INCREF(Py_None
); resultobj
= Py_None
;
26251 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26252 resultobj
= t_output_helper(resultobj
,o
);
26255 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26256 resultobj
= t_output_helper(resultobj
,o
);
26272 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 wxString
*arg2
= 0 ;
26276 int *arg3
= (int *) 0 ;
26277 int *arg4
= (int *) 0 ;
26278 int *arg5
= (int *) 0 ;
26279 int *arg6
= (int *) 0 ;
26280 wxFont
*arg7
= (wxFont
*) NULL
;
26281 bool temp2
= False
;
26286 PyObject
* obj0
= 0 ;
26287 PyObject
* obj1
= 0 ;
26288 PyObject
* obj2
= 0 ;
26289 char *kwnames
[] = {
26290 (char *) "self",(char *) "string",(char *) "font", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26301 arg2
= wxString_in_helper(obj1
);
26302 if (arg2
== NULL
) SWIG_fail
;
26306 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
26307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26311 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
26313 wxPyEndAllowThreads(__tstate
);
26314 if (PyErr_Occurred()) SWIG_fail
;
26316 Py_INCREF(Py_None
); resultobj
= Py_None
;
26318 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26319 resultobj
= t_output_helper(resultobj
,o
);
26322 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
26323 resultobj
= t_output_helper(resultobj
,o
);
26326 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
26327 resultobj
= t_output_helper(resultobj
,o
);
26330 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
26331 resultobj
= t_output_helper(resultobj
,o
);
26347 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxWindow
*arg1
= (wxWindow
*) 0 ;
26350 int *arg2
= (int *) 0 ;
26351 int *arg3
= (int *) 0 ;
26354 PyObject
* obj0
= 0 ;
26355 PyObject
* obj1
= 0 ;
26356 PyObject
* obj2
= 0 ;
26357 char *kwnames
[] = {
26358 (char *) "self",(char *) "x",(char *) "y", NULL
26361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26365 temp2
= PyInt_AsLong(obj1
);
26366 if (PyErr_Occurred()) SWIG_fail
;
26370 temp3
= PyInt_AsLong(obj2
);
26371 if (PyErr_Occurred()) SWIG_fail
;
26375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26376 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
26378 wxPyEndAllowThreads(__tstate
);
26379 if (PyErr_Occurred()) SWIG_fail
;
26381 Py_INCREF(Py_None
); resultobj
= Py_None
;
26383 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26384 resultobj
= t_output_helper(resultobj
,o
);
26387 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26388 resultobj
= t_output_helper(resultobj
,o
);
26396 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26397 PyObject
*resultobj
;
26398 wxWindow
*arg1
= (wxWindow
*) 0 ;
26399 int *arg2
= (int *) 0 ;
26400 int *arg3
= (int *) 0 ;
26403 PyObject
* obj0
= 0 ;
26404 PyObject
* obj1
= 0 ;
26405 PyObject
* obj2
= 0 ;
26406 char *kwnames
[] = {
26407 (char *) "self",(char *) "x",(char *) "y", NULL
26410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26411 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26412 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26414 temp2
= PyInt_AsLong(obj1
);
26415 if (PyErr_Occurred()) SWIG_fail
;
26419 temp3
= PyInt_AsLong(obj2
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
26427 wxPyEndAllowThreads(__tstate
);
26428 if (PyErr_Occurred()) SWIG_fail
;
26430 Py_INCREF(Py_None
); resultobj
= Py_None
;
26432 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
26433 resultobj
= t_output_helper(resultobj
,o
);
26436 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
26437 resultobj
= t_output_helper(resultobj
,o
);
26445 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26446 PyObject
*resultobj
;
26447 wxWindow
*arg1
= (wxWindow
*) 0 ;
26448 wxPoint
*arg2
= 0 ;
26451 PyObject
* obj0
= 0 ;
26452 PyObject
* obj1
= 0 ;
26453 char *kwnames
[] = {
26454 (char *) "self",(char *) "pt", NULL
26457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
26458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26462 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26466 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
26468 wxPyEndAllowThreads(__tstate
);
26469 if (PyErr_Occurred()) SWIG_fail
;
26472 wxPoint
* resultptr
;
26473 resultptr
= new wxPoint((wxPoint
&) result
);
26474 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26482 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26483 PyObject
*resultobj
;
26484 wxWindow
*arg1
= (wxWindow
*) 0 ;
26485 wxPoint
*arg2
= 0 ;
26488 PyObject
* obj0
= 0 ;
26489 PyObject
* obj1
= 0 ;
26490 char *kwnames
[] = {
26491 (char *) "self",(char *) "pt", NULL
26494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
26495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26503 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
26505 wxPyEndAllowThreads(__tstate
);
26506 if (PyErr_Occurred()) SWIG_fail
;
26509 wxPoint
* resultptr
;
26510 resultptr
= new wxPoint((wxPoint
&) result
);
26511 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
26519 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26520 PyObject
*resultobj
;
26521 wxWindow
*arg1
= (wxWindow
*) 0 ;
26525 PyObject
* obj0
= 0 ;
26526 PyObject
* obj1
= 0 ;
26527 PyObject
* obj2
= 0 ;
26528 char *kwnames
[] = {
26529 (char *) "self",(char *) "x",(char *) "y", NULL
26532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26535 arg2
= (int) SWIG_AsInt(obj1
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26537 arg3
= (int) SWIG_AsInt(obj2
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26541 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
26543 wxPyEndAllowThreads(__tstate
);
26544 if (PyErr_Occurred()) SWIG_fail
;
26546 resultobj
= SWIG_FromInt((int)result
);
26553 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
;
26555 wxWindow
*arg1
= (wxWindow
*) 0 ;
26556 wxPoint
*arg2
= 0 ;
26559 PyObject
* obj0
= 0 ;
26560 PyObject
* obj1
= 0 ;
26561 char *kwnames
[] = {
26562 (char *) "self",(char *) "pt", NULL
26565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
26566 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26567 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26570 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
26573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26574 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
26576 wxPyEndAllowThreads(__tstate
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26579 resultobj
= SWIG_FromInt((int)result
);
26586 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
26587 PyObject
*resultobj
;
26588 wxWindow
*arg1
= (wxWindow
*) 0 ;
26591 PyObject
* obj0
= 0 ;
26592 PyObject
* obj1
= 0 ;
26594 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
26595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26597 arg2
= (long) SWIG_AsLong(obj1
);
26598 if (PyErr_Occurred()) SWIG_fail
;
26600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26601 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
26603 wxPyEndAllowThreads(__tstate
);
26604 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= SWIG_FromInt((int)result
);
26613 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
26614 PyObject
*resultobj
;
26615 wxWindow
*arg1
= (wxWindow
*) 0 ;
26617 PyObject
* obj0
= 0 ;
26619 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
26620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26624 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
26626 wxPyEndAllowThreads(__tstate
);
26627 if (PyErr_Occurred()) SWIG_fail
;
26629 resultobj
= SWIG_FromInt((int)result
);
26636 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
26641 argc
= PyObject_Length(args
);
26642 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
26643 argv
[ii
] = PyTuple_GetItem(args
,ii
);
26649 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26657 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
26664 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
26672 _v
= SWIG_CheckLong(argv
[1]);
26674 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
26679 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
26684 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxWindow
*arg1
= (wxWindow
*) 0 ;
26687 long arg2
= (long) wxUPDATE_UI_NONE
;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self",(char *) "flags", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26698 arg2
= (long) SWIG_AsLong(obj1
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26703 (arg1
)->UpdateWindowUI(arg2
);
26705 wxPyEndAllowThreads(__tstate
);
26706 if (PyErr_Occurred()) SWIG_fail
;
26708 Py_INCREF(Py_None
); resultobj
= Py_None
;
26715 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26716 PyObject
*resultobj
;
26717 wxWindow
*arg1
= (wxWindow
*) 0 ;
26718 wxMenu
*arg2
= (wxMenu
*) 0 ;
26722 PyObject
* obj0
= 0 ;
26723 PyObject
* obj1
= 0 ;
26724 PyObject
* obj2
= 0 ;
26725 PyObject
* obj3
= 0 ;
26726 char *kwnames
[] = {
26727 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
26730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26733 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26735 arg3
= (int) SWIG_AsInt(obj2
);
26736 if (PyErr_Occurred()) SWIG_fail
;
26737 arg4
= (int) SWIG_AsInt(obj3
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26755 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26756 PyObject
*resultobj
;
26757 wxWindow
*arg1
= (wxWindow
*) 0 ;
26758 wxMenu
*arg2
= (wxMenu
*) 0 ;
26759 wxPoint
*arg3
= 0 ;
26762 PyObject
* obj0
= 0 ;
26763 PyObject
* obj1
= 0 ;
26764 PyObject
* obj2
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "menu",(char *) "pos", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
26773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26776 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26794 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxWindow
*arg1
= (wxWindow
*) 0 ;
26798 PyObject
* obj0
= 0 ;
26799 char *kwnames
[] = {
26800 (char *) "self", NULL
26803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
26804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (long)wxWindow_GetHandle(arg1
);
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 resultobj
= SWIG_FromLong((long)result
);
26820 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26821 PyObject
*resultobj
;
26822 wxWindow
*arg1
= (wxWindow
*) 0 ;
26823 wxPaintEvent
*arg2
= 0 ;
26824 PyObject
* obj0
= 0 ;
26825 PyObject
* obj1
= 0 ;
26826 char *kwnames
[] = {
26827 (char *) "self",(char *) "event", NULL
26830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
26831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
26834 SWIG_POINTER_EXCEPTION
| 0)) == -1)
26836 if (arg2
== NULL
) {
26837 PyErr_SetString(PyExc_TypeError
,"null reference");
26841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26842 (arg1
)->OnPaint(*arg2
);
26844 wxPyEndAllowThreads(__tstate
);
26845 if (PyErr_Occurred()) SWIG_fail
;
26847 Py_INCREF(Py_None
); resultobj
= Py_None
;
26854 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26855 PyObject
*resultobj
;
26856 wxWindow
*arg1
= (wxWindow
*) 0 ;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 char *kwnames
[] = {
26862 (char *) "self",(char *) "orient", NULL
26865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
26866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26868 arg2
= (int) SWIG_AsInt(obj1
);
26869 if (PyErr_Occurred()) SWIG_fail
;
26871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26872 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
26874 wxPyEndAllowThreads(__tstate
);
26875 if (PyErr_Occurred()) SWIG_fail
;
26878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26886 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26887 PyObject
*resultobj
;
26888 wxWindow
*arg1
= (wxWindow
*) 0 ;
26893 bool arg6
= (bool) True
;
26894 PyObject
* obj0
= 0 ;
26895 PyObject
* obj1
= 0 ;
26896 PyObject
* obj2
= 0 ;
26897 PyObject
* obj3
= 0 ;
26898 PyObject
* obj4
= 0 ;
26899 PyObject
* obj5
= 0 ;
26900 char *kwnames
[] = {
26901 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
26904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
26905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26907 arg2
= (int) SWIG_AsInt(obj1
);
26908 if (PyErr_Occurred()) SWIG_fail
;
26909 arg3
= (int) SWIG_AsInt(obj2
);
26910 if (PyErr_Occurred()) SWIG_fail
;
26911 arg4
= (int) SWIG_AsInt(obj3
);
26912 if (PyErr_Occurred()) SWIG_fail
;
26913 arg5
= (int) SWIG_AsInt(obj4
);
26914 if (PyErr_Occurred()) SWIG_fail
;
26916 arg6
= (bool) SWIG_AsBool(obj5
);
26917 if (PyErr_Occurred()) SWIG_fail
;
26920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26921 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 Py_INCREF(Py_None
); resultobj
= Py_None
;
26933 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
;
26935 wxWindow
*arg1
= (wxWindow
*) 0 ;
26938 bool arg4
= (bool) True
;
26939 PyObject
* obj0
= 0 ;
26940 PyObject
* obj1
= 0 ;
26941 PyObject
* obj2
= 0 ;
26942 PyObject
* obj3
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26950 arg2
= (int) SWIG_AsInt(obj1
);
26951 if (PyErr_Occurred()) SWIG_fail
;
26952 arg3
= (int) SWIG_AsInt(obj2
);
26953 if (PyErr_Occurred()) SWIG_fail
;
26955 arg4
= (bool) SWIG_AsBool(obj3
);
26956 if (PyErr_Occurred()) SWIG_fail
;
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
26962 wxPyEndAllowThreads(__tstate
);
26963 if (PyErr_Occurred()) SWIG_fail
;
26965 Py_INCREF(Py_None
); resultobj
= Py_None
;
26972 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26973 PyObject
*resultobj
;
26974 wxWindow
*arg1
= (wxWindow
*) 0 ;
26977 PyObject
* obj0
= 0 ;
26978 PyObject
* obj1
= 0 ;
26979 char *kwnames
[] = {
26980 (char *) "self",(char *) "orientation", NULL
26983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
26984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26986 arg2
= (int) SWIG_AsInt(obj1
);
26987 if (PyErr_Occurred()) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
26992 wxPyEndAllowThreads(__tstate
);
26993 if (PyErr_Occurred()) SWIG_fail
;
26995 resultobj
= SWIG_FromInt((int)result
);
27002 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27003 PyObject
*resultobj
;
27004 wxWindow
*arg1
= (wxWindow
*) 0 ;
27007 PyObject
* obj0
= 0 ;
27008 PyObject
* obj1
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self",(char *) "orientation", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
27014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27016 arg2
= (int) SWIG_AsInt(obj1
);
27017 if (PyErr_Occurred()) SWIG_fail
;
27019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27020 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
27022 wxPyEndAllowThreads(__tstate
);
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 resultobj
= SWIG_FromInt((int)result
);
27032 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27033 PyObject
*resultobj
;
27034 wxWindow
*arg1
= (wxWindow
*) 0 ;
27037 PyObject
* obj0
= 0 ;
27038 PyObject
* obj1
= 0 ;
27039 char *kwnames
[] = {
27040 (char *) "self",(char *) "orientation", NULL
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
27044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27046 arg2
= (int) SWIG_AsInt(obj1
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 resultobj
= SWIG_FromInt((int)result
);
27062 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27063 PyObject
*resultobj
;
27064 wxWindow
*arg1
= (wxWindow
*) 0 ;
27067 wxRect
*arg4
= (wxRect
*) NULL
;
27068 PyObject
* obj0
= 0 ;
27069 PyObject
* obj1
= 0 ;
27070 PyObject
* obj2
= 0 ;
27071 PyObject
* obj3
= 0 ;
27072 char *kwnames
[] = {
27073 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
27076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27079 arg2
= (int) SWIG_AsInt(obj1
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27081 arg3
= (int) SWIG_AsInt(obj2
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
27085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 Py_INCREF(Py_None
); resultobj
= Py_None
;
27101 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxWindow
*arg1
= (wxWindow
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "lines", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27115 arg2
= (int) SWIG_AsInt(obj1
);
27116 if (PyErr_Occurred()) SWIG_fail
;
27118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 result
= (bool)(arg1
)->ScrollLines(arg2
);
27121 wxPyEndAllowThreads(__tstate
);
27122 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27133 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27134 PyObject
*resultobj
;
27135 wxWindow
*arg1
= (wxWindow
*) 0 ;
27138 PyObject
* obj0
= 0 ;
27139 PyObject
* obj1
= 0 ;
27140 char *kwnames
[] = {
27141 (char *) "self",(char *) "pages", NULL
27144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
27145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27147 arg2
= (int) SWIG_AsInt(obj1
);
27148 if (PyErr_Occurred()) SWIG_fail
;
27150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27151 result
= (bool)(arg1
)->ScrollPages(arg2
);
27153 wxPyEndAllowThreads(__tstate
);
27154 if (PyErr_Occurred()) SWIG_fail
;
27157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27165 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27166 PyObject
*resultobj
;
27167 wxWindow
*arg1
= (wxWindow
*) 0 ;
27169 PyObject
* obj0
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27179 result
= (bool)(arg1
)->LineUp();
27181 wxPyEndAllowThreads(__tstate
);
27182 if (PyErr_Occurred()) SWIG_fail
;
27185 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27193 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27194 PyObject
*resultobj
;
27195 wxWindow
*arg1
= (wxWindow
*) 0 ;
27197 PyObject
* obj0
= 0 ;
27198 char *kwnames
[] = {
27199 (char *) "self", NULL
27202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
27203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27207 result
= (bool)(arg1
)->LineDown();
27209 wxPyEndAllowThreads(__tstate
);
27210 if (PyErr_Occurred()) SWIG_fail
;
27213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27221 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxWindow
*arg1
= (wxWindow
*) 0 ;
27225 PyObject
* obj0
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27235 result
= (bool)(arg1
)->PageUp();
27237 wxPyEndAllowThreads(__tstate
);
27238 if (PyErr_Occurred()) SWIG_fail
;
27241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27249 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27250 PyObject
*resultobj
;
27251 wxWindow
*arg1
= (wxWindow
*) 0 ;
27253 PyObject
* obj0
= 0 ;
27254 char *kwnames
[] = {
27255 (char *) "self", NULL
27258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
27259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27263 result
= (bool)(arg1
)->PageDown();
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27269 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27277 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27278 PyObject
*resultobj
;
27279 wxWindow
*arg1
= (wxWindow
*) 0 ;
27280 wxString
*arg2
= 0 ;
27281 bool temp2
= False
;
27282 PyObject
* obj0
= 0 ;
27283 PyObject
* obj1
= 0 ;
27284 char *kwnames
[] = {
27285 (char *) "self",(char *) "text", NULL
27288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
27289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27292 arg2
= wxString_in_helper(obj1
);
27293 if (arg2
== NULL
) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 (arg1
)->SetHelpText((wxString
const &)*arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27318 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxWindow
*arg1
= (wxWindow
*) 0 ;
27321 wxString
*arg2
= 0 ;
27322 bool temp2
= False
;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "text", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27333 arg2
= wxString_in_helper(obj1
);
27334 if (arg2
== NULL
) SWIG_fail
;
27338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27339 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
27341 wxPyEndAllowThreads(__tstate
);
27342 if (PyErr_Occurred()) SWIG_fail
;
27344 Py_INCREF(Py_None
); resultobj
= Py_None
;
27359 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxWindow
*arg1
= (wxWindow
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27373 result
= ((wxWindow
const *)arg1
)->GetHelpText();
27375 wxPyEndAllowThreads(__tstate
);
27376 if (PyErr_Occurred()) SWIG_fail
;
27380 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27382 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27391 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27392 PyObject
*resultobj
;
27393 wxWindow
*arg1
= (wxWindow
*) 0 ;
27394 wxString
*arg2
= 0 ;
27395 bool temp2
= False
;
27396 PyObject
* obj0
= 0 ;
27397 PyObject
* obj1
= 0 ;
27398 char *kwnames
[] = {
27399 (char *) "self",(char *) "tip", NULL
27402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
27403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27406 arg2
= wxString_in_helper(obj1
);
27407 if (arg2
== NULL
) SWIG_fail
;
27411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27412 (arg1
)->SetToolTip((wxString
const &)*arg2
);
27414 wxPyEndAllowThreads(__tstate
);
27415 if (PyErr_Occurred()) SWIG_fail
;
27417 Py_INCREF(Py_None
); resultobj
= Py_None
;
27432 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27433 PyObject
*resultobj
;
27434 wxWindow
*arg1
= (wxWindow
*) 0 ;
27435 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
27436 PyObject
* obj0
= 0 ;
27437 PyObject
* obj1
= 0 ;
27438 char *kwnames
[] = {
27439 (char *) "self",(char *) "tip", NULL
27442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
27443 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27444 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27445 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
27446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27449 (arg1
)->SetToolTip(arg2
);
27451 wxPyEndAllowThreads(__tstate
);
27452 if (PyErr_Occurred()) SWIG_fail
;
27454 Py_INCREF(Py_None
); resultobj
= Py_None
;
27461 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27462 PyObject
*resultobj
;
27463 wxWindow
*arg1
= (wxWindow
*) 0 ;
27465 PyObject
* obj0
= 0 ;
27466 char *kwnames
[] = {
27467 (char *) "self", NULL
27470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
27471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27475 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
27477 wxPyEndAllowThreads(__tstate
);
27478 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= wxPyMake_wxObject(result
);
27489 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27490 PyObject
*resultobj
;
27491 wxWindow
*arg1
= (wxWindow
*) 0 ;
27492 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "dropTarget", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
27500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27502 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
27503 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->SetDropTarget(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27518 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27519 PyObject
*resultobj
;
27520 wxWindow
*arg1
= (wxWindow
*) 0 ;
27521 wxPyDropTarget
*result
;
27522 PyObject
* obj0
= 0 ;
27523 char *kwnames
[] = {
27524 (char *) "self", NULL
27527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
27528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
27534 wxPyEndAllowThreads(__tstate
);
27535 if (PyErr_Occurred()) SWIG_fail
;
27537 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
27544 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27545 PyObject
*resultobj
;
27546 wxWindow
*arg1
= (wxWindow
*) 0 ;
27548 PyObject
* obj0
= 0 ;
27549 PyObject
* obj1
= 0 ;
27550 char *kwnames
[] = {
27551 (char *) "self",(char *) "accept", NULL
27554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
27555 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27556 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27557 arg2
= (bool) SWIG_AsBool(obj1
);
27558 if (PyErr_Occurred()) SWIG_fail
;
27560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27561 (arg1
)->DragAcceptFiles(arg2
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 Py_INCREF(Py_None
); resultobj
= Py_None
;
27573 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27574 PyObject
*resultobj
;
27575 wxWindow
*arg1
= (wxWindow
*) 0 ;
27576 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
27577 PyObject
* obj0
= 0 ;
27578 PyObject
* obj1
= 0 ;
27579 char *kwnames
[] = {
27580 (char *) "self",(char *) "constraints", NULL
27583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
27584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27586 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
27587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27590 (arg1
)->SetConstraints(arg2
);
27592 wxPyEndAllowThreads(__tstate
);
27593 if (PyErr_Occurred()) SWIG_fail
;
27595 Py_INCREF(Py_None
); resultobj
= Py_None
;
27602 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27603 PyObject
*resultobj
;
27604 wxWindow
*arg1
= (wxWindow
*) 0 ;
27605 wxLayoutConstraints
*result
;
27606 PyObject
* obj0
= 0 ;
27607 char *kwnames
[] = {
27608 (char *) "self", NULL
27611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
27612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27616 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
27618 wxPyEndAllowThreads(__tstate
);
27619 if (PyErr_Occurred()) SWIG_fail
;
27621 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
27628 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27629 PyObject
*resultobj
;
27630 wxWindow
*arg1
= (wxWindow
*) 0 ;
27632 PyObject
* obj0
= 0 ;
27633 PyObject
* obj1
= 0 ;
27634 char *kwnames
[] = {
27635 (char *) "self",(char *) "autoLayout", NULL
27638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
27639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27641 arg2
= (bool) SWIG_AsBool(obj1
);
27642 if (PyErr_Occurred()) SWIG_fail
;
27644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27645 (arg1
)->SetAutoLayout(arg2
);
27647 wxPyEndAllowThreads(__tstate
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 Py_INCREF(Py_None
); resultobj
= Py_None
;
27657 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27658 PyObject
*resultobj
;
27659 wxWindow
*arg1
= (wxWindow
*) 0 ;
27661 PyObject
* obj0
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27671 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27685 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27686 PyObject
*resultobj
;
27687 wxWindow
*arg1
= (wxWindow
*) 0 ;
27689 PyObject
* obj0
= 0 ;
27690 char *kwnames
[] = {
27691 (char *) "self", NULL
27694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
27695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27699 result
= (bool)(arg1
)->Layout();
27701 wxPyEndAllowThreads(__tstate
);
27702 if (PyErr_Occurred()) SWIG_fail
;
27705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27713 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27714 PyObject
*resultobj
;
27715 wxWindow
*arg1
= (wxWindow
*) 0 ;
27716 wxSizer
*arg2
= (wxSizer
*) 0 ;
27717 bool arg3
= (bool) True
;
27718 PyObject
* obj0
= 0 ;
27719 PyObject
* obj1
= 0 ;
27720 PyObject
* obj2
= 0 ;
27721 char *kwnames
[] = {
27722 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27731 arg3
= (bool) SWIG_AsBool(obj2
);
27732 if (PyErr_Occurred()) SWIG_fail
;
27735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27736 (arg1
)->SetSizer(arg2
,arg3
);
27738 wxPyEndAllowThreads(__tstate
);
27739 if (PyErr_Occurred()) SWIG_fail
;
27741 Py_INCREF(Py_None
); resultobj
= Py_None
;
27748 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27749 PyObject
*resultobj
;
27750 wxWindow
*arg1
= (wxWindow
*) 0 ;
27751 wxSizer
*arg2
= (wxSizer
*) 0 ;
27752 bool arg3
= (bool) True
;
27753 PyObject
* obj0
= 0 ;
27754 PyObject
* obj1
= 0 ;
27755 PyObject
* obj2
= 0 ;
27756 char *kwnames
[] = {
27757 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
27760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27763 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27766 arg3
= (bool) SWIG_AsBool(obj2
);
27767 if (PyErr_Occurred()) SWIG_fail
;
27770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27771 (arg1
)->SetSizerAndFit(arg2
,arg3
);
27773 wxPyEndAllowThreads(__tstate
);
27774 if (PyErr_Occurred()) SWIG_fail
;
27776 Py_INCREF(Py_None
); resultobj
= Py_None
;
27783 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27784 PyObject
*resultobj
;
27785 wxWindow
*arg1
= (wxWindow
*) 0 ;
27787 PyObject
* obj0
= 0 ;
27788 char *kwnames
[] = {
27789 (char *) "self", NULL
27792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
27793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27797 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
27799 wxPyEndAllowThreads(__tstate
);
27800 if (PyErr_Occurred()) SWIG_fail
;
27803 resultobj
= wxPyMake_wxSizer(result
);
27811 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27812 PyObject
*resultobj
;
27813 wxWindow
*arg1
= (wxWindow
*) 0 ;
27814 wxSizer
*arg2
= (wxSizer
*) 0 ;
27815 PyObject
* obj0
= 0 ;
27816 PyObject
* obj1
= 0 ;
27817 char *kwnames
[] = {
27818 (char *) "self",(char *) "sizer", NULL
27821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
27822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27824 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
27825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 (arg1
)->SetContainingSizer(arg2
);
27830 wxPyEndAllowThreads(__tstate
);
27831 if (PyErr_Occurred()) SWIG_fail
;
27833 Py_INCREF(Py_None
); resultobj
= Py_None
;
27840 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27841 PyObject
*resultobj
;
27842 wxWindow
*arg1
= (wxWindow
*) 0 ;
27844 PyObject
* obj0
= 0 ;
27845 char *kwnames
[] = {
27846 (char *) "self", NULL
27849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
27850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
27851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27854 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
27856 wxPyEndAllowThreads(__tstate
);
27857 if (PyErr_Occurred()) SWIG_fail
;
27860 resultobj
= wxPyMake_wxSizer(result
);
27868 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
27870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27871 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
27873 return Py_BuildValue((char *)"");
27875 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27878 wxWindow
*arg2
= (wxWindow
*) NULL
;
27880 PyObject
* obj0
= 0 ;
27881 PyObject
* obj1
= 0 ;
27882 char *kwnames
[] = {
27883 (char *) "id",(char *) "parent", NULL
27886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
27887 arg1
= (long) SWIG_AsLong(obj0
);
27888 if (PyErr_Occurred()) SWIG_fail
;
27890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27891 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27895 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27901 resultobj
= wxPyMake_wxObject(result
);
27909 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27910 PyObject
*resultobj
;
27911 wxString
*arg1
= 0 ;
27912 wxWindow
*arg2
= (wxWindow
*) NULL
;
27914 bool temp1
= False
;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "name",(char *) "parent", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
27923 arg1
= wxString_in_helper(obj0
);
27924 if (arg1
== NULL
) SWIG_fail
;
27928 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27933 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27939 resultobj
= wxPyMake_wxObject(result
);
27955 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27956 PyObject
*resultobj
;
27957 wxString
*arg1
= 0 ;
27958 wxWindow
*arg2
= (wxWindow
*) NULL
;
27960 bool temp1
= False
;
27961 PyObject
* obj0
= 0 ;
27962 PyObject
* obj1
= 0 ;
27963 char *kwnames
[] = {
27964 (char *) "label",(char *) "parent", NULL
27967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
27969 arg1
= wxString_in_helper(obj0
);
27970 if (arg1
== NULL
) SWIG_fail
;
27974 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27979 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
27981 wxPyEndAllowThreads(__tstate
);
27982 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= wxPyMake_wxObject(result
);
28001 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28002 PyObject
*resultobj
;
28003 wxWindow
*arg1
= (wxWindow
*) 0 ;
28004 unsigned long arg2
;
28006 PyObject
* obj0
= 0 ;
28007 PyObject
* obj1
= 0 ;
28008 char *kwnames
[] = {
28009 (char *) "parent",(char *) "_hWnd", NULL
28012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FromHWND",kwnames
,&obj0
,&obj1
)) goto fail
;
28013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
28014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28015 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
28016 if (PyErr_Occurred()) SWIG_fail
;
28018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28019 result
= (wxWindow
*)wxWindow_FromHWND(arg1
,arg2
);
28021 wxPyEndAllowThreads(__tstate
);
28022 if (PyErr_Occurred()) SWIG_fail
;
28025 resultobj
= wxPyMake_wxObject(result
);
28033 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28034 PyObject
*resultobj
;
28035 wxValidator
*result
;
28036 char *kwnames
[] = {
28040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 result
= (wxValidator
*)new wxValidator();
28045 wxPyEndAllowThreads(__tstate
);
28046 if (PyErr_Occurred()) SWIG_fail
;
28049 resultobj
= wxPyMake_wxObject(result
);
28057 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28058 PyObject
*resultobj
;
28059 wxValidator
*arg1
= (wxValidator
*) 0 ;
28060 wxValidator
*result
;
28061 PyObject
* obj0
= 0 ;
28062 char *kwnames
[] = {
28063 (char *) "self", NULL
28066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
28067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28071 result
= (wxValidator
*)(arg1
)->Clone();
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28077 resultobj
= wxPyMake_wxObject(result
);
28085 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28086 PyObject
*resultobj
;
28087 wxValidator
*arg1
= (wxValidator
*) 0 ;
28088 wxWindow
*arg2
= (wxWindow
*) 0 ;
28090 PyObject
* obj0
= 0 ;
28091 PyObject
* obj1
= 0 ;
28092 char *kwnames
[] = {
28093 (char *) "self",(char *) "parent", NULL
28096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
28097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28099 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28103 result
= (bool)(arg1
)->Validate(arg2
);
28105 wxPyEndAllowThreads(__tstate
);
28106 if (PyErr_Occurred()) SWIG_fail
;
28109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28117 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28118 PyObject
*resultobj
;
28119 wxValidator
*arg1
= (wxValidator
*) 0 ;
28121 PyObject
* obj0
= 0 ;
28122 char *kwnames
[] = {
28123 (char *) "self", NULL
28126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
28127 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28128 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28131 result
= (bool)(arg1
)->TransferToWindow();
28133 wxPyEndAllowThreads(__tstate
);
28134 if (PyErr_Occurred()) SWIG_fail
;
28137 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28145 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28146 PyObject
*resultobj
;
28147 wxValidator
*arg1
= (wxValidator
*) 0 ;
28149 PyObject
* obj0
= 0 ;
28150 char *kwnames
[] = {
28151 (char *) "self", NULL
28154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
28155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (bool)(arg1
)->TransferFromWindow();
28161 wxPyEndAllowThreads(__tstate
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28165 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28173 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28174 PyObject
*resultobj
;
28175 wxValidator
*arg1
= (wxValidator
*) 0 ;
28177 PyObject
* obj0
= 0 ;
28178 char *kwnames
[] = {
28179 (char *) "self", NULL
28182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
28183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28187 result
= (wxWindow
*)(arg1
)->GetWindow();
28189 wxPyEndAllowThreads(__tstate
);
28190 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= wxPyMake_wxObject(result
);
28201 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28202 PyObject
*resultobj
;
28203 wxValidator
*arg1
= (wxValidator
*) 0 ;
28204 wxWindow
*arg2
= (wxWindow
*) 0 ;
28205 PyObject
* obj0
= 0 ;
28206 PyObject
* obj1
= 0 ;
28207 char *kwnames
[] = {
28208 (char *) "self",(char *) "window", NULL
28211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
28212 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
28213 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28214 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
28215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28218 (arg1
)->SetWindow(arg2
);
28220 wxPyEndAllowThreads(__tstate
);
28221 if (PyErr_Occurred()) SWIG_fail
;
28223 Py_INCREF(Py_None
); resultobj
= Py_None
;
28230 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28233 char *kwnames
[] = {
28237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (bool)wxValidator::IsSilent();
28242 wxPyEndAllowThreads(__tstate
);
28243 if (PyErr_Occurred()) SWIG_fail
;
28246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28254 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28255 PyObject
*resultobj
;
28256 int arg1
= (int) True
;
28257 PyObject
* obj0
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "doIt", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
28264 arg1
= (int) SWIG_AsInt(obj0
);
28265 if (PyErr_Occurred()) SWIG_fail
;
28268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28269 wxValidator::SetBellOnError(arg1
);
28271 wxPyEndAllowThreads(__tstate
);
28272 if (PyErr_Occurred()) SWIG_fail
;
28274 Py_INCREF(Py_None
); resultobj
= Py_None
;
28281 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
28283 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28284 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
28286 return Py_BuildValue((char *)"");
28288 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxPyValidator
*result
;
28291 char *kwnames
[] = {
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 result
= (wxPyValidator
*)new wxPyValidator();
28300 wxPyEndAllowThreads(__tstate
);
28301 if (PyErr_Occurred()) SWIG_fail
;
28303 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
28310 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28311 PyObject
*resultobj
;
28312 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
28313 PyObject
*arg2
= (PyObject
*) 0 ;
28314 PyObject
*arg3
= (PyObject
*) 0 ;
28315 int arg4
= (int) True
;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 PyObject
* obj2
= 0 ;
28319 PyObject
* obj3
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
28326 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 arg4
= (int) SWIG_AsInt(obj3
);
28331 if (PyErr_Occurred()) SWIG_fail
;
28334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28335 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
28337 wxPyEndAllowThreads(__tstate
);
28338 if (PyErr_Occurred()) SWIG_fail
;
28340 Py_INCREF(Py_None
); resultobj
= Py_None
;
28347 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
28349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28350 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
28352 return Py_BuildValue((char *)"");
28354 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
28355 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
28360 static PyObject
*_wrap_DefaultValidator_get() {
28363 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
28368 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
;
28370 wxString
const &arg1_defvalue
= wxPyEmptyString
;
28371 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
28372 long arg2
= (long) 0 ;
28374 bool temp1
= False
;
28375 PyObject
* obj0
= 0 ;
28376 PyObject
* obj1
= 0 ;
28377 char *kwnames
[] = {
28378 (char *) "title",(char *) "style", NULL
28381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
28384 arg1
= wxString_in_helper(obj0
);
28385 if (arg1
== NULL
) SWIG_fail
;
28390 arg2
= (long) SWIG_AsLong(obj1
);
28391 if (PyErr_Occurred()) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= wxPyMake_wxObject(result
);
28417 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28418 PyObject
*resultobj
;
28419 wxMenu
*arg1
= (wxMenu
*) 0 ;
28421 wxString
*arg3
= 0 ;
28422 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28423 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28424 int arg5
= (int) wxITEM_NORMAL
;
28425 wxMenuItem
*result
;
28426 bool temp3
= False
;
28427 bool temp4
= False
;
28428 PyObject
* obj0
= 0 ;
28429 PyObject
* obj1
= 0 ;
28430 PyObject
* obj2
= 0 ;
28431 PyObject
* obj3
= 0 ;
28432 PyObject
* obj4
= 0 ;
28433 char *kwnames
[] = {
28434 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28438 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28439 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28440 arg2
= (int) SWIG_AsInt(obj1
);
28441 if (PyErr_Occurred()) SWIG_fail
;
28443 arg3
= wxString_in_helper(obj2
);
28444 if (arg3
== NULL
) SWIG_fail
;
28449 arg4
= wxString_in_helper(obj3
);
28450 if (arg4
== NULL
) SWIG_fail
;
28455 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28456 if (PyErr_Occurred()) SWIG_fail
;
28459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28460 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28462 wxPyEndAllowThreads(__tstate
);
28463 if (PyErr_Occurred()) SWIG_fail
;
28466 resultobj
= wxPyMake_wxObject(result
);
28490 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28491 PyObject
*resultobj
;
28492 wxMenu
*arg1
= (wxMenu
*) 0 ;
28493 wxMenuItem
*result
;
28494 PyObject
* obj0
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
28500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28504 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
28506 wxPyEndAllowThreads(__tstate
);
28507 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= wxPyMake_wxObject(result
);
28518 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28519 PyObject
*resultobj
;
28520 wxMenu
*arg1
= (wxMenu
*) 0 ;
28522 wxString
*arg3
= 0 ;
28523 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28524 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28525 wxMenuItem
*result
;
28526 bool temp3
= False
;
28527 bool temp4
= False
;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 PyObject
* obj2
= 0 ;
28531 PyObject
* obj3
= 0 ;
28532 char *kwnames
[] = {
28533 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28539 arg2
= (int) SWIG_AsInt(obj1
);
28540 if (PyErr_Occurred()) SWIG_fail
;
28542 arg3
= wxString_in_helper(obj2
);
28543 if (arg3
== NULL
) SWIG_fail
;
28548 arg4
= wxString_in_helper(obj3
);
28549 if (arg4
== NULL
) SWIG_fail
;
28554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28555 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28557 wxPyEndAllowThreads(__tstate
);
28558 if (PyErr_Occurred()) SWIG_fail
;
28561 resultobj
= wxPyMake_wxObject(result
);
28585 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28586 PyObject
*resultobj
;
28587 wxMenu
*arg1
= (wxMenu
*) 0 ;
28589 wxString
*arg3
= 0 ;
28590 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28591 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28592 wxMenuItem
*result
;
28593 bool temp3
= False
;
28594 bool temp4
= False
;
28595 PyObject
* obj0
= 0 ;
28596 PyObject
* obj1
= 0 ;
28597 PyObject
* obj2
= 0 ;
28598 PyObject
* obj3
= 0 ;
28599 char *kwnames
[] = {
28600 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28604 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28606 arg2
= (int) SWIG_AsInt(obj1
);
28607 if (PyErr_Occurred()) SWIG_fail
;
28609 arg3
= wxString_in_helper(obj2
);
28610 if (arg3
== NULL
) SWIG_fail
;
28615 arg4
= wxString_in_helper(obj3
);
28616 if (arg4
== NULL
) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28628 resultobj
= wxPyMake_wxObject(result
);
28652 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28653 PyObject
*resultobj
;
28654 wxMenu
*arg1
= (wxMenu
*) 0 ;
28656 wxString
*arg3
= 0 ;
28657 wxMenu
*arg4
= (wxMenu
*) 0 ;
28658 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28659 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28660 wxMenuItem
*result
;
28661 bool temp3
= False
;
28662 bool temp5
= False
;
28663 PyObject
* obj0
= 0 ;
28664 PyObject
* obj1
= 0 ;
28665 PyObject
* obj2
= 0 ;
28666 PyObject
* obj3
= 0 ;
28667 PyObject
* obj4
= 0 ;
28668 char *kwnames
[] = {
28669 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28675 arg2
= (int) SWIG_AsInt(obj1
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28678 arg3
= wxString_in_helper(obj2
);
28679 if (arg3
== NULL
) SWIG_fail
;
28682 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28686 arg5
= wxString_in_helper(obj4
);
28687 if (arg5
== NULL
) SWIG_fail
;
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28695 wxPyEndAllowThreads(__tstate
);
28696 if (PyErr_Occurred()) SWIG_fail
;
28699 resultobj
= wxPyMake_wxObject(result
);
28723 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28724 PyObject
*resultobj
;
28725 wxMenu
*arg1
= (wxMenu
*) 0 ;
28726 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28727 wxMenuItem
*result
;
28728 PyObject
* obj0
= 0 ;
28729 PyObject
* obj1
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "item", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28737 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28741 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
28743 wxPyEndAllowThreads(__tstate
);
28744 if (PyErr_Occurred()) SWIG_fail
;
28747 resultobj
= wxPyMake_wxObject(result
);
28755 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28756 PyObject
*resultobj
;
28757 wxMenu
*arg1
= (wxMenu
*) 0 ;
28758 PyObject
* obj0
= 0 ;
28759 char *kwnames
[] = {
28760 (char *) "self", NULL
28763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
28764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28770 wxPyEndAllowThreads(__tstate
);
28771 if (PyErr_Occurred()) SWIG_fail
;
28773 Py_INCREF(Py_None
); resultobj
= Py_None
;
28780 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28781 PyObject
*resultobj
;
28782 wxMenu
*arg1
= (wxMenu
*) 0 ;
28784 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
28785 wxMenuItem
*result
;
28786 PyObject
* obj0
= 0 ;
28787 PyObject
* obj1
= 0 ;
28788 PyObject
* obj2
= 0 ;
28789 char *kwnames
[] = {
28790 (char *) "self",(char *) "pos",(char *) "item", NULL
28793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28796 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28797 if (PyErr_Occurred()) SWIG_fail
;
28798 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
28799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28808 resultobj
= wxPyMake_wxObject(result
);
28816 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28817 PyObject
*resultobj
;
28818 wxMenu
*arg1
= (wxMenu
*) 0 ;
28821 wxString
*arg4
= 0 ;
28822 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28823 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28824 int arg6
= (int) wxITEM_NORMAL
;
28825 wxMenuItem
*result
;
28826 bool temp4
= False
;
28827 bool temp5
= False
;
28828 PyObject
* obj0
= 0 ;
28829 PyObject
* obj1
= 0 ;
28830 PyObject
* obj2
= 0 ;
28831 PyObject
* obj3
= 0 ;
28832 PyObject
* obj4
= 0 ;
28833 PyObject
* obj5
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28841 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28842 if (PyErr_Occurred()) SWIG_fail
;
28843 arg3
= (int) SWIG_AsInt(obj2
);
28844 if (PyErr_Occurred()) SWIG_fail
;
28846 arg4
= wxString_in_helper(obj3
);
28847 if (arg4
== NULL
) SWIG_fail
;
28852 arg5
= wxString_in_helper(obj4
);
28853 if (arg5
== NULL
) SWIG_fail
;
28858 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
28859 if (PyErr_Occurred()) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28869 resultobj
= wxPyMake_wxObject(result
);
28893 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28894 PyObject
*resultobj
;
28895 wxMenu
*arg1
= (wxMenu
*) 0 ;
28897 wxMenuItem
*result
;
28898 PyObject
* obj0
= 0 ;
28899 PyObject
* obj1
= 0 ;
28900 char *kwnames
[] = {
28901 (char *) "self",(char *) "pos", NULL
28904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
28905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28907 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28908 if (PyErr_Occurred()) SWIG_fail
;
28910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28911 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
28913 wxPyEndAllowThreads(__tstate
);
28914 if (PyErr_Occurred()) SWIG_fail
;
28917 resultobj
= wxPyMake_wxObject(result
);
28925 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28926 PyObject
*resultobj
;
28927 wxMenu
*arg1
= (wxMenu
*) 0 ;
28930 wxString
*arg4
= 0 ;
28931 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28932 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28933 wxMenuItem
*result
;
28934 bool temp4
= False
;
28935 bool temp5
= False
;
28936 PyObject
* obj0
= 0 ;
28937 PyObject
* obj1
= 0 ;
28938 PyObject
* obj2
= 0 ;
28939 PyObject
* obj3
= 0 ;
28940 PyObject
* obj4
= 0 ;
28941 char *kwnames
[] = {
28942 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
28945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28948 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28949 if (PyErr_Occurred()) SWIG_fail
;
28950 arg3
= (int) SWIG_AsInt(obj2
);
28951 if (PyErr_Occurred()) SWIG_fail
;
28953 arg4
= wxString_in_helper(obj3
);
28954 if (arg4
== NULL
) SWIG_fail
;
28959 arg5
= wxString_in_helper(obj4
);
28960 if (arg5
== NULL
) SWIG_fail
;
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
28968 wxPyEndAllowThreads(__tstate
);
28969 if (PyErr_Occurred()) SWIG_fail
;
28972 resultobj
= wxPyMake_wxObject(result
);
28996 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28997 PyObject
*resultobj
;
28998 wxMenu
*arg1
= (wxMenu
*) 0 ;
29001 wxString
*arg4
= 0 ;
29002 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29003 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29004 wxMenuItem
*result
;
29005 bool temp4
= False
;
29006 bool temp5
= False
;
29007 PyObject
* obj0
= 0 ;
29008 PyObject
* obj1
= 0 ;
29009 PyObject
* obj2
= 0 ;
29010 PyObject
* obj3
= 0 ;
29011 PyObject
* obj4
= 0 ;
29012 char *kwnames
[] = {
29013 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
29016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29017 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29018 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29019 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29021 arg3
= (int) SWIG_AsInt(obj2
);
29022 if (PyErr_Occurred()) SWIG_fail
;
29024 arg4
= wxString_in_helper(obj3
);
29025 if (arg4
== NULL
) SWIG_fail
;
29030 arg5
= wxString_in_helper(obj4
);
29031 if (arg5
== NULL
) SWIG_fail
;
29036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29037 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
29039 wxPyEndAllowThreads(__tstate
);
29040 if (PyErr_Occurred()) SWIG_fail
;
29043 resultobj
= wxPyMake_wxObject(result
);
29067 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29068 PyObject
*resultobj
;
29069 wxMenu
*arg1
= (wxMenu
*) 0 ;
29072 wxString
*arg4
= 0 ;
29073 wxMenu
*arg5
= (wxMenu
*) 0 ;
29074 wxString
const &arg6_defvalue
= wxPyEmptyString
;
29075 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29076 wxMenuItem
*result
;
29077 bool temp4
= False
;
29078 bool temp6
= False
;
29079 PyObject
* obj0
= 0 ;
29080 PyObject
* obj1
= 0 ;
29081 PyObject
* obj2
= 0 ;
29082 PyObject
* obj3
= 0 ;
29083 PyObject
* obj4
= 0 ;
29084 PyObject
* obj5
= 0 ;
29085 char *kwnames
[] = {
29086 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
29090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29092 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29094 arg3
= (int) SWIG_AsInt(obj2
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 arg4
= wxString_in_helper(obj3
);
29098 if (arg4
== NULL
) SWIG_fail
;
29101 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
29102 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29105 arg6
= wxString_in_helper(obj5
);
29106 if (arg6
== NULL
) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= wxPyMake_wxObject(result
);
29142 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxMenu
*arg1
= (wxMenu
*) 0 ;
29145 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29146 wxMenuItem
*result
;
29147 PyObject
* obj0
= 0 ;
29148 PyObject
* obj1
= 0 ;
29149 char *kwnames
[] = {
29150 (char *) "self",(char *) "item", NULL
29153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29154 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29155 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29156 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29160 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
29162 wxPyEndAllowThreads(__tstate
);
29163 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= wxPyMake_wxObject(result
);
29174 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
;
29176 wxMenu
*arg1
= (wxMenu
*) 0 ;
29178 wxString
*arg3
= 0 ;
29179 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29180 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29181 int arg5
= (int) wxITEM_NORMAL
;
29182 wxMenuItem
*result
;
29183 bool temp3
= False
;
29184 bool temp4
= False
;
29185 PyObject
* obj0
= 0 ;
29186 PyObject
* obj1
= 0 ;
29187 PyObject
* obj2
= 0 ;
29188 PyObject
* obj3
= 0 ;
29189 PyObject
* obj4
= 0 ;
29190 char *kwnames
[] = {
29191 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
29194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29197 arg2
= (int) SWIG_AsInt(obj1
);
29198 if (PyErr_Occurred()) SWIG_fail
;
29200 arg3
= wxString_in_helper(obj2
);
29201 if (arg3
== NULL
) SWIG_fail
;
29206 arg4
= wxString_in_helper(obj3
);
29207 if (arg4
== NULL
) SWIG_fail
;
29212 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
29213 if (PyErr_Occurred()) SWIG_fail
;
29216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29217 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
29219 wxPyEndAllowThreads(__tstate
);
29220 if (PyErr_Occurred()) SWIG_fail
;
29223 resultobj
= wxPyMake_wxObject(result
);
29247 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxMenu
*arg1
= (wxMenu
*) 0 ;
29250 wxMenuItem
*result
;
29251 PyObject
* obj0
= 0 ;
29252 char *kwnames
[] = {
29253 (char *) "self", NULL
29256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
29257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29267 resultobj
= wxPyMake_wxObject(result
);
29275 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29276 PyObject
*resultobj
;
29277 wxMenu
*arg1
= (wxMenu
*) 0 ;
29279 wxString
*arg3
= 0 ;
29280 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29281 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29282 wxMenuItem
*result
;
29283 bool temp3
= False
;
29284 bool temp4
= False
;
29285 PyObject
* obj0
= 0 ;
29286 PyObject
* obj1
= 0 ;
29287 PyObject
* obj2
= 0 ;
29288 PyObject
* obj3
= 0 ;
29289 char *kwnames
[] = {
29290 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29294 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29296 arg2
= (int) SWIG_AsInt(obj1
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29299 arg3
= wxString_in_helper(obj2
);
29300 if (arg3
== NULL
) SWIG_fail
;
29305 arg4
= wxString_in_helper(obj3
);
29306 if (arg4
== NULL
) SWIG_fail
;
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29314 wxPyEndAllowThreads(__tstate
);
29315 if (PyErr_Occurred()) SWIG_fail
;
29318 resultobj
= wxPyMake_wxObject(result
);
29342 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29343 PyObject
*resultobj
;
29344 wxMenu
*arg1
= (wxMenu
*) 0 ;
29346 wxString
*arg3
= 0 ;
29347 wxString
const &arg4_defvalue
= wxPyEmptyString
;
29348 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
29349 wxMenuItem
*result
;
29350 bool temp3
= False
;
29351 bool temp4
= False
;
29352 PyObject
* obj0
= 0 ;
29353 PyObject
* obj1
= 0 ;
29354 PyObject
* obj2
= 0 ;
29355 PyObject
* obj3
= 0 ;
29356 char *kwnames
[] = {
29357 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
29360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29363 arg2
= (int) SWIG_AsInt(obj1
);
29364 if (PyErr_Occurred()) SWIG_fail
;
29366 arg3
= wxString_in_helper(obj2
);
29367 if (arg3
== NULL
) SWIG_fail
;
29372 arg4
= wxString_in_helper(obj3
);
29373 if (arg4
== NULL
) SWIG_fail
;
29378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29379 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
29381 wxPyEndAllowThreads(__tstate
);
29382 if (PyErr_Occurred()) SWIG_fail
;
29385 resultobj
= wxPyMake_wxObject(result
);
29409 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29410 PyObject
*resultobj
;
29411 wxMenu
*arg1
= (wxMenu
*) 0 ;
29413 wxString
*arg3
= 0 ;
29414 wxMenu
*arg4
= (wxMenu
*) 0 ;
29415 wxString
const &arg5_defvalue
= wxPyEmptyString
;
29416 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
29417 wxMenuItem
*result
;
29418 bool temp3
= False
;
29419 bool temp5
= False
;
29420 PyObject
* obj0
= 0 ;
29421 PyObject
* obj1
= 0 ;
29422 PyObject
* obj2
= 0 ;
29423 PyObject
* obj3
= 0 ;
29424 PyObject
* obj4
= 0 ;
29425 char *kwnames
[] = {
29426 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
29429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
29430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29432 arg2
= (int) SWIG_AsInt(obj1
);
29433 if (PyErr_Occurred()) SWIG_fail
;
29435 arg3
= wxString_in_helper(obj2
);
29436 if (arg3
== NULL
) SWIG_fail
;
29439 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
29440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29443 arg5
= wxString_in_helper(obj4
);
29444 if (arg5
== NULL
) SWIG_fail
;
29449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29450 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
29452 wxPyEndAllowThreads(__tstate
);
29453 if (PyErr_Occurred()) SWIG_fail
;
29456 resultobj
= wxPyMake_wxObject(result
);
29480 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29481 PyObject
*resultobj
;
29482 wxMenu
*arg1
= (wxMenu
*) 0 ;
29484 wxMenuItem
*result
;
29485 PyObject
* obj0
= 0 ;
29486 PyObject
* obj1
= 0 ;
29487 char *kwnames
[] = {
29488 (char *) "self",(char *) "id", NULL
29491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29494 arg2
= (int) SWIG_AsInt(obj1
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29498 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29500 wxPyEndAllowThreads(__tstate
);
29501 if (PyErr_Occurred()) SWIG_fail
;
29504 resultobj
= wxPyMake_wxObject(result
);
29512 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29513 PyObject
*resultobj
;
29514 wxMenu
*arg1
= (wxMenu
*) 0 ;
29515 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29516 wxMenuItem
*result
;
29517 PyObject
* obj0
= 0 ;
29518 PyObject
* obj1
= 0 ;
29519 char *kwnames
[] = {
29520 (char *) "self",(char *) "item", NULL
29523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29526 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29527 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29530 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
29532 wxPyEndAllowThreads(__tstate
);
29533 if (PyErr_Occurred()) SWIG_fail
;
29536 resultobj
= wxPyMake_wxObject(result
);
29544 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29545 PyObject
*resultobj
;
29546 wxMenu
*arg1
= (wxMenu
*) 0 ;
29549 PyObject
* obj0
= 0 ;
29550 PyObject
* obj1
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "self",(char *) "id", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
29556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29558 arg2
= (int) SWIG_AsInt(obj1
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29562 result
= (bool)(arg1
)->Delete(arg2
);
29564 wxPyEndAllowThreads(__tstate
);
29565 if (PyErr_Occurred()) SWIG_fail
;
29568 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29576 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29577 PyObject
*resultobj
;
29578 wxMenu
*arg1
= (wxMenu
*) 0 ;
29579 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29581 PyObject
* obj0
= 0 ;
29582 PyObject
* obj1
= 0 ;
29583 char *kwnames
[] = {
29584 (char *) "self",(char *) "item", NULL
29587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29590 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 result
= (bool)(arg1
)->Delete(arg2
);
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29608 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29609 PyObject
*resultobj
;
29610 wxMenu
*arg1
= (wxMenu
*) 0 ;
29611 PyObject
* obj0
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
29617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29621 wxMenu_Destroy(arg1
);
29623 wxPyEndAllowThreads(__tstate
);
29624 if (PyErr_Occurred()) SWIG_fail
;
29626 Py_INCREF(Py_None
); resultobj
= Py_None
;
29633 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29634 PyObject
*resultobj
;
29635 wxMenu
*arg1
= (wxMenu
*) 0 ;
29638 PyObject
* obj0
= 0 ;
29639 PyObject
* obj1
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self",(char *) "id", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29647 arg2
= (int) SWIG_AsInt(obj1
);
29648 if (PyErr_Occurred()) SWIG_fail
;
29650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29651 result
= (bool)(arg1
)->Destroy(arg2
);
29653 wxPyEndAllowThreads(__tstate
);
29654 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29665 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29666 PyObject
*resultobj
;
29667 wxMenu
*arg1
= (wxMenu
*) 0 ;
29668 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
29670 PyObject
* obj0
= 0 ;
29671 PyObject
* obj1
= 0 ;
29672 char *kwnames
[] = {
29673 (char *) "self",(char *) "item", NULL
29676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29679 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
29680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29683 result
= (bool)(arg1
)->Destroy(arg2
);
29685 wxPyEndAllowThreads(__tstate
);
29686 if (PyErr_Occurred()) SWIG_fail
;
29689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29697 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29698 PyObject
*resultobj
;
29699 wxMenu
*arg1
= (wxMenu
*) 0 ;
29701 PyObject
* obj0
= 0 ;
29702 char *kwnames
[] = {
29703 (char *) "self", NULL
29706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
29707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29723 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29724 PyObject
*resultobj
;
29725 wxMenu
*arg1
= (wxMenu
*) 0 ;
29727 PyObject
* obj0
= 0 ;
29728 char *kwnames
[] = {
29729 (char *) "self", NULL
29732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
29733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29737 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
29739 wxPyEndAllowThreads(__tstate
);
29740 if (PyErr_Occurred()) SWIG_fail
;
29742 resultobj
= result
;
29749 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29750 PyObject
*resultobj
;
29751 wxMenu
*arg1
= (wxMenu
*) 0 ;
29752 wxString
*arg2
= 0 ;
29754 bool temp2
= False
;
29755 PyObject
* obj0
= 0 ;
29756 PyObject
* obj1
= 0 ;
29757 char *kwnames
[] = {
29758 (char *) "self",(char *) "item", NULL
29761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
29762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29765 arg2
= wxString_in_helper(obj1
);
29766 if (arg2
== NULL
) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= SWIG_FromInt((int)result
);
29791 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29792 PyObject
*resultobj
;
29793 wxMenu
*arg1
= (wxMenu
*) 0 ;
29795 wxMenuItem
*result
;
29796 PyObject
* obj0
= 0 ;
29797 PyObject
* obj1
= 0 ;
29798 char *kwnames
[] = {
29799 (char *) "self",(char *) "id", NULL
29802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29805 arg2
= (int) SWIG_AsInt(obj1
);
29806 if (PyErr_Occurred()) SWIG_fail
;
29808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29809 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
29811 wxPyEndAllowThreads(__tstate
);
29812 if (PyErr_Occurred()) SWIG_fail
;
29815 resultobj
= wxPyMake_wxObject(result
);
29823 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29824 PyObject
*resultobj
;
29825 wxMenu
*arg1
= (wxMenu
*) 0 ;
29827 wxMenuItem
*result
;
29828 PyObject
* obj0
= 0 ;
29829 PyObject
* obj1
= 0 ;
29830 char *kwnames
[] = {
29831 (char *) "self",(char *) "position", NULL
29834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
29835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29837 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29838 if (PyErr_Occurred()) SWIG_fail
;
29840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29841 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
29843 wxPyEndAllowThreads(__tstate
);
29844 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= wxPyMake_wxObject(result
);
29855 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29856 PyObject
*resultobj
;
29857 wxMenu
*arg1
= (wxMenu
*) 0 ;
29860 PyObject
* obj0
= 0 ;
29861 PyObject
* obj1
= 0 ;
29862 PyObject
* obj2
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self",(char *) "id",(char *) "enable", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29870 arg2
= (int) SWIG_AsInt(obj1
);
29871 if (PyErr_Occurred()) SWIG_fail
;
29872 arg3
= (bool) SWIG_AsBool(obj2
);
29873 if (PyErr_Occurred()) SWIG_fail
;
29875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29876 (arg1
)->Enable(arg2
,arg3
);
29878 wxPyEndAllowThreads(__tstate
);
29879 if (PyErr_Occurred()) SWIG_fail
;
29881 Py_INCREF(Py_None
); resultobj
= Py_None
;
29888 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29889 PyObject
*resultobj
;
29890 wxMenu
*arg1
= (wxMenu
*) 0 ;
29893 PyObject
* obj0
= 0 ;
29894 PyObject
* obj1
= 0 ;
29895 char *kwnames
[] = {
29896 (char *) "self",(char *) "id", NULL
29899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
29900 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29902 arg2
= (int) SWIG_AsInt(obj1
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29906 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
29908 wxPyEndAllowThreads(__tstate
);
29909 if (PyErr_Occurred()) SWIG_fail
;
29912 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29920 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29921 PyObject
*resultobj
;
29922 wxMenu
*arg1
= (wxMenu
*) 0 ;
29925 PyObject
* obj0
= 0 ;
29926 PyObject
* obj1
= 0 ;
29927 PyObject
* obj2
= 0 ;
29928 char *kwnames
[] = {
29929 (char *) "self",(char *) "id",(char *) "check", NULL
29932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29935 arg2
= (int) SWIG_AsInt(obj1
);
29936 if (PyErr_Occurred()) SWIG_fail
;
29937 arg3
= (bool) SWIG_AsBool(obj2
);
29938 if (PyErr_Occurred()) SWIG_fail
;
29940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29941 (arg1
)->Check(arg2
,arg3
);
29943 wxPyEndAllowThreads(__tstate
);
29944 if (PyErr_Occurred()) SWIG_fail
;
29946 Py_INCREF(Py_None
); resultobj
= Py_None
;
29953 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29954 PyObject
*resultobj
;
29955 wxMenu
*arg1
= (wxMenu
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 PyObject
* obj1
= 0 ;
29960 char *kwnames
[] = {
29961 (char *) "self",(char *) "id", NULL
29964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29967 arg2
= (int) SWIG_AsInt(obj1
);
29968 if (PyErr_Occurred()) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29985 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29986 PyObject
*resultobj
;
29987 wxMenu
*arg1
= (wxMenu
*) 0 ;
29989 wxString
*arg3
= 0 ;
29990 bool temp3
= False
;
29991 PyObject
* obj0
= 0 ;
29992 PyObject
* obj1
= 0 ;
29993 PyObject
* obj2
= 0 ;
29994 char *kwnames
[] = {
29995 (char *) "self",(char *) "id",(char *) "label", NULL
29998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30001 arg2
= (int) SWIG_AsInt(obj1
);
30002 if (PyErr_Occurred()) SWIG_fail
;
30004 arg3
= wxString_in_helper(obj2
);
30005 if (arg3
== NULL
) SWIG_fail
;
30009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30010 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30012 wxPyEndAllowThreads(__tstate
);
30013 if (PyErr_Occurred()) SWIG_fail
;
30015 Py_INCREF(Py_None
); resultobj
= Py_None
;
30030 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxMenu
*arg1
= (wxMenu
*) 0 ;
30035 PyObject
* obj0
= 0 ;
30036 PyObject
* obj1
= 0 ;
30037 char *kwnames
[] = {
30038 (char *) "self",(char *) "id", NULL
30041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30044 arg2
= (int) SWIG_AsInt(obj1
);
30045 if (PyErr_Occurred()) SWIG_fail
;
30047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30048 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
30050 wxPyEndAllowThreads(__tstate
);
30051 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30057 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30066 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30067 PyObject
*resultobj
;
30068 wxMenu
*arg1
= (wxMenu
*) 0 ;
30070 wxString
*arg3
= 0 ;
30071 bool temp3
= False
;
30072 PyObject
* obj0
= 0 ;
30073 PyObject
* obj1
= 0 ;
30074 PyObject
* obj2
= 0 ;
30075 char *kwnames
[] = {
30076 (char *) "self",(char *) "id",(char *) "helpString", NULL
30079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30082 arg2
= (int) SWIG_AsInt(obj1
);
30083 if (PyErr_Occurred()) SWIG_fail
;
30085 arg3
= wxString_in_helper(obj2
);
30086 if (arg3
== NULL
) SWIG_fail
;
30090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30091 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30093 wxPyEndAllowThreads(__tstate
);
30094 if (PyErr_Occurred()) SWIG_fail
;
30096 Py_INCREF(Py_None
); resultobj
= Py_None
;
30111 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxMenu
*arg1
= (wxMenu
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 char *kwnames
[] = {
30119 (char *) "self",(char *) "id", NULL
30122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30125 arg2
= (int) SWIG_AsInt(obj1
);
30126 if (PyErr_Occurred()) SWIG_fail
;
30128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30129 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
30131 wxPyEndAllowThreads(__tstate
);
30132 if (PyErr_Occurred()) SWIG_fail
;
30136 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30138 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30147 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30148 PyObject
*resultobj
;
30149 wxMenu
*arg1
= (wxMenu
*) 0 ;
30150 wxString
*arg2
= 0 ;
30151 bool temp2
= False
;
30152 PyObject
* obj0
= 0 ;
30153 PyObject
* obj1
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self",(char *) "title", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
30159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30162 arg2
= wxString_in_helper(obj1
);
30163 if (arg2
== NULL
) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 (arg1
)->SetTitle((wxString
const &)*arg2
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 Py_INCREF(Py_None
); resultobj
= Py_None
;
30188 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30189 PyObject
*resultobj
;
30190 wxMenu
*arg1
= (wxMenu
*) 0 ;
30192 PyObject
* obj0
= 0 ;
30193 char *kwnames
[] = {
30194 (char *) "self", NULL
30197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
30198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30202 result
= ((wxMenu
const *)arg1
)->GetTitle();
30204 wxPyEndAllowThreads(__tstate
);
30205 if (PyErr_Occurred()) SWIG_fail
;
30209 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30211 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30220 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
;
30222 wxMenu
*arg1
= (wxMenu
*) 0 ;
30223 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "handler", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
30231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30233 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 (arg1
)->SetEventHandler(arg2
);
30239 wxPyEndAllowThreads(__tstate
);
30240 if (PyErr_Occurred()) SWIG_fail
;
30242 Py_INCREF(Py_None
); resultobj
= Py_None
;
30249 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30250 PyObject
*resultobj
;
30251 wxMenu
*arg1
= (wxMenu
*) 0 ;
30252 wxEvtHandler
*result
;
30253 PyObject
* obj0
= 0 ;
30254 char *kwnames
[] = {
30255 (char *) "self", NULL
30258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
30259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30263 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
30265 wxPyEndAllowThreads(__tstate
);
30266 if (PyErr_Occurred()) SWIG_fail
;
30269 resultobj
= wxPyMake_wxObject(result
);
30277 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30278 PyObject
*resultobj
;
30279 wxMenu
*arg1
= (wxMenu
*) 0 ;
30280 wxWindow
*arg2
= (wxWindow
*) 0 ;
30281 PyObject
* obj0
= 0 ;
30282 PyObject
* obj1
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self",(char *) "win", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30290 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
30291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30294 (arg1
)->SetInvokingWindow(arg2
);
30296 wxPyEndAllowThreads(__tstate
);
30297 if (PyErr_Occurred()) SWIG_fail
;
30299 Py_INCREF(Py_None
); resultobj
= Py_None
;
30306 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30307 PyObject
*resultobj
;
30308 wxMenu
*arg1
= (wxMenu
*) 0 ;
30310 PyObject
* obj0
= 0 ;
30311 char *kwnames
[] = {
30312 (char *) "self", NULL
30315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
30316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30320 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
30322 wxPyEndAllowThreads(__tstate
);
30323 if (PyErr_Occurred()) SWIG_fail
;
30326 resultobj
= wxPyMake_wxObject(result
);
30334 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30335 PyObject
*resultobj
;
30336 wxMenu
*arg1
= (wxMenu
*) 0 ;
30338 PyObject
* obj0
= 0 ;
30339 char *kwnames
[] = {
30340 (char *) "self", NULL
30343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
30344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30348 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
30350 wxPyEndAllowThreads(__tstate
);
30351 if (PyErr_Occurred()) SWIG_fail
;
30353 resultobj
= SWIG_FromLong((long)result
);
30360 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30361 PyObject
*resultobj
;
30362 wxMenu
*arg1
= (wxMenu
*) 0 ;
30363 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
30364 PyObject
* obj0
= 0 ;
30365 PyObject
* obj1
= 0 ;
30366 char *kwnames
[] = {
30367 (char *) "self",(char *) "source", NULL
30370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
30371 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30372 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
30375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 (arg1
)->UpdateUI(arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 Py_INCREF(Py_None
); resultobj
= Py_None
;
30391 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
;
30393 wxMenu
*arg1
= (wxMenu
*) 0 ;
30395 PyObject
* obj0
= 0 ;
30396 char *kwnames
[] = {
30397 (char *) "self", NULL
30400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
30401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30405 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
30407 wxPyEndAllowThreads(__tstate
);
30408 if (PyErr_Occurred()) SWIG_fail
;
30411 resultobj
= wxPyMake_wxObject(result
);
30419 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
;
30421 wxMenu
*arg1
= (wxMenu
*) 0 ;
30422 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
30423 PyObject
* obj0
= 0 ;
30424 PyObject
* obj1
= 0 ;
30425 char *kwnames
[] = {
30426 (char *) "self",(char *) "menubar", NULL
30429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
30433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30436 (arg1
)->Attach(arg2
);
30438 wxPyEndAllowThreads(__tstate
);
30439 if (PyErr_Occurred()) SWIG_fail
;
30441 Py_INCREF(Py_None
); resultobj
= Py_None
;
30448 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30449 PyObject
*resultobj
;
30450 wxMenu
*arg1
= (wxMenu
*) 0 ;
30451 PyObject
* obj0
= 0 ;
30452 char *kwnames
[] = {
30453 (char *) "self", NULL
30456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
30457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 Py_INCREF(Py_None
); resultobj
= Py_None
;
30473 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30474 PyObject
*resultobj
;
30475 wxMenu
*arg1
= (wxMenu
*) 0 ;
30477 PyObject
* obj0
= 0 ;
30478 char *kwnames
[] = {
30479 (char *) "self", NULL
30482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
30483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30487 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
30489 wxPyEndAllowThreads(__tstate
);
30490 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30501 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30502 PyObject
*resultobj
;
30503 wxMenu
*arg1
= (wxMenu
*) 0 ;
30504 wxMenu
*arg2
= (wxMenu
*) 0 ;
30505 PyObject
* obj0
= 0 ;
30506 PyObject
* obj1
= 0 ;
30507 char *kwnames
[] = {
30508 (char *) "self",(char *) "parent", NULL
30511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
30512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30514 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30518 (arg1
)->SetParent(arg2
);
30520 wxPyEndAllowThreads(__tstate
);
30521 if (PyErr_Occurred()) SWIG_fail
;
30523 Py_INCREF(Py_None
); resultobj
= Py_None
;
30530 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30531 PyObject
*resultobj
;
30532 wxMenu
*arg1
= (wxMenu
*) 0 ;
30534 PyObject
* obj0
= 0 ;
30535 char *kwnames
[] = {
30536 (char *) "self", NULL
30539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
30540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30544 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
30546 wxPyEndAllowThreads(__tstate
);
30547 if (PyErr_Occurred()) SWIG_fail
;
30550 resultobj
= wxPyMake_wxObject(result
);
30558 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
30560 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30561 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
30563 return Py_BuildValue((char *)"");
30565 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 long arg1
= (long) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 char *kwnames
[] = {
30571 (char *) "style", NULL
30574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
30576 arg1
= (long) SWIG_AsLong(obj0
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30587 resultobj
= wxPyMake_wxObject(result
);
30595 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30598 wxMenu
*arg2
= (wxMenu
*) 0 ;
30599 wxString
*arg3
= 0 ;
30601 bool temp3
= False
;
30602 PyObject
* obj0
= 0 ;
30603 PyObject
* obj1
= 0 ;
30604 PyObject
* obj2
= 0 ;
30605 char *kwnames
[] = {
30606 (char *) "self",(char *) "menu",(char *) "title", NULL
30609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30615 arg3
= wxString_in_helper(obj2
);
30616 if (arg3
== NULL
) SWIG_fail
;
30620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30621 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
30623 wxPyEndAllowThreads(__tstate
);
30624 if (PyErr_Occurred()) SWIG_fail
;
30627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30643 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30644 PyObject
*resultobj
;
30645 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30647 wxMenu
*arg3
= (wxMenu
*) 0 ;
30648 wxString
*arg4
= 0 ;
30650 bool temp4
= False
;
30651 PyObject
* obj0
= 0 ;
30652 PyObject
* obj1
= 0 ;
30653 PyObject
* obj2
= 0 ;
30654 PyObject
* obj3
= 0 ;
30655 char *kwnames
[] = {
30656 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30662 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30664 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30667 arg4
= wxString_in_helper(obj3
);
30668 if (arg4
== NULL
) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30695 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30699 PyObject
* obj0
= 0 ;
30700 char *kwnames
[] = {
30701 (char *) "self", NULL
30704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
30705 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30706 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30709 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
30711 wxPyEndAllowThreads(__tstate
);
30712 if (PyErr_Occurred()) SWIG_fail
;
30714 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
30721 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30722 PyObject
*resultobj
;
30723 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30726 PyObject
* obj0
= 0 ;
30727 PyObject
* obj1
= 0 ;
30728 char *kwnames
[] = {
30729 (char *) "self",(char *) "pos", NULL
30732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30735 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30736 if (PyErr_Occurred()) SWIG_fail
;
30738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30739 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
30741 wxPyEndAllowThreads(__tstate
);
30742 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= wxPyMake_wxObject(result
);
30753 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30754 PyObject
*resultobj
;
30755 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30757 wxMenu
*arg3
= (wxMenu
*) 0 ;
30758 wxString
*arg4
= 0 ;
30760 bool temp4
= False
;
30761 PyObject
* obj0
= 0 ;
30762 PyObject
* obj1
= 0 ;
30763 PyObject
* obj2
= 0 ;
30764 PyObject
* obj3
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30773 if (PyErr_Occurred()) SWIG_fail
;
30774 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
30775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30777 arg4
= wxString_in_helper(obj3
);
30778 if (arg4
== NULL
) SWIG_fail
;
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 resultobj
= wxPyMake_wxObject(result
);
30805 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30806 PyObject
*resultobj
;
30807 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30810 PyObject
* obj0
= 0 ;
30811 PyObject
* obj1
= 0 ;
30812 char *kwnames
[] = {
30813 (char *) "self",(char *) "pos", NULL
30816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30819 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30823 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
30825 wxPyEndAllowThreads(__tstate
);
30826 if (PyErr_Occurred()) SWIG_fail
;
30829 resultobj
= wxPyMake_wxObject(result
);
30837 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30838 PyObject
*resultobj
;
30839 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30842 PyObject
* obj0
= 0 ;
30843 PyObject
* obj1
= 0 ;
30844 PyObject
* obj2
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self",(char *) "pos",(char *) "enable", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30852 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30853 if (PyErr_Occurred()) SWIG_fail
;
30854 arg3
= (bool) SWIG_AsBool(obj2
);
30855 if (PyErr_Occurred()) SWIG_fail
;
30857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30858 (arg1
)->EnableTop(arg2
,arg3
);
30860 wxPyEndAllowThreads(__tstate
);
30861 if (PyErr_Occurred()) SWIG_fail
;
30863 Py_INCREF(Py_None
); resultobj
= Py_None
;
30870 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30871 PyObject
*resultobj
;
30872 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30875 PyObject
* obj0
= 0 ;
30876 PyObject
* obj1
= 0 ;
30877 char *kwnames
[] = {
30878 (char *) "self",(char *) "pos", NULL
30881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30884 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30885 if (PyErr_Occurred()) SWIG_fail
;
30887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30888 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
30890 wxPyEndAllowThreads(__tstate
);
30891 if (PyErr_Occurred()) SWIG_fail
;
30894 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30902 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30903 PyObject
*resultobj
;
30904 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30906 wxString
*arg3
= 0 ;
30907 bool temp3
= False
;
30908 PyObject
* obj0
= 0 ;
30909 PyObject
* obj1
= 0 ;
30910 PyObject
* obj2
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self",(char *) "pos",(char *) "label", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30916 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30917 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30918 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30919 if (PyErr_Occurred()) SWIG_fail
;
30921 arg3
= wxString_in_helper(obj2
);
30922 if (arg3
== NULL
) SWIG_fail
;
30926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30927 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
30929 wxPyEndAllowThreads(__tstate
);
30930 if (PyErr_Occurred()) SWIG_fail
;
30932 Py_INCREF(Py_None
); resultobj
= Py_None
;
30947 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30948 PyObject
*resultobj
;
30949 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 char *kwnames
[] = {
30955 (char *) "self",(char *) "pos", NULL
30958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
30959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30961 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
30962 if (PyErr_Occurred()) SWIG_fail
;
30964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30965 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
30967 wxPyEndAllowThreads(__tstate
);
30968 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30974 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30983 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30984 PyObject
*resultobj
;
30985 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30986 wxString
*arg2
= 0 ;
30987 wxString
*arg3
= 0 ;
30989 bool temp2
= False
;
30990 bool temp3
= False
;
30991 PyObject
* obj0
= 0 ;
30992 PyObject
* obj1
= 0 ;
30993 PyObject
* obj2
= 0 ;
30994 char *kwnames
[] = {
30995 (char *) "self",(char *) "menu",(char *) "item", NULL
30998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31002 arg2
= wxString_in_helper(obj1
);
31003 if (arg2
== NULL
) SWIG_fail
;
31007 arg3
= wxString_in_helper(obj2
);
31008 if (arg3
== NULL
) SWIG_fail
;
31012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31013 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
31015 wxPyEndAllowThreads(__tstate
);
31016 if (PyErr_Occurred()) SWIG_fail
;
31018 resultobj
= SWIG_FromInt((int)result
);
31041 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
;
31043 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31045 wxMenuItem
*result
;
31046 PyObject
* obj0
= 0 ;
31047 PyObject
* obj1
= 0 ;
31048 char *kwnames
[] = {
31049 (char *) "self",(char *) "id", NULL
31052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
31053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31055 arg2
= (int) SWIG_AsInt(obj1
);
31056 if (PyErr_Occurred()) SWIG_fail
;
31058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31059 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
31061 wxPyEndAllowThreads(__tstate
);
31062 if (PyErr_Occurred()) SWIG_fail
;
31065 resultobj
= wxPyMake_wxObject(result
);
31073 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31074 PyObject
*resultobj
;
31075 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31076 wxString
*arg2
= 0 ;
31078 bool temp2
= False
;
31079 PyObject
* obj0
= 0 ;
31080 PyObject
* obj1
= 0 ;
31081 char *kwnames
[] = {
31082 (char *) "self",(char *) "title", NULL
31085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31089 arg2
= wxString_in_helper(obj1
);
31090 if (arg2
== NULL
) SWIG_fail
;
31094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31095 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
31097 wxPyEndAllowThreads(__tstate
);
31098 if (PyErr_Occurred()) SWIG_fail
;
31100 resultobj
= SWIG_FromInt((int)result
);
31115 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31116 PyObject
*resultobj
;
31117 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31120 PyObject
* obj0
= 0 ;
31121 PyObject
* obj1
= 0 ;
31122 PyObject
* obj2
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self",(char *) "id",(char *) "enable", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31130 arg2
= (int) SWIG_AsInt(obj1
);
31131 if (PyErr_Occurred()) SWIG_fail
;
31132 arg3
= (bool) SWIG_AsBool(obj2
);
31133 if (PyErr_Occurred()) SWIG_fail
;
31135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31136 (arg1
)->Enable(arg2
,arg3
);
31138 wxPyEndAllowThreads(__tstate
);
31139 if (PyErr_Occurred()) SWIG_fail
;
31141 Py_INCREF(Py_None
); resultobj
= Py_None
;
31148 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31149 PyObject
*resultobj
;
31150 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31153 PyObject
* obj0
= 0 ;
31154 PyObject
* obj1
= 0 ;
31155 PyObject
* obj2
= 0 ;
31156 char *kwnames
[] = {
31157 (char *) "self",(char *) "id",(char *) "check", NULL
31160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31161 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31162 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31163 arg2
= (int) SWIG_AsInt(obj1
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31165 arg3
= (bool) SWIG_AsBool(obj2
);
31166 if (PyErr_Occurred()) SWIG_fail
;
31168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31169 (arg1
)->Check(arg2
,arg3
);
31171 wxPyEndAllowThreads(__tstate
);
31172 if (PyErr_Occurred()) SWIG_fail
;
31174 Py_INCREF(Py_None
); resultobj
= Py_None
;
31181 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31182 PyObject
*resultobj
;
31183 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31186 PyObject
* obj0
= 0 ;
31187 PyObject
* obj1
= 0 ;
31188 char *kwnames
[] = {
31189 (char *) "self",(char *) "id", NULL
31192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
31193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31195 arg2
= (int) SWIG_AsInt(obj1
);
31196 if (PyErr_Occurred()) SWIG_fail
;
31198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31199 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
31201 wxPyEndAllowThreads(__tstate
);
31202 if (PyErr_Occurred()) SWIG_fail
;
31205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31213 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31214 PyObject
*resultobj
;
31215 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 PyObject
* obj1
= 0 ;
31220 char *kwnames
[] = {
31221 (char *) "self",(char *) "id", NULL
31224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
31225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31227 arg2
= (int) SWIG_AsInt(obj1
);
31228 if (PyErr_Occurred()) SWIG_fail
;
31230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31231 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
31233 wxPyEndAllowThreads(__tstate
);
31234 if (PyErr_Occurred()) SWIG_fail
;
31237 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31245 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31249 wxString
*arg3
= 0 ;
31250 bool temp3
= False
;
31251 PyObject
* obj0
= 0 ;
31252 PyObject
* obj1
= 0 ;
31253 PyObject
* obj2
= 0 ;
31254 char *kwnames
[] = {
31255 (char *) "self",(char *) "id",(char *) "label", NULL
31258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31261 arg2
= (int) SWIG_AsInt(obj1
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 arg3
= wxString_in_helper(obj2
);
31265 if (arg3
== NULL
) SWIG_fail
;
31269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31270 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
31272 wxPyEndAllowThreads(__tstate
);
31273 if (PyErr_Occurred()) SWIG_fail
;
31275 Py_INCREF(Py_None
); resultobj
= Py_None
;
31290 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31291 PyObject
*resultobj
;
31292 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31295 PyObject
* obj0
= 0 ;
31296 PyObject
* obj1
= 0 ;
31297 char *kwnames
[] = {
31298 (char *) "self",(char *) "id", NULL
31301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31304 arg2
= (int) SWIG_AsInt(obj1
);
31305 if (PyErr_Occurred()) SWIG_fail
;
31307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31308 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
31310 wxPyEndAllowThreads(__tstate
);
31311 if (PyErr_Occurred()) SWIG_fail
;
31315 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31317 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31326 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31327 PyObject
*resultobj
;
31328 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31330 wxString
*arg3
= 0 ;
31331 bool temp3
= False
;
31332 PyObject
* obj0
= 0 ;
31333 PyObject
* obj1
= 0 ;
31334 PyObject
* obj2
= 0 ;
31335 char *kwnames
[] = {
31336 (char *) "self",(char *) "id",(char *) "helpString", NULL
31339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31342 arg2
= (int) SWIG_AsInt(obj1
);
31343 if (PyErr_Occurred()) SWIG_fail
;
31345 arg3
= wxString_in_helper(obj2
);
31346 if (arg3
== NULL
) SWIG_fail
;
31350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31351 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
31353 wxPyEndAllowThreads(__tstate
);
31354 if (PyErr_Occurred()) SWIG_fail
;
31356 Py_INCREF(Py_None
); resultobj
= Py_None
;
31371 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31372 PyObject
*resultobj
;
31373 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31376 PyObject
* obj0
= 0 ;
31377 PyObject
* obj1
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "self",(char *) "id", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
31383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31385 arg2
= (int) SWIG_AsInt(obj1
);
31386 if (PyErr_Occurred()) SWIG_fail
;
31388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31389 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
31391 wxPyEndAllowThreads(__tstate
);
31392 if (PyErr_Occurred()) SWIG_fail
;
31396 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31398 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31407 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31411 PyObject
* obj0
= 0 ;
31412 char *kwnames
[] = {
31413 (char *) "self", NULL
31416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
31417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31427 resultobj
= wxPyMake_wxObject(result
);
31435 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31439 PyObject
* obj0
= 0 ;
31440 char *kwnames
[] = {
31441 (char *) "self", NULL
31444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
31445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31449 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
31451 wxPyEndAllowThreads(__tstate
);
31452 if (PyErr_Occurred()) SWIG_fail
;
31455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31463 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31464 PyObject
*resultobj
;
31465 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31466 wxFrame
*arg2
= (wxFrame
*) 0 ;
31467 PyObject
* obj0
= 0 ;
31468 PyObject
* obj1
= 0 ;
31469 char *kwnames
[] = {
31470 (char *) "self",(char *) "frame", NULL
31473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
31474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31476 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
31477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->Attach(arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31492 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
;
31494 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
31502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31507 wxPyEndAllowThreads(__tstate
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 Py_INCREF(Py_None
); resultobj
= Py_None
;
31517 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
31519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31520 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
31522 return Py_BuildValue((char *)"");
31524 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31525 PyObject
*resultobj
;
31526 wxMenu
*arg1
= (wxMenu
*) NULL
;
31527 int arg2
= (int) wxID_SEPARATOR
;
31528 wxString
const &arg3_defvalue
= wxPyEmptyString
;
31529 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
31530 wxString
const &arg4_defvalue
= wxPyEmptyString
;
31531 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
31532 int arg5
= (int) wxITEM_NORMAL
;
31533 wxMenu
*arg6
= (wxMenu
*) NULL
;
31534 wxMenuItem
*result
;
31535 bool temp3
= False
;
31536 bool temp4
= False
;
31537 PyObject
* obj0
= 0 ;
31538 PyObject
* obj1
= 0 ;
31539 PyObject
* obj2
= 0 ;
31540 PyObject
* obj3
= 0 ;
31541 PyObject
* obj4
= 0 ;
31542 PyObject
* obj5
= 0 ;
31543 char *kwnames
[] = {
31544 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
31547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
31550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31553 arg2
= (int) SWIG_AsInt(obj1
);
31554 if (PyErr_Occurred()) SWIG_fail
;
31558 arg3
= wxString_in_helper(obj2
);
31559 if (arg3
== NULL
) SWIG_fail
;
31565 arg4
= wxString_in_helper(obj3
);
31566 if (arg4
== NULL
) SWIG_fail
;
31571 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31575 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
31576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31580 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
31582 wxPyEndAllowThreads(__tstate
);
31583 if (PyErr_Occurred()) SWIG_fail
;
31586 resultobj
= wxPyMake_wxObject(result
);
31610 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31611 PyObject
*resultobj
;
31612 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31614 PyObject
* obj0
= 0 ;
31615 char *kwnames
[] = {
31616 (char *) "self", NULL
31619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
31620 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31621 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31624 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
31626 wxPyEndAllowThreads(__tstate
);
31627 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= wxPyMake_wxObject(result
);
31638 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31639 PyObject
*resultobj
;
31640 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31641 wxMenu
*arg2
= (wxMenu
*) 0 ;
31642 PyObject
* obj0
= 0 ;
31643 PyObject
* obj1
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self",(char *) "menu", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
31649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31651 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
31652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31655 (arg1
)->SetMenu(arg2
);
31657 wxPyEndAllowThreads(__tstate
);
31658 if (PyErr_Occurred()) SWIG_fail
;
31660 Py_INCREF(Py_None
); resultobj
= Py_None
;
31667 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31668 PyObject
*resultobj
;
31669 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31671 PyObject
* obj0
= 0 ;
31672 PyObject
* obj1
= 0 ;
31673 char *kwnames
[] = {
31674 (char *) "self",(char *) "id", NULL
31677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
31678 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31679 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31680 arg2
= (int) SWIG_AsInt(obj1
);
31681 if (PyErr_Occurred()) SWIG_fail
;
31683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31684 (arg1
)->SetId(arg2
);
31686 wxPyEndAllowThreads(__tstate
);
31687 if (PyErr_Occurred()) SWIG_fail
;
31689 Py_INCREF(Py_None
); resultobj
= Py_None
;
31696 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31697 PyObject
*resultobj
;
31698 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31700 PyObject
* obj0
= 0 ;
31701 char *kwnames
[] = {
31702 (char *) "self", NULL
31705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
31706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31710 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
31712 wxPyEndAllowThreads(__tstate
);
31713 if (PyErr_Occurred()) SWIG_fail
;
31715 resultobj
= SWIG_FromInt((int)result
);
31722 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31723 PyObject
*resultobj
;
31724 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31726 PyObject
* obj0
= 0 ;
31727 char *kwnames
[] = {
31728 (char *) "self", NULL
31731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
31732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31750 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31751 PyObject
*resultobj
;
31752 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31753 wxString
*arg2
= 0 ;
31754 bool temp2
= False
;
31755 PyObject
* obj0
= 0 ;
31756 PyObject
* obj1
= 0 ;
31757 char *kwnames
[] = {
31758 (char *) "self",(char *) "str", NULL
31761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
31762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31765 arg2
= wxString_in_helper(obj1
);
31766 if (arg2
== NULL
) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 (arg1
)->SetText((wxString
const &)*arg2
);
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 Py_INCREF(Py_None
); resultobj
= Py_None
;
31791 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31792 PyObject
*resultobj
;
31793 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31795 PyObject
* obj0
= 0 ;
31796 char *kwnames
[] = {
31797 (char *) "self", NULL
31800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
31801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31805 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
31807 wxPyEndAllowThreads(__tstate
);
31808 if (PyErr_Occurred()) SWIG_fail
;
31812 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31814 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31823 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31824 PyObject
*resultobj
;
31825 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31827 PyObject
* obj0
= 0 ;
31828 char *kwnames
[] = {
31829 (char *) "self", NULL
31832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
31833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31838 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
31839 result
= (wxString
*) &_result_ref
;
31842 wxPyEndAllowThreads(__tstate
);
31843 if (PyErr_Occurred()) SWIG_fail
;
31847 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31849 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31858 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31859 PyObject
*resultobj
;
31860 wxString
*arg1
= 0 ;
31862 bool temp1
= False
;
31863 PyObject
* obj0
= 0 ;
31864 char *kwnames
[] = {
31865 (char *) "text", NULL
31868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
31870 arg1
= wxString_in_helper(obj0
);
31871 if (arg1
== NULL
) SWIG_fail
;
31875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31876 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
31878 wxPyEndAllowThreads(__tstate
);
31879 if (PyErr_Occurred()) SWIG_fail
;
31883 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31885 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31902 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31903 PyObject
*resultobj
;
31904 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31906 PyObject
* obj0
= 0 ;
31907 char *kwnames
[] = {
31908 (char *) "self", NULL
31911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
31912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= SWIG_FromInt((int)result
);
31928 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31929 PyObject
*resultobj
;
31930 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31932 PyObject
* obj0
= 0 ;
31933 PyObject
* obj1
= 0 ;
31934 char *kwnames
[] = {
31935 (char *) "self",(char *) "checkable", NULL
31938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
31939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31941 arg2
= (bool) SWIG_AsBool(obj1
);
31942 if (PyErr_Occurred()) SWIG_fail
;
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 (arg1
)->SetCheckable(arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 Py_INCREF(Py_None
); resultobj
= Py_None
;
31957 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31961 PyObject
* obj0
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
31967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31985 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31986 PyObject
*resultobj
;
31987 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31989 PyObject
* obj0
= 0 ;
31990 char *kwnames
[] = {
31991 (char *) "self", NULL
31994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
31995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31999 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
32001 wxPyEndAllowThreads(__tstate
);
32002 if (PyErr_Occurred()) SWIG_fail
;
32005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32013 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32014 PyObject
*resultobj
;
32015 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32016 wxMenu
*arg2
= (wxMenu
*) 0 ;
32017 PyObject
* obj0
= 0 ;
32018 PyObject
* obj1
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "menu", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
32024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32026 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
32027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32030 (arg1
)->SetSubMenu(arg2
);
32032 wxPyEndAllowThreads(__tstate
);
32033 if (PyErr_Occurred()) SWIG_fail
;
32035 Py_INCREF(Py_None
); resultobj
= Py_None
;
32042 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32043 PyObject
*resultobj
;
32044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32046 PyObject
* obj0
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
32052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= wxPyMake_wxObject(result
);
32070 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32071 PyObject
*resultobj
;
32072 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32073 bool arg2
= (bool) True
;
32074 PyObject
* obj0
= 0 ;
32075 PyObject
* obj1
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self",(char *) "enable", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
32081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32084 arg2
= (bool) SWIG_AsBool(obj1
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32089 (arg1
)->Enable(arg2
);
32091 wxPyEndAllowThreads(__tstate
);
32092 if (PyErr_Occurred()) SWIG_fail
;
32094 Py_INCREF(Py_None
); resultobj
= Py_None
;
32101 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32102 PyObject
*resultobj
;
32103 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32105 PyObject
* obj0
= 0 ;
32106 char *kwnames
[] = {
32107 (char *) "self", NULL
32110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
32111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32115 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
32117 wxPyEndAllowThreads(__tstate
);
32118 if (PyErr_Occurred()) SWIG_fail
;
32121 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32129 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32130 PyObject
*resultobj
;
32131 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32132 bool arg2
= (bool) True
;
32133 PyObject
* obj0
= 0 ;
32134 PyObject
* obj1
= 0 ;
32135 char *kwnames
[] = {
32136 (char *) "self",(char *) "check", NULL
32139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
32140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32143 arg2
= (bool) SWIG_AsBool(obj1
);
32144 if (PyErr_Occurred()) SWIG_fail
;
32147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32148 (arg1
)->Check(arg2
);
32150 wxPyEndAllowThreads(__tstate
);
32151 if (PyErr_Occurred()) SWIG_fail
;
32153 Py_INCREF(Py_None
); resultobj
= Py_None
;
32160 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32161 PyObject
*resultobj
;
32162 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32164 PyObject
* obj0
= 0 ;
32165 char *kwnames
[] = {
32166 (char *) "self", NULL
32169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
32170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32174 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
32176 wxPyEndAllowThreads(__tstate
);
32177 if (PyErr_Occurred()) SWIG_fail
;
32180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32188 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32189 PyObject
*resultobj
;
32190 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32191 PyObject
* obj0
= 0 ;
32192 char *kwnames
[] = {
32193 (char *) "self", NULL
32196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
32197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32216 wxString
*arg2
= 0 ;
32217 bool temp2
= False
;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "str", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
32225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32228 arg2
= wxString_in_helper(obj1
);
32229 if (arg2
== NULL
) SWIG_fail
;
32233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32234 (arg1
)->SetHelp((wxString
const &)*arg2
);
32236 wxPyEndAllowThreads(__tstate
);
32237 if (PyErr_Occurred()) SWIG_fail
;
32239 Py_INCREF(Py_None
); resultobj
= Py_None
;
32254 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32255 PyObject
*resultobj
;
32256 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32258 PyObject
* obj0
= 0 ;
32259 char *kwnames
[] = {
32260 (char *) "self", NULL
32263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
32264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
32270 result
= (wxString
*) &_result_ref
;
32273 wxPyEndAllowThreads(__tstate
);
32274 if (PyErr_Occurred()) SWIG_fail
;
32278 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
32280 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
32289 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32290 PyObject
*resultobj
;
32291 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32292 wxAcceleratorEntry
*result
;
32293 PyObject
* obj0
= 0 ;
32294 char *kwnames
[] = {
32295 (char *) "self", NULL
32298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
32299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
32315 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32318 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
32319 PyObject
* obj0
= 0 ;
32320 PyObject
* obj1
= 0 ;
32321 char *kwnames
[] = {
32322 (char *) "self",(char *) "accel", NULL
32325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
32326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
32329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32332 (arg1
)->SetAccel(arg2
);
32334 wxPyEndAllowThreads(__tstate
);
32335 if (PyErr_Occurred()) SWIG_fail
;
32337 Py_INCREF(Py_None
); resultobj
= Py_None
;
32344 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32345 PyObject
*resultobj
;
32346 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32348 PyObject
* obj0
= 0 ;
32349 PyObject
* obj1
= 0 ;
32350 char *kwnames
[] = {
32351 (char *) "self",(char *) "font", NULL
32354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
32355 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32356 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32357 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
32358 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32360 if (arg2
== NULL
) {
32361 PyErr_SetString(PyExc_TypeError
,"null reference");
32365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32366 (arg1
)->SetFont((wxFont
const &)*arg2
);
32368 wxPyEndAllowThreads(__tstate
);
32369 if (PyErr_Occurred()) SWIG_fail
;
32371 Py_INCREF(Py_None
); resultobj
= Py_None
;
32378 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32379 PyObject
*resultobj
;
32380 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32382 PyObject
* obj0
= 0 ;
32383 char *kwnames
[] = {
32384 (char *) "self", NULL
32387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
32388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32392 result
= (arg1
)->GetFont();
32394 wxPyEndAllowThreads(__tstate
);
32395 if (PyErr_Occurred()) SWIG_fail
;
32398 wxFont
* resultptr
;
32399 resultptr
= new wxFont((wxFont
&) result
);
32400 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
32408 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32409 PyObject
*resultobj
;
32410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32411 wxColour
*arg2
= 0 ;
32413 PyObject
* obj0
= 0 ;
32414 PyObject
* obj1
= 0 ;
32415 char *kwnames
[] = {
32416 (char *) "self",(char *) "colText", NULL
32419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32424 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32428 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
32430 wxPyEndAllowThreads(__tstate
);
32431 if (PyErr_Occurred()) SWIG_fail
;
32433 Py_INCREF(Py_None
); resultobj
= Py_None
;
32440 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32441 PyObject
*resultobj
;
32442 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32444 PyObject
* obj0
= 0 ;
32445 char *kwnames
[] = {
32446 (char *) "self", NULL
32449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
32450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32454 result
= (arg1
)->GetTextColour();
32456 wxPyEndAllowThreads(__tstate
);
32457 if (PyErr_Occurred()) SWIG_fail
;
32460 wxColour
* resultptr
;
32461 resultptr
= new wxColour((wxColour
&) result
);
32462 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32470 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32471 PyObject
*resultobj
;
32472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32473 wxColour
*arg2
= 0 ;
32475 PyObject
* obj0
= 0 ;
32476 PyObject
* obj1
= 0 ;
32477 char *kwnames
[] = {
32478 (char *) "self",(char *) "colBack", NULL
32481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
32482 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32486 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
32489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32490 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
32492 wxPyEndAllowThreads(__tstate
);
32493 if (PyErr_Occurred()) SWIG_fail
;
32495 Py_INCREF(Py_None
); resultobj
= Py_None
;
32502 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32503 PyObject
*resultobj
;
32504 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32506 PyObject
* obj0
= 0 ;
32507 char *kwnames
[] = {
32508 (char *) "self", NULL
32511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
32512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32516 result
= (arg1
)->GetBackgroundColour();
32518 wxPyEndAllowThreads(__tstate
);
32519 if (PyErr_Occurred()) SWIG_fail
;
32522 wxColour
* resultptr
;
32523 resultptr
= new wxColour((wxColour
&) result
);
32524 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
32532 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32533 PyObject
*resultobj
;
32534 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32535 wxBitmap
*arg2
= 0 ;
32536 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
32537 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
32538 PyObject
* obj0
= 0 ;
32539 PyObject
* obj1
= 0 ;
32540 PyObject
* obj2
= 0 ;
32541 char *kwnames
[] = {
32542 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
32545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32546 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32547 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32548 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32549 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32551 if (arg2
== NULL
) {
32552 PyErr_SetString(PyExc_TypeError
,"null reference");
32556 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
32557 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32559 if (arg3
== NULL
) {
32560 PyErr_SetString(PyExc_TypeError
,"null reference");
32565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32566 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
32568 wxPyEndAllowThreads(__tstate
);
32569 if (PyErr_Occurred()) SWIG_fail
;
32571 Py_INCREF(Py_None
); resultobj
= Py_None
;
32578 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32579 PyObject
*resultobj
;
32580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32581 wxBitmap
*arg2
= 0 ;
32582 PyObject
* obj0
= 0 ;
32583 PyObject
* obj1
= 0 ;
32584 char *kwnames
[] = {
32585 (char *) "self",(char *) "bmpDisabled", NULL
32588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32591 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32592 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32594 if (arg2
== NULL
) {
32595 PyErr_SetString(PyExc_TypeError
,"null reference");
32599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32600 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32605 Py_INCREF(Py_None
); resultobj
= Py_None
;
32612 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32613 PyObject
*resultobj
;
32614 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32616 PyObject
* obj0
= 0 ;
32617 char *kwnames
[] = {
32618 (char *) "self", NULL
32621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
32622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32627 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
32628 result
= (wxBitmap
*) &_result_ref
;
32631 wxPyEndAllowThreads(__tstate
);
32632 if (PyErr_Occurred()) SWIG_fail
;
32635 wxBitmap
* resultptr
= new wxBitmap(*result
);
32636 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32644 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32645 PyObject
*resultobj
;
32646 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32648 PyObject
* obj0
= 0 ;
32649 PyObject
* obj1
= 0 ;
32650 char *kwnames
[] = {
32651 (char *) "self",(char *) "nWidth", NULL
32654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
32655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32657 arg2
= (int) SWIG_AsInt(obj1
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 (arg1
)->SetMarginWidth(arg2
);
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 Py_INCREF(Py_None
); resultobj
= Py_None
;
32673 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 char *kwnames
[] = {
32679 (char *) "self", NULL
32682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",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
= (int)(arg1
)->GetMarginWidth();
32689 wxPyEndAllowThreads(__tstate
);
32690 if (PyErr_Occurred()) SWIG_fail
;
32692 resultobj
= SWIG_FromInt((int)result
);
32699 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32700 PyObject
*resultobj
;
32702 char *kwnames
[] = {
32706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
32708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32709 result
= (int)wxMenuItem::GetDefaultMarginWidth();
32711 wxPyEndAllowThreads(__tstate
);
32712 if (PyErr_Occurred()) SWIG_fail
;
32714 resultobj
= SWIG_FromInt((int)result
);
32721 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32722 PyObject
*resultobj
;
32723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32725 PyObject
* obj0
= 0 ;
32726 char *kwnames
[] = {
32727 (char *) "self", NULL
32730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= (bool)(arg1
)->IsOwnerDrawn();
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32749 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32750 PyObject
*resultobj
;
32751 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32752 bool arg2
= (bool) True
;
32753 PyObject
* obj0
= 0 ;
32754 PyObject
* obj1
= 0 ;
32755 char *kwnames
[] = {
32756 (char *) "self",(char *) "ownerDrawn", NULL
32759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
32760 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32761 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32763 arg2
= (bool) SWIG_AsBool(obj1
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32768 (arg1
)->SetOwnerDrawn(arg2
);
32770 wxPyEndAllowThreads(__tstate
);
32771 if (PyErr_Occurred()) SWIG_fail
;
32773 Py_INCREF(Py_None
); resultobj
= Py_None
;
32780 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32781 PyObject
*resultobj
;
32782 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32783 PyObject
* obj0
= 0 ;
32784 char *kwnames
[] = {
32785 (char *) "self", NULL
32788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
32789 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32790 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32793 (arg1
)->ResetOwnerDrawn();
32795 wxPyEndAllowThreads(__tstate
);
32796 if (PyErr_Occurred()) SWIG_fail
;
32798 Py_INCREF(Py_None
); resultobj
= Py_None
;
32805 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32806 PyObject
*resultobj
;
32807 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32808 wxBitmap
*arg2
= 0 ;
32809 PyObject
* obj0
= 0 ;
32810 PyObject
* obj1
= 0 ;
32811 char *kwnames
[] = {
32812 (char *) "self",(char *) "bitmap", NULL
32815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
32816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32818 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
32819 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32821 if (arg2
== NULL
) {
32822 PyErr_SetString(PyExc_TypeError
,"null reference");
32826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32827 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
32829 wxPyEndAllowThreads(__tstate
);
32830 if (PyErr_Occurred()) SWIG_fail
;
32832 Py_INCREF(Py_None
); resultobj
= Py_None
;
32839 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32840 PyObject
*resultobj
;
32841 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
32843 PyObject
* obj0
= 0 ;
32844 char *kwnames
[] = {
32845 (char *) "self", NULL
32848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
32849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
32850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
32855 result
= (wxBitmap
*) &_result_ref
;
32858 wxPyEndAllowThreads(__tstate
);
32859 if (PyErr_Occurred()) SWIG_fail
;
32862 wxBitmap
* resultptr
= new wxBitmap(*result
);
32863 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
32871 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
32873 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32874 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
32876 return Py_BuildValue((char *)"");
32878 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
32879 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
32884 static PyObject
*_wrap_ControlNameStr_get() {
32889 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32891 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
32898 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32899 PyObject
*resultobj
;
32900 wxWindow
*arg1
= (wxWindow
*) 0 ;
32902 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
32903 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
32904 wxSize
const &arg4_defvalue
= wxDefaultSize
;
32905 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
32906 long arg5
= (long) 0 ;
32907 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
32908 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
32909 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
32910 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
32914 bool temp7
= False
;
32915 PyObject
* obj0
= 0 ;
32916 PyObject
* obj1
= 0 ;
32917 PyObject
* obj2
= 0 ;
32918 PyObject
* obj3
= 0 ;
32919 PyObject
* obj4
= 0 ;
32920 PyObject
* obj5
= 0 ;
32921 PyObject
* obj6
= 0 ;
32922 char *kwnames
[] = {
32923 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
32926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
32927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32929 arg2
= (int) SWIG_AsInt(obj1
);
32930 if (PyErr_Occurred()) SWIG_fail
;
32934 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
32940 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
32944 arg5
= (long) SWIG_AsLong(obj4
);
32945 if (PyErr_Occurred()) SWIG_fail
;
32948 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
32949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
32951 if (arg6
== NULL
) {
32952 PyErr_SetString(PyExc_TypeError
,"null reference");
32958 arg7
= wxString_in_helper(obj6
);
32959 if (arg7
== NULL
) SWIG_fail
;
32964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32965 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
32967 wxPyEndAllowThreads(__tstate
);
32968 if (PyErr_Occurred()) SWIG_fail
;
32971 resultobj
= wxPyMake_wxObject(result
);
32987 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32988 PyObject
*resultobj
;
32990 char *kwnames
[] = {
32994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
32996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32997 result
= (wxControl
*)new wxControl();
32999 wxPyEndAllowThreads(__tstate
);
33000 if (PyErr_Occurred()) SWIG_fail
;
33003 resultobj
= wxPyMake_wxObject(result
);
33011 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33012 PyObject
*resultobj
;
33013 wxControl
*arg1
= (wxControl
*) 0 ;
33014 wxWindow
*arg2
= (wxWindow
*) 0 ;
33016 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
33017 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
33018 wxSize
const &arg5_defvalue
= wxDefaultSize
;
33019 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
33020 long arg6
= (long) 0 ;
33021 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
33022 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
33023 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
33024 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
33028 bool temp8
= False
;
33029 PyObject
* obj0
= 0 ;
33030 PyObject
* obj1
= 0 ;
33031 PyObject
* obj2
= 0 ;
33032 PyObject
* obj3
= 0 ;
33033 PyObject
* obj4
= 0 ;
33034 PyObject
* obj5
= 0 ;
33035 PyObject
* obj6
= 0 ;
33036 PyObject
* obj7
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
33042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33046 arg3
= (int) SWIG_AsInt(obj2
);
33047 if (PyErr_Occurred()) SWIG_fail
;
33051 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
33057 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
33061 arg6
= (long) SWIG_AsLong(obj5
);
33062 if (PyErr_Occurred()) SWIG_fail
;
33065 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
33066 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33068 if (arg7
== NULL
) {
33069 PyErr_SetString(PyExc_TypeError
,"null reference");
33075 arg8
= wxString_in_helper(obj7
);
33076 if (arg8
== NULL
) SWIG_fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33104 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33105 PyObject
*resultobj
;
33106 wxControl
*arg1
= (wxControl
*) 0 ;
33107 wxCommandEvent
*arg2
= 0 ;
33108 PyObject
* obj0
= 0 ;
33109 PyObject
* obj1
= 0 ;
33110 char *kwnames
[] = {
33111 (char *) "self",(char *) "event", NULL
33114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
33115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33117 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
33118 SWIG_POINTER_EXCEPTION
| 0)) == -1)
33120 if (arg2
== NULL
) {
33121 PyErr_SetString(PyExc_TypeError
,"null reference");
33125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33126 (arg1
)->Command(*arg2
);
33128 wxPyEndAllowThreads(__tstate
);
33129 if (PyErr_Occurred()) SWIG_fail
;
33131 Py_INCREF(Py_None
); resultobj
= Py_None
;
33138 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33139 PyObject
*resultobj
;
33140 wxControl
*arg1
= (wxControl
*) 0 ;
33142 PyObject
* obj0
= 0 ;
33143 char *kwnames
[] = {
33144 (char *) "self", NULL
33147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
33148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33152 result
= (arg1
)->GetLabel();
33154 wxPyEndAllowThreads(__tstate
);
33155 if (PyErr_Occurred()) SWIG_fail
;
33159 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33161 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33170 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33171 PyObject
*resultobj
;
33172 wxControl
*arg1
= (wxControl
*) 0 ;
33173 wxString
*arg2
= 0 ;
33174 bool temp2
= False
;
33175 PyObject
* obj0
= 0 ;
33176 PyObject
* obj1
= 0 ;
33177 char *kwnames
[] = {
33178 (char *) "self",(char *) "label", NULL
33181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
33182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
33183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33185 arg2
= wxString_in_helper(obj1
);
33186 if (arg2
== NULL
) SWIG_fail
;
33190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33191 (arg1
)->SetLabel((wxString
const &)*arg2
);
33193 wxPyEndAllowThreads(__tstate
);
33194 if (PyErr_Occurred()) SWIG_fail
;
33196 Py_INCREF(Py_None
); resultobj
= Py_None
;
33211 static PyObject
*_wrap_Control_GetClassDefaultAttributes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33212 PyObject
*resultobj
;
33213 int arg1
= (int) wxWINDOW_VARIANT_NORMAL
;
33214 wxVisualAttributes result
;
33215 PyObject
* obj0
= 0 ;
33216 char *kwnames
[] = {
33217 (char *) "variant", NULL
33220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Control_GetClassDefaultAttributes",kwnames
,&obj0
)) goto fail
;
33222 arg1
= (wxWindowVariant
) SWIG_AsInt(obj0
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33227 result
= wxControl::GetClassDefaultAttributes((wxWindowVariant
)arg1
);
33229 wxPyEndAllowThreads(__tstate
);
33230 if (PyErr_Occurred()) SWIG_fail
;
33233 wxVisualAttributes
* resultptr
;
33234 resultptr
= new wxVisualAttributes((wxVisualAttributes
&) result
);
33235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxVisualAttributes
, 1);
33243 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
33245 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33246 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
33248 return Py_BuildValue((char *)"");
33250 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33251 PyObject
*resultobj
;
33252 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33253 wxString
*arg2
= 0 ;
33254 PyObject
*arg3
= (PyObject
*) NULL
;
33256 bool temp2
= False
;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33259 PyObject
* obj2
= 0 ;
33260 char *kwnames
[] = {
33261 (char *) "self",(char *) "item",(char *) "clientData", NULL
33264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33268 arg2
= wxString_in_helper(obj1
);
33269 if (arg2
== NULL
) SWIG_fail
;
33276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33277 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
33279 wxPyEndAllowThreads(__tstate
);
33280 if (PyErr_Occurred()) SWIG_fail
;
33282 resultobj
= SWIG_FromInt((int)result
);
33297 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33298 PyObject
*resultobj
;
33299 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33300 wxArrayString
*arg2
= 0 ;
33301 bool temp2
= False
;
33302 PyObject
* obj0
= 0 ;
33303 PyObject
* obj1
= 0 ;
33304 char *kwnames
[] = {
33305 (char *) "self",(char *) "strings", NULL
33308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
33309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33312 if (! PySequence_Check(obj1
)) {
33313 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
33316 arg2
= new wxArrayString
;
33318 int i
, len
=PySequence_Length(obj1
);
33319 for (i
=0; i
<len
; i
++) {
33320 PyObject
* item
= PySequence_GetItem(obj1
, i
);
33322 PyObject
* str
= PyObject_Unicode(item
);
33324 PyObject
* str
= PyObject_Str(item
);
33326 if (PyErr_Occurred()) SWIG_fail
;
33327 arg2
->Add(Py2wxString(str
));
33333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33334 (arg1
)->Append((wxArrayString
const &)*arg2
);
33336 wxPyEndAllowThreads(__tstate
);
33337 if (PyErr_Occurred()) SWIG_fail
;
33339 Py_INCREF(Py_None
); resultobj
= Py_None
;
33341 if (temp2
) delete arg2
;
33346 if (temp2
) delete arg2
;
33352 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33353 PyObject
*resultobj
;
33354 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33355 wxString
*arg2
= 0 ;
33357 PyObject
*arg4
= (PyObject
*) NULL
;
33359 bool temp2
= False
;
33360 PyObject
* obj0
= 0 ;
33361 PyObject
* obj1
= 0 ;
33362 PyObject
* obj2
= 0 ;
33363 PyObject
* obj3
= 0 ;
33364 char *kwnames
[] = {
33365 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
33368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33372 arg2
= wxString_in_helper(obj1
);
33373 if (arg2
== NULL
) SWIG_fail
;
33376 arg3
= (int) SWIG_AsInt(obj2
);
33377 if (PyErr_Occurred()) SWIG_fail
;
33382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33383 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
33385 wxPyEndAllowThreads(__tstate
);
33386 if (PyErr_Occurred()) SWIG_fail
;
33388 resultobj
= SWIG_FromInt((int)result
);
33403 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33404 PyObject
*resultobj
;
33405 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33406 PyObject
* obj0
= 0 ;
33407 char *kwnames
[] = {
33408 (char *) "self", NULL
33411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
33412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33418 wxPyEndAllowThreads(__tstate
);
33419 if (PyErr_Occurred()) SWIG_fail
;
33421 Py_INCREF(Py_None
); resultobj
= Py_None
;
33428 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33429 PyObject
*resultobj
;
33430 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 char *kwnames
[] = {
33435 (char *) "self",(char *) "n", NULL
33438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
33439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33441 arg2
= (int) SWIG_AsInt(obj1
);
33442 if (PyErr_Occurred()) SWIG_fail
;
33444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33445 (arg1
)->Delete(arg2
);
33447 wxPyEndAllowThreads(__tstate
);
33448 if (PyErr_Occurred()) SWIG_fail
;
33450 Py_INCREF(Py_None
); resultobj
= Py_None
;
33457 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33458 PyObject
*resultobj
;
33459 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33461 PyObject
* obj0
= 0 ;
33462 char *kwnames
[] = {
33463 (char *) "self", NULL
33466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
33467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33471 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
33473 wxPyEndAllowThreads(__tstate
);
33474 if (PyErr_Occurred()) SWIG_fail
;
33476 resultobj
= SWIG_FromInt((int)result
);
33483 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33484 PyObject
*resultobj
;
33485 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33487 PyObject
* obj0
= 0 ;
33488 char *kwnames
[] = {
33489 (char *) "self", NULL
33492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
33493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33497 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
33499 wxPyEndAllowThreads(__tstate
);
33500 if (PyErr_Occurred()) SWIG_fail
;
33503 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33511 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33512 PyObject
*resultobj
;
33513 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33516 PyObject
* obj0
= 0 ;
33517 PyObject
* obj1
= 0 ;
33518 char *kwnames
[] = {
33519 (char *) "self",(char *) "n", NULL
33522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
33523 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33524 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33525 arg2
= (int) SWIG_AsInt(obj1
);
33526 if (PyErr_Occurred()) SWIG_fail
;
33528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33529 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
33531 wxPyEndAllowThreads(__tstate
);
33532 if (PyErr_Occurred()) SWIG_fail
;
33536 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33538 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33547 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33548 PyObject
*resultobj
;
33549 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33550 wxArrayString result
;
33551 PyObject
* obj0
= 0 ;
33552 char *kwnames
[] = {
33553 (char *) "self", NULL
33556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
33557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33561 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
33563 wxPyEndAllowThreads(__tstate
);
33564 if (PyErr_Occurred()) SWIG_fail
;
33567 resultobj
= wxArrayString2PyList_helper(result
);
33575 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33576 PyObject
*resultobj
;
33577 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33579 wxString
*arg3
= 0 ;
33580 bool temp3
= False
;
33581 PyObject
* obj0
= 0 ;
33582 PyObject
* obj1
= 0 ;
33583 PyObject
* obj2
= 0 ;
33584 char *kwnames
[] = {
33585 (char *) "self",(char *) "n",(char *) "s", NULL
33588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33591 arg2
= (int) SWIG_AsInt(obj1
);
33592 if (PyErr_Occurred()) SWIG_fail
;
33594 arg3
= wxString_in_helper(obj2
);
33595 if (arg3
== NULL
) SWIG_fail
;
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33605 Py_INCREF(Py_None
); resultobj
= Py_None
;
33620 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33621 PyObject
*resultobj
;
33622 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33623 wxString
*arg2
= 0 ;
33625 bool temp2
= False
;
33626 PyObject
* obj0
= 0 ;
33627 PyObject
* obj1
= 0 ;
33628 char *kwnames
[] = {
33629 (char *) "self",(char *) "s", NULL
33632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
33633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33636 arg2
= wxString_in_helper(obj1
);
33637 if (arg2
== NULL
) SWIG_fail
;
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 resultobj
= SWIG_FromInt((int)result
);
33662 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33663 PyObject
*resultobj
;
33664 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33666 PyObject
* obj0
= 0 ;
33667 PyObject
* obj1
= 0 ;
33668 char *kwnames
[] = {
33669 (char *) "self",(char *) "n", NULL
33672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
33673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33675 arg2
= (int) SWIG_AsInt(obj1
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33679 (arg1
)->Select(arg2
);
33681 wxPyEndAllowThreads(__tstate
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33684 Py_INCREF(Py_None
); resultobj
= Py_None
;
33691 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33692 PyObject
*resultobj
;
33693 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33695 PyObject
* obj0
= 0 ;
33696 char *kwnames
[] = {
33697 (char *) "self", NULL
33700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
33701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33705 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_FromInt((int)result
);
33717 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33721 PyObject
* obj0
= 0 ;
33722 char *kwnames
[] = {
33723 (char *) "self", NULL
33726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
33727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33731 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
33733 wxPyEndAllowThreads(__tstate
);
33734 if (PyErr_Occurred()) SWIG_fail
;
33738 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
33740 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
33749 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33750 PyObject
*resultobj
;
33751 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 char *kwnames
[] = {
33757 (char *) "self",(char *) "n", NULL
33760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
33761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33763 arg2
= (int) SWIG_AsInt(obj1
);
33764 if (PyErr_Occurred()) SWIG_fail
;
33766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33767 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
33769 wxPyEndAllowThreads(__tstate
);
33770 if (PyErr_Occurred()) SWIG_fail
;
33772 resultobj
= result
;
33779 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33780 PyObject
*resultobj
;
33781 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
33783 PyObject
*arg3
= (PyObject
*) 0 ;
33784 PyObject
* obj0
= 0 ;
33785 PyObject
* obj1
= 0 ;
33786 PyObject
* obj2
= 0 ;
33787 char *kwnames
[] = {
33788 (char *) "self",(char *) "n",(char *) "clientData", NULL
33791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33792 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
33793 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33794 arg2
= (int) SWIG_AsInt(obj1
);
33795 if (PyErr_Occurred()) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 Py_INCREF(Py_None
); resultobj
= Py_None
;
33811 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
33813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33814 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
33816 return Py_BuildValue((char *)"");
33818 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
33820 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33821 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
33823 return Py_BuildValue((char *)"");
33825 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33826 PyObject
*resultobj
;
33827 wxSizerItem
*result
;
33828 char *kwnames
[] = {
33832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
33834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33835 result
= (wxSizerItem
*)new wxSizerItem();
33837 wxPyEndAllowThreads(__tstate
);
33838 if (PyErr_Occurred()) SWIG_fail
;
33840 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33847 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33848 PyObject
*resultobj
;
33854 wxObject
*arg6
= (wxObject
*) 0 ;
33855 wxSizerItem
*result
;
33856 PyObject
* obj0
= 0 ;
33857 PyObject
* obj1
= 0 ;
33858 PyObject
* obj2
= 0 ;
33859 PyObject
* obj3
= 0 ;
33860 PyObject
* obj4
= 0 ;
33861 PyObject
* obj5
= 0 ;
33862 char *kwnames
[] = {
33863 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33867 arg1
= (int) SWIG_AsInt(obj0
);
33868 if (PyErr_Occurred()) SWIG_fail
;
33869 arg2
= (int) SWIG_AsInt(obj1
);
33870 if (PyErr_Occurred()) SWIG_fail
;
33871 arg3
= (int) SWIG_AsInt(obj2
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33873 arg4
= (int) SWIG_AsInt(obj3
);
33874 if (PyErr_Occurred()) SWIG_fail
;
33875 arg5
= (int) SWIG_AsInt(obj4
);
33876 if (PyErr_Occurred()) SWIG_fail
;
33877 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
33878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33881 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33883 wxPyEndAllowThreads(__tstate
);
33884 if (PyErr_Occurred()) SWIG_fail
;
33886 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33893 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33894 PyObject
*resultobj
;
33895 wxWindow
*arg1
= (wxWindow
*) 0 ;
33899 wxObject
*arg5
= (wxObject
*) 0 ;
33900 wxSizerItem
*result
;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 PyObject
* obj2
= 0 ;
33904 PyObject
* obj3
= 0 ;
33905 PyObject
* obj4
= 0 ;
33906 char *kwnames
[] = {
33907 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
33912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33913 arg2
= (int) SWIG_AsInt(obj1
);
33914 if (PyErr_Occurred()) SWIG_fail
;
33915 arg3
= (int) SWIG_AsInt(obj2
);
33916 if (PyErr_Occurred()) SWIG_fail
;
33917 arg4
= (int) SWIG_AsInt(obj3
);
33918 if (PyErr_Occurred()) SWIG_fail
;
33919 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33923 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33925 wxPyEndAllowThreads(__tstate
);
33926 if (PyErr_Occurred()) SWIG_fail
;
33928 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33935 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33936 PyObject
*resultobj
;
33937 wxSizer
*arg1
= (wxSizer
*) 0 ;
33941 wxObject
*arg5
= (wxObject
*) 0 ;
33942 wxSizerItem
*result
;
33943 PyObject
* obj0
= 0 ;
33944 PyObject
* obj1
= 0 ;
33945 PyObject
* obj2
= 0 ;
33946 PyObject
* obj3
= 0 ;
33947 PyObject
* obj4
= 0 ;
33948 char *kwnames
[] = {
33949 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33955 arg2
= (int) SWIG_AsInt(obj1
);
33956 if (PyErr_Occurred()) SWIG_fail
;
33957 arg3
= (int) SWIG_AsInt(obj2
);
33958 if (PyErr_Occurred()) SWIG_fail
;
33959 arg4
= (int) SWIG_AsInt(obj3
);
33960 if (PyErr_Occurred()) SWIG_fail
;
33961 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
33962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33965 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
33967 wxPyEndAllowThreads(__tstate
);
33968 if (PyErr_Occurred()) SWIG_fail
;
33970 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
33977 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33978 PyObject
*resultobj
;
33979 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33980 PyObject
* obj0
= 0 ;
33981 char *kwnames
[] = {
33982 (char *) "self", NULL
33985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33990 (arg1
)->DeleteWindows();
33992 wxPyEndAllowThreads(__tstate
);
33993 if (PyErr_Occurred()) SWIG_fail
;
33995 Py_INCREF(Py_None
); resultobj
= Py_None
;
34002 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34003 PyObject
*resultobj
;
34004 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34005 PyObject
* obj0
= 0 ;
34006 char *kwnames
[] = {
34007 (char *) "self", NULL
34010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
34011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34015 (arg1
)->DetachSizer();
34017 wxPyEndAllowThreads(__tstate
);
34018 if (PyErr_Occurred()) SWIG_fail
;
34020 Py_INCREF(Py_None
); resultobj
= Py_None
;
34027 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34028 PyObject
*resultobj
;
34029 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34031 PyObject
* obj0
= 0 ;
34032 char *kwnames
[] = {
34033 (char *) "self", NULL
34036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
34037 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34038 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34041 result
= (arg1
)->GetSize();
34043 wxPyEndAllowThreads(__tstate
);
34044 if (PyErr_Occurred()) SWIG_fail
;
34047 wxSize
* resultptr
;
34048 resultptr
= new wxSize((wxSize
&) result
);
34049 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34057 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34058 PyObject
*resultobj
;
34059 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34061 PyObject
* obj0
= 0 ;
34062 char *kwnames
[] = {
34063 (char *) "self", NULL
34066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
34067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (arg1
)->CalcMin();
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34077 wxSize
* resultptr
;
34078 resultptr
= new wxSize((wxSize
&) result
);
34079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34087 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34088 PyObject
*resultobj
;
34089 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 PyObject
* obj2
= 0 ;
34097 char *kwnames
[] = {
34098 (char *) "self",(char *) "pos",(char *) "size", NULL
34101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34104 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
34105 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34107 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
34108 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34112 (arg1
)->SetDimension(arg2
,arg3
);
34114 wxPyEndAllowThreads(__tstate
);
34115 if (PyErr_Occurred()) SWIG_fail
;
34117 Py_INCREF(Py_None
); resultobj
= Py_None
;
34124 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34125 PyObject
*resultobj
;
34126 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34128 PyObject
* obj0
= 0 ;
34129 char *kwnames
[] = {
34130 (char *) "self", NULL
34133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
34134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34138 result
= (arg1
)->GetMinSize();
34140 wxPyEndAllowThreads(__tstate
);
34141 if (PyErr_Occurred()) SWIG_fail
;
34144 wxSize
* resultptr
;
34145 resultptr
= new wxSize((wxSize
&) result
);
34146 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34154 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
;
34156 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34159 PyObject
* obj0
= 0 ;
34160 PyObject
* obj1
= 0 ;
34161 PyObject
* obj2
= 0 ;
34162 char *kwnames
[] = {
34163 (char *) "self",(char *) "x",(char *) "y", NULL
34166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34169 arg2
= (int) SWIG_AsInt(obj1
);
34170 if (PyErr_Occurred()) SWIG_fail
;
34171 arg3
= (int) SWIG_AsInt(obj2
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 (arg1
)->SetInitSize(arg2
,arg3
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 Py_INCREF(Py_None
); resultobj
= Py_None
;
34187 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34192 PyObject
* obj0
= 0 ;
34193 PyObject
* obj1
= 0 ;
34194 PyObject
* obj2
= 0 ;
34195 char *kwnames
[] = {
34196 (char *) "self",(char *) "width",(char *) "height", NULL
34199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34202 arg2
= (int) SWIG_AsInt(obj1
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34204 arg3
= (int) SWIG_AsInt(obj2
);
34205 if (PyErr_Occurred()) SWIG_fail
;
34207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34208 (arg1
)->SetRatio(arg2
,arg3
);
34210 wxPyEndAllowThreads(__tstate
);
34211 if (PyErr_Occurred()) SWIG_fail
;
34213 Py_INCREF(Py_None
); resultobj
= Py_None
;
34220 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34221 PyObject
*resultobj
;
34222 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34225 PyObject
* obj0
= 0 ;
34226 PyObject
* obj1
= 0 ;
34227 char *kwnames
[] = {
34228 (char *) "self",(char *) "size", NULL
34231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34234 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
34235 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
34238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34239 (arg1
)->SetRatio(arg2
);
34241 wxPyEndAllowThreads(__tstate
);
34242 if (PyErr_Occurred()) SWIG_fail
;
34244 Py_INCREF(Py_None
); resultobj
= Py_None
;
34251 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34252 PyObject
*resultobj
;
34253 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34255 PyObject
* obj0
= 0 ;
34256 PyObject
* obj1
= 0 ;
34257 char *kwnames
[] = {
34258 (char *) "self",(char *) "ratio", NULL
34261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
34262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34264 arg2
= (float) SWIG_AsFloat(obj1
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34268 (arg1
)->SetRatio(arg2
);
34270 wxPyEndAllowThreads(__tstate
);
34271 if (PyErr_Occurred()) SWIG_fail
;
34273 Py_INCREF(Py_None
); resultobj
= Py_None
;
34280 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34281 PyObject
*resultobj
;
34282 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34284 PyObject
* obj0
= 0 ;
34285 char *kwnames
[] = {
34286 (char *) "self", NULL
34289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
34290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34294 result
= (float)(arg1
)->GetRatio();
34296 wxPyEndAllowThreads(__tstate
);
34297 if (PyErr_Occurred()) SWIG_fail
;
34299 resultobj
= SWIG_FromFloat((float)result
);
34306 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34307 PyObject
*resultobj
;
34308 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34310 PyObject
* obj0
= 0 ;
34311 char *kwnames
[] = {
34312 (char *) "self", NULL
34315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
34316 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34317 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34320 result
= (bool)(arg1
)->IsWindow();
34322 wxPyEndAllowThreads(__tstate
);
34323 if (PyErr_Occurred()) SWIG_fail
;
34326 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34334 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (bool)(arg1
)->IsSizer();
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34362 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34363 PyObject
*resultobj
;
34364 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34366 PyObject
* obj0
= 0 ;
34367 char *kwnames
[] = {
34368 (char *) "self", NULL
34371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
34372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34376 result
= (bool)(arg1
)->IsSpacer();
34378 wxPyEndAllowThreads(__tstate
);
34379 if (PyErr_Occurred()) SWIG_fail
;
34382 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34390 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34391 PyObject
*resultobj
;
34392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34394 PyObject
* obj0
= 0 ;
34395 PyObject
* obj1
= 0 ;
34396 char *kwnames
[] = {
34397 (char *) "self",(char *) "proportion", NULL
34400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
34401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34403 arg2
= (int) SWIG_AsInt(obj1
);
34404 if (PyErr_Occurred()) SWIG_fail
;
34406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34407 (arg1
)->SetProportion(arg2
);
34409 wxPyEndAllowThreads(__tstate
);
34410 if (PyErr_Occurred()) SWIG_fail
;
34412 Py_INCREF(Py_None
); resultobj
= Py_None
;
34419 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34420 PyObject
*resultobj
;
34421 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34423 PyObject
* obj0
= 0 ;
34424 char *kwnames
[] = {
34425 (char *) "self", NULL
34428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
34429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 result
= (int)(arg1
)->GetProportion();
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_FromInt((int)result
);
34445 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34446 PyObject
*resultobj
;
34447 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34449 PyObject
* obj0
= 0 ;
34450 PyObject
* obj1
= 0 ;
34451 char *kwnames
[] = {
34452 (char *) "self",(char *) "flag", NULL
34455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
34456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34458 arg2
= (int) SWIG_AsInt(obj1
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 (arg1
)->SetFlag(arg2
);
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34467 Py_INCREF(Py_None
); resultobj
= Py_None
;
34474 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
;
34476 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34478 PyObject
* obj0
= 0 ;
34479 char *kwnames
[] = {
34480 (char *) "self", NULL
34483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
34484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34488 result
= (int)(arg1
)->GetFlag();
34490 wxPyEndAllowThreads(__tstate
);
34491 if (PyErr_Occurred()) SWIG_fail
;
34493 resultobj
= SWIG_FromInt((int)result
);
34500 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34501 PyObject
*resultobj
;
34502 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34504 PyObject
* obj0
= 0 ;
34505 PyObject
* obj1
= 0 ;
34506 char *kwnames
[] = {
34507 (char *) "self",(char *) "border", NULL
34510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
34511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34513 arg2
= (int) SWIG_AsInt(obj1
);
34514 if (PyErr_Occurred()) SWIG_fail
;
34516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34517 (arg1
)->SetBorder(arg2
);
34519 wxPyEndAllowThreads(__tstate
);
34520 if (PyErr_Occurred()) SWIG_fail
;
34522 Py_INCREF(Py_None
); resultobj
= Py_None
;
34529 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34530 PyObject
*resultobj
;
34531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34533 PyObject
* obj0
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
34539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34543 result
= (int)(arg1
)->GetBorder();
34545 wxPyEndAllowThreads(__tstate
);
34546 if (PyErr_Occurred()) SWIG_fail
;
34548 resultobj
= SWIG_FromInt((int)result
);
34555 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34556 PyObject
*resultobj
;
34557 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 char *kwnames
[] = {
34561 (char *) "self", NULL
34564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
34565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 result
= (wxWindow
*)(arg1
)->GetWindow();
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34575 resultobj
= wxPyMake_wxObject(result
);
34583 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34584 PyObject
*resultobj
;
34585 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34586 wxWindow
*arg2
= (wxWindow
*) 0 ;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 char *kwnames
[] = {
34590 (char *) "self",(char *) "window", NULL
34593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
34594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34600 (arg1
)->SetWindow(arg2
);
34602 wxPyEndAllowThreads(__tstate
);
34603 if (PyErr_Occurred()) SWIG_fail
;
34605 Py_INCREF(Py_None
); resultobj
= Py_None
;
34612 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34613 PyObject
*resultobj
;
34614 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34616 PyObject
* obj0
= 0 ;
34617 char *kwnames
[] = {
34618 (char *) "self", NULL
34621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
34622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 result
= (wxSizer
*)(arg1
)->GetSizer();
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34632 resultobj
= wxPyMake_wxSizer(result
);
34640 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
;
34642 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34643 wxSizer
*arg2
= (wxSizer
*) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self",(char *) "sizer", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34653 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
34654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34657 (arg1
)->SetSizer(arg2
);
34659 wxPyEndAllowThreads(__tstate
);
34660 if (PyErr_Occurred()) SWIG_fail
;
34662 Py_INCREF(Py_None
); resultobj
= Py_None
;
34669 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 char *kwnames
[] = {
34675 (char *) "self", NULL
34678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
34679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
34685 result
= (wxSize
*) &_result_ref
;
34688 wxPyEndAllowThreads(__tstate
);
34689 if (PyErr_Occurred()) SWIG_fail
;
34691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
34698 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34703 PyObject
* obj0
= 0 ;
34704 PyObject
* obj1
= 0 ;
34705 char *kwnames
[] = {
34706 (char *) "self",(char *) "size", NULL
34709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
34710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34714 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34718 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
34720 wxPyEndAllowThreads(__tstate
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34723 Py_INCREF(Py_None
); resultobj
= Py_None
;
34730 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34731 PyObject
*resultobj
;
34732 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34734 PyObject
* obj0
= 0 ;
34735 PyObject
* obj1
= 0 ;
34736 char *kwnames
[] = {
34737 (char *) "self",(char *) "show", NULL
34740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
34741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34743 arg2
= (bool) SWIG_AsBool(obj1
);
34744 if (PyErr_Occurred()) SWIG_fail
;
34746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34747 (arg1
)->Show(arg2
);
34749 wxPyEndAllowThreads(__tstate
);
34750 if (PyErr_Occurred()) SWIG_fail
;
34752 Py_INCREF(Py_None
); resultobj
= Py_None
;
34759 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34760 PyObject
*resultobj
;
34761 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34763 PyObject
* obj0
= 0 ;
34764 char *kwnames
[] = {
34765 (char *) "self", NULL
34768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
34769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34773 result
= (bool)(arg1
)->IsShown();
34775 wxPyEndAllowThreads(__tstate
);
34776 if (PyErr_Occurred()) SWIG_fail
;
34779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34787 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34788 PyObject
*resultobj
;
34789 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34791 PyObject
* obj0
= 0 ;
34792 char *kwnames
[] = {
34793 (char *) "self", NULL
34796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
34797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34801 result
= (arg1
)->GetPosition();
34803 wxPyEndAllowThreads(__tstate
);
34804 if (PyErr_Occurred()) SWIG_fail
;
34807 wxPoint
* resultptr
;
34808 resultptr
= new wxPoint((wxPoint
&) result
);
34809 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34817 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34818 PyObject
*resultobj
;
34819 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
34821 PyObject
* obj0
= 0 ;
34822 char *kwnames
[] = {
34823 (char *) "self", NULL
34826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
34827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
34828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34831 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
34833 wxPyEndAllowThreads(__tstate
);
34834 if (PyErr_Occurred()) SWIG_fail
;
34836 resultobj
= result
;
34843 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
34845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34846 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
34848 return Py_BuildValue((char *)"");
34850 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34851 PyObject
*resultobj
;
34852 wxSizer
*arg1
= (wxSizer
*) 0 ;
34853 PyObject
*arg2
= (PyObject
*) 0 ;
34854 PyObject
* obj0
= 0 ;
34855 PyObject
* obj1
= 0 ;
34856 char *kwnames
[] = {
34857 (char *) "self",(char *) "_self", NULL
34860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
34861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 wxSizer__setOORInfo(arg1
,arg2
);
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34871 Py_INCREF(Py_None
); resultobj
= Py_None
;
34878 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34879 PyObject
*resultobj
;
34880 wxSizer
*arg1
= (wxSizer
*) 0 ;
34881 PyObject
*arg2
= (PyObject
*) 0 ;
34882 int arg3
= (int) 0 ;
34883 int arg4
= (int) 0 ;
34884 int arg5
= (int) 0 ;
34885 PyObject
*arg6
= (PyObject
*) NULL
;
34886 PyObject
* obj0
= 0 ;
34887 PyObject
* obj1
= 0 ;
34888 PyObject
* obj2
= 0 ;
34889 PyObject
* obj3
= 0 ;
34890 PyObject
* obj4
= 0 ;
34891 PyObject
* obj5
= 0 ;
34892 char *kwnames
[] = {
34893 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
34897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34901 arg3
= (int) SWIG_AsInt(obj2
);
34902 if (PyErr_Occurred()) SWIG_fail
;
34905 arg4
= (int) SWIG_AsInt(obj3
);
34906 if (PyErr_Occurred()) SWIG_fail
;
34909 arg5
= (int) SWIG_AsInt(obj4
);
34910 if (PyErr_Occurred()) SWIG_fail
;
34916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34917 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
34919 wxPyEndAllowThreads(__tstate
);
34920 if (PyErr_Occurred()) SWIG_fail
;
34922 Py_INCREF(Py_None
); resultobj
= Py_None
;
34929 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34930 PyObject
*resultobj
;
34931 wxSizer
*arg1
= (wxSizer
*) 0 ;
34933 PyObject
*arg3
= (PyObject
*) 0 ;
34934 int arg4
= (int) 0 ;
34935 int arg5
= (int) 0 ;
34936 int arg6
= (int) 0 ;
34937 PyObject
*arg7
= (PyObject
*) NULL
;
34938 PyObject
* obj0
= 0 ;
34939 PyObject
* obj1
= 0 ;
34940 PyObject
* obj2
= 0 ;
34941 PyObject
* obj3
= 0 ;
34942 PyObject
* obj4
= 0 ;
34943 PyObject
* obj5
= 0 ;
34944 PyObject
* obj6
= 0 ;
34945 char *kwnames
[] = {
34946 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
34949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
34950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34952 arg2
= (int) SWIG_AsInt(obj1
);
34953 if (PyErr_Occurred()) SWIG_fail
;
34956 arg4
= (int) SWIG_AsInt(obj3
);
34957 if (PyErr_Occurred()) SWIG_fail
;
34960 arg5
= (int) SWIG_AsInt(obj4
);
34961 if (PyErr_Occurred()) SWIG_fail
;
34964 arg6
= (int) SWIG_AsInt(obj5
);
34965 if (PyErr_Occurred()) SWIG_fail
;
34971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34972 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
34974 wxPyEndAllowThreads(__tstate
);
34975 if (PyErr_Occurred()) SWIG_fail
;
34977 Py_INCREF(Py_None
); resultobj
= Py_None
;
34984 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34985 PyObject
*resultobj
;
34986 wxSizer
*arg1
= (wxSizer
*) 0 ;
34987 PyObject
*arg2
= (PyObject
*) 0 ;
34988 int arg3
= (int) 0 ;
34989 int arg4
= (int) 0 ;
34990 int arg5
= (int) 0 ;
34991 PyObject
*arg6
= (PyObject
*) NULL
;
34992 PyObject
* obj0
= 0 ;
34993 PyObject
* obj1
= 0 ;
34994 PyObject
* obj2
= 0 ;
34995 PyObject
* obj3
= 0 ;
34996 PyObject
* obj4
= 0 ;
34997 PyObject
* obj5
= 0 ;
34998 char *kwnames
[] = {
34999 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
35002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35007 arg3
= (int) SWIG_AsInt(obj2
);
35008 if (PyErr_Occurred()) SWIG_fail
;
35011 arg4
= (int) SWIG_AsInt(obj3
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35015 arg5
= (int) SWIG_AsInt(obj4
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35023 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
35025 wxPyEndAllowThreads(__tstate
);
35026 if (PyErr_Occurred()) SWIG_fail
;
35028 Py_INCREF(Py_None
); resultobj
= Py_None
;
35035 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35036 PyObject
*resultobj
;
35037 wxSizer
*arg1
= (wxSizer
*) 0 ;
35038 PyObject
*arg2
= (PyObject
*) 0 ;
35040 PyObject
* obj0
= 0 ;
35041 PyObject
* obj1
= 0 ;
35042 char *kwnames
[] = {
35043 (char *) "self",(char *) "item", NULL
35046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
35047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35052 result
= (bool)wxSizer_Remove(arg1
,arg2
);
35054 wxPyEndAllowThreads(__tstate
);
35055 if (PyErr_Occurred()) SWIG_fail
;
35058 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35066 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxSizer
*arg1
= (wxSizer
*) 0 ;
35069 PyObject
*arg2
= (PyObject
*) 0 ;
35072 PyObject
* obj0
= 0 ;
35073 PyObject
* obj1
= 0 ;
35074 PyObject
* obj2
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self",(char *) "item",(char *) "size", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35085 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35089 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
35091 wxPyEndAllowThreads(__tstate
);
35092 if (PyErr_Occurred()) SWIG_fail
;
35094 Py_INCREF(Py_None
); resultobj
= Py_None
;
35101 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35102 PyObject
*resultobj
;
35103 wxSizer
*arg1
= (wxSizer
*) 0 ;
35104 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35105 PyObject
* obj0
= 0 ;
35106 PyObject
* obj1
= 0 ;
35107 char *kwnames
[] = {
35108 (char *) "self",(char *) "item", NULL
35111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35114 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35120 wxPyEndAllowThreads(__tstate
);
35121 if (PyErr_Occurred()) SWIG_fail
;
35123 Py_INCREF(Py_None
); resultobj
= Py_None
;
35130 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
;
35132 wxSizer
*arg1
= (wxSizer
*) 0 ;
35134 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
35135 PyObject
* obj0
= 0 ;
35136 PyObject
* obj1
= 0 ;
35137 PyObject
* obj2
= 0 ;
35138 char *kwnames
[] = {
35139 (char *) "self",(char *) "index",(char *) "item", NULL
35142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35145 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35147 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
35148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35151 (arg1
)->Insert(arg2
,arg3
);
35153 wxPyEndAllowThreads(__tstate
);
35154 if (PyErr_Occurred()) SWIG_fail
;
35156 Py_INCREF(Py_None
); resultobj
= Py_None
;
35163 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35164 PyObject
*resultobj
;
35165 wxSizer
*arg1
= (wxSizer
*) 0 ;
35166 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
35167 PyObject
* obj0
= 0 ;
35168 PyObject
* obj1
= 0 ;
35169 char *kwnames
[] = {
35170 (char *) "self",(char *) "item", NULL
35173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
35174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35176 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
35177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35180 (arg1
)->Prepend(arg2
);
35182 wxPyEndAllowThreads(__tstate
);
35183 if (PyErr_Occurred()) SWIG_fail
;
35185 Py_INCREF(Py_None
); resultobj
= Py_None
;
35192 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35193 PyObject
*resultobj
;
35194 wxSizer
*arg1
= (wxSizer
*) 0 ;
35199 PyObject
* obj0
= 0 ;
35200 PyObject
* obj1
= 0 ;
35201 PyObject
* obj2
= 0 ;
35202 PyObject
* obj3
= 0 ;
35203 PyObject
* obj4
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
35209 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35210 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35211 arg2
= (int) SWIG_AsInt(obj1
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35213 arg3
= (int) SWIG_AsInt(obj2
);
35214 if (PyErr_Occurred()) SWIG_fail
;
35215 arg4
= (int) SWIG_AsInt(obj3
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35217 arg5
= (int) SWIG_AsInt(obj4
);
35218 if (PyErr_Occurred()) SWIG_fail
;
35220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35221 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
35223 wxPyEndAllowThreads(__tstate
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35226 Py_INCREF(Py_None
); resultobj
= Py_None
;
35233 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35234 PyObject
*resultobj
;
35235 wxSizer
*arg1
= (wxSizer
*) 0 ;
35238 PyObject
* obj0
= 0 ;
35239 PyObject
* obj1
= 0 ;
35240 char *kwnames
[] = {
35241 (char *) "self",(char *) "size", NULL
35244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
35245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35249 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
35255 wxPyEndAllowThreads(__tstate
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 Py_INCREF(Py_None
); resultobj
= Py_None
;
35265 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
;
35267 wxSizer
*arg1
= (wxSizer
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
35275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 result
= (arg1
)->GetSize();
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35285 wxSize
* resultptr
;
35286 resultptr
= new wxSize((wxSize
&) result
);
35287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35295 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxSizer
*arg1
= (wxSizer
*) 0 ;
35299 PyObject
* obj0
= 0 ;
35300 char *kwnames
[] = {
35301 (char *) "self", NULL
35304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
35305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35309 result
= (arg1
)->GetPosition();
35311 wxPyEndAllowThreads(__tstate
);
35312 if (PyErr_Occurred()) SWIG_fail
;
35315 wxPoint
* resultptr
;
35316 resultptr
= new wxPoint((wxPoint
&) result
);
35317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
35325 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35326 PyObject
*resultobj
;
35327 wxSizer
*arg1
= (wxSizer
*) 0 ;
35329 PyObject
* obj0
= 0 ;
35330 char *kwnames
[] = {
35331 (char *) "self", NULL
35334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
35335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35339 result
= (arg1
)->GetMinSize();
35341 wxPyEndAllowThreads(__tstate
);
35342 if (PyErr_Occurred()) SWIG_fail
;
35345 wxSize
* resultptr
;
35346 resultptr
= new wxSize((wxSize
&) result
);
35347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35355 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxSizer
*arg1
= (wxSizer
*) 0 ;
35358 PyObject
* obj0
= 0 ;
35359 char *kwnames
[] = {
35360 (char *) "self", NULL
35363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 (arg1
)->RecalcSizes();
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 Py_INCREF(Py_None
); resultobj
= Py_None
;
35380 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
;
35382 wxSizer
*arg1
= (wxSizer
*) 0 ;
35384 PyObject
* obj0
= 0 ;
35385 char *kwnames
[] = {
35386 (char *) "self", NULL
35389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35394 result
= (arg1
)->CalcMin();
35396 wxPyEndAllowThreads(__tstate
);
35397 if (PyErr_Occurred()) SWIG_fail
;
35400 wxSize
* resultptr
;
35401 resultptr
= new wxSize((wxSize
&) result
);
35402 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35410 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35411 PyObject
*resultobj
;
35412 wxSizer
*arg1
= (wxSizer
*) 0 ;
35413 PyObject
* obj0
= 0 ;
35414 char *kwnames
[] = {
35415 (char *) "self", NULL
35418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
35419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35425 wxPyEndAllowThreads(__tstate
);
35426 if (PyErr_Occurred()) SWIG_fail
;
35428 Py_INCREF(Py_None
); resultobj
= Py_None
;
35435 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35436 PyObject
*resultobj
;
35437 wxSizer
*arg1
= (wxSizer
*) 0 ;
35438 wxWindow
*arg2
= (wxWindow
*) 0 ;
35440 PyObject
* obj0
= 0 ;
35441 PyObject
* obj1
= 0 ;
35442 char *kwnames
[] = {
35443 (char *) "self",(char *) "window", NULL
35446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
35447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35453 result
= (arg1
)->Fit(arg2
);
35455 wxPyEndAllowThreads(__tstate
);
35456 if (PyErr_Occurred()) SWIG_fail
;
35459 wxSize
* resultptr
;
35460 resultptr
= new wxSize((wxSize
&) result
);
35461 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35469 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35470 PyObject
*resultobj
;
35471 wxSizer
*arg1
= (wxSizer
*) 0 ;
35472 wxWindow
*arg2
= (wxWindow
*) 0 ;
35473 PyObject
* obj0
= 0 ;
35474 PyObject
* obj1
= 0 ;
35475 char *kwnames
[] = {
35476 (char *) "self",(char *) "window", NULL
35479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
35480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35482 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35486 (arg1
)->FitInside(arg2
);
35488 wxPyEndAllowThreads(__tstate
);
35489 if (PyErr_Occurred()) SWIG_fail
;
35491 Py_INCREF(Py_None
); resultobj
= Py_None
;
35498 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35499 PyObject
*resultobj
;
35500 wxSizer
*arg1
= (wxSizer
*) 0 ;
35501 wxWindow
*arg2
= (wxWindow
*) 0 ;
35502 PyObject
* obj0
= 0 ;
35503 PyObject
* obj1
= 0 ;
35504 char *kwnames
[] = {
35505 (char *) "self",(char *) "window", NULL
35508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35511 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35515 (arg1
)->SetSizeHints(arg2
);
35517 wxPyEndAllowThreads(__tstate
);
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 Py_INCREF(Py_None
); resultobj
= Py_None
;
35527 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35528 PyObject
*resultobj
;
35529 wxSizer
*arg1
= (wxSizer
*) 0 ;
35530 wxWindow
*arg2
= (wxWindow
*) 0 ;
35531 PyObject
* obj0
= 0 ;
35532 PyObject
* obj1
= 0 ;
35533 char *kwnames
[] = {
35534 (char *) "self",(char *) "window", NULL
35537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
35538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35540 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
35541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35544 (arg1
)->SetVirtualSizeHints(arg2
);
35546 wxPyEndAllowThreads(__tstate
);
35547 if (PyErr_Occurred()) SWIG_fail
;
35549 Py_INCREF(Py_None
); resultobj
= Py_None
;
35556 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35557 PyObject
*resultobj
;
35558 wxSizer
*arg1
= (wxSizer
*) 0 ;
35559 bool arg2
= (bool) False
;
35560 PyObject
* obj0
= 0 ;
35561 PyObject
* obj1
= 0 ;
35562 char *kwnames
[] = {
35563 (char *) "self",(char *) "delete_windows", NULL
35566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
35567 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35570 arg2
= (bool) SWIG_AsBool(obj1
);
35571 if (PyErr_Occurred()) SWIG_fail
;
35574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35575 (arg1
)->Clear(arg2
);
35577 wxPyEndAllowThreads(__tstate
);
35578 if (PyErr_Occurred()) SWIG_fail
;
35580 Py_INCREF(Py_None
); resultobj
= Py_None
;
35587 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35588 PyObject
*resultobj
;
35589 wxSizer
*arg1
= (wxSizer
*) 0 ;
35590 PyObject
* obj0
= 0 ;
35591 char *kwnames
[] = {
35592 (char *) "self", NULL
35595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
35596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35600 (arg1
)->DeleteWindows();
35602 wxPyEndAllowThreads(__tstate
);
35603 if (PyErr_Occurred()) SWIG_fail
;
35605 Py_INCREF(Py_None
); resultobj
= Py_None
;
35612 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35613 PyObject
*resultobj
;
35614 wxSizer
*arg1
= (wxSizer
*) 0 ;
35616 PyObject
* obj0
= 0 ;
35617 char *kwnames
[] = {
35618 (char *) "self", NULL
35621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
35622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35626 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
35628 wxPyEndAllowThreads(__tstate
);
35629 if (PyErr_Occurred()) SWIG_fail
;
35631 resultobj
= result
;
35638 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35639 PyObject
*resultobj
;
35640 wxSizer
*arg1
= (wxSizer
*) 0 ;
35641 PyObject
*arg2
= (PyObject
*) 0 ;
35642 bool arg3
= (bool) True
;
35643 PyObject
* obj0
= 0 ;
35644 PyObject
* obj1
= 0 ;
35645 PyObject
* obj2
= 0 ;
35646 char *kwnames
[] = {
35647 (char *) "self",(char *) "item",(char *) "show", NULL
35650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35655 arg3
= (bool) SWIG_AsBool(obj2
);
35656 if (PyErr_Occurred()) SWIG_fail
;
35659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35660 wxSizer_Show(arg1
,arg2
,arg3
);
35662 wxPyEndAllowThreads(__tstate
);
35663 if (PyErr_Occurred()) SWIG_fail
;
35665 Py_INCREF(Py_None
); resultobj
= Py_None
;
35672 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35673 PyObject
*resultobj
;
35674 wxSizer
*arg1
= (wxSizer
*) 0 ;
35675 PyObject
*arg2
= (PyObject
*) 0 ;
35676 PyObject
* obj0
= 0 ;
35677 PyObject
* obj1
= 0 ;
35678 char *kwnames
[] = {
35679 (char *) "self",(char *) "item", NULL
35682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
35683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 wxSizer_Hide(arg1
,arg2
);
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 Py_INCREF(Py_None
); resultobj
= Py_None
;
35700 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxSizer
*arg1
= (wxSizer
*) 0 ;
35703 PyObject
*arg2
= (PyObject
*) 0 ;
35705 PyObject
* obj0
= 0 ;
35706 PyObject
* obj1
= 0 ;
35707 char *kwnames
[] = {
35708 (char *) "self",(char *) "item", NULL
35711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
35712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35723 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35731 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35732 PyObject
*resultobj
;
35733 wxSizer
*arg1
= (wxSizer
*) 0 ;
35735 PyObject
* obj0
= 0 ;
35736 PyObject
* obj1
= 0 ;
35737 char *kwnames
[] = {
35738 (char *) "self",(char *) "show", NULL
35741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
35742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35744 arg2
= (bool) SWIG_AsBool(obj1
);
35745 if (PyErr_Occurred()) SWIG_fail
;
35747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35748 (arg1
)->ShowItems(arg2
);
35750 wxPyEndAllowThreads(__tstate
);
35751 if (PyErr_Occurred()) SWIG_fail
;
35753 Py_INCREF(Py_None
); resultobj
= Py_None
;
35760 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
35762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35763 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
35765 return Py_BuildValue((char *)"");
35767 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35768 PyObject
*resultobj
;
35770 char *kwnames
[] = {
35774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
35776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35777 result
= (wxPySizer
*)new wxPySizer();
35779 wxPyEndAllowThreads(__tstate
);
35780 if (PyErr_Occurred()) SWIG_fail
;
35782 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
35789 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35790 PyObject
*resultobj
;
35791 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
35792 PyObject
*arg2
= (PyObject
*) 0 ;
35793 PyObject
*arg3
= (PyObject
*) 0 ;
35794 PyObject
* obj0
= 0 ;
35795 PyObject
* obj1
= 0 ;
35796 PyObject
* obj2
= 0 ;
35797 char *kwnames
[] = {
35798 (char *) "self",(char *) "self",(char *) "_class", NULL
35801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
35803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35808 (arg1
)->_setCallbackInfo(arg2
,arg3
);
35810 wxPyEndAllowThreads(__tstate
);
35811 if (PyErr_Occurred()) SWIG_fail
;
35813 Py_INCREF(Py_None
); resultobj
= Py_None
;
35820 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
35822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35823 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
35825 return Py_BuildValue((char *)"");
35827 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35828 PyObject
*resultobj
;
35829 int arg1
= (int) wxHORIZONTAL
;
35830 wxBoxSizer
*result
;
35831 PyObject
* obj0
= 0 ;
35832 char *kwnames
[] = {
35833 (char *) "orient", NULL
35836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
35838 arg1
= (int) SWIG_AsInt(obj0
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
35855 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 char *kwnames
[] = {
35861 (char *) "self", NULL
35864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
35865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 result
= (int)(arg1
)->GetOrientation();
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= SWIG_FromInt((int)result
);
35881 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35882 PyObject
*resultobj
;
35883 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35885 PyObject
* obj0
= 0 ;
35886 PyObject
* obj1
= 0 ;
35887 char *kwnames
[] = {
35888 (char *) "self",(char *) "orient", NULL
35891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
35892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35894 arg2
= (int) SWIG_AsInt(obj1
);
35895 if (PyErr_Occurred()) SWIG_fail
;
35897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35898 (arg1
)->SetOrientation(arg2
);
35900 wxPyEndAllowThreads(__tstate
);
35901 if (PyErr_Occurred()) SWIG_fail
;
35903 Py_INCREF(Py_None
); resultobj
= Py_None
;
35910 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35911 PyObject
*resultobj
;
35912 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35913 PyObject
* obj0
= 0 ;
35914 char *kwnames
[] = {
35915 (char *) "self", NULL
35918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35923 (arg1
)->RecalcSizes();
35925 wxPyEndAllowThreads(__tstate
);
35926 if (PyErr_Occurred()) SWIG_fail
;
35928 Py_INCREF(Py_None
); resultobj
= Py_None
;
35935 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35936 PyObject
*resultobj
;
35937 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
35939 PyObject
* obj0
= 0 ;
35940 char *kwnames
[] = {
35941 (char *) "self", NULL
35944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
35946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35949 result
= (arg1
)->CalcMin();
35951 wxPyEndAllowThreads(__tstate
);
35952 if (PyErr_Occurred()) SWIG_fail
;
35955 wxSize
* resultptr
;
35956 resultptr
= new wxSize((wxSize
&) result
);
35957 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35965 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35968 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
35970 return Py_BuildValue((char *)"");
35972 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35973 PyObject
*resultobj
;
35974 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
35975 int arg2
= (int) wxHORIZONTAL
;
35976 wxStaticBoxSizer
*result
;
35977 PyObject
* obj0
= 0 ;
35978 PyObject
* obj1
= 0 ;
35979 char *kwnames
[] = {
35980 (char *) "box",(char *) "orient", NULL
35983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
35984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
35985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35987 arg2
= (int) SWIG_AsInt(obj1
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35992 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
35994 wxPyEndAllowThreads(__tstate
);
35995 if (PyErr_Occurred()) SWIG_fail
;
35997 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
36004 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36005 PyObject
*resultobj
;
36006 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36007 wxStaticBox
*result
;
36008 PyObject
* obj0
= 0 ;
36009 char *kwnames
[] = {
36010 (char *) "self", NULL
36013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
36014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36018 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
36020 wxPyEndAllowThreads(__tstate
);
36021 if (PyErr_Occurred()) SWIG_fail
;
36024 resultobj
= wxPyMake_wxObject(result
);
36032 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
;
36034 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36035 PyObject
* obj0
= 0 ;
36036 char *kwnames
[] = {
36037 (char *) "self", NULL
36040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36045 (arg1
)->RecalcSizes();
36047 wxPyEndAllowThreads(__tstate
);
36048 if (PyErr_Occurred()) SWIG_fail
;
36050 Py_INCREF(Py_None
); resultobj
= Py_None
;
36057 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36058 PyObject
*resultobj
;
36059 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
36061 PyObject
* obj0
= 0 ;
36062 char *kwnames
[] = {
36063 (char *) "self", NULL
36066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
36068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36071 result
= (arg1
)->CalcMin();
36073 wxPyEndAllowThreads(__tstate
);
36074 if (PyErr_Occurred()) SWIG_fail
;
36077 wxSize
* resultptr
;
36078 resultptr
= new wxSize((wxSize
&) result
);
36079 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36087 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36090 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
36092 return Py_BuildValue((char *)"");
36094 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36095 PyObject
*resultobj
;
36096 int arg1
= (int) 1 ;
36097 int arg2
= (int) 0 ;
36098 int arg3
= (int) 0 ;
36099 int arg4
= (int) 0 ;
36100 wxGridSizer
*result
;
36101 PyObject
* obj0
= 0 ;
36102 PyObject
* obj1
= 0 ;
36103 PyObject
* obj2
= 0 ;
36104 PyObject
* obj3
= 0 ;
36105 char *kwnames
[] = {
36106 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36111 arg1
= (int) SWIG_AsInt(obj0
);
36112 if (PyErr_Occurred()) SWIG_fail
;
36115 arg2
= (int) SWIG_AsInt(obj1
);
36116 if (PyErr_Occurred()) SWIG_fail
;
36119 arg3
= (int) SWIG_AsInt(obj2
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36123 arg4
= (int) SWIG_AsInt(obj3
);
36124 if (PyErr_Occurred()) SWIG_fail
;
36127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36128 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
36130 wxPyEndAllowThreads(__tstate
);
36131 if (PyErr_Occurred()) SWIG_fail
;
36133 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
36140 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36141 PyObject
*resultobj
;
36142 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36143 PyObject
* obj0
= 0 ;
36144 char *kwnames
[] = {
36145 (char *) "self", NULL
36148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36153 (arg1
)->RecalcSizes();
36155 wxPyEndAllowThreads(__tstate
);
36156 if (PyErr_Occurred()) SWIG_fail
;
36158 Py_INCREF(Py_None
); resultobj
= Py_None
;
36165 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36166 PyObject
*resultobj
;
36167 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36169 PyObject
* obj0
= 0 ;
36170 char *kwnames
[] = {
36171 (char *) "self", NULL
36174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36179 result
= (arg1
)->CalcMin();
36181 wxPyEndAllowThreads(__tstate
);
36182 if (PyErr_Occurred()) SWIG_fail
;
36185 wxSize
* resultptr
;
36186 resultptr
= new wxSize((wxSize
&) result
);
36187 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36195 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36196 PyObject
*resultobj
;
36197 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36199 PyObject
* obj0
= 0 ;
36200 PyObject
* obj1
= 0 ;
36201 char *kwnames
[] = {
36202 (char *) "self",(char *) "cols", NULL
36205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
36206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36208 arg2
= (int) SWIG_AsInt(obj1
);
36209 if (PyErr_Occurred()) SWIG_fail
;
36211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36212 (arg1
)->SetCols(arg2
);
36214 wxPyEndAllowThreads(__tstate
);
36215 if (PyErr_Occurred()) SWIG_fail
;
36217 Py_INCREF(Py_None
); resultobj
= Py_None
;
36224 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36225 PyObject
*resultobj
;
36226 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36228 PyObject
* obj0
= 0 ;
36229 PyObject
* obj1
= 0 ;
36230 char *kwnames
[] = {
36231 (char *) "self",(char *) "rows", NULL
36234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
36235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36237 arg2
= (int) SWIG_AsInt(obj1
);
36238 if (PyErr_Occurred()) SWIG_fail
;
36240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36241 (arg1
)->SetRows(arg2
);
36243 wxPyEndAllowThreads(__tstate
);
36244 if (PyErr_Occurred()) SWIG_fail
;
36246 Py_INCREF(Py_None
); resultobj
= Py_None
;
36253 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36254 PyObject
*resultobj
;
36255 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36257 PyObject
* obj0
= 0 ;
36258 PyObject
* obj1
= 0 ;
36259 char *kwnames
[] = {
36260 (char *) "self",(char *) "gap", NULL
36263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36266 arg2
= (int) SWIG_AsInt(obj1
);
36267 if (PyErr_Occurred()) SWIG_fail
;
36269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36270 (arg1
)->SetVGap(arg2
);
36272 wxPyEndAllowThreads(__tstate
);
36273 if (PyErr_Occurred()) SWIG_fail
;
36275 Py_INCREF(Py_None
); resultobj
= Py_None
;
36282 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36283 PyObject
*resultobj
;
36284 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36286 PyObject
* obj0
= 0 ;
36287 PyObject
* obj1
= 0 ;
36288 char *kwnames
[] = {
36289 (char *) "self",(char *) "gap", NULL
36292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
36293 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36294 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36295 arg2
= (int) SWIG_AsInt(obj1
);
36296 if (PyErr_Occurred()) SWIG_fail
;
36298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36299 (arg1
)->SetHGap(arg2
);
36301 wxPyEndAllowThreads(__tstate
);
36302 if (PyErr_Occurred()) SWIG_fail
;
36304 Py_INCREF(Py_None
); resultobj
= Py_None
;
36311 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36312 PyObject
*resultobj
;
36313 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36315 PyObject
* obj0
= 0 ;
36316 char *kwnames
[] = {
36317 (char *) "self", NULL
36320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
36321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36325 result
= (int)(arg1
)->GetCols();
36327 wxPyEndAllowThreads(__tstate
);
36328 if (PyErr_Occurred()) SWIG_fail
;
36330 resultobj
= SWIG_FromInt((int)result
);
36337 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36338 PyObject
*resultobj
;
36339 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36341 PyObject
* obj0
= 0 ;
36342 char *kwnames
[] = {
36343 (char *) "self", NULL
36346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
36347 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36348 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36351 result
= (int)(arg1
)->GetRows();
36353 wxPyEndAllowThreads(__tstate
);
36354 if (PyErr_Occurred()) SWIG_fail
;
36356 resultobj
= SWIG_FromInt((int)result
);
36363 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36364 PyObject
*resultobj
;
36365 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36367 PyObject
* obj0
= 0 ;
36368 char *kwnames
[] = {
36369 (char *) "self", NULL
36372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
36373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36377 result
= (int)(arg1
)->GetVGap();
36379 wxPyEndAllowThreads(__tstate
);
36380 if (PyErr_Occurred()) SWIG_fail
;
36382 resultobj
= SWIG_FromInt((int)result
);
36389 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36390 PyObject
*resultobj
;
36391 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
36393 PyObject
* obj0
= 0 ;
36394 char *kwnames
[] = {
36395 (char *) "self", NULL
36398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
36399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
36400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36403 result
= (int)(arg1
)->GetHGap();
36405 wxPyEndAllowThreads(__tstate
);
36406 if (PyErr_Occurred()) SWIG_fail
;
36408 resultobj
= SWIG_FromInt((int)result
);
36415 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36418 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
36420 return Py_BuildValue((char *)"");
36422 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36423 PyObject
*resultobj
;
36424 int arg1
= (int) 1 ;
36425 int arg2
= (int) 0 ;
36426 int arg3
= (int) 0 ;
36427 int arg4
= (int) 0 ;
36428 wxFlexGridSizer
*result
;
36429 PyObject
* obj0
= 0 ;
36430 PyObject
* obj1
= 0 ;
36431 PyObject
* obj2
= 0 ;
36432 PyObject
* obj3
= 0 ;
36433 char *kwnames
[] = {
36434 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
36437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
36439 arg1
= (int) SWIG_AsInt(obj0
);
36440 if (PyErr_Occurred()) SWIG_fail
;
36443 arg2
= (int) SWIG_AsInt(obj1
);
36444 if (PyErr_Occurred()) SWIG_fail
;
36447 arg3
= (int) SWIG_AsInt(obj2
);
36448 if (PyErr_Occurred()) SWIG_fail
;
36451 arg4
= (int) SWIG_AsInt(obj3
);
36452 if (PyErr_Occurred()) SWIG_fail
;
36455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36456 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
36458 wxPyEndAllowThreads(__tstate
);
36459 if (PyErr_Occurred()) SWIG_fail
;
36461 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
36468 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36469 PyObject
*resultobj
;
36470 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36471 PyObject
* obj0
= 0 ;
36472 char *kwnames
[] = {
36473 (char *) "self", NULL
36476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
36477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36481 (arg1
)->RecalcSizes();
36483 wxPyEndAllowThreads(__tstate
);
36484 if (PyErr_Occurred()) SWIG_fail
;
36486 Py_INCREF(Py_None
); resultobj
= Py_None
;
36493 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36494 PyObject
*resultobj
;
36495 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36497 PyObject
* obj0
= 0 ;
36498 char *kwnames
[] = {
36499 (char *) "self", NULL
36502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
36503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36507 result
= (arg1
)->CalcMin();
36509 wxPyEndAllowThreads(__tstate
);
36510 if (PyErr_Occurred()) SWIG_fail
;
36513 wxSize
* resultptr
;
36514 resultptr
= new wxSize((wxSize
&) result
);
36515 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36523 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36524 PyObject
*resultobj
;
36525 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36527 int arg3
= (int) 0 ;
36528 PyObject
* obj0
= 0 ;
36529 PyObject
* obj1
= 0 ;
36530 PyObject
* obj2
= 0 ;
36531 char *kwnames
[] = {
36532 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36538 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36539 if (PyErr_Occurred()) SWIG_fail
;
36541 arg3
= (int) SWIG_AsInt(obj2
);
36542 if (PyErr_Occurred()) SWIG_fail
;
36545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36546 (arg1
)->AddGrowableRow(arg2
,arg3
);
36548 wxPyEndAllowThreads(__tstate
);
36549 if (PyErr_Occurred()) SWIG_fail
;
36551 Py_INCREF(Py_None
); resultobj
= Py_None
;
36558 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36559 PyObject
*resultobj
;
36560 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36562 PyObject
* obj0
= 0 ;
36563 PyObject
* obj1
= 0 ;
36564 char *kwnames
[] = {
36565 (char *) "self",(char *) "idx", NULL
36568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36571 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36572 if (PyErr_Occurred()) SWIG_fail
;
36574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36575 (arg1
)->RemoveGrowableRow(arg2
);
36577 wxPyEndAllowThreads(__tstate
);
36578 if (PyErr_Occurred()) SWIG_fail
;
36580 Py_INCREF(Py_None
); resultobj
= Py_None
;
36587 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36588 PyObject
*resultobj
;
36589 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36591 int arg3
= (int) 0 ;
36592 PyObject
* obj0
= 0 ;
36593 PyObject
* obj1
= 0 ;
36594 PyObject
* obj2
= 0 ;
36595 char *kwnames
[] = {
36596 (char *) "self",(char *) "idx",(char *) "proportion", NULL
36599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36602 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36603 if (PyErr_Occurred()) SWIG_fail
;
36605 arg3
= (int) SWIG_AsInt(obj2
);
36606 if (PyErr_Occurred()) SWIG_fail
;
36609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36610 (arg1
)->AddGrowableCol(arg2
,arg3
);
36612 wxPyEndAllowThreads(__tstate
);
36613 if (PyErr_Occurred()) SWIG_fail
;
36615 Py_INCREF(Py_None
); resultobj
= Py_None
;
36622 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36623 PyObject
*resultobj
;
36624 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36626 PyObject
* obj0
= 0 ;
36627 PyObject
* obj1
= 0 ;
36628 char *kwnames
[] = {
36629 (char *) "self",(char *) "idx", NULL
36632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36635 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36636 if (PyErr_Occurred()) SWIG_fail
;
36638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36639 (arg1
)->RemoveGrowableCol(arg2
);
36641 wxPyEndAllowThreads(__tstate
);
36642 if (PyErr_Occurred()) SWIG_fail
;
36644 Py_INCREF(Py_None
); resultobj
= Py_None
;
36651 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36652 PyObject
*resultobj
;
36653 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36655 PyObject
* obj0
= 0 ;
36656 PyObject
* obj1
= 0 ;
36657 char *kwnames
[] = {
36658 (char *) "self",(char *) "direction", NULL
36661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
36662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36664 arg2
= (int) SWIG_AsInt(obj1
);
36665 if (PyErr_Occurred()) SWIG_fail
;
36667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36668 (arg1
)->SetFlexibleDirection(arg2
);
36670 wxPyEndAllowThreads(__tstate
);
36671 if (PyErr_Occurred()) SWIG_fail
;
36673 Py_INCREF(Py_None
); resultobj
= Py_None
;
36680 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36681 PyObject
*resultobj
;
36682 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36684 PyObject
* obj0
= 0 ;
36685 char *kwnames
[] = {
36686 (char *) "self", NULL
36689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
36690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36694 result
= (int)(arg1
)->GetFlexibleDirection();
36696 wxPyEndAllowThreads(__tstate
);
36697 if (PyErr_Occurred()) SWIG_fail
;
36699 resultobj
= SWIG_FromInt((int)result
);
36706 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36707 PyObject
*resultobj
;
36708 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36710 PyObject
* obj0
= 0 ;
36711 PyObject
* obj1
= 0 ;
36712 char *kwnames
[] = {
36713 (char *) "self",(char *) "mode", NULL
36716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
36717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36719 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
36720 if (PyErr_Occurred()) SWIG_fail
;
36722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36723 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
36725 wxPyEndAllowThreads(__tstate
);
36726 if (PyErr_Occurred()) SWIG_fail
;
36728 Py_INCREF(Py_None
); resultobj
= Py_None
;
36735 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36736 PyObject
*resultobj
;
36737 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36739 PyObject
* obj0
= 0 ;
36740 char *kwnames
[] = {
36741 (char *) "self", NULL
36744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
36745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36749 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
36751 wxPyEndAllowThreads(__tstate
);
36752 if (PyErr_Occurred()) SWIG_fail
;
36754 resultobj
= SWIG_FromInt((int)result
);
36761 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36762 PyObject
*resultobj
;
36763 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36764 wxArrayInt
*result
;
36765 PyObject
* obj0
= 0 ;
36766 char *kwnames
[] = {
36767 (char *) "self", NULL
36770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
36771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36776 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
36777 result
= (wxArrayInt
*) &_result_ref
;
36780 wxPyEndAllowThreads(__tstate
);
36781 if (PyErr_Occurred()) SWIG_fail
;
36784 resultobj
= PyList_New(0);
36786 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36787 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36788 PyList_Append(resultobj
, val
);
36798 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36799 PyObject
*resultobj
;
36800 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
36801 wxArrayInt
*result
;
36802 PyObject
* obj0
= 0 ;
36803 char *kwnames
[] = {
36804 (char *) "self", NULL
36807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
36808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
36809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
36814 result
= (wxArrayInt
*) &_result_ref
;
36817 wxPyEndAllowThreads(__tstate
);
36818 if (PyErr_Occurred()) SWIG_fail
;
36821 resultobj
= PyList_New(0);
36823 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
36824 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
36825 PyList_Append(resultobj
, val
);
36835 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
36837 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36838 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
36840 return Py_BuildValue((char *)"");
36842 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36843 PyObject
*resultobj
;
36844 int arg1
= (int) 0 ;
36845 int arg2
= (int) 0 ;
36846 wxGBPosition
*result
;
36847 PyObject
* obj0
= 0 ;
36848 PyObject
* obj1
= 0 ;
36849 char *kwnames
[] = {
36850 (char *) "row",(char *) "col", NULL
36853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
36855 arg1
= (int) SWIG_AsInt(obj0
);
36856 if (PyErr_Occurred()) SWIG_fail
;
36859 arg2
= (int) SWIG_AsInt(obj1
);
36860 if (PyErr_Occurred()) SWIG_fail
;
36863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36864 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
36866 wxPyEndAllowThreads(__tstate
);
36867 if (PyErr_Occurred()) SWIG_fail
;
36869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
36876 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36877 PyObject
*resultobj
;
36878 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36880 PyObject
* obj0
= 0 ;
36881 char *kwnames
[] = {
36882 (char *) "self", NULL
36885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
36886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36890 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
36892 wxPyEndAllowThreads(__tstate
);
36893 if (PyErr_Occurred()) SWIG_fail
;
36895 resultobj
= SWIG_FromInt((int)result
);
36902 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36903 PyObject
*resultobj
;
36904 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36906 PyObject
* obj0
= 0 ;
36907 char *kwnames
[] = {
36908 (char *) "self", NULL
36911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
36912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36916 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
36918 wxPyEndAllowThreads(__tstate
);
36919 if (PyErr_Occurred()) SWIG_fail
;
36921 resultobj
= SWIG_FromInt((int)result
);
36928 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36929 PyObject
*resultobj
;
36930 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36932 PyObject
* obj0
= 0 ;
36933 PyObject
* obj1
= 0 ;
36934 char *kwnames
[] = {
36935 (char *) "self",(char *) "row", NULL
36938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
36939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36941 arg2
= (int) SWIG_AsInt(obj1
);
36942 if (PyErr_Occurred()) SWIG_fail
;
36944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36945 (arg1
)->SetRow(arg2
);
36947 wxPyEndAllowThreads(__tstate
);
36948 if (PyErr_Occurred()) SWIG_fail
;
36950 Py_INCREF(Py_None
); resultobj
= Py_None
;
36957 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36958 PyObject
*resultobj
;
36959 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36961 PyObject
* obj0
= 0 ;
36962 PyObject
* obj1
= 0 ;
36963 char *kwnames
[] = {
36964 (char *) "self",(char *) "col", NULL
36967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
36968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
36969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36970 arg2
= (int) SWIG_AsInt(obj1
);
36971 if (PyErr_Occurred()) SWIG_fail
;
36973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36974 (arg1
)->SetCol(arg2
);
36976 wxPyEndAllowThreads(__tstate
);
36977 if (PyErr_Occurred()) SWIG_fail
;
36979 Py_INCREF(Py_None
); resultobj
= Py_None
;
36986 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36987 PyObject
*resultobj
;
36988 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
36989 wxGBPosition
*arg2
= 0 ;
36991 wxGBPosition temp2
;
36992 PyObject
* obj0
= 0 ;
36993 PyObject
* obj1
= 0 ;
36994 char *kwnames
[] = {
36995 (char *) "self",(char *) "other", NULL
36998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37003 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37007 result
= (bool)(arg1
)->operator ==((wxGBPosition
const &)*arg2
);
37009 wxPyEndAllowThreads(__tstate
);
37010 if (PyErr_Occurred()) SWIG_fail
;
37013 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37021 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37022 PyObject
*resultobj
;
37023 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37024 wxGBPosition
*arg2
= 0 ;
37026 wxGBPosition temp2
;
37027 PyObject
* obj0
= 0 ;
37028 PyObject
* obj1
= 0 ;
37029 char *kwnames
[] = {
37030 (char *) "self",(char *) "other", NULL
37033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37038 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37042 result
= (bool)(arg1
)->operator !=((wxGBPosition
const &)*arg2
);
37044 wxPyEndAllowThreads(__tstate
);
37045 if (PyErr_Occurred()) SWIG_fail
;
37048 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37056 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37057 PyObject
*resultobj
;
37058 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37059 int arg2
= (int) 0 ;
37060 int arg3
= (int) 0 ;
37061 PyObject
* obj0
= 0 ;
37062 PyObject
* obj1
= 0 ;
37063 PyObject
* obj2
= 0 ;
37064 char *kwnames
[] = {
37065 (char *) "self",(char *) "row",(char *) "col", NULL
37068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37072 arg2
= (int) SWIG_AsInt(obj1
);
37073 if (PyErr_Occurred()) SWIG_fail
;
37076 arg3
= (int) SWIG_AsInt(obj2
);
37077 if (PyErr_Occurred()) SWIG_fail
;
37080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37081 wxGBPosition_Set(arg1
,arg2
,arg3
);
37083 wxPyEndAllowThreads(__tstate
);
37084 if (PyErr_Occurred()) SWIG_fail
;
37086 Py_INCREF(Py_None
); resultobj
= Py_None
;
37093 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37094 PyObject
*resultobj
;
37095 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
37097 PyObject
* obj0
= 0 ;
37098 char *kwnames
[] = {
37099 (char *) "self", NULL
37102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37107 result
= (PyObject
*)wxGBPosition_Get(arg1
);
37109 wxPyEndAllowThreads(__tstate
);
37110 if (PyErr_Occurred()) SWIG_fail
;
37112 resultobj
= result
;
37119 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
37121 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37122 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
37124 return Py_BuildValue((char *)"");
37126 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37127 PyObject
*resultobj
;
37128 int arg1
= (int) 1 ;
37129 int arg2
= (int) 1 ;
37131 PyObject
* obj0
= 0 ;
37132 PyObject
* obj1
= 0 ;
37133 char *kwnames
[] = {
37134 (char *) "rowspan",(char *) "colspan", NULL
37137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37139 arg1
= (int) SWIG_AsInt(obj0
);
37140 if (PyErr_Occurred()) SWIG_fail
;
37143 arg2
= (int) SWIG_AsInt(obj1
);
37144 if (PyErr_Occurred()) SWIG_fail
;
37147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37148 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
37150 wxPyEndAllowThreads(__tstate
);
37151 if (PyErr_Occurred()) SWIG_fail
;
37153 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
37160 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37161 PyObject
*resultobj
;
37162 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37164 PyObject
* obj0
= 0 ;
37165 char *kwnames
[] = {
37166 (char *) "self", NULL
37169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
37170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37174 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
37176 wxPyEndAllowThreads(__tstate
);
37177 if (PyErr_Occurred()) SWIG_fail
;
37179 resultobj
= SWIG_FromInt((int)result
);
37186 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37187 PyObject
*resultobj
;
37188 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37190 PyObject
* obj0
= 0 ;
37191 char *kwnames
[] = {
37192 (char *) "self", NULL
37195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
37196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37200 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
37202 wxPyEndAllowThreads(__tstate
);
37203 if (PyErr_Occurred()) SWIG_fail
;
37205 resultobj
= SWIG_FromInt((int)result
);
37212 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37213 PyObject
*resultobj
;
37214 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37216 PyObject
* obj0
= 0 ;
37217 PyObject
* obj1
= 0 ;
37218 char *kwnames
[] = {
37219 (char *) "self",(char *) "rowspan", NULL
37222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37223 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37225 arg2
= (int) SWIG_AsInt(obj1
);
37226 if (PyErr_Occurred()) SWIG_fail
;
37228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37229 (arg1
)->SetRowspan(arg2
);
37231 wxPyEndAllowThreads(__tstate
);
37232 if (PyErr_Occurred()) SWIG_fail
;
37234 Py_INCREF(Py_None
); resultobj
= Py_None
;
37241 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37242 PyObject
*resultobj
;
37243 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37245 PyObject
* obj0
= 0 ;
37246 PyObject
* obj1
= 0 ;
37247 char *kwnames
[] = {
37248 (char *) "self",(char *) "colspan", NULL
37251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
37252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37254 arg2
= (int) SWIG_AsInt(obj1
);
37255 if (PyErr_Occurred()) SWIG_fail
;
37257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37258 (arg1
)->SetColspan(arg2
);
37260 wxPyEndAllowThreads(__tstate
);
37261 if (PyErr_Occurred()) SWIG_fail
;
37263 Py_INCREF(Py_None
); resultobj
= Py_None
;
37270 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37271 PyObject
*resultobj
;
37272 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37273 wxGBSpan
*arg2
= 0 ;
37276 PyObject
* obj0
= 0 ;
37277 PyObject
* obj1
= 0 ;
37278 char *kwnames
[] = {
37279 (char *) "self",(char *) "other", NULL
37282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
37283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37287 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37291 result
= (bool)(arg1
)->operator ==((wxGBSpan
const &)*arg2
);
37293 wxPyEndAllowThreads(__tstate
);
37294 if (PyErr_Occurred()) SWIG_fail
;
37297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37305 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37306 PyObject
*resultobj
;
37307 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37308 wxGBSpan
*arg2
= 0 ;
37311 PyObject
* obj0
= 0 ;
37312 PyObject
* obj1
= 0 ;
37313 char *kwnames
[] = {
37314 (char *) "self",(char *) "other", NULL
37317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
37318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37322 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37326 result
= (bool)(arg1
)->operator !=((wxGBSpan
const &)*arg2
);
37328 wxPyEndAllowThreads(__tstate
);
37329 if (PyErr_Occurred()) SWIG_fail
;
37332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37340 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37341 PyObject
*resultobj
;
37342 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37343 int arg2
= (int) 1 ;
37344 int arg3
= (int) 1 ;
37345 PyObject
* obj0
= 0 ;
37346 PyObject
* obj1
= 0 ;
37347 PyObject
* obj2
= 0 ;
37348 char *kwnames
[] = {
37349 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
37352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37353 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37356 arg2
= (int) SWIG_AsInt(obj1
);
37357 if (PyErr_Occurred()) SWIG_fail
;
37360 arg3
= (int) SWIG_AsInt(obj2
);
37361 if (PyErr_Occurred()) SWIG_fail
;
37364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37365 wxGBSpan_Set(arg1
,arg2
,arg3
);
37367 wxPyEndAllowThreads(__tstate
);
37368 if (PyErr_Occurred()) SWIG_fail
;
37370 Py_INCREF(Py_None
); resultobj
= Py_None
;
37377 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37378 PyObject
*resultobj
;
37379 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
37381 PyObject
* obj0
= 0 ;
37382 char *kwnames
[] = {
37383 (char *) "self", NULL
37386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
37387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
37388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37391 result
= (PyObject
*)wxGBSpan_Get(arg1
);
37393 wxPyEndAllowThreads(__tstate
);
37394 if (PyErr_Occurred()) SWIG_fail
;
37396 resultobj
= result
;
37403 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
37405 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37406 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
37408 return Py_BuildValue((char *)"");
37410 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
37411 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
37416 static PyObject
*_wrap_DefaultSpan_get() {
37419 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
37424 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37425 PyObject
*resultobj
;
37426 wxGBSizerItem
*result
;
37427 char *kwnames
[] = {
37431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
37433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37434 result
= (wxGBSizerItem
*)new wxGBSizerItem();
37436 wxPyEndAllowThreads(__tstate
);
37437 if (PyErr_Occurred()) SWIG_fail
;
37439 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37446 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37447 PyObject
*resultobj
;
37448 wxWindow
*arg1
= (wxWindow
*) 0 ;
37449 wxGBPosition
*arg2
= 0 ;
37450 wxGBSpan
*arg3
= 0 ;
37453 wxObject
*arg6
= (wxObject
*) 0 ;
37454 wxGBSizerItem
*result
;
37455 wxGBPosition temp2
;
37457 PyObject
* obj0
= 0 ;
37458 PyObject
* obj1
= 0 ;
37459 PyObject
* obj2
= 0 ;
37460 PyObject
* obj3
= 0 ;
37461 PyObject
* obj4
= 0 ;
37462 PyObject
* obj5
= 0 ;
37463 char *kwnames
[] = {
37464 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37468 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
37469 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37472 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37476 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37478 arg4
= (int) SWIG_AsInt(obj3
);
37479 if (PyErr_Occurred()) SWIG_fail
;
37480 arg5
= (int) SWIG_AsInt(obj4
);
37481 if (PyErr_Occurred()) SWIG_fail
;
37482 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37483 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37486 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37488 wxPyEndAllowThreads(__tstate
);
37489 if (PyErr_Occurred()) SWIG_fail
;
37491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37498 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37499 PyObject
*resultobj
;
37500 wxSizer
*arg1
= (wxSizer
*) 0 ;
37501 wxGBPosition
*arg2
= 0 ;
37502 wxGBSpan
*arg3
= 0 ;
37505 wxObject
*arg6
= (wxObject
*) 0 ;
37506 wxGBSizerItem
*result
;
37507 wxGBPosition temp2
;
37509 PyObject
* obj0
= 0 ;
37510 PyObject
* obj1
= 0 ;
37511 PyObject
* obj2
= 0 ;
37512 PyObject
* obj3
= 0 ;
37513 PyObject
* obj4
= 0 ;
37514 PyObject
* obj5
= 0 ;
37515 char *kwnames
[] = {
37516 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
37521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37524 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37528 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37530 arg4
= (int) SWIG_AsInt(obj3
);
37531 if (PyErr_Occurred()) SWIG_fail
;
37532 arg5
= (int) SWIG_AsInt(obj4
);
37533 if (PyErr_Occurred()) SWIG_fail
;
37534 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
37535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37538 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
37540 wxPyEndAllowThreads(__tstate
);
37541 if (PyErr_Occurred()) SWIG_fail
;
37543 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37550 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37551 PyObject
*resultobj
;
37554 wxGBPosition
*arg3
= 0 ;
37555 wxGBSpan
*arg4
= 0 ;
37558 wxObject
*arg7
= (wxObject
*) 0 ;
37559 wxGBSizerItem
*result
;
37560 wxGBPosition temp3
;
37562 PyObject
* obj0
= 0 ;
37563 PyObject
* obj1
= 0 ;
37564 PyObject
* obj2
= 0 ;
37565 PyObject
* obj3
= 0 ;
37566 PyObject
* obj4
= 0 ;
37567 PyObject
* obj5
= 0 ;
37568 PyObject
* obj6
= 0 ;
37569 char *kwnames
[] = {
37570 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
37573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
37574 arg1
= (int) SWIG_AsInt(obj0
);
37575 if (PyErr_Occurred()) SWIG_fail
;
37576 arg2
= (int) SWIG_AsInt(obj1
);
37577 if (PyErr_Occurred()) SWIG_fail
;
37580 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37584 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
37586 arg5
= (int) SWIG_AsInt(obj4
);
37587 if (PyErr_Occurred()) SWIG_fail
;
37588 arg6
= (int) SWIG_AsInt(obj5
);
37589 if (PyErr_Occurred()) SWIG_fail
;
37590 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
37591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37594 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
37596 wxPyEndAllowThreads(__tstate
);
37597 if (PyErr_Occurred()) SWIG_fail
;
37599 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
37606 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37607 PyObject
*resultobj
;
37608 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37609 wxGBPosition result
;
37610 PyObject
* obj0
= 0 ;
37611 char *kwnames
[] = {
37612 (char *) "self", NULL
37615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
37616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37620 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
37622 wxPyEndAllowThreads(__tstate
);
37623 if (PyErr_Occurred()) SWIG_fail
;
37626 wxGBPosition
* resultptr
;
37627 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
37628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37636 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37637 PyObject
*resultobj
;
37638 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37640 PyObject
* obj0
= 0 ;
37641 char *kwnames
[] = {
37642 (char *) "self", NULL
37645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
37646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37650 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
37652 wxPyEndAllowThreads(__tstate
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37656 wxGBSpan
* resultptr
;
37657 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37658 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37666 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37667 PyObject
*resultobj
;
37668 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37669 wxGBPosition
*arg2
= 0 ;
37671 wxGBPosition temp2
;
37672 PyObject
* obj0
= 0 ;
37673 PyObject
* obj1
= 0 ;
37674 char *kwnames
[] = {
37675 (char *) "self",(char *) "pos", NULL
37678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
37679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37683 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37687 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
37689 wxPyEndAllowThreads(__tstate
);
37690 if (PyErr_Occurred()) SWIG_fail
;
37693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37701 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37702 PyObject
*resultobj
;
37703 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37704 wxGBSpan
*arg2
= 0 ;
37707 PyObject
* obj0
= 0 ;
37708 PyObject
* obj1
= 0 ;
37709 char *kwnames
[] = {
37710 (char *) "self",(char *) "span", NULL
37713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
37714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37718 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
37721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37722 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
37724 wxPyEndAllowThreads(__tstate
);
37725 if (PyErr_Occurred()) SWIG_fail
;
37728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37736 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
37737 PyObject
*resultobj
;
37738 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37739 wxGBSizerItem
*arg2
= 0 ;
37741 PyObject
* obj0
= 0 ;
37742 PyObject
* obj1
= 0 ;
37744 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
37745 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37747 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37748 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37750 if (arg2
== NULL
) {
37751 PyErr_SetString(PyExc_TypeError
,"null reference");
37755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37756 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
37758 wxPyEndAllowThreads(__tstate
);
37759 if (PyErr_Occurred()) SWIG_fail
;
37762 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37770 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
37771 PyObject
*resultobj
;
37772 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37773 wxGBPosition
*arg2
= 0 ;
37774 wxGBSpan
*arg3
= 0 ;
37776 wxGBPosition temp2
;
37778 PyObject
* obj0
= 0 ;
37779 PyObject
* obj1
= 0 ;
37780 PyObject
* obj2
= 0 ;
37782 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
37783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37787 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37791 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37795 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
37797 wxPyEndAllowThreads(__tstate
);
37798 if (PyErr_Occurred()) SWIG_fail
;
37801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37809 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
37814 argc
= PyObject_Length(args
);
37815 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37816 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37822 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37832 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37840 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
37848 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37857 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37861 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37864 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
37870 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
37875 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37876 PyObject
*resultobj
;
37877 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37880 PyObject
* obj0
= 0 ;
37881 PyObject
* obj1
= 0 ;
37882 PyObject
* obj2
= 0 ;
37883 char *kwnames
[] = {
37884 (char *) "self",(char *) "row",(char *) "col", NULL
37887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37890 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
37891 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37893 if (arg2
== NULL
) {
37894 PyErr_SetString(PyExc_TypeError
,"null reference");
37897 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
37898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
37900 if (arg3
== NULL
) {
37901 PyErr_SetString(PyExc_TypeError
,"null reference");
37905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37906 (arg1
)->GetEndPos(*arg2
,*arg3
);
37908 wxPyEndAllowThreads(__tstate
);
37909 if (PyErr_Occurred()) SWIG_fail
;
37911 Py_INCREF(Py_None
); resultobj
= Py_None
;
37918 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37919 PyObject
*resultobj
;
37920 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37921 wxGridBagSizer
*result
;
37922 PyObject
* obj0
= 0 ;
37923 char *kwnames
[] = {
37924 (char *) "self", NULL
37927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
37928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37932 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
37934 wxPyEndAllowThreads(__tstate
);
37935 if (PyErr_Occurred()) SWIG_fail
;
37937 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
37944 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37945 PyObject
*resultobj
;
37946 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
37947 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
37948 PyObject
* obj0
= 0 ;
37949 PyObject
* obj1
= 0 ;
37950 char *kwnames
[] = {
37951 (char *) "self",(char *) "sizer", NULL
37954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
37956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37957 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
37958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 (arg1
)->SetGBSizer(arg2
);
37963 wxPyEndAllowThreads(__tstate
);
37964 if (PyErr_Occurred()) SWIG_fail
;
37966 Py_INCREF(Py_None
); resultobj
= Py_None
;
37973 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
37975 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37976 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
37978 return Py_BuildValue((char *)"");
37980 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37981 PyObject
*resultobj
;
37982 int arg1
= (int) 0 ;
37983 int arg2
= (int) 0 ;
37984 wxGridBagSizer
*result
;
37985 PyObject
* obj0
= 0 ;
37986 PyObject
* obj1
= 0 ;
37987 char *kwnames
[] = {
37988 (char *) "vgap",(char *) "hgap", NULL
37991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
37993 arg1
= (int) SWIG_AsInt(obj0
);
37994 if (PyErr_Occurred()) SWIG_fail
;
37997 arg2
= (int) SWIG_AsInt(obj1
);
37998 if (PyErr_Occurred()) SWIG_fail
;
38001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38002 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
38004 wxPyEndAllowThreads(__tstate
);
38005 if (PyErr_Occurred()) SWIG_fail
;
38007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
38014 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38015 PyObject
*resultobj
;
38016 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38017 PyObject
*arg2
= (PyObject
*) 0 ;
38018 wxGBPosition
*arg3
= 0 ;
38019 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
38020 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
38021 int arg5
= (int) 0 ;
38022 int arg6
= (int) 0 ;
38023 PyObject
*arg7
= (PyObject
*) NULL
;
38025 wxGBPosition temp3
;
38027 PyObject
* obj0
= 0 ;
38028 PyObject
* obj1
= 0 ;
38029 PyObject
* obj2
= 0 ;
38030 PyObject
* obj3
= 0 ;
38031 PyObject
* obj4
= 0 ;
38032 PyObject
* obj5
= 0 ;
38033 PyObject
* obj6
= 0 ;
38034 char *kwnames
[] = {
38035 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
38038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
38039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38044 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38049 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
38053 arg5
= (int) SWIG_AsInt(obj4
);
38054 if (PyErr_Occurred()) SWIG_fail
;
38057 arg6
= (int) SWIG_AsInt(obj5
);
38058 if (PyErr_Occurred()) SWIG_fail
;
38064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38065 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
38067 wxPyEndAllowThreads(__tstate
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38079 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38080 PyObject
*resultobj
;
38081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38082 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
38084 PyObject
* obj0
= 0 ;
38085 PyObject
* obj1
= 0 ;
38086 char *kwnames
[] = {
38087 (char *) "self",(char *) "item", NULL
38090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
38091 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38093 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 result
= (bool)(arg1
)->Add(arg2
);
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38111 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38112 PyObject
*resultobj
;
38113 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38115 PyObject
* obj0
= 0 ;
38116 char *kwnames
[] = {
38117 (char *) "self", NULL
38120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
38121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38125 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
38127 wxPyEndAllowThreads(__tstate
);
38128 if (PyErr_Occurred()) SWIG_fail
;
38131 wxSize
* resultptr
;
38132 resultptr
= new wxSize((wxSize
&) result
);
38133 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
38141 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38142 PyObject
*resultobj
;
38143 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38146 PyObject
* obj0
= 0 ;
38147 PyObject
* obj1
= 0 ;
38148 char *kwnames
[] = {
38149 (char *) "self",(char *) "sz", NULL
38152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
38153 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38154 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38157 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
38160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38161 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
38163 wxPyEndAllowThreads(__tstate
);
38164 if (PyErr_Occurred()) SWIG_fail
;
38166 Py_INCREF(Py_None
); resultobj
= Py_None
;
38173 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38174 PyObject
*resultobj
;
38175 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38176 wxWindow
*arg2
= (wxWindow
*) 0 ;
38177 wxGBPosition result
;
38178 PyObject
* obj0
= 0 ;
38179 PyObject
* obj1
= 0 ;
38181 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38184 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38188 result
= (arg1
)->GetItemPosition(arg2
);
38190 wxPyEndAllowThreads(__tstate
);
38191 if (PyErr_Occurred()) SWIG_fail
;
38194 wxGBPosition
* resultptr
;
38195 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38196 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38204 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38205 PyObject
*resultobj
;
38206 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38207 wxSizer
*arg2
= (wxSizer
*) 0 ;
38208 wxGBPosition result
;
38209 PyObject
* obj0
= 0 ;
38210 PyObject
* obj1
= 0 ;
38212 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38215 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38219 result
= (arg1
)->GetItemPosition(arg2
);
38221 wxPyEndAllowThreads(__tstate
);
38222 if (PyErr_Occurred()) SWIG_fail
;
38225 wxGBPosition
* resultptr
;
38226 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38227 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38235 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38236 PyObject
*resultobj
;
38237 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38239 wxGBPosition result
;
38240 PyObject
* obj0
= 0 ;
38241 PyObject
* obj1
= 0 ;
38243 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
38244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38246 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38247 if (PyErr_Occurred()) SWIG_fail
;
38249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38250 result
= (arg1
)->GetItemPosition(arg2
);
38252 wxPyEndAllowThreads(__tstate
);
38253 if (PyErr_Occurred()) SWIG_fail
;
38256 wxGBPosition
* resultptr
;
38257 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
38258 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
38266 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
38271 argc
= PyObject_Length(args
);
38272 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38273 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38279 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38289 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38297 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
38305 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38315 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38323 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
38331 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38339 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38341 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
38346 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
38351 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
38352 PyObject
*resultobj
;
38353 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38354 wxWindow
*arg2
= (wxWindow
*) 0 ;
38355 wxGBPosition
*arg3
= 0 ;
38357 wxGBPosition temp3
;
38358 PyObject
* obj0
= 0 ;
38359 PyObject
* obj1
= 0 ;
38360 PyObject
* obj2
= 0 ;
38362 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38373 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38375 wxPyEndAllowThreads(__tstate
);
38376 if (PyErr_Occurred()) SWIG_fail
;
38379 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38387 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
38388 PyObject
*resultobj
;
38389 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38390 wxSizer
*arg2
= (wxSizer
*) 0 ;
38391 wxGBPosition
*arg3
= 0 ;
38393 wxGBPosition temp3
;
38394 PyObject
* obj0
= 0 ;
38395 PyObject
* obj1
= 0 ;
38396 PyObject
* obj2
= 0 ;
38398 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38400 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38401 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38405 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38409 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38411 wxPyEndAllowThreads(__tstate
);
38412 if (PyErr_Occurred()) SWIG_fail
;
38415 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38423 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
38424 PyObject
*resultobj
;
38425 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38427 wxGBPosition
*arg3
= 0 ;
38429 wxGBPosition temp3
;
38430 PyObject
* obj0
= 0 ;
38431 PyObject
* obj1
= 0 ;
38432 PyObject
* obj2
= 0 ;
38434 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
38435 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38437 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38438 if (PyErr_Occurred()) SWIG_fail
;
38441 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
38444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38445 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
38447 wxPyEndAllowThreads(__tstate
);
38448 if (PyErr_Occurred()) SWIG_fail
;
38451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38459 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
38464 argc
= PyObject_Length(args
);
38465 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38466 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38472 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38482 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38491 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38494 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
38503 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38513 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38522 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38525 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
38534 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38542 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38545 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
38548 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
38554 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
38559 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38560 PyObject
*resultobj
;
38561 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38562 wxWindow
*arg2
= (wxWindow
*) 0 ;
38564 PyObject
* obj0
= 0 ;
38565 PyObject
* obj1
= 0 ;
38567 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38574 result
= (arg1
)->GetItemSpan(arg2
);
38576 wxPyEndAllowThreads(__tstate
);
38577 if (PyErr_Occurred()) SWIG_fail
;
38580 wxGBSpan
* resultptr
;
38581 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38582 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38590 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38591 PyObject
*resultobj
;
38592 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38593 wxSizer
*arg2
= (wxSizer
*) 0 ;
38595 PyObject
* obj0
= 0 ;
38596 PyObject
* obj1
= 0 ;
38598 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38605 result
= (arg1
)->GetItemSpan(arg2
);
38607 wxPyEndAllowThreads(__tstate
);
38608 if (PyErr_Occurred()) SWIG_fail
;
38611 wxGBSpan
* resultptr
;
38612 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38613 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38621 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38622 PyObject
*resultobj
;
38623 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38626 PyObject
* obj0
= 0 ;
38627 PyObject
* obj1
= 0 ;
38629 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
38630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38632 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38633 if (PyErr_Occurred()) SWIG_fail
;
38635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38636 result
= (arg1
)->GetItemSpan(arg2
);
38638 wxPyEndAllowThreads(__tstate
);
38639 if (PyErr_Occurred()) SWIG_fail
;
38642 wxGBSpan
* resultptr
;
38643 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
38644 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
38652 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
38657 argc
= PyObject_Length(args
);
38658 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
38659 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38665 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38675 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38683 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
38691 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38701 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38709 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
38717 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38725 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38727 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
38732 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
38737 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
38738 PyObject
*resultobj
;
38739 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38740 wxWindow
*arg2
= (wxWindow
*) 0 ;
38741 wxGBSpan
*arg3
= 0 ;
38744 PyObject
* obj0
= 0 ;
38745 PyObject
* obj1
= 0 ;
38746 PyObject
* obj2
= 0 ;
38748 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38751 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38752 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38755 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38759 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38761 wxPyEndAllowThreads(__tstate
);
38762 if (PyErr_Occurred()) SWIG_fail
;
38765 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38773 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
38774 PyObject
*resultobj
;
38775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38776 wxSizer
*arg2
= (wxSizer
*) 0 ;
38777 wxGBSpan
*arg3
= 0 ;
38780 PyObject
* obj0
= 0 ;
38781 PyObject
* obj1
= 0 ;
38782 PyObject
* obj2
= 0 ;
38784 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38787 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38791 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38795 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38797 wxPyEndAllowThreads(__tstate
);
38798 if (PyErr_Occurred()) SWIG_fail
;
38801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38809 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
38810 PyObject
*resultobj
;
38811 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38813 wxGBSpan
*arg3
= 0 ;
38816 PyObject
* obj0
= 0 ;
38817 PyObject
* obj1
= 0 ;
38818 PyObject
* obj2
= 0 ;
38820 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
38821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38823 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
38824 if (PyErr_Occurred()) SWIG_fail
;
38827 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38831 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
38833 wxPyEndAllowThreads(__tstate
);
38834 if (PyErr_Occurred()) SWIG_fail
;
38837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38845 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
38850 argc
= PyObject_Length(args
);
38851 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
38852 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38858 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38868 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
38877 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38880 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
38889 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38899 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
38908 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38911 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
38920 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38928 _v
= SWIG_CheckUnsignedLong(argv
[1]);
38931 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38934 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
38940 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
38945 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
38946 PyObject
*resultobj
;
38947 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38948 wxWindow
*arg2
= (wxWindow
*) 0 ;
38949 wxGBSizerItem
*result
;
38950 PyObject
* obj0
= 0 ;
38951 PyObject
* obj1
= 0 ;
38953 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38956 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38960 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38962 wxPyEndAllowThreads(__tstate
);
38963 if (PyErr_Occurred()) SWIG_fail
;
38965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38972 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
38973 PyObject
*resultobj
;
38974 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
38975 wxSizer
*arg2
= (wxSizer
*) 0 ;
38976 wxGBSizerItem
*result
;
38977 PyObject
* obj0
= 0 ;
38978 PyObject
* obj1
= 0 ;
38980 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
38981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
38982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38983 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
38984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38987 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
38989 wxPyEndAllowThreads(__tstate
);
38990 if (PyErr_Occurred()) SWIG_fail
;
38992 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
38999 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
39004 argc
= PyObject_Length(args
);
39005 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
39006 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39012 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39022 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
39030 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
39038 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39048 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
39056 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
39061 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
39066 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39067 PyObject
*resultobj
;
39068 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39069 wxGBPosition
*arg2
= 0 ;
39070 wxGBSizerItem
*result
;
39071 wxGBPosition temp2
;
39072 PyObject
* obj0
= 0 ;
39073 PyObject
* obj1
= 0 ;
39074 char *kwnames
[] = {
39075 (char *) "self",(char *) "pos", NULL
39078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
39079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39083 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39087 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
39089 wxPyEndAllowThreads(__tstate
);
39090 if (PyErr_Occurred()) SWIG_fail
;
39092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39099 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39100 PyObject
*resultobj
;
39101 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39102 wxPoint
*arg2
= 0 ;
39103 wxGBSizerItem
*result
;
39105 PyObject
* obj0
= 0 ;
39106 PyObject
* obj1
= 0 ;
39107 char *kwnames
[] = {
39108 (char *) "self",(char *) "pt", NULL
39111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
39112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
39119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39120 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
39122 wxPyEndAllowThreads(__tstate
);
39123 if (PyErr_Occurred()) SWIG_fail
;
39125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39132 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39133 PyObject
*resultobj
;
39134 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39135 wxObject
*arg2
= (wxObject
*) 0 ;
39136 wxGBSizerItem
*result
;
39137 PyObject
* obj0
= 0 ;
39138 PyObject
* obj1
= 0 ;
39139 char *kwnames
[] = {
39140 (char *) "self",(char *) "userData", NULL
39143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
39144 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39145 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39146 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
39147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39150 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
39152 wxPyEndAllowThreads(__tstate
);
39153 if (PyErr_Occurred()) SWIG_fail
;
39155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
39162 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39163 PyObject
*resultobj
;
39164 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39165 PyObject
* obj0
= 0 ;
39166 char *kwnames
[] = {
39167 (char *) "self", NULL
39170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
39171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39175 (arg1
)->RecalcSizes();
39177 wxPyEndAllowThreads(__tstate
);
39178 if (PyErr_Occurred()) SWIG_fail
;
39180 Py_INCREF(Py_None
); resultobj
= Py_None
;
39187 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39188 PyObject
*resultobj
;
39189 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39191 PyObject
* obj0
= 0 ;
39192 char *kwnames
[] = {
39193 (char *) "self", NULL
39196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
39197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39201 result
= (arg1
)->CalcMin();
39203 wxPyEndAllowThreads(__tstate
);
39204 if (PyErr_Occurred()) SWIG_fail
;
39207 wxSize
* resultptr
;
39208 resultptr
= new wxSize((wxSize
&) result
);
39209 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
39217 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
39218 PyObject
*resultobj
;
39219 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39220 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
39221 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
39223 PyObject
* obj0
= 0 ;
39224 PyObject
* obj1
= 0 ;
39225 PyObject
* obj2
= 0 ;
39227 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
39228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39230 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
39231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39233 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
39234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39238 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
39240 wxPyEndAllowThreads(__tstate
);
39241 if (PyErr_Occurred()) SWIG_fail
;
39244 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39252 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
39253 PyObject
*resultobj
;
39254 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
39255 wxGBPosition
*arg2
= 0 ;
39256 wxGBSpan
*arg3
= 0 ;
39257 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
39259 wxGBPosition temp2
;
39261 PyObject
* obj0
= 0 ;
39262 PyObject
* obj1
= 0 ;
39263 PyObject
* obj2
= 0 ;
39264 PyObject
* obj3
= 0 ;
39266 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
39268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39271 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
39275 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
39278 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
39279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39283 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
39285 wxPyEndAllowThreads(__tstate
);
39286 if (PyErr_Occurred()) SWIG_fail
;
39289 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39297 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
39302 argc
= PyObject_Length(args
);
39303 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
39304 argv
[ii
] = PyTuple_GetItem(args
,ii
);
39306 if ((argc
>= 2) && (argc
<= 3)) {
39310 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39320 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39329 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39333 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39341 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
39346 if ((argc
>= 3) && (argc
<= 4)) {
39350 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
39359 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
39363 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
39367 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39371 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
39379 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
39386 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
39391 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
39393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39394 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
39396 return Py_BuildValue((char *)"");
39398 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39399 PyObject
*resultobj
;
39400 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39402 wxWindow
*arg3
= (wxWindow
*) 0 ;
39404 int arg5
= (int) 0 ;
39405 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
39406 PyObject
* obj0
= 0 ;
39407 PyObject
* obj1
= 0 ;
39408 PyObject
* obj2
= 0 ;
39409 PyObject
* obj3
= 0 ;
39410 PyObject
* obj4
= 0 ;
39411 PyObject
* obj5
= 0 ;
39412 char *kwnames
[] = {
39413 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
39416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
39417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39419 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
39420 if (PyErr_Occurred()) SWIG_fail
;
39421 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
39422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39423 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
39424 if (PyErr_Occurred()) SWIG_fail
;
39426 arg5
= (int) SWIG_AsInt(obj4
);
39427 if (PyErr_Occurred()) SWIG_fail
;
39430 arg6
= (int) SWIG_AsInt(obj5
);
39431 if (PyErr_Occurred()) SWIG_fail
;
39434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39435 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
39437 wxPyEndAllowThreads(__tstate
);
39438 if (PyErr_Occurred()) SWIG_fail
;
39440 Py_INCREF(Py_None
); resultobj
= Py_None
;
39447 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39448 PyObject
*resultobj
;
39449 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39450 wxWindow
*arg2
= (wxWindow
*) 0 ;
39451 int arg3
= (int) 0 ;
39452 PyObject
* obj0
= 0 ;
39453 PyObject
* obj1
= 0 ;
39454 PyObject
* obj2
= 0 ;
39455 char *kwnames
[] = {
39456 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39462 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39465 arg3
= (int) SWIG_AsInt(obj2
);
39466 if (PyErr_Occurred()) SWIG_fail
;
39469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39470 (arg1
)->LeftOf(arg2
,arg3
);
39472 wxPyEndAllowThreads(__tstate
);
39473 if (PyErr_Occurred()) SWIG_fail
;
39475 Py_INCREF(Py_None
); resultobj
= Py_None
;
39482 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39483 PyObject
*resultobj
;
39484 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39485 wxWindow
*arg2
= (wxWindow
*) 0 ;
39486 int arg3
= (int) 0 ;
39487 PyObject
* obj0
= 0 ;
39488 PyObject
* obj1
= 0 ;
39489 PyObject
* obj2
= 0 ;
39490 char *kwnames
[] = {
39491 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39497 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39500 arg3
= (int) SWIG_AsInt(obj2
);
39501 if (PyErr_Occurred()) SWIG_fail
;
39504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39505 (arg1
)->RightOf(arg2
,arg3
);
39507 wxPyEndAllowThreads(__tstate
);
39508 if (PyErr_Occurred()) SWIG_fail
;
39510 Py_INCREF(Py_None
); resultobj
= Py_None
;
39517 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39518 PyObject
*resultobj
;
39519 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39520 wxWindow
*arg2
= (wxWindow
*) 0 ;
39521 int arg3
= (int) 0 ;
39522 PyObject
* obj0
= 0 ;
39523 PyObject
* obj1
= 0 ;
39524 PyObject
* obj2
= 0 ;
39525 char *kwnames
[] = {
39526 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39532 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39535 arg3
= (int) SWIG_AsInt(obj2
);
39536 if (PyErr_Occurred()) SWIG_fail
;
39539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39540 (arg1
)->Above(arg2
,arg3
);
39542 wxPyEndAllowThreads(__tstate
);
39543 if (PyErr_Occurred()) SWIG_fail
;
39545 Py_INCREF(Py_None
); resultobj
= Py_None
;
39552 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39553 PyObject
*resultobj
;
39554 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39555 wxWindow
*arg2
= (wxWindow
*) 0 ;
39556 int arg3
= (int) 0 ;
39557 PyObject
* obj0
= 0 ;
39558 PyObject
* obj1
= 0 ;
39559 PyObject
* obj2
= 0 ;
39560 char *kwnames
[] = {
39561 (char *) "self",(char *) "sibling",(char *) "marg", NULL
39564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
39565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39570 arg3
= (int) SWIG_AsInt(obj2
);
39571 if (PyErr_Occurred()) SWIG_fail
;
39574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39575 (arg1
)->Below(arg2
,arg3
);
39577 wxPyEndAllowThreads(__tstate
);
39578 if (PyErr_Occurred()) SWIG_fail
;
39580 Py_INCREF(Py_None
); resultobj
= Py_None
;
39587 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39588 PyObject
*resultobj
;
39589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39590 wxWindow
*arg2
= (wxWindow
*) 0 ;
39592 int arg4
= (int) 0 ;
39593 PyObject
* obj0
= 0 ;
39594 PyObject
* obj1
= 0 ;
39595 PyObject
* obj2
= 0 ;
39596 PyObject
* obj3
= 0 ;
39597 char *kwnames
[] = {
39598 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
39601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39602 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39604 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39605 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39606 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39607 if (PyErr_Occurred()) SWIG_fail
;
39609 arg4
= (int) SWIG_AsInt(obj3
);
39610 if (PyErr_Occurred()) SWIG_fail
;
39613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39614 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
39616 wxPyEndAllowThreads(__tstate
);
39617 if (PyErr_Occurred()) SWIG_fail
;
39619 Py_INCREF(Py_None
); resultobj
= Py_None
;
39626 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39627 PyObject
*resultobj
;
39628 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39629 wxWindow
*arg2
= (wxWindow
*) 0 ;
39632 PyObject
* obj0
= 0 ;
39633 PyObject
* obj1
= 0 ;
39634 PyObject
* obj2
= 0 ;
39635 PyObject
* obj3
= 0 ;
39636 char *kwnames
[] = {
39637 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
39640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
39641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39643 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39645 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
39646 if (PyErr_Occurred()) SWIG_fail
;
39647 arg4
= (int) SWIG_AsInt(obj3
);
39648 if (PyErr_Occurred()) SWIG_fail
;
39650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39651 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
39653 wxPyEndAllowThreads(__tstate
);
39654 if (PyErr_Occurred()) SWIG_fail
;
39656 Py_INCREF(Py_None
); resultobj
= Py_None
;
39663 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39664 PyObject
*resultobj
;
39665 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39667 PyObject
* obj0
= 0 ;
39668 PyObject
* obj1
= 0 ;
39669 char *kwnames
[] = {
39670 (char *) "self",(char *) "val", NULL
39673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
39674 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39675 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39676 arg2
= (int) SWIG_AsInt(obj1
);
39677 if (PyErr_Occurred()) SWIG_fail
;
39679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39680 (arg1
)->Absolute(arg2
);
39682 wxPyEndAllowThreads(__tstate
);
39683 if (PyErr_Occurred()) SWIG_fail
;
39685 Py_INCREF(Py_None
); resultobj
= Py_None
;
39692 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39693 PyObject
*resultobj
;
39694 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39695 PyObject
* obj0
= 0 ;
39696 char *kwnames
[] = {
39697 (char *) "self", NULL
39700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
39701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39705 (arg1
)->Unconstrained();
39707 wxPyEndAllowThreads(__tstate
);
39708 if (PyErr_Occurred()) SWIG_fail
;
39710 Py_INCREF(Py_None
); resultobj
= Py_None
;
39717 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39718 PyObject
*resultobj
;
39719 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39720 PyObject
* obj0
= 0 ;
39721 char *kwnames
[] = {
39722 (char *) "self", NULL
39725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
39726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39732 wxPyEndAllowThreads(__tstate
);
39733 if (PyErr_Occurred()) SWIG_fail
;
39735 Py_INCREF(Py_None
); resultobj
= Py_None
;
39742 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39743 PyObject
*resultobj
;
39744 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39746 PyObject
* obj0
= 0 ;
39747 char *kwnames
[] = {
39748 (char *) "self", NULL
39751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
39752 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39753 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39756 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
39758 wxPyEndAllowThreads(__tstate
);
39759 if (PyErr_Occurred()) SWIG_fail
;
39762 resultobj
= wxPyMake_wxObject(result
);
39770 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39771 PyObject
*resultobj
;
39772 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39774 PyObject
* obj0
= 0 ;
39775 char *kwnames
[] = {
39776 (char *) "self", NULL
39779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
39780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39784 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
39786 wxPyEndAllowThreads(__tstate
);
39787 if (PyErr_Occurred()) SWIG_fail
;
39789 resultobj
= SWIG_FromInt((int)result
);
39796 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39797 PyObject
*resultobj
;
39798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39800 PyObject
* obj0
= 0 ;
39801 PyObject
* obj1
= 0 ;
39802 char *kwnames
[] = {
39803 (char *) "self",(char *) "which", NULL
39806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
39807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39809 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
39810 if (PyErr_Occurred()) SWIG_fail
;
39812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39813 (arg1
)->SetEdge((wxEdge
)arg2
);
39815 wxPyEndAllowThreads(__tstate
);
39816 if (PyErr_Occurred()) SWIG_fail
;
39818 Py_INCREF(Py_None
); resultobj
= Py_None
;
39825 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39826 PyObject
*resultobj
;
39827 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39829 PyObject
* obj0
= 0 ;
39830 PyObject
* obj1
= 0 ;
39831 char *kwnames
[] = {
39832 (char *) "self",(char *) "v", NULL
39835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
39836 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39837 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39838 arg2
= (int) SWIG_AsInt(obj1
);
39839 if (PyErr_Occurred()) SWIG_fail
;
39841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39842 (arg1
)->SetValue(arg2
);
39844 wxPyEndAllowThreads(__tstate
);
39845 if (PyErr_Occurred()) SWIG_fail
;
39847 Py_INCREF(Py_None
); resultobj
= Py_None
;
39854 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39855 PyObject
*resultobj
;
39856 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39858 PyObject
* obj0
= 0 ;
39859 char *kwnames
[] = {
39860 (char *) "self", NULL
39863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
39864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39868 result
= (int)(arg1
)->GetMargin();
39870 wxPyEndAllowThreads(__tstate
);
39871 if (PyErr_Occurred()) SWIG_fail
;
39873 resultobj
= SWIG_FromInt((int)result
);
39880 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39881 PyObject
*resultobj
;
39882 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39884 PyObject
* obj0
= 0 ;
39885 PyObject
* obj1
= 0 ;
39886 char *kwnames
[] = {
39887 (char *) "self",(char *) "m", NULL
39890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
39891 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39892 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39893 arg2
= (int) SWIG_AsInt(obj1
);
39894 if (PyErr_Occurred()) SWIG_fail
;
39896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39897 (arg1
)->SetMargin(arg2
);
39899 wxPyEndAllowThreads(__tstate
);
39900 if (PyErr_Occurred()) SWIG_fail
;
39902 Py_INCREF(Py_None
); resultobj
= Py_None
;
39909 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39910 PyObject
*resultobj
;
39911 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39913 PyObject
* obj0
= 0 ;
39914 char *kwnames
[] = {
39915 (char *) "self", NULL
39918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
39919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39923 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
39925 wxPyEndAllowThreads(__tstate
);
39926 if (PyErr_Occurred()) SWIG_fail
;
39928 resultobj
= SWIG_FromInt((int)result
);
39935 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39936 PyObject
*resultobj
;
39937 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39939 PyObject
* obj0
= 0 ;
39940 char *kwnames
[] = {
39941 (char *) "self", NULL
39944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
39945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39949 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
39951 wxPyEndAllowThreads(__tstate
);
39952 if (PyErr_Occurred()) SWIG_fail
;
39954 resultobj
= SWIG_FromInt((int)result
);
39961 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39962 PyObject
*resultobj
;
39963 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39965 PyObject
* obj0
= 0 ;
39966 char *kwnames
[] = {
39967 (char *) "self", NULL
39970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
39971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39975 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
39977 wxPyEndAllowThreads(__tstate
);
39978 if (PyErr_Occurred()) SWIG_fail
;
39980 resultobj
= SWIG_FromInt((int)result
);
39987 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39988 PyObject
*resultobj
;
39989 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
39991 PyObject
* obj0
= 0 ;
39992 char *kwnames
[] = {
39993 (char *) "self", NULL
39996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
39997 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
39998 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40001 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
40003 wxPyEndAllowThreads(__tstate
);
40004 if (PyErr_Occurred()) SWIG_fail
;
40007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40015 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40016 PyObject
*resultobj
;
40017 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40019 PyObject
* obj0
= 0 ;
40020 PyObject
* obj1
= 0 ;
40021 char *kwnames
[] = {
40022 (char *) "self",(char *) "d", NULL
40025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
40026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40028 arg2
= (bool) SWIG_AsBool(obj1
);
40029 if (PyErr_Occurred()) SWIG_fail
;
40031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40032 (arg1
)->SetDone(arg2
);
40034 wxPyEndAllowThreads(__tstate
);
40035 if (PyErr_Occurred()) SWIG_fail
;
40037 Py_INCREF(Py_None
); resultobj
= Py_None
;
40044 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40045 PyObject
*resultobj
;
40046 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40048 PyObject
* obj0
= 0 ;
40049 char *kwnames
[] = {
40050 (char *) "self", NULL
40053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
40054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40058 result
= (int)(arg1
)->GetRelationship();
40060 wxPyEndAllowThreads(__tstate
);
40061 if (PyErr_Occurred()) SWIG_fail
;
40063 resultobj
= SWIG_FromInt((int)result
);
40070 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40071 PyObject
*resultobj
;
40072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40074 PyObject
* obj0
= 0 ;
40075 PyObject
* obj1
= 0 ;
40076 char *kwnames
[] = {
40077 (char *) "self",(char *) "r", NULL
40080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
40081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40083 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
40084 if (PyErr_Occurred()) SWIG_fail
;
40086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40087 (arg1
)->SetRelationship((wxRelationship
)arg2
);
40089 wxPyEndAllowThreads(__tstate
);
40090 if (PyErr_Occurred()) SWIG_fail
;
40092 Py_INCREF(Py_None
); resultobj
= Py_None
;
40099 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40100 PyObject
*resultobj
;
40101 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40102 wxWindow
*arg2
= (wxWindow
*) 0 ;
40104 PyObject
* obj0
= 0 ;
40105 PyObject
* obj1
= 0 ;
40106 char *kwnames
[] = {
40107 (char *) "self",(char *) "otherW", NULL
40110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
40111 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40112 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40113 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40117 result
= (bool)(arg1
)->ResetIfWin(arg2
);
40119 wxPyEndAllowThreads(__tstate
);
40120 if (PyErr_Occurred()) SWIG_fail
;
40123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40131 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40132 PyObject
*resultobj
;
40133 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40134 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
40135 wxWindow
*arg3
= (wxWindow
*) 0 ;
40137 PyObject
* obj0
= 0 ;
40138 PyObject
* obj1
= 0 ;
40139 PyObject
* obj2
= 0 ;
40140 char *kwnames
[] = {
40141 (char *) "self",(char *) "constraints",(char *) "win", NULL
40144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
40145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
40148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40149 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40153 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
40155 wxPyEndAllowThreads(__tstate
);
40156 if (PyErr_Occurred()) SWIG_fail
;
40159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40167 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40168 PyObject
*resultobj
;
40169 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
40171 wxWindow
*arg3
= (wxWindow
*) 0 ;
40172 wxWindow
*arg4
= (wxWindow
*) 0 ;
40174 PyObject
* obj0
= 0 ;
40175 PyObject
* obj1
= 0 ;
40176 PyObject
* obj2
= 0 ;
40177 PyObject
* obj3
= 0 ;
40178 char *kwnames
[] = {
40179 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
40182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
40183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
40184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40185 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
40186 if (PyErr_Occurred()) SWIG_fail
;
40187 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
40188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40189 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
40190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40193 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
40195 wxPyEndAllowThreads(__tstate
);
40196 if (PyErr_Occurred()) SWIG_fail
;
40198 resultobj
= SWIG_FromInt((int)result
);
40205 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
40207 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40208 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
40210 return Py_BuildValue((char *)"");
40212 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40213 PyObject
*resultobj
;
40214 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40215 wxIndividualLayoutConstraint
*result
;
40216 PyObject
* obj0
= 0 ;
40217 char *kwnames
[] = {
40218 (char *) "self", NULL
40221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
40222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40224 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
40226 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40233 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40234 PyObject
*resultobj
;
40235 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40236 wxIndividualLayoutConstraint
*result
;
40237 PyObject
* obj0
= 0 ;
40238 char *kwnames
[] = {
40239 (char *) "self", NULL
40242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
40243 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40245 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
40247 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40254 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40255 PyObject
*resultobj
;
40256 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40257 wxIndividualLayoutConstraint
*result
;
40258 PyObject
* obj0
= 0 ;
40259 char *kwnames
[] = {
40260 (char *) "self", NULL
40263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
40264 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40265 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40266 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
40268 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40275 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40276 PyObject
*resultobj
;
40277 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40278 wxIndividualLayoutConstraint
*result
;
40279 PyObject
* obj0
= 0 ;
40280 char *kwnames
[] = {
40281 (char *) "self", NULL
40284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
40285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40287 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
40289 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40296 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40297 PyObject
*resultobj
;
40298 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40299 wxIndividualLayoutConstraint
*result
;
40300 PyObject
* obj0
= 0 ;
40301 char *kwnames
[] = {
40302 (char *) "self", NULL
40305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
40306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40308 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
40310 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40317 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40318 PyObject
*resultobj
;
40319 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40320 wxIndividualLayoutConstraint
*result
;
40321 PyObject
* obj0
= 0 ;
40322 char *kwnames
[] = {
40323 (char *) "self", NULL
40326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
40327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40329 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
40331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40338 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40339 PyObject
*resultobj
;
40340 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40341 wxIndividualLayoutConstraint
*result
;
40342 PyObject
* obj0
= 0 ;
40343 char *kwnames
[] = {
40344 (char *) "self", NULL
40347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
40348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40350 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
40352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40359 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40360 PyObject
*resultobj
;
40361 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40362 wxIndividualLayoutConstraint
*result
;
40363 PyObject
* obj0
= 0 ;
40364 char *kwnames
[] = {
40365 (char *) "self", NULL
40368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
40369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40371 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
40373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
40380 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40381 PyObject
*resultobj
;
40382 wxLayoutConstraints
*result
;
40383 char *kwnames
[] = {
40387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
40389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40390 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
40392 wxPyEndAllowThreads(__tstate
);
40393 if (PyErr_Occurred()) SWIG_fail
;
40395 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
40402 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40403 PyObject
*resultobj
;
40404 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40405 wxWindow
*arg2
= (wxWindow
*) 0 ;
40406 int *arg3
= (int *) 0 ;
40409 PyObject
* obj0
= 0 ;
40410 PyObject
* obj1
= 0 ;
40411 char *kwnames
[] = {
40412 (char *) "self",(char *) "win", NULL
40416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
40417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40419 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
40420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40423 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
40425 wxPyEndAllowThreads(__tstate
);
40426 if (PyErr_Occurred()) SWIG_fail
;
40429 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40432 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
40433 resultobj
= t_output_helper(resultobj
,o
);
40441 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
40442 PyObject
*resultobj
;
40443 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
40445 PyObject
* obj0
= 0 ;
40446 char *kwnames
[] = {
40447 (char *) "self", NULL
40450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
40451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
40452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
40454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
40455 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
40457 wxPyEndAllowThreads(__tstate
);
40458 if (PyErr_Occurred()) SWIG_fail
;
40461 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
40469 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
40471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
40472 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
40474 return Py_BuildValue((char *)"");
40476 static PyMethodDef SwigMethods
[] = {
40477 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
40478 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
40479 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
40480 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40481 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
40482 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40483 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40484 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40485 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40486 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
40487 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
40488 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40489 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40490 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
40491 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40492 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
40493 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
40494 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
40495 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40496 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40497 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40498 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40499 { (char *)"Size_IsFullySpecified", (PyCFunction
) _wrap_Size_IsFullySpecified
, METH_VARARGS
| METH_KEYWORDS
},
40500 { (char *)"Size_SetDefaults", (PyCFunction
) _wrap_Size_SetDefaults
, METH_VARARGS
| METH_KEYWORDS
},
40501 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
40502 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
40503 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40504 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40505 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40506 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40507 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40508 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
40509 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40510 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40511 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
40512 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40513 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40514 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
40515 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
40516 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40517 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40518 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40519 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40520 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
40521 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
40522 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40523 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40524 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
40525 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
40526 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40527 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40528 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
40529 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
40530 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
40531 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40532 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
40533 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
40534 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
40535 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40536 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
40537 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40538 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
40539 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40540 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40541 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40542 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40543 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40544 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40545 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40546 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40547 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40548 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
40549 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40550 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
40551 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40552 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
40553 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40554 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
40555 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
40556 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
40557 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
40558 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
40559 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
40560 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
40561 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
40562 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
40563 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
40564 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
40565 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40566 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40567 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40568 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
40569 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
40570 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
40571 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40572 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40573 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40574 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40575 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
40576 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40577 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
40578 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40579 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
40580 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
40581 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
40582 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
40583 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
40584 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
40585 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
40586 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
40587 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
40588 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40589 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40590 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
40591 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
40592 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
40593 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
40594 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
40595 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
40596 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
40597 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
40598 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
40599 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
40600 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
40601 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40602 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40603 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40604 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40605 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40606 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40607 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
40608 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
40609 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
40610 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
40611 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
40612 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
40613 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
40614 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
40615 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
40616 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
40617 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
40618 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
40619 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
40620 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
40621 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
40622 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40623 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
40624 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
40625 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
40626 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
40627 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
40628 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
40629 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
40630 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40631 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
40632 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
40633 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40634 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
40635 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40636 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
40637 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
40638 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
40639 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
40640 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40641 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40642 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40643 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40644 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40645 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
40646 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
40647 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
40648 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
40649 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
40650 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
40651 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40652 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
40653 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
40654 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
40655 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40656 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40657 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40658 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40659 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40660 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
40661 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
40662 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
40663 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40664 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40665 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40666 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
40667 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40668 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40669 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40670 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40671 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40672 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
40673 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
40674 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40675 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
40676 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
40677 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
40678 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
40679 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
40680 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
40681 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
40682 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
40683 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
40684 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40685 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
40686 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40687 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40688 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
40689 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
40690 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
40691 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
40692 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
40693 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40694 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
40695 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40696 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
40697 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
40698 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
40699 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
40700 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
40701 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
40702 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
40703 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40704 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
40705 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
40706 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40707 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
40708 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
40709 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
40710 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
40711 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
40712 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
40713 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
40714 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40715 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40716 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
40717 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
40718 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
40719 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
40720 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
40721 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
40722 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40723 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
40724 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
40725 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
40726 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
40727 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
40728 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
40729 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
40730 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
40731 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
40732 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
40733 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
40734 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
40735 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
40736 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40737 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40738 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40739 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
40740 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40741 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
40742 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
40743 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
40744 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
40745 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
40746 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
40747 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
40748 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
40749 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
40750 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
40751 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40752 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
40753 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
40754 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40755 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
40756 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
40757 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
40758 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
40759 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
40760 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
40761 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
40762 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
40763 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
40764 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40765 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40766 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
40767 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
40768 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
40769 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
40770 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
40771 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
40772 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
40773 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
40774 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
40775 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
40776 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40777 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
40778 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40779 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
40780 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
40781 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
40782 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
40783 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
40784 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40785 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
40786 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
40787 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
40788 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
40789 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
40790 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
40791 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40792 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40793 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
40794 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
40795 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40796 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40797 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
40798 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
40799 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
40800 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
40801 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
40802 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40803 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
40804 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
40805 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
40806 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40807 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
40808 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40809 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
40810 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40811 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
40812 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40813 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40814 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40815 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
40816 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
40817 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
40818 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
40819 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
40820 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40821 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
40822 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40823 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
40824 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
40825 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40826 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
40827 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
40828 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
40829 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40830 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40831 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40832 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40833 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
40834 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40835 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
40836 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
40837 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
40838 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40839 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
40840 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40841 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
40842 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
40843 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
40844 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
40845 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
40846 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40847 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40848 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40849 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40850 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
40851 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
40852 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40853 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40854 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40855 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40856 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
40857 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40858 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
40859 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
40860 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
40861 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
40862 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
40863 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40864 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
40865 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40866 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40867 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40868 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40869 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
40870 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
40871 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
40872 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
40873 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
40874 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
40875 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
40876 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
40877 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
40878 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40879 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40880 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
40881 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
40882 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
40883 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
40884 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
40885 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40886 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40887 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
40888 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40889 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40890 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
40891 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
40892 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
40893 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
40894 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40895 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40896 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40897 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40898 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40899 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40900 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40901 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40902 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40903 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40904 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40905 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40906 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40907 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40908 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40909 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40910 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40911 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40912 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
40913 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
40914 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
40915 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
40916 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
40917 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
40918 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
40919 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
40920 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40921 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40922 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40923 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40924 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
40925 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
40926 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
40927 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
40928 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
40929 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
40930 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
40931 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
40932 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40933 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
40934 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
40935 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
40936 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40937 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
40938 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
40939 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
40940 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
40941 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
40942 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
40943 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
40944 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40945 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40946 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40947 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40948 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40949 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40950 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40951 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40952 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
40953 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
40954 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40955 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40956 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
40957 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
40958 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
40959 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
40960 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
40961 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
40962 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40963 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40964 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40965 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
40966 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
40967 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
40968 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40969 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40970 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
40971 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
40972 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40973 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
40974 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
40975 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40976 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
40977 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
40978 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
40979 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
40980 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
40981 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40982 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
40983 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
40984 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
40985 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
40986 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
40987 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
40988 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40989 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40990 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40991 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
40992 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
40993 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40994 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
40995 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
40996 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
40997 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
40998 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
40999 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
41000 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41001 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
41002 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
41003 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41004 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
41005 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
41006 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41007 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
41008 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
41009 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41010 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
41011 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
41012 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
41013 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
41014 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
41015 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
41016 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
41017 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41018 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
41019 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
41020 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
41021 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
41022 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41023 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
41024 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
41025 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
41026 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
41027 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41028 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41029 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41030 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
41031 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
41032 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41033 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
41034 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41035 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41036 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41037 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
41038 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
41039 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
41040 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41041 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41042 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
41043 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41044 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
41045 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41046 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41047 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
41048 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41049 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
41050 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
41051 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41052 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
41053 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
41054 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
41055 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41056 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
41057 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
41058 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41059 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41060 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
41061 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41062 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
41063 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41064 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
41065 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
41066 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
41067 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41068 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
41069 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41070 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41071 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
41072 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
41073 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41074 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41075 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
41076 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
41077 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
41078 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
41079 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
41080 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
41081 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
41082 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
41083 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41084 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
41085 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41086 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41087 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
41088 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41089 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
41090 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41091 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
41092 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
41093 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41094 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
41095 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41096 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41097 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
41098 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41099 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
41100 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41101 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
41102 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
41103 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
41104 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41105 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41106 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41107 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41108 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
41109 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
41110 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
41111 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
41112 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
41113 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
41114 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41115 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
41116 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41117 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
41118 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41119 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
41120 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41121 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
41122 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41123 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
41124 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41125 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41126 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41127 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41128 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41129 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
41130 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41131 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41132 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
41133 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
41134 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
41135 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
41136 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
41137 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
41138 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
41139 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
41140 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
41141 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
41142 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
41143 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
41144 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
41145 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41146 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
41147 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
41148 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41149 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41150 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
41151 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
41152 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
41153 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
41154 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41155 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41156 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
41157 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
41158 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
41159 { (char *)"new_VisualAttributes", (PyCFunction
) _wrap_new_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41160 { (char *)"delete_VisualAttributes", (PyCFunction
) _wrap_delete_VisualAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41161 { (char *)"VisualAttributes_font_set", (PyCFunction
) _wrap_VisualAttributes_font_set
, METH_VARARGS
| METH_KEYWORDS
},
41162 { (char *)"VisualAttributes_font_get", (PyCFunction
) _wrap_VisualAttributes_font_get
, METH_VARARGS
| METH_KEYWORDS
},
41163 { (char *)"VisualAttributes_colFg_set", (PyCFunction
) _wrap_VisualAttributes_colFg_set
, METH_VARARGS
| METH_KEYWORDS
},
41164 { (char *)"VisualAttributes_colFg_get", (PyCFunction
) _wrap_VisualAttributes_colFg_get
, METH_VARARGS
| METH_KEYWORDS
},
41165 { (char *)"VisualAttributes_colBg_set", (PyCFunction
) _wrap_VisualAttributes_colBg_set
, METH_VARARGS
| METH_KEYWORDS
},
41166 { (char *)"VisualAttributes_colBg_get", (PyCFunction
) _wrap_VisualAttributes_colBg_get
, METH_VARARGS
| METH_KEYWORDS
},
41167 { (char *)"VisualAttributes_swigregister", VisualAttributes_swigregister
, METH_VARARGS
},
41168 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
41169 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
41170 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
41171 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
41172 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41173 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
41174 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
41175 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41176 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41177 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41178 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41179 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
41180 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
41181 { (char *)"Window_SetWindowVariant", (PyCFunction
) _wrap_Window_SetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41182 { (char *)"Window_GetWindowVariant", (PyCFunction
) _wrap_Window_GetWindowVariant
, METH_VARARGS
| METH_KEYWORDS
},
41183 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41184 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41185 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
41186 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
41187 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
41188 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
41189 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
41190 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
41191 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41192 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
41193 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
41194 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
41195 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
41196 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41197 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41198 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41199 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41200 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
41201 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41202 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41203 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
41204 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
41205 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41206 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
41207 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41208 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41209 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41210 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
41211 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
41212 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
41213 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
41214 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41215 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41216 { (char *)"Window_SetSizeHints", _wrap_Window_SetSizeHints
, METH_VARARGS
},
41217 { (char *)"Window_SetVirtualSizeHints", _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
},
41218 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
41219 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
41220 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
41221 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
41222 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
41223 { (char *)"Window_GetMinSize", (PyCFunction
) _wrap_Window_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41224 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41225 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
41226 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41227 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
41228 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
41229 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
41230 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41231 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41232 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
41233 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41234 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41235 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41236 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
41237 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
41238 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
41239 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41240 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
41241 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
41242 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41243 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41244 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
41245 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
41246 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
41247 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
41248 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
41249 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41250 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41251 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
41252 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41253 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41254 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
41255 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
41256 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
41257 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
41258 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
41259 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41260 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41261 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41262 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41263 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41264 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41265 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41266 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41267 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
41268 { (char *)"Window_Validate", (PyCFunction
) _wrap_Window_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41269 { (char *)"Window_TransferDataToWindow", (PyCFunction
) _wrap_Window_TransferDataToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41270 { (char *)"Window_TransferDataFromWindow", (PyCFunction
) _wrap_Window_TransferDataFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41271 { (char *)"Window_InitDialog", (PyCFunction
) _wrap_Window_InitDialog
, METH_VARARGS
| METH_KEYWORDS
},
41272 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41273 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
41274 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41275 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
41276 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41277 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
41278 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
41279 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
41280 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41281 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
41282 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
41283 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
41284 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
41285 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
41286 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
41287 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
41288 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
41289 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
41290 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
41291 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
41292 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
41293 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
41294 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
41295 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
41296 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
41297 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
41298 { (char *)"Window_IsExposedRect", (PyCFunction
) _wrap_Window_IsExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
41299 { (char *)"Window_GetDefaultAttributes", (PyCFunction
) _wrap_Window_GetDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41300 { (char *)"Window_GetClassDefaultAttributes", (PyCFunction
) _wrap_Window_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41301 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41302 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41303 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41304 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41305 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41306 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
41307 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41308 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41309 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41310 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
41311 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
41312 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
41313 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41314 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
41315 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
41316 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
41317 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
41318 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
41319 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
41320 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
41321 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
41322 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
41323 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
41324 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
41325 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
41326 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
41327 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41328 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
41329 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41330 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
41331 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
41332 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
41333 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
41334 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
41335 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
41336 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
41337 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
41338 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
41339 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
41340 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41341 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
41342 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
41343 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
41344 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41345 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
41346 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41347 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
41348 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
41349 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41350 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41351 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41352 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
41353 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41354 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41355 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
41356 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41357 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41358 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
41359 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
41360 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
41361 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
41362 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
41363 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
41364 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
41365 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
41366 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
41367 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
41368 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
41369 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41370 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41371 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
41372 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
41373 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
41374 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
41375 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41376 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
41377 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
41378 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
41379 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41380 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41381 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41382 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
41383 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
41384 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
41385 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41386 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41387 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41388 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41389 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41390 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
41391 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41392 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41393 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41394 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
41395 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
41396 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
41397 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41398 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
41399 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41400 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
41401 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
41402 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
41403 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
41404 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
41405 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
41406 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
41407 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41408 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
41409 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41410 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41411 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
41412 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41413 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41414 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41415 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41416 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41417 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41418 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
41419 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41420 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
41421 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41422 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
41423 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
41424 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
41425 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41426 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41427 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41428 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41429 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
41430 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
41431 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
41432 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
41433 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
41434 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41435 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
41436 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41437 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
41438 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41439 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
41440 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
41441 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41442 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
41443 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41444 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
41445 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
41446 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41447 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
41448 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41449 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41450 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41451 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41452 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41453 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
41454 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
41455 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
41456 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
41457 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
41458 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
41459 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
41460 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41461 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
41462 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
41463 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
41464 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
41465 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
41466 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41467 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
41468 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
41469 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
41470 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41471 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
41472 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41473 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41474 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
41475 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
41476 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
41477 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
41478 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
41479 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
41480 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41481 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
41482 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41483 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
41484 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
41485 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
41486 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41487 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
41488 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41489 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
41490 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
41491 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41492 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41493 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41494 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41495 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
41496 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41497 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41498 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
41499 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41500 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
41501 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
41502 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
41503 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
41504 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
41505 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
41506 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41507 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
41508 { (char *)"Control_GetClassDefaultAttributes", (PyCFunction
) _wrap_Control_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
},
41509 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
41510 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
41511 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
41512 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41513 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41514 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
41515 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
41516 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
41517 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
41518 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
41519 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
41520 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
41521 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
41522 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
41523 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
41524 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41525 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
41526 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
41527 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
41528 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41529 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41530 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41531 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41532 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41533 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
41534 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41535 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41536 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41537 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41538 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
41539 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
41540 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
41541 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41542 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
41543 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
41544 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
41545 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41546 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41547 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
41548 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41549 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
41550 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41551 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
41552 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41553 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
41554 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41555 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
41556 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41557 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41558 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
41559 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41560 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41561 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
41562 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
41563 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
41564 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41565 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
41566 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
41567 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
41568 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41569 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41570 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
41571 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
41572 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
41573 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41574 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
41575 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
41576 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
41577 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41578 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41579 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
41580 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
41581 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
41582 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41583 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
41584 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
41585 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
41586 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
41587 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
41588 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
41589 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
41590 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
41591 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
41592 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
41593 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
41594 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
41595 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41596 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41597 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
41598 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41599 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41600 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
41601 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
41602 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
41603 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41604 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41605 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
41606 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41607 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41608 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41609 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
41610 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
41611 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41612 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41613 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
41614 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
41615 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
41616 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
41617 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
41618 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
41619 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41620 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41621 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41622 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
41623 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41624 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
41625 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41626 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
41627 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41628 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
41629 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
41630 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
41631 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
41632 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
41633 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
41634 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
41635 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
41636 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
41637 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41638 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41639 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
41640 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
41641 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
41642 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
41643 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41644 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41645 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
41646 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
41647 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
41648 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
41649 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
41650 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
41651 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
41652 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
41653 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
41654 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
41655 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
41656 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
41657 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41658 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
41659 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
41660 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
41661 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
41662 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41663 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
41664 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
41665 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
41666 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
41667 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
41668 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41669 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
41670 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
41671 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
41672 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
41673 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
41674 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
41675 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
41676 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
41677 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
41678 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
41679 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
41680 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
41681 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
41682 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
41683 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
41684 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
41685 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
41686 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
41687 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
41688 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
41689 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
41690 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
41691 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
41692 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
41693 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
41694 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41695 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
41696 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41697 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
41698 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
41699 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
41700 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
41701 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
41702 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
41703 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41704 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
41705 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
41706 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
41707 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
41708 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
41709 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
41710 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
41711 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
41712 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
41713 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
41714 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
41715 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
41716 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
41717 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41718 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
41719 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
41720 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
41725 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
41727 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
41728 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
41730 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
41731 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
41733 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
41734 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41736 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
41737 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41739 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
41740 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
41742 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
41743 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41745 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
41746 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
41748 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
41749 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41751 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
41752 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41754 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
41755 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
41757 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
41758 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
41760 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
41761 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
41763 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
41764 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
41766 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
41767 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
41769 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
41770 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
41772 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
41773 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
41775 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
41776 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
41778 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
41779 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
41781 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
41782 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
41784 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
41785 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
41787 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
41788 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
41790 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
41791 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
41793 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
41794 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
41796 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
41797 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
41799 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
41800 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
41802 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
41803 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
41805 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
41806 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
41808 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
41809 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
41811 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
41812 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
41814 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
41815 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
41817 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
41818 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
41820 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
41821 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
41823 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
41824 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
41826 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
41827 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
41829 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
41830 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
41832 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
41833 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
41835 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
41836 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
41838 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
41839 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
41841 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
41842 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
41844 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
41845 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
41847 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
41848 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
41850 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
41851 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
41853 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
41854 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
41856 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
41857 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41859 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
41860 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
41862 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
41863 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
41865 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
41866 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
41868 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
41869 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
41871 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
41872 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
41874 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
41875 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
41877 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
41878 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
41880 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
41881 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
41883 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
41884 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
41886 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
41887 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
41889 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
41890 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
41892 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
41893 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
41895 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
41896 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
41898 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
41899 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
41901 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
41902 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
41904 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
41905 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
41907 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
41908 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
41910 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
41911 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41913 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
41914 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
41916 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
41917 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
41919 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
41920 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
41922 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
41923 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
41925 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
41926 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
41928 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
41929 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
41931 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
41932 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
41934 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
41935 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
41937 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
41938 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
41940 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
41941 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
41943 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
41944 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
41946 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
41947 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
41949 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41950 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
41952 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41953 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
41955 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
41956 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
41958 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
41959 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
41961 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
41962 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
41964 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
41965 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
41967 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
41968 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
41970 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
41971 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
41973 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
41974 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
41976 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
41977 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
41979 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
41980 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
41982 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
41983 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
41985 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
41986 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
41988 static void *_p_wxSizerTo_p_wxObject(void *x
) {
41989 return (void *)((wxObject
*) ((wxSizer
*) x
));
41991 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
41992 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
41994 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
41995 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
41997 static void *_p_wxMenuTo_p_wxObject(void *x
) {
41998 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
42000 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
42001 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
42003 static void *_p_wxImageTo_p_wxObject(void *x
) {
42004 return (void *)((wxObject
*) ((wxImage
*) x
));
42006 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
42007 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
42009 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
42010 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42012 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
42013 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
42015 static void *_p_wxWindowTo_p_wxObject(void *x
) {
42016 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
42018 static void *_p_wxControlTo_p_wxObject(void *x
) {
42019 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
42021 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
42022 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
42024 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
42025 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
42027 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
42028 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
42030 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
42031 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
42033 static void *_p_wxEventTo_p_wxObject(void *x
) {
42034 return (void *)((wxObject
*) ((wxEvent
*) x
));
42036 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
42037 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
42039 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
42040 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
42042 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
42043 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
42045 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
42046 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
42048 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
42049 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
42051 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
42052 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
42054 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
42055 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42057 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
42058 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
42060 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
42061 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
42063 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
42064 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
42066 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
42067 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
42069 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
42070 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
42072 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
42073 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
42075 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
42076 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
42078 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
42079 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
42081 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
42082 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
42084 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
42085 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
42087 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
42088 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
42090 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
42091 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
42093 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
42094 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
42096 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
42097 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
42099 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
42100 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
42102 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
42103 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
42105 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
42106 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
42108 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
42109 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42111 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
42112 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
42114 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
42115 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
42117 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
42118 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
42120 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
42121 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
42123 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
42124 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
42126 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
42127 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
42129 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
42130 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42132 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
42133 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
42135 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
42136 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
42138 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
42139 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
42141 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
42142 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
42144 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
42145 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
42147 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
42148 return (void *)((wxObject
*) ((wxFSFile
*) x
));
42150 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
42151 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
42153 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
42154 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42156 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
42157 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
42159 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
42160 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
42162 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
42163 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42165 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
42166 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
42168 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
42169 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
42171 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
42172 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
42174 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
42175 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
42177 static void *_p_wxControlTo_p_wxWindow(void *x
) {
42178 return (void *)((wxWindow
*) ((wxControl
*) x
));
42180 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
42181 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
42183 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
42184 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
42186 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
42187 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
42189 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
42190 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
42192 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
42193 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
42195 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
42196 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
42198 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
42199 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
42201 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
42202 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
42204 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
42205 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
42207 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
42208 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
42210 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
42211 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
42213 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}};
42214 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}};
42215 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}};
42216 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}};
42217 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}};
42218 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}};
42219 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}};
42220 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}};
42221 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}};
42222 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}};
42223 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}};
42224 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}};
42225 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}};
42226 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}};
42227 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}};
42228 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}};
42229 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}};
42230 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}};
42231 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}};
42232 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}};
42233 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}};
42234 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}};
42235 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}};
42236 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}};
42237 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}};
42238 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}};
42239 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}};
42240 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}};
42241 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}};
42242 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}};
42243 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}};
42244 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}};
42245 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}};
42246 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}};
42247 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}};
42248 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}};
42249 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}};
42250 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}};
42251 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}};
42252 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}};
42253 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}};
42254 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}};
42255 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}};
42256 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}};
42257 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}};
42258 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}};
42259 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}};
42260 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}};
42261 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}};
42262 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}};
42263 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}};
42264 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}};
42265 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}};
42266 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}};
42267 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}};
42268 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}};
42269 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}};
42270 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}};
42271 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}};
42272 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}};
42273 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}};
42274 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}};
42275 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}};
42276 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}};
42277 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}};
42278 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}};
42279 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}};
42280 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}};
42281 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}};
42282 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}};
42283 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}};
42284 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}};
42285 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}};
42286 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}};
42287 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}};
42288 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}};
42289 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}};
42290 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}};
42291 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}};
42292 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}};
42293 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}};
42294 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}};
42295 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}};
42296 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}};
42297 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}};
42298 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}};
42299 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}};
42300 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}};
42301 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}};
42302 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}};
42303 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}};
42304 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}};
42305 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}};
42306 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}};
42307 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}};
42308 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}};
42309 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}};
42310 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}};
42311 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}};
42312 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}};
42313 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}};
42314 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}};
42315 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}};
42316 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}};
42317 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}};
42318 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}};
42319 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}};
42320 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}};
42321 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}};
42322 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}};
42323 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}};
42324 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}};
42325 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}};
42326 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}};
42327 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}};
42329 static swig_type_info
*swig_types_initial
[] = {
42330 _swigt__p_wxLayoutConstraints
,
42331 _swigt__p_wxRealPoint
,
42332 _swigt__p_wxSizerItem
,
42333 _swigt__p_wxGBSizerItem
,
42334 _swigt__p_wxScrollEvent
,
42335 _swigt__p_wxIndividualLayoutConstraint
,
42337 _swigt__p_wxBoxSizer
,
42338 _swigt__p_wxStaticBoxSizer
,
42339 _swigt__p_wxGridBagSizer
,
42340 _swigt__p_wxAcceleratorEntry
,
42341 _swigt__p_wxUpdateUIEvent
,
42344 _swigt__p_wxGridSizer
,
42345 _swigt__p_wxFlexGridSizer
,
42346 _swigt__p_wxInitDialogEvent
,
42347 _swigt__p_wxItemContainer
,
42348 _swigt__p_wxNcPaintEvent
,
42349 _swigt__p_wxPaintEvent
,
42350 _swigt__p_wxSysColourChangedEvent
,
42351 _swigt__p_wxMouseCaptureChangedEvent
,
42352 _swigt__p_wxDisplayChangedEvent
,
42353 _swigt__p_wxPaletteChangedEvent
,
42354 _swigt__p_wxControl
,
42356 _swigt__p_wxMenuBarBase
,
42357 _swigt__p_wxSetCursorEvent
,
42358 _swigt__p_wxFSFile
,
42360 _swigt__p_wxRegion
,
42361 _swigt__p_wxPoint2D
,
42365 _swigt__p_wxPySizer
,
42366 _swigt__p_wxVisualAttributes
,
42367 _swigt__p_wxNotifyEvent
,
42368 _swigt__p_wxPyEvent
,
42369 _swigt__p_wxPropagationDisabler
,
42370 _swigt__p_wxAppTraits
,
42371 _swigt__p_wxArrayString
,
42372 _swigt__p_wxShowEvent
,
42373 _swigt__p_wxToolTip
,
42374 _swigt__p_wxMaximizeEvent
,
42375 _swigt__p_wxIconizeEvent
,
42376 _swigt__p_wxActivateEvent
,
42377 _swigt__p_wxMoveEvent
,
42378 _swigt__p_wxSizeEvent
,
42379 _swigt__p_wxQueryNewPaletteEvent
,
42380 _swigt__p_wxWindowCreateEvent
,
42381 _swigt__p_wxIdleEvent
,
42382 _swigt__p_wxMenuItem
,
42383 _swigt__p_wxStaticBox
,
42385 _swigt__p_wxTIFFHandler
,
42386 _swigt__p_wxXPMHandler
,
42387 _swigt__p_wxPNMHandler
,
42388 _swigt__p_wxJPEGHandler
,
42389 _swigt__p_wxPCXHandler
,
42390 _swigt__p_wxGIFHandler
,
42391 _swigt__p_wxPNGHandler
,
42392 _swigt__p_wxANIHandler
,
42393 _swigt__p_wxMemoryFSHandler
,
42394 _swigt__p_wxEvtHandler
,
42395 _swigt__p_wxCURHandler
,
42396 _swigt__p_wxICOHandler
,
42397 _swigt__p_wxBMPHandler
,
42398 _swigt__p_wxImageHandler
,
42399 _swigt__p_wxFileSystemHandler
,
42400 _swigt__p_wxPyFileSystemHandler
,
42401 _swigt__p_wxInternetFSHandler
,
42402 _swigt__p_wxZipFSHandler
,
42404 _swigt__p_wxGBSpan
,
42405 _swigt__p_wxPropagateOnce
,
42406 _swigt__p_wxAcceleratorTable
,
42408 _swigt__p_wxGBPosition
,
42411 _swigt__p_wxScrollWinEvent
,
42412 _swigt__p_wxImageHistogram
,
42415 _swigt__p_wxCursor
,
42416 _swigt__p_wxObject
,
42417 _swigt__p_wxPyInputStream
,
42418 _swigt__p_wxOutputStream
,
42419 _swigt__p_wxInputStream
,
42420 _swigt__p_wxDateTime
,
42421 _swigt__p_wxKeyEvent
,
42422 _swigt__p_wxNavigationKeyEvent
,
42423 _swigt__p_wxWindowDestroyEvent
,
42424 _swigt__p_wxWindow
,
42425 _swigt__p_wxMenuBar
,
42426 _swigt__p_wxFileSystem
,
42427 _swigt__p_wxBitmap
,
42428 _swigt__p_wxMenuEvent
,
42429 _swigt__p_wxContextMenuEvent
,
42430 _swigt__p_unsigned_char
,
42431 _swigt__p_wxCloseEvent
,
42432 _swigt__p_wxEraseEvent
,
42433 _swigt__p_wxMouseEvent
,
42435 _swigt__p_wxCommandEvent
,
42436 _swigt__p_wxPyCommandEvent
,
42437 _swigt__p_wxPyDropTarget
,
42438 _swigt__p_wxChildFocusEvent
,
42439 _swigt__p_wxFocusEvent
,
42440 _swigt__p_wxDropFilesEvent
,
42441 _swigt__p_wxControlWithItems
,
42442 _swigt__p_wxColour
,
42443 _swigt__p_wxValidator
,
42444 _swigt__p_wxPyValidator
,
42449 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
42451 static swig_const_info swig_const_table
[] = {
42461 SWIGEXPORT(void) SWIG_init(void) {
42462 static PyObject
*SWIG_globals
= 0;
42463 static int typeinit
= 0;
42466 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
42467 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
42468 d
= PyModule_GetDict(m
);
42471 for (i
= 0; swig_types_initial
[i
]; i
++) {
42472 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
42476 SWIG_InstallConstants(d
,swig_const_table
);
42479 #ifndef wxPyUSE_EXPORT
42480 // Make our API structure a CObject so other modules can import it
42481 // from this module.
42482 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
42483 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
42487 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
42488 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
42489 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
42490 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
42491 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
42492 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
42493 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
42494 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
42495 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
42496 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
42497 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
42498 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
42499 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
42500 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
42501 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
42502 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
42503 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
42504 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
42505 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
42506 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
42507 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
42508 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
42509 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
42510 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
42511 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
42512 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
42513 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
42514 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
42515 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
42516 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
42517 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
42518 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
42519 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
42520 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
42521 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
42522 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
42523 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
42524 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
42525 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
42526 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
42527 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
42528 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
42529 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
42530 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
42531 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
42532 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
42533 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
42534 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
42535 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
42536 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
42537 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
42538 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
42539 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
42540 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
42541 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
42542 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
42543 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
42544 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
42545 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
42546 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
42547 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
42548 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
42549 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
42550 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
42551 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
42552 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
42553 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
42554 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
42555 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
42556 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
42557 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
42558 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
42559 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
42560 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
42561 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
42562 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
42563 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
42564 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
42565 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
42566 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
42567 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
42568 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
42569 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
42570 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
42571 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
42572 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
42573 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
42574 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
42575 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
42576 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
42577 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
42578 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
42579 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
42580 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
42581 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
42582 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
42583 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
42584 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
42585 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
42586 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
42587 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
42588 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
42589 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
42590 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
42591 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
42592 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
42593 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
42594 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
42595 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
42596 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
42597 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
42598 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
42599 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
42600 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
42601 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
42602 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
42603 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
42604 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
42605 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
42606 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
42607 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
42608 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
42609 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
42610 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
42611 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
42612 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
42613 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
42614 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
42615 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
42616 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
42617 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
42618 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
42619 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
42620 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
42621 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
42622 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
42623 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
42624 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
42625 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
42626 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
42627 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
42628 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
42629 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
42630 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
42631 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
42632 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
42633 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
42634 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
42635 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
42636 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
42637 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
42638 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
42639 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
42640 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
42641 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
42642 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
42643 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
42644 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
42645 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
42646 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
42647 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
42648 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
42649 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
42650 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
42651 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
42652 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
42653 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
42654 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
42655 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
42656 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
42657 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
42658 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
42659 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
42660 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
42661 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
42662 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
42663 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
42664 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
42665 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
42666 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
42667 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
42668 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
42669 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
42670 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
42671 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
42672 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
42673 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
42674 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
42675 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
42676 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
42677 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
42678 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
42679 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
42680 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
42681 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
42682 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
42683 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
42684 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
42685 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
42686 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
42687 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
42688 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
42689 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
42690 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
42691 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
42692 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
42693 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
42694 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
42695 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
42696 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
42697 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
42698 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
42699 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
42700 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
42701 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
42702 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
42703 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
42704 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
42705 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
42706 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
42707 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
42708 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
42709 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
42710 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
42711 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
42712 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
42713 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
42714 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
42715 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
42716 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
42717 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
42718 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
42719 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
42720 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
42721 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
42722 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
42723 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
42724 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
42725 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
42726 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
42727 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
42728 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
42729 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
42730 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
42731 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
42732 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
42733 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
42734 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
42735 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
42736 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
42737 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
42738 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
42739 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
42740 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
42741 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
42742 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
42743 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
42744 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
42745 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
42746 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
42747 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
42748 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
42749 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
42750 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
42751 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
42752 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
42753 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
42754 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
42755 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
42756 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
42757 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
42758 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
42759 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
42760 PyDict_SetItemString(d
,"FIXED_SIZE", SWIG_FromInt((int)wxFIXED_SIZE
));
42761 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
42762 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
42763 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
42764 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
42765 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
42766 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
42767 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
42768 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
42769 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
42770 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
42771 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
42772 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
42773 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
42774 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
42775 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
42776 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
42777 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
42778 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
42779 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
42780 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
42781 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
42782 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
42783 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
42784 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
42785 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
42786 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
42787 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
42788 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
42789 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
42790 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
42791 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
42792 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
42793 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
42794 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
42795 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
42796 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
42797 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
42798 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
42799 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
42800 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
42801 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
42802 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
42803 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
42804 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
42805 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
42806 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
42807 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
42808 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
42809 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
42810 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
42811 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
42812 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
42813 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
42814 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
42815 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
42816 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
42817 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
42818 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
42819 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
42820 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
42821 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
42822 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
42823 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
42824 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
42825 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
42826 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
42827 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
42828 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
42829 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
42830 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
42831 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
42832 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
42833 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
42834 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
42835 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
42836 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
42837 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
42838 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
42839 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
42840 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
42841 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
42842 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
42843 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
42844 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
42845 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
42846 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
42847 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
42848 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
42849 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
42850 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
42851 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
42852 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
42853 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
42854 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
42855 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
42856 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
42857 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
42858 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
42859 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
42860 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
42861 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
42862 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
42863 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
42864 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
42865 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
42866 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
42867 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
42868 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
42869 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
42870 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
42871 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
42872 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
42873 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
42874 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
42875 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
42876 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
42877 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
42878 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
42879 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
42880 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
42881 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
42882 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
42883 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
42884 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
42885 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
42886 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
42887 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
42888 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
42889 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
42890 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
42891 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
42892 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
42893 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
42894 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
42895 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
42896 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
42897 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
42898 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
42899 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
42900 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
42901 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
42902 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
42903 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
42904 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
42905 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
42906 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
42907 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
42908 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
42909 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
42910 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
42911 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
42912 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
42913 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
42914 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
42915 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
42916 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
42917 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
42918 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
42919 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
42920 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
42921 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
42922 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
42923 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
42924 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
42925 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
42926 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
42927 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
42928 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
42929 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
42930 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
42931 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
42932 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
42933 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
42934 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
42935 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
42936 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
42937 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
42938 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
42939 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
42940 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
42941 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
42942 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
42943 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
42944 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
42945 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
42946 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
42947 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
42948 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
42949 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
42950 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
42951 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
42952 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
42953 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
42954 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
42955 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
42956 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
42957 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
42958 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
42959 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
42960 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
42961 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
42962 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
42963 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
42964 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
42965 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
42966 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
42967 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
42968 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
42969 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
42970 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
42971 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
42972 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
42973 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
42974 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
42975 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
42976 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
42977 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
42978 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
42979 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
42980 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
42981 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
42982 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
42983 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
42984 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
42985 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
42986 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
42987 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
42988 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
42989 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
42990 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
42991 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
42992 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
42993 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
42994 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
42995 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
42996 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
42997 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
42998 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
42999 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
43000 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
43001 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
43002 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
43003 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
43004 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
43005 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
43006 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
43007 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
43008 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
43009 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
43010 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
43011 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
43012 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
43013 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
43014 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
43015 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
43016 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
43017 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
43018 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
43019 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
43020 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
43021 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
43022 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
43023 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
43024 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
43025 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
43026 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
43027 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
43028 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
43029 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
43030 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
43031 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
43032 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
43033 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
43034 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
43035 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
43036 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
43037 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
43038 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
43039 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
43040 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
43041 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
43042 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
43043 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
43044 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
43045 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
43046 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
43047 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
43048 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
43049 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
43050 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
43051 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
43052 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
43053 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
43054 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
43055 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
43056 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
43057 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
43058 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
43059 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
43060 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
43061 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
43062 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
43063 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
43064 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
43065 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
43066 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
43067 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
43068 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
43069 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
43070 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
43071 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
43072 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
43073 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
43074 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
43075 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
43076 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
43077 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
43078 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
43079 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
43080 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
43081 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
43082 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
43083 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
43085 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
43088 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
43090 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
43091 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
43092 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
43093 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
43094 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
43095 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
43096 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
43097 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
43098 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
43099 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
43100 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
43101 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
43102 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
43103 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
43104 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
43105 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
43106 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
43107 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
43108 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
43109 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
43110 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
43111 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
43112 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
43113 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
43114 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
43115 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
43116 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
43117 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
43118 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
43119 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
43120 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
43121 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
43122 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
43123 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
43124 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
43125 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
43126 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
43127 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
43128 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
43129 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
43130 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
43131 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
43132 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
43133 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
43134 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
43135 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
43136 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
43137 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
43138 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
43139 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
43140 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
43141 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
43142 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
43143 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
43144 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
43145 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
43146 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
43147 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
43148 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
43149 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
43150 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
43151 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
43152 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
43153 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
43154 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
43155 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
43156 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
43157 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
43158 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
43159 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
43160 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
43161 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
43162 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
43163 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
43164 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
43165 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
43166 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
43167 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
43168 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
43169 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
43170 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
43171 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
43172 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
43173 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
43174 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
43175 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
43176 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
43177 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
43178 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
43179 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
43180 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
43181 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
43182 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
43183 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
43184 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
43185 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
43186 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
43187 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
43188 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
43189 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
43190 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
43191 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
43192 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
43193 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
43194 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
43195 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
43196 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
43197 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
43198 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
43199 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
43200 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
43201 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
43202 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
43203 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
43204 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
43205 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
43206 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
43207 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
43208 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
43209 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
43210 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
43211 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
43212 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
43213 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
43214 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
43215 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
43216 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
43217 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
43218 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
43219 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
43220 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
43221 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
43222 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
43223 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
43224 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
43225 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
43226 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
43227 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
43228 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
43229 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
43230 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
43231 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
43232 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
43233 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
43234 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
43235 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
43236 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
43237 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
43238 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
43239 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
43240 PyDict_SetItemString(d
,"WINDOW_VARIANT_NORMAL", SWIG_FromInt((int)wxWINDOW_VARIANT_NORMAL
));
43241 PyDict_SetItemString(d
,"WINDOW_VARIANT_SMALL", SWIG_FromInt((int)wxWINDOW_VARIANT_SMALL
));
43242 PyDict_SetItemString(d
,"WINDOW_VARIANT_MINI", SWIG_FromInt((int)wxWINDOW_VARIANT_MINI
));
43243 PyDict_SetItemString(d
,"WINDOW_VARIANT_LARGE", SWIG_FromInt((int)wxWINDOW_VARIANT_LARGE
));
43244 PyDict_SetItemString(d
,"WINDOW_VARIANT_MAX", SWIG_FromInt((int)wxWINDOW_VARIANT_MAX
));
43245 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
43246 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
43247 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
43248 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
43249 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
43250 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
43251 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
43252 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
43253 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
43254 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
43255 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
43256 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
43257 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
43258 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
43259 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
43260 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
43261 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
43262 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
43263 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
43264 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
43265 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
43266 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
43267 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
43268 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
43269 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
43271 // Initialize threading, some globals and such
43275 // Although these are defined in __version__ they need to be here too so
43276 // that an assert can be done to ensure that the wxPython and the wxWindows
43278 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
43279 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
43280 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));