1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
126 /***********************************************************************
127 * pyrun.swg for wxPython
129 * Include only the function prototypes and such from SWIG's pyrun.swg,
130 * but not the runtime functions themselves. This helps keep the
131 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 ************************************************************************/
142 #define SWIG_PY_INT 1
143 #define SWIG_PY_FLOAT 2
144 #define SWIG_PY_STRING 3
145 #define SWIG_PY_POINTER 4
146 #define SWIG_PY_BINARY 5
148 /* Flags for pointer conversion */
150 #define SWIG_POINTER_EXCEPTION 0x1
151 #define SWIG_POINTER_DISOWN 0x2
153 /* Exception handling in wrappers */
154 #define SWIG_fail goto fail
156 /* Constant information structure */
157 typedef struct swig_const_info
{
163 swig_type_info
**ptype
;
166 /* Common SWIG API */
167 #define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169 #define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171 #define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174 /* Python-specific SWIG API */
175 #define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181 #define SWIG_NewPackedObj(ptr, sz, type) \
182 SWIG_Python_NewPackedObj(ptr, sz, type)
183 #define SWIG_InstallConstants(d, constants) \
184 SWIG_Python_InstallConstants(d, constants)
186 typedef double (*py_objasdbl_conv
)(PyObject
*obj
);
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
198 /* Contract support */
200 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
207 /* -------- TYPES TABLE (BEGIN) -------- */
209 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
210 #define SWIGTYPE_p_wxRealPoint swig_types[1]
211 #define SWIGTYPE_p_wxSizerItem swig_types[2]
212 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
213 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
214 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
215 #define SWIGTYPE_p_wxSizer swig_types[6]
216 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
217 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
218 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
219 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
220 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
221 #define SWIGTYPE_p_wxMenu swig_types[12]
222 #define SWIGTYPE_p_wxEvent swig_types[13]
223 #define SWIGTYPE_p_wxGridSizer swig_types[14]
224 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
225 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
226 #define SWIGTYPE_p_wxItemContainer swig_types[17]
227 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
228 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
229 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
230 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
231 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
232 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
233 #define SWIGTYPE_p_wxControl swig_types[24]
234 #define SWIGTYPE_p_wxFont swig_types[25]
235 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
236 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
237 #define SWIGTYPE_p_wxFSFile swig_types[28]
238 #define SWIGTYPE_p_wxCaret swig_types[29]
239 #define SWIGTYPE_p_wxRegion swig_types[30]
240 #define SWIGTYPE_p_wxPoint2D swig_types[31]
241 #define SWIGTYPE_p_int swig_types[32]
242 #define SWIGTYPE_p_wxSize swig_types[33]
243 #define SWIGTYPE_p_wxDC swig_types[34]
244 #define SWIGTYPE_p_wxPySizer swig_types[35]
245 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
246 #define SWIGTYPE_p_wxPyEvent swig_types[37]
247 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
248 #define SWIGTYPE_p_wxAppTraits swig_types[39]
249 #define SWIGTYPE_p_wxArrayString swig_types[40]
250 #define SWIGTYPE_p_wxShowEvent swig_types[41]
251 #define SWIGTYPE_p_wxToolTip swig_types[42]
252 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
253 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
254 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
255 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
256 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
257 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
258 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
259 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
260 #define SWIGTYPE_p_wxMenuItem swig_types[51]
261 #define SWIGTYPE_p_wxStaticBox swig_types[52]
262 #define SWIGTYPE_p_long swig_types[53]
263 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
264 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
265 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
266 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
267 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
268 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
269 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
270 #define SWIGTYPE_p_wxANIHandler swig_types[61]
271 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
272 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
273 #define SWIGTYPE_p_wxCURHandler swig_types[64]
274 #define SWIGTYPE_p_wxICOHandler swig_types[65]
275 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
276 #define SWIGTYPE_p_wxImageHandler swig_types[67]
277 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
278 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
279 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
280 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
281 #define SWIGTYPE_p_wxRect swig_types[72]
282 #define SWIGTYPE_p_wxGBSpan swig_types[73]
283 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
284 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
285 #define SWIGTYPE_p_char swig_types[76]
286 #define SWIGTYPE_p_wxGBPosition swig_types[77]
287 #define SWIGTYPE_p_wxImage swig_types[78]
288 #define SWIGTYPE_p_wxFrame swig_types[79]
289 #define SWIGTYPE_p_wxScrollWinEvent swig_types[80]
290 #define SWIGTYPE_p_wxImageHistogram swig_types[81]
291 #define SWIGTYPE_p_byte swig_types[82]
292 #define SWIGTYPE_p_wxPoint swig_types[83]
293 #define SWIGTYPE_p_wxCursor swig_types[84]
294 #define SWIGTYPE_p_wxObject swig_types[85]
295 #define SWIGTYPE_p_wxPyInputStream swig_types[86]
296 #define SWIGTYPE_p_wxOutputStream swig_types[87]
297 #define SWIGTYPE_p_wxInputStream swig_types[88]
298 #define SWIGTYPE_p_wxDateTime swig_types[89]
299 #define SWIGTYPE_p_wxKeyEvent swig_types[90]
300 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[91]
301 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[92]
302 #define SWIGTYPE_p_wxWindow swig_types[93]
303 #define SWIGTYPE_p_wxMenuBar swig_types[94]
304 #define SWIGTYPE_p_wxFileSystem swig_types[95]
305 #define SWIGTYPE_p_wxBitmap swig_types[96]
306 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
307 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
308 #define SWIGTYPE_p_unsigned_char swig_types[99]
309 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
310 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
311 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
312 #define SWIGTYPE_p_wxPyApp swig_types[103]
313 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
314 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
315 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
316 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
317 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
318 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
319 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
320 #define SWIGTYPE_p_wxColour swig_types[111]
321 #define SWIGTYPE_p_wxValidator swig_types[112]
322 #define SWIGTYPE_p_wxPyValidator swig_types[113]
323 static swig_type_info
*swig_types
[115];
325 /* -------- TYPES TABLE (END) -------- */
328 /*-----------------------------------------------
330 ------------------------------------------------*/
331 #define SWIG_init init_core
333 #define SWIG_name "_core"
335 /* Auxiliar swig macros */
338 #define SWIGSTATICINLINE(a) static inline a
339 #define SWIGSTATIC(a) static a
340 #define swig_new_array(type, size) (new type[(size)])
341 #define swig_delete_array(cptr) delete[] cptr
342 #define swig_const_cast(type,a) const_cast<type>(a)
343 #define swig_static_cast(type,a) static_cast<type>(a)
344 #define swig_reinterpret_cast(type,a) reinterpret_cast<type>(a)
346 #ifdef HAVE_NUMERIC_CAST
347 #define swig_numeric_cast(type,a) numeric_cast<type>(a)
349 #define swig_numeric_cast(type,a) static_cast<type>(a)
354 #define SWIGSTATICINLINE(a) static a
355 #define SWIGSTATIC(a) static a
356 #define swig_new_array(type, size) ((type*) malloc((size)*sizeof(type)))
357 #define swig_delete_array(cptr) free((char*)cptr)
358 #define swig_const_cast(type,a) (type)(a)
359 #define swig_static_cast(type,a) (type)(a)
360 #define swig_reinterpret_cast(type,a) (type)(a)
361 #define swig_numeric_cast(type,a) (type)(a)
363 #endif /* __cplusplus */
366 #define SWIG_FromSignedChar PyInt_FromLong
367 #define SWIG_FromUnsignedChar PyInt_FromLong
368 #define SWIG_FromShort PyInt_FromLong
369 #define SWIG_FromUnsignedShort PyInt_FromLong
370 #define SWIG_FromInt PyInt_FromLong
371 #define SWIG_FromLong PyInt_FromLong
372 #define SWIG_FromFloat PyFloat_FromDouble
373 #define SWIG_FromDouble PyFloat_FromDouble
374 #define SWIG_FromFloat PyFloat_FromDouble
375 #define SWIG_FromDouble PyFloat_FromDouble
378 #include "wx/wxPython/wxPython_int.h"
379 #include "wx/wxPython/pyclasses.h"
382 #ifndef wxPyUSE_EXPORT
383 // Helper functions for dealing with SWIG objects and such. These are
384 // located here so they know about the SWIG types and functions declared
385 // in the wrapper code.
387 #include <wx/hashmap.h>
388 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
391 // Maintains a hashmap of className to swig_type_info pointers. Given the
392 // name of a class either looks up the type info in the cache, or scans the
393 // SWIG tables for it.
394 extern PyObject
* wxPyPtrTypeMap
;
396 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
398 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
400 if (typeInfoCache
== NULL
)
401 typeInfoCache
= new wxPyTypeInfoHashMap
;
403 wxString
name(className
);
404 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
407 // it wasn't in the cache, so look it up from SWIG
408 name
.Append(wxT(" *"));
409 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
411 // if it still wasn't found, try looking for a mapped name
416 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
417 (char*)(const char*)name
.mbc_str())) != NULL
) {
418 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
419 name
.Append(wxT(" *"));
420 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
424 // and add it to the map if found
425 (*typeInfoCache
)[className
] = swigType
;
432 // Check if a class name is a type known to SWIG
433 bool wxPyCheckSwigType(const wxChar
* className
) {
435 swig_type_info
* swigType
= wxPyFindSwigType(className
);
436 return swigType
!= NULL
;
440 // Given a pointer to a C++ object and a class name, construct a Python proxy
442 PyObject
* wxPyConstructObject(void* ptr
,
443 const wxChar
* className
,
446 swig_type_info
* swigType
= wxPyFindSwigType(className
);
447 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
449 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
453 // Extract a pointer to the wrapped C++ object from a Python proxy object.
454 // Ensures that the proxy object is of the specified (or derived) type. If
455 // not able to perform the conversion then a Python exception is set and the
456 // error should be handled properly in the caller. Returns True on success.
457 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
458 const wxChar
* className
) {
460 swig_type_info
* swigType
= wxPyFindSwigType(className
);
461 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
463 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
467 // Make a SWIGified pointer object suitable for a .this attribute
468 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
470 PyObject
* robj
= NULL
;
472 swig_type_info
* swigType
= wxPyFindSwigType(className
);
473 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
475 #ifdef SWIG_COBJECT_TYPES
476 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
482 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
483 strcpy(r
, swigType
->name
);
484 robj
= PyString_FromString(result
);
494 // Export a C API in a struct. Other modules will be able to load this from
495 // the wx.core module and will then have safe access to these functions, even if
496 // they are located in another shared library.
497 static wxPyCoreAPI API
= {
499 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
500 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
501 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
502 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
503 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
504 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
505 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
506 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
507 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
508 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
509 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
510 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
511 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
512 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
513 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
514 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
515 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
522 wxPyBeginAllowThreads
,
524 wxPyBeginBlockThreads
,
538 wxBitmap_LIST_helper
,
539 wxString_LIST_helper
,
540 wxAcceleratorEntry_LIST_helper
,
549 wxPySimple_typecheck
,
552 wxPyCBH_setCallbackInfo
,
553 wxPyCBH_findCallback
,
554 wxPyCBH_callCallback
,
555 wxPyCBH_callCallbackObj
,
563 wxArrayString2PyList_helper
,
564 wxArrayInt2PyList_helper
,
568 wxPyOORClientData_dtor
,
570 wxPyCBInputStream_create
,
573 wxPySwigInstance_Check
581 enum wxHotkeyModifier
589 #define wxEVT_HOTKEY 9999
592 static const wxString
wxPyEmptyString(wxEmptyString
);
593 wxString
wxObject_GetClassName(wxObject
*self
){
594 return self
->GetClassInfo()->GetClassName();
596 void wxObject_Destroy(wxObject
*self
){
601 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
608 SWIGSTATICINLINE(long)
609 SWIG_CheckLongInRange(long value
, const char* type
,
610 long min_value
, long max_value
)
612 if (!PyErr_Occurred()) {
613 if (value
< min_value
) {
615 PyString_FromFormat("value %ld is less than '%s' minimum %ld",
616 value
, type
, min_value
);
618 PyErr_SetObject(PyExc_OverflowError
, err
);
620 } else if (value
> max_value
) {
622 PyString_FromFormat("value %ld is greater than '%s' maximum %ld",
623 value
, type
, max_value
);
624 PyErr_SetObject(PyExc_OverflowError
, err
);
632 SWIGSTATICINLINE(long)
633 SWIG_AsLong(PyObject
* obj
)
635 return PyInt_Check(obj
) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
);
639 #if INT_MAX != LONG_MAX
640 SWIGSTATICINLINE(int)
641 SWIG_AsInt(PyObject
*obj
)
643 return swig_numeric_cast(int,
644 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
645 "int", INT_MIN
, INT_MAX
));
648 #define SWIG_AsInt SWIG_AsLong
652 SWIGSTATICINLINE(int)
653 SWIG_CheckInt(PyObject
* obj
)
656 if (PyErr_Occurred()) {
664 PyObject
*wxSize_Get(wxSize
*self
){
665 wxPyBeginBlockThreads();
666 PyObject
* tup
= PyTuple_New(2);
667 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
668 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
669 wxPyEndBlockThreads();
673 SWIGSTATICINLINE(double)
674 SWIG_AsDouble(PyObject
*obj
)
676 double val
= (PyFloat_Check(obj
)) ? PyFloat_AsDouble(obj
) :
678 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLongLong(obj
));
680 ((PyInt_Check(obj
)) ? PyInt_AsLong(obj
) : PyLong_AsLong(obj
));
682 if (PyErr_Occurred()) {
684 PyErr_SetString(PyExc_TypeError
, "a double is expected");
690 SWIGSTATICINLINE(int)
691 SWIG_CheckDouble(PyObject
* obj
)
694 if (PyErr_Occurred()) {
702 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
706 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
707 wxPyBeginBlockThreads();
708 PyObject
* tup
= PyTuple_New(2);
709 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
710 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
711 wxPyEndBlockThreads();
715 SWIGSTATICINLINE(int)
716 SWIG_CheckLong(PyObject
* obj
)
719 if (PyErr_Occurred()) {
727 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
731 PyObject
*wxPoint_Get(wxPoint
*self
){
732 wxPyBeginBlockThreads();
733 PyObject
* tup
= PyTuple_New(2);
734 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
735 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
736 wxPyEndBlockThreads();
739 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
743 self
->height
= height
;
745 PyObject
*wxRect_Get(wxRect
*self
){
746 wxPyBeginBlockThreads();
747 PyObject
* tup
= PyTuple_New(4);
748 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
749 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
750 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
751 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
752 wxPyEndBlockThreads();
756 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
759 wxRect
dest(0,0,0,0);
762 reg1
.Intersect(reg2
);
763 dest
= reg1
.GetBox();
765 if (dest
!= wxRect(0,0,0,0)) {
766 wxPyBeginBlockThreads();
767 wxRect
* newRect
= new wxRect(dest
);
768 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
769 wxPyEndBlockThreads();
777 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
783 } else if (target
== Py_None
) {
787 if (!PyTuple_Check(target
)) {
789 target
= PyTuple_New(1);
790 PyTuple_SetItem(target
, 0, o2
);
793 PyTuple_SetItem(o3
, 0, o
);
796 target
= PySequence_Concat(o2
, o3
);
803 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
807 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
808 wxPyBeginBlockThreads();
809 PyObject
* tup
= PyTuple_New(2);
810 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
811 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
812 wxPyEndBlockThreads();
816 #include "wx/wxPython/pyistream.h"
818 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
819 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
821 return new wxPyInputStream(wxis
);
826 SWIGSTATICINLINE(PyObject
*)
827 SWIG_FromChar(char c
)
829 return PyString_FromStringAndSize(&c
,1);
833 SWIGSTATICINLINE(PyObject
* )
834 SWIG_FromUnsignedLong(unsigned long value
)
836 return (value
> LONG_MAX
) ?
837 PyLong_FromUnsignedLong(value
)
838 : PyInt_FromLong(swig_numeric_cast(long,value
));
842 /* returns '1' if the input is a raw char*, '0' if is a PyString */
844 SWIG_AsCharPtrAndSize(PyObject
*obj
, char** cptr
, size_t* size
)
846 static swig_type_info
* pchar_info
= 0;
848 if (!pchar_info
) pchar_info
= SWIG_TypeQuery("char *");
850 if (SWIG_ConvertPtr(obj
, swig_reinterpret_cast(void **,cptr
), pchar_info
, 0) == -1) {
852 PyString_AsStringAndSize(obj
, cptr
, &psize
);
853 if (PyErr_Occurred()) {
855 PyErr_SetString(PyExc_TypeError
,"a string is expected");
857 if (size
) *size
= psize
;
860 if (size
) *size
= (*cptr
) ? (strlen(*cptr
) + 1) : 0;
867 SWIG_AsCharArray(PyObject
*obj
, char* carray
, size_t size
)
869 char* cptr
; size_t csize
;
870 SWIG_AsCharPtrAndSize(obj
, &cptr
, &csize
);
871 if (PyErr_Occurred()) {
874 PyString_FromFormat("a char array of size %d is expected", size
);
875 PyErr_SetObject(PyExc_TypeError
, err
);
878 /* in C (but not in C++) you can do:
882 ie, assing the array using an extra '0' char.
885 if ((csize
== size
+ 1) && !(cptr
[csize
-1])) --csize
;
889 PyString_FromFormat("a char array of maximum size %d is expected",
891 PyErr_SetObject(PyExc_TypeError
, err
);
894 if (csize
) memcpy(carray
, cptr
, csize
);
895 if (csize
< size
) memset(carray
+ csize
, 0, size
- csize
);
901 SWIGSTATICINLINE(char)
902 SWIG_AsChar(PyObject
*obj
)
905 if (PyInt_Check(obj
) || PyLong_Check(obj
)) {
906 c
= swig_numeric_cast(char,
907 SWIG_CheckLongInRange(SWIG_AsLong(obj
),
908 "char", CHAR_MIN
, CHAR_MAX
));
910 SWIG_AsCharArray(obj
, &c
, 1);
911 if (PyErr_Occurred()) {
913 PyErr_SetString(PyExc_TypeError
, "a char is expected");
920 SWIGSTATICINLINE(int)
921 SWIG_CheckChar(PyObject
* obj
)
924 if (PyErr_Occurred()) {
932 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
933 // We use only strings for the streams, not unicode
934 PyObject
* str
= PyObject_Str(obj
);
936 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
939 self
->Write(PyString_AS_STRING(str
),
940 PyString_GET_SIZE(str
));
944 #include "wx/wxPython/pyistream.h"
947 class wxPyFileSystemHandler
: public wxFileSystemHandler
950 wxPyFileSystemHandler() : wxFileSystemHandler() {}
952 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
953 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
954 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
955 DEC_PYCALLBACK_STRING__pure(FindNext
);
957 wxString
GetProtocol(const wxString
& location
) {
958 return wxFileSystemHandler::GetProtocol(location
);
961 wxString
GetLeftLocation(const wxString
& location
) {
962 return wxFileSystemHandler::GetLeftLocation(location
);
965 wxString
GetAnchor(const wxString
& location
) {
966 return wxFileSystemHandler::GetAnchor(location
);
969 wxString
GetRightLocation(const wxString
& location
) {
970 return wxFileSystemHandler::GetRightLocation(location
);
973 wxString
GetMimeTypeFromExt(const wxString
& location
) {
974 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
981 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
982 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
983 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
984 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
987 SWIGSTATICINLINE(bool)
988 SWIG_AsBool(PyObject
*obj
)
990 return PyObject_IsTrue(obj
) ? true : false;
994 SWIGSTATICINLINE(int)
995 SWIG_CheckBool(PyObject
* obj
)
998 if (PyErr_Occurred()) {
1007 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
1008 wxFileName fname
= wxFileSystem::URLToFileName(url
);
1009 return fname
.GetFullPath();
1013 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
1016 wxMemoryFSHandler::AddFile(filename
, image
, type
);
1019 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
1020 const wxBitmap
& bitmap
,
1022 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
1025 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
1027 wxMemoryFSHandler::AddFile(filename
,
1028 // TODO: Verify data type
1029 (void*)PyString_AsString(data
),
1030 (size_t)PyString_Size(data
));
1034 #include "wx/wxPython/pyistream.h"
1037 SWIGSTATICINLINE(unsigned long)
1038 SWIG_CheckUnsignedLongInRange(unsigned long value
, const char* type
,
1039 unsigned long max_value
)
1041 if (!PyErr_Occurred()) {
1042 if (value
> max_value
) {
1044 PyString_FromFormat("value %ld is greater than '%s' minimum %ld",
1045 value
, type
, max_value
);
1046 PyErr_SetObject(PyExc_OverflowError
, err
);
1054 SWIGSTATICINLINE(unsigned long)
1055 SWIG_AsUnsignedLong(PyObject
* obj
)
1057 if (PyLong_Check(obj
)) {
1058 return PyLong_AsUnsignedLong(obj
);
1060 long i
= PyInt_AsLong(obj
);
1061 if ( !PyErr_Occurred() && (i
< 0)) {
1062 PyErr_SetString(PyExc_TypeError
, "negative value for unsigned type");
1069 SWIGSTATICINLINE(unsigned char)
1070 SWIG_AsUnsignedChar(PyObject
*obj
)
1072 return swig_numeric_cast(unsigned char,
1073 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1074 "unsigned char", UCHAR_MAX
));
1078 SWIGSTATICINLINE(int)
1079 SWIG_CheckUnsignedChar(PyObject
* obj
)
1081 SWIG_AsUnsignedChar(obj
);
1082 if (PyErr_Occurred()) {
1090 wxImage
*new_wxImage(int width
,int height
,bool clear
){
1091 if (width
> 0 && height
> 0)
1092 return new wxImage(width
, height
, clear
);
1096 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
1097 return new wxImage(bitmap
.ConvertToImage());
1099 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
1100 // Copy the source data so the wxImage can clean it up later
1101 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
1106 memcpy(copy
, data
, width
*height
*3);
1107 return new wxImage(width
, height
, copy
, False
);
1109 PyObject
*wxImage_GetData(wxImage
*self
){
1110 unsigned char* data
= self
->GetData();
1111 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1113 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
1116 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
1117 unsigned char* dataPtr
;
1119 if (! PyString_Check(data
)) {
1120 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1124 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
1125 dataPtr
= (unsigned char*) malloc(len
);
1126 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1127 self
->SetData(dataPtr
);
1128 // wxImage takes ownership of dataPtr...
1130 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
1131 unsigned char* data
= self
->GetData();
1132 int len
= self
->GetWidth() * self
->GetHeight() * 3;
1134 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1137 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
1138 unsigned char* buffer
;
1141 wxPyBeginBlockThreads();
1142 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1145 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
1146 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1149 self
->SetData(buffer
);
1151 wxPyEndBlockThreads();
1153 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
1154 unsigned char* data
= self
->GetAlpha();
1158 int len
= self
->GetWidth() * self
->GetHeight();
1160 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
1164 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
1165 unsigned char* dataPtr
;
1167 if (! PyString_Check(data
)) {
1168 PyErr_SetString(PyExc_TypeError
, "Expected string object");
1172 size_t len
= self
->GetWidth() * self
->GetHeight();
1173 dataPtr
= (unsigned char*) malloc(len
);
1174 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
1175 self
->SetAlpha(dataPtr
);
1176 // wxImage takes ownership of dataPtr...
1178 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
1179 unsigned char* data
= self
->GetAlpha();
1180 int len
= self
->GetWidth() * self
->GetHeight();
1182 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
1185 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
1186 unsigned char* buffer
;
1189 wxPyBeginBlockThreads();
1190 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
1193 if (size
!= self
->GetWidth() * self
->GetHeight()) {
1194 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
1197 self
->SetAlpha(buffer
);
1199 wxPyEndBlockThreads();
1202 SWIGSTATICINLINE(int)
1203 SWIG_CheckUnsignedLong(PyObject
* obj
)
1205 SWIG_AsUnsignedLong(obj
);
1206 if (PyErr_Occurred()) {
1214 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
1215 wxBitmap
bitmap(*self
);
1218 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
1219 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
1220 wxBitmap
bitmap( mono
, 1 );
1223 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
1224 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
1225 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
1226 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
1227 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
1228 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
1229 if (PyCallable_Check(func
)) {
1230 self
->Connect(id
, lastId
, eventType
,
1231 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
1232 new wxPyCallback(func
));
1234 else if (func
== Py_None
) {
1235 self
->Disconnect(id
, lastId
, eventType
,
1236 (wxObjectEventFunction
)
1237 &wxPyCallback::EventThunker
);
1240 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
1243 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
1244 return self
->Disconnect(id
, lastId
, eventType
,
1245 (wxObjectEventFunction
)
1246 &wxPyCallback::EventThunker
);
1248 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
1249 if (_self
&& _self
!= Py_None
) {
1250 self
->SetClientObject(new wxPyOORClientData(_self
));
1253 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
1255 self
->SetClientObject(NULL
); // This will delete it too
1259 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
1261 return self
->m_uniChar
;
1267 #if UINT_MAX < LONG_MAX
1268 #define SWIG_FromUnsignedInt SWIG_FromLong
1270 #define SWIG_FromUnsignedInt SWIG_FromUnsignedLong
1274 #if UINT_MAX != ULONG_MAX
1275 SWIGSTATICINLINE(unsigned int)
1276 SWIG_AsUnsignedInt(PyObject
*obj
)
1278 return swig_numeric_cast(unsigned int,
1279 SWIG_CheckUnsignedLongInRange(SWIG_AsUnsignedLong(obj
),
1280 "unsigned int", UINT_MAX
));
1283 #define SWIG_AsUnsignedInt SWIG_AsUnsignedLong
1287 SWIGSTATICINLINE(int)
1288 SWIG_CheckUnsignedInt(PyObject
* obj
)
1290 SWIG_AsUnsignedInt(obj
);
1291 if (PyErr_Occurred()) {
1299 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
1300 self
->m_size
= size
;
1302 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
1305 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
1306 int count
= self
->GetNumberOfFiles();
1307 wxString
* files
= self
->GetFiles();
1308 PyObject
* list
= PyList_New(count
);
1311 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
1315 for (int i
=0; i
<count
; i
++) {
1316 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
1322 wxPyApp
*new_wxPyApp(){
1323 wxPythonApp
= new wxPyApp();
1326 int PyApp_GetComCtl32Version(){ wxPyRaiseNotImplemented(); return 0; }
1328 void wxApp_CleanUp() {
1333 wxPyApp
* wxGetApp() {
1334 return (wxPyApp
*)wxTheApp
;
1339 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1340 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1341 wxWindowList
& list
= self
->GetChildren();
1342 return wxPy_ConvertList(&list
);
1344 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1351 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1358 long wxWindow_GetHandle(wxWindow
*self
){
1359 return wxPyGetWinHandle(self
);
1362 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1363 return wxWindow::FindWindowById(id
, parent
);
1366 wxWindow
* wxFindWindowByName( const wxString
& name
,
1367 const wxWindow
*parent
= NULL
) {
1368 return wxWindow::FindWindowByName(name
, parent
);
1371 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1372 const wxWindow
*parent
= NULL
) {
1373 return wxWindow::FindWindowByLabel(label
, parent
);
1377 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1379 wxWindow
* win
= new wxWindow
;
1380 win
->SetHWND((WXHWND
)hWnd
);
1381 win
->SubclassWin((WXHWND
)hWnd
);
1384 wxPyRaiseNotImplemented();
1390 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1391 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1392 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1394 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1396 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1397 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1398 wxMenuItemList
& list
= self
->GetMenuItems();
1399 return wxPy_ConvertList(&list
);
1401 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1402 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1403 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1405 wxPyClientData
* data
= new wxPyClientData(clientData
);
1406 return self
->Append(item
, data
);
1408 return self
->Append(item
);
1410 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1412 wxPyClientData
* data
= new wxPyClientData(clientData
);
1413 return self
->Insert(item
, pos
, data
);
1415 return self
->Insert(item
, pos
);
1417 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1418 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1420 Py_INCREF(data
->m_obj
);
1427 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1428 wxPyClientData
* data
= new wxPyClientData(clientData
);
1429 self
->SetClientObject(n
, data
);
1437 SWIG_FloatCast(double value
)
1440 if (!PyErr_Occurred()) {
1441 if (value
< FLT_MIN
) {
1443 PyString_FromFormat("value %g is less than float minimum %g",
1445 PyErr_SetObject(PyExc_OverflowError
, err
);
1447 } else if (value
> FLT_MAX
) {
1449 PyString_FromFormat("value %g is greater than float maximum %g",
1451 PyErr_SetObject(PyExc_OverflowError
, err
);
1454 f
= swig_numeric_cast(float, value
);
1461 SWIGSTATICINLINE(float)
1462 SWIG_AsFloat(PyObject
*obj
)
1464 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1468 SWIGSTATICINLINE(int)
1469 SWIG_CheckFloat(PyObject
* obj
)
1472 if (PyErr_Occurred()) {
1480 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1481 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1483 Py_INCREF(data
->m_obj
);
1491 // Figure out the type of the sizer item
1493 struct wxPySizerItemInfo
{
1495 : window(NULL
), sizer(NULL
), gotSize(False
),
1496 size(wxDefaultSize
), gotPos(False
), pos(-1)
1507 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1509 wxPySizerItemInfo info
;
1511 wxSize
* sizePtr
= &size
;
1513 // Find out what the type of the item is
1515 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1520 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1524 // try wxSize or (w,h)
1525 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1526 info
.size
= *sizePtr
;
1527 info
.gotSize
= True
;
1531 if (checkIdx
&& PyInt_Check(item
)) {
1532 info
.pos
= PyInt_AsLong(item
);
1538 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1539 // no expected type, figure out what kind of error message to generate
1540 if ( !checkSize
&& !checkIdx
)
1541 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1542 else if ( checkSize
&& !checkIdx
)
1543 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1544 else if ( !checkSize
&& checkIdx
)
1545 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1547 // can this one happen?
1548 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1554 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1555 self
->SetClientObject(new wxPyOORClientData(_self
));
1557 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1559 wxPyUserData
* data
= NULL
;
1560 wxPyBeginBlockThreads();
1561 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1562 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1563 data
= new wxPyUserData(userData
);
1564 wxPyEndBlockThreads();
1566 // Now call the real Add method if a valid item type was found
1568 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1569 else if ( info
.sizer
)
1570 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1571 else if (info
.gotSize
)
1572 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1573 proportion
, flag
, border
, data
);
1575 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1577 wxPyUserData
* data
= NULL
;
1578 wxPyBeginBlockThreads();
1579 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1580 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1581 data
= new wxPyUserData(userData
);
1582 wxPyEndBlockThreads();
1584 // Now call the real Insert method if a valid item type was found
1586 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1587 else if ( info
.sizer
)
1588 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1589 else if (info
.gotSize
)
1590 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1591 proportion
, flag
, border
, data
);
1593 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1595 wxPyUserData
* data
= NULL
;
1596 wxPyBeginBlockThreads();
1597 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1598 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1599 data
= new wxPyUserData(userData
);
1600 wxPyEndBlockThreads();
1602 // Now call the real Prepend method if a valid item type was found
1604 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1605 else if ( info
.sizer
)
1606 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1607 else if (info
.gotSize
)
1608 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1609 proportion
, flag
, border
, data
);
1611 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1612 wxPyBeginBlockThreads();
1613 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1614 wxPyEndBlockThreads();
1616 return self
->Remove(info
.window
);
1617 else if ( info
.sizer
)
1618 return self
->Remove(info
.sizer
);
1619 else if ( info
.gotPos
)
1620 return self
->Remove(info
.pos
);
1624 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1625 wxPyBeginBlockThreads();
1626 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1627 wxPyEndBlockThreads();
1629 self
->SetItemMinSize(info
.window
, size
);
1630 else if ( info
.sizer
)
1631 self
->SetItemMinSize(info
.sizer
, size
);
1632 else if ( info
.gotPos
)
1633 self
->SetItemMinSize(info
.pos
, size
);
1635 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1636 wxSizerItemList
& list
= self
->GetChildren();
1637 return wxPy_ConvertList(&list
);
1639 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1640 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1642 self
->Show(info
.window
, show
);
1643 else if ( info
.sizer
)
1644 self
->Show(info
.sizer
, show
);
1646 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1647 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1649 self
->Hide(info
.window
);
1650 else if ( info
.sizer
)
1651 self
->Hide(info
.sizer
);
1653 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1654 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1656 return self
->IsShown(info
.window
);
1657 else if ( info
.sizer
)
1658 return self
->IsShown(info
.sizer
);
1664 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1665 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1666 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1671 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1673 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1676 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1678 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1682 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1683 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1684 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1688 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1689 wxPyBeginBlockThreads();
1690 PyObject
* tup
= PyTuple_New(2);
1691 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1692 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1693 wxPyEndBlockThreads();
1696 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1697 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1698 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1699 self
->SetRowspan(rowspan
);
1700 self
->SetColspan(colspan
);
1702 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1703 wxPyBeginBlockThreads();
1704 PyObject
* tup
= PyTuple_New(2);
1705 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1706 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1707 wxPyEndBlockThreads();
1710 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1712 wxPyUserData
* data
= NULL
;
1713 wxPyBeginBlockThreads();
1714 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1715 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1716 data
= new wxPyUserData(userData
);
1717 wxPyEndBlockThreads();
1719 // Now call the real Add method if a valid item type was found
1721 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1722 else if ( info
.sizer
)
1723 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1724 else if (info
.gotSize
)
1725 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1726 pos
, span
, flag
, border
, data
);
1734 static int _wrap_EmptyString_set(PyObject
*) {
1735 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1740 static PyObject
*_wrap_EmptyString_get() {
1745 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1747 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1754 static PyObject
*_wrap_Object_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1755 PyObject
*resultobj
;
1756 wxObject
*arg1
= (wxObject
*) 0 ;
1758 PyObject
* obj0
= 0 ;
1760 (char *) "self", NULL
1763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 result
= wxObject_GetClassName(arg1
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1786 static PyObject
*_wrap_Object_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxObject
*arg1
= (wxObject
*) 0 ;
1789 PyObject
* obj0
= 0 ;
1791 (char *) "self", NULL
1794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 wxObject_Destroy(arg1
);
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 Py_INCREF(Py_None
); resultobj
= Py_None
;
1811 static PyObject
* Object_swigregister(PyObject
*, PyObject
*args
) {
1813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1814 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1816 return Py_BuildValue((char *)"");
1818 static PyObject
*_wrap_Size_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1819 PyObject
*resultobj
;
1820 wxSize
*arg1
= (wxSize
*) 0 ;
1822 PyObject
* obj0
= 0 ;
1823 PyObject
* obj1
= 0 ;
1825 (char *) "self",(char *) "x", NULL
1828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1831 arg2
= (int) SWIG_AsInt(obj1
);
1832 if (PyErr_Occurred()) SWIG_fail
;
1833 if (arg1
) (arg1
)->x
= arg2
;
1835 Py_INCREF(Py_None
); resultobj
= Py_None
;
1842 static PyObject
*_wrap_Size_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1843 PyObject
*resultobj
;
1844 wxSize
*arg1
= (wxSize
*) 0 ;
1846 PyObject
* obj0
= 0 ;
1848 (char *) "self", NULL
1851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1854 result
= (int) ((arg1
)->x
);
1856 resultobj
= SWIG_FromInt((int)result
);
1863 static PyObject
*_wrap_Size_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxSize
*arg1
= (wxSize
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1868 PyObject
* obj1
= 0 ;
1870 (char *) "self",(char *) "y", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1876 arg2
= (int) SWIG_AsInt(obj1
);
1877 if (PyErr_Occurred()) SWIG_fail
;
1878 if (arg1
) (arg1
)->y
= arg2
;
1880 Py_INCREF(Py_None
); resultobj
= Py_None
;
1887 static PyObject
*_wrap_Size_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1888 PyObject
*resultobj
;
1889 wxSize
*arg1
= (wxSize
*) 0 ;
1891 PyObject
* obj0
= 0 ;
1893 (char *) "self", NULL
1896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1899 result
= (int) ((arg1
)->y
);
1901 resultobj
= SWIG_FromInt((int)result
);
1908 static PyObject
*_wrap_new_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 int arg1
= (int) 0 ;
1911 int arg2
= (int) 0 ;
1913 PyObject
* obj0
= 0 ;
1914 PyObject
* obj1
= 0 ;
1916 (char *) "w",(char *) "h", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1921 arg1
= (int) SWIG_AsInt(obj0
);
1922 if (PyErr_Occurred()) SWIG_fail
;
1925 arg2
= (int) SWIG_AsInt(obj1
);
1926 if (PyErr_Occurred()) SWIG_fail
;
1929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1930 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1932 wxPyEndAllowThreads(__tstate
);
1933 if (PyErr_Occurred()) SWIG_fail
;
1935 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1942 static PyObject
*_wrap_delete_Size(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 wxSize
*arg1
= (wxSize
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1947 (char *) "self", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 Py_INCREF(Py_None
); resultobj
= Py_None
;
1967 static PyObject
*_wrap_Size___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxSize
*arg1
= (wxSize
*) 0 ;
1973 PyObject
* obj0
= 0 ;
1974 PyObject
* obj1
= 0 ;
1976 (char *) "self",(char *) "sz", NULL
1979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1984 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2000 static PyObject
*_wrap_Size___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxSize
*arg1
= (wxSize
*) 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2009 (char *) "self",(char *) "sz", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2014 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2017 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2021 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2023 wxPyEndAllowThreads(__tstate
);
2024 if (PyErr_Occurred()) SWIG_fail
;
2026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2033 static PyObject
*_wrap_Size___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2034 PyObject
*resultobj
;
2035 wxSize
*arg1
= (wxSize
*) 0 ;
2039 PyObject
* obj0
= 0 ;
2040 PyObject
* obj1
= 0 ;
2042 (char *) "self",(char *) "sz", NULL
2045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2050 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2054 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2056 wxPyEndAllowThreads(__tstate
);
2057 if (PyErr_Occurred()) SWIG_fail
;
2061 resultptr
= new wxSize((wxSize
&) result
);
2062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2070 static PyObject
*_wrap_Size___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2071 PyObject
*resultobj
;
2072 wxSize
*arg1
= (wxSize
*) 0 ;
2076 PyObject
* obj0
= 0 ;
2077 PyObject
* obj1
= 0 ;
2079 (char *) "self",(char *) "sz", NULL
2082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2087 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2091 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2093 wxPyEndAllowThreads(__tstate
);
2094 if (PyErr_Occurred()) SWIG_fail
;
2098 resultptr
= new wxSize((wxSize
&) result
);
2099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2107 static PyObject
*_wrap_Size_IncTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2108 PyObject
*resultobj
;
2109 wxSize
*arg1
= (wxSize
*) 0 ;
2112 PyObject
* obj0
= 0 ;
2113 PyObject
* obj1
= 0 ;
2115 (char *) "self",(char *) "sz", NULL
2118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2123 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2127 (arg1
)->IncTo((wxSize
const &)*arg2
);
2129 wxPyEndAllowThreads(__tstate
);
2130 if (PyErr_Occurred()) SWIG_fail
;
2132 Py_INCREF(Py_None
); resultobj
= Py_None
;
2139 static PyObject
*_wrap_Size_DecTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2140 PyObject
*resultobj
;
2141 wxSize
*arg1
= (wxSize
*) 0 ;
2144 PyObject
* obj0
= 0 ;
2145 PyObject
* obj1
= 0 ;
2147 (char *) "self",(char *) "sz", NULL
2150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2151 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2152 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2155 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2159 (arg1
)->DecTo((wxSize
const &)*arg2
);
2161 wxPyEndAllowThreads(__tstate
);
2162 if (PyErr_Occurred()) SWIG_fail
;
2164 Py_INCREF(Py_None
); resultobj
= Py_None
;
2171 static PyObject
*_wrap_Size_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2172 PyObject
*resultobj
;
2173 wxSize
*arg1
= (wxSize
*) 0 ;
2176 PyObject
* obj0
= 0 ;
2177 PyObject
* obj1
= 0 ;
2178 PyObject
* obj2
= 0 ;
2180 (char *) "self",(char *) "w",(char *) "h", NULL
2183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2186 arg2
= (int) SWIG_AsInt(obj1
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2188 arg3
= (int) SWIG_AsInt(obj2
);
2189 if (PyErr_Occurred()) SWIG_fail
;
2191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2192 (arg1
)->Set(arg2
,arg3
);
2194 wxPyEndAllowThreads(__tstate
);
2195 if (PyErr_Occurred()) SWIG_fail
;
2197 Py_INCREF(Py_None
); resultobj
= Py_None
;
2204 static PyObject
*_wrap_Size_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxSize
*arg1
= (wxSize
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2209 PyObject
* obj1
= 0 ;
2211 (char *) "self",(char *) "w", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2216 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2217 arg2
= (int) SWIG_AsInt(obj1
);
2218 if (PyErr_Occurred()) SWIG_fail
;
2220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2221 (arg1
)->SetWidth(arg2
);
2223 wxPyEndAllowThreads(__tstate
);
2224 if (PyErr_Occurred()) SWIG_fail
;
2226 Py_INCREF(Py_None
); resultobj
= Py_None
;
2233 static PyObject
*_wrap_Size_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2234 PyObject
*resultobj
;
2235 wxSize
*arg1
= (wxSize
*) 0 ;
2237 PyObject
* obj0
= 0 ;
2238 PyObject
* obj1
= 0 ;
2240 (char *) "self",(char *) "h", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2246 arg2
= (int) SWIG_AsInt(obj1
);
2247 if (PyErr_Occurred()) SWIG_fail
;
2249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2250 (arg1
)->SetHeight(arg2
);
2252 wxPyEndAllowThreads(__tstate
);
2253 if (PyErr_Occurred()) SWIG_fail
;
2255 Py_INCREF(Py_None
); resultobj
= Py_None
;
2262 static PyObject
*_wrap_Size_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2263 PyObject
*resultobj
;
2264 wxSize
*arg1
= (wxSize
*) 0 ;
2266 PyObject
* obj0
= 0 ;
2268 (char *) "self", NULL
2271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_FromInt((int)result
);
2288 static PyObject
*_wrap_Size_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxSize
*arg1
= (wxSize
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2304 wxPyEndAllowThreads(__tstate
);
2305 if (PyErr_Occurred()) SWIG_fail
;
2307 resultobj
= SWIG_FromInt((int)result
);
2314 static PyObject
*_wrap_Size_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2315 PyObject
*resultobj
;
2316 wxSize
*arg1
= (wxSize
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2320 (char *) "self", NULL
2323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2328 result
= (PyObject
*)wxSize_Get(arg1
);
2330 wxPyEndAllowThreads(__tstate
);
2331 if (PyErr_Occurred()) SWIG_fail
;
2340 static PyObject
* Size_swigregister(PyObject
*, PyObject
*args
) {
2342 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2343 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2345 return Py_BuildValue((char *)"");
2347 static PyObject
*_wrap_RealPoint_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "x", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2360 arg2
= (double) SWIG_AsDouble(obj1
);
2361 if (PyErr_Occurred()) SWIG_fail
;
2362 if (arg1
) (arg1
)->x
= arg2
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_RealPoint_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2375 PyObject
* obj0
= 0 ;
2377 (char *) "self", NULL
2380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2383 result
= (double) ((arg1
)->x
);
2385 resultobj
= SWIG_FromDouble((double)result
);
2392 static PyObject
*_wrap_RealPoint_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2393 PyObject
*resultobj
;
2394 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2396 PyObject
* obj0
= 0 ;
2397 PyObject
* obj1
= 0 ;
2399 (char *) "self",(char *) "y", NULL
2402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2405 arg2
= (double) SWIG_AsDouble(obj1
);
2406 if (PyErr_Occurred()) SWIG_fail
;
2407 if (arg1
) (arg1
)->y
= arg2
;
2409 Py_INCREF(Py_None
); resultobj
= Py_None
;
2416 static PyObject
*_wrap_RealPoint_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2417 PyObject
*resultobj
;
2418 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2420 PyObject
* obj0
= 0 ;
2422 (char *) "self", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2428 result
= (double) ((arg1
)->y
);
2430 resultobj
= SWIG_FromDouble((double)result
);
2437 static PyObject
*_wrap_new_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2438 PyObject
*resultobj
;
2439 double arg1
= (double) 0.0 ;
2440 double arg2
= (double) 0.0 ;
2441 wxRealPoint
*result
;
2442 PyObject
* obj0
= 0 ;
2443 PyObject
* obj1
= 0 ;
2445 (char *) "x",(char *) "y", NULL
2448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2450 arg1
= (double) SWIG_AsDouble(obj0
);
2451 if (PyErr_Occurred()) SWIG_fail
;
2454 arg2
= (double) SWIG_AsDouble(obj1
);
2455 if (PyErr_Occurred()) SWIG_fail
;
2458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2459 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2461 wxPyEndAllowThreads(__tstate
);
2462 if (PyErr_Occurred()) SWIG_fail
;
2464 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2471 static PyObject
*_wrap_delete_RealPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2474 PyObject
* obj0
= 0 ;
2476 (char *) "self", NULL
2479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2486 wxPyEndAllowThreads(__tstate
);
2487 if (PyErr_Occurred()) SWIG_fail
;
2489 Py_INCREF(Py_None
); resultobj
= Py_None
;
2496 static PyObject
*_wrap_RealPoint___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2497 PyObject
*resultobj
;
2498 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2499 wxRealPoint
*arg2
= 0 ;
2502 PyObject
* obj0
= 0 ;
2503 PyObject
* obj1
= 0 ;
2505 (char *) "self",(char *) "pt", NULL
2508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2513 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2517 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2519 wxPyEndAllowThreads(__tstate
);
2520 if (PyErr_Occurred()) SWIG_fail
;
2522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2529 static PyObject
*_wrap_RealPoint___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2530 PyObject
*resultobj
;
2531 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2532 wxRealPoint
*arg2
= 0 ;
2535 PyObject
* obj0
= 0 ;
2536 PyObject
* obj1
= 0 ;
2538 (char *) "self",(char *) "pt", NULL
2541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2546 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2550 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2552 wxPyEndAllowThreads(__tstate
);
2553 if (PyErr_Occurred()) SWIG_fail
;
2555 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2562 static PyObject
*_wrap_RealPoint___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2563 PyObject
*resultobj
;
2564 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2565 wxRealPoint
*arg2
= 0 ;
2568 PyObject
* obj0
= 0 ;
2569 PyObject
* obj1
= 0 ;
2571 (char *) "self",(char *) "pt", NULL
2574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2575 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2576 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2579 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2583 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2585 wxPyEndAllowThreads(__tstate
);
2586 if (PyErr_Occurred()) SWIG_fail
;
2589 wxRealPoint
* resultptr
;
2590 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2591 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2599 static PyObject
*_wrap_RealPoint___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2600 PyObject
*resultobj
;
2601 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2602 wxRealPoint
*arg2
= 0 ;
2605 PyObject
* obj0
= 0 ;
2606 PyObject
* obj1
= 0 ;
2608 (char *) "self",(char *) "pt", NULL
2611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2612 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2616 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2620 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2622 wxPyEndAllowThreads(__tstate
);
2623 if (PyErr_Occurred()) SWIG_fail
;
2626 wxRealPoint
* resultptr
;
2627 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2628 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2636 static PyObject
*_wrap_RealPoint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2637 PyObject
*resultobj
;
2638 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2641 PyObject
* obj0
= 0 ;
2642 PyObject
* obj1
= 0 ;
2643 PyObject
* obj2
= 0 ;
2645 (char *) "self",(char *) "x",(char *) "y", NULL
2648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2651 arg2
= (double) SWIG_AsDouble(obj1
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2653 arg3
= (double) SWIG_AsDouble(obj2
);
2654 if (PyErr_Occurred()) SWIG_fail
;
2656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2657 wxRealPoint_Set(arg1
,arg2
,arg3
);
2659 wxPyEndAllowThreads(__tstate
);
2660 if (PyErr_Occurred()) SWIG_fail
;
2662 Py_INCREF(Py_None
); resultobj
= Py_None
;
2669 static PyObject
*_wrap_RealPoint_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2670 PyObject
*resultobj
;
2671 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2673 PyObject
* obj0
= 0 ;
2675 (char *) "self", NULL
2678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2679 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2680 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2683 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2685 wxPyEndAllowThreads(__tstate
);
2686 if (PyErr_Occurred()) SWIG_fail
;
2695 static PyObject
* RealPoint_swigregister(PyObject
*, PyObject
*args
) {
2697 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2698 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2700 return Py_BuildValue((char *)"");
2702 static PyObject
*_wrap_Point_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2703 PyObject
*resultobj
;
2704 wxPoint
*arg1
= (wxPoint
*) 0 ;
2706 PyObject
* obj0
= 0 ;
2707 PyObject
* obj1
= 0 ;
2709 (char *) "self",(char *) "x", NULL
2712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2715 arg2
= (int) SWIG_AsInt(obj1
);
2716 if (PyErr_Occurred()) SWIG_fail
;
2717 if (arg1
) (arg1
)->x
= arg2
;
2719 Py_INCREF(Py_None
); resultobj
= Py_None
;
2726 static PyObject
*_wrap_Point_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2727 PyObject
*resultobj
;
2728 wxPoint
*arg1
= (wxPoint
*) 0 ;
2730 PyObject
* obj0
= 0 ;
2732 (char *) "self", NULL
2735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2738 result
= (int) ((arg1
)->x
);
2740 resultobj
= SWIG_FromInt((int)result
);
2747 static PyObject
*_wrap_Point_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2748 PyObject
*resultobj
;
2749 wxPoint
*arg1
= (wxPoint
*) 0 ;
2751 PyObject
* obj0
= 0 ;
2752 PyObject
* obj1
= 0 ;
2754 (char *) "self",(char *) "y", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2760 arg2
= (int) SWIG_AsInt(obj1
);
2761 if (PyErr_Occurred()) SWIG_fail
;
2762 if (arg1
) (arg1
)->y
= arg2
;
2764 Py_INCREF(Py_None
); resultobj
= Py_None
;
2771 static PyObject
*_wrap_Point_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2772 PyObject
*resultobj
;
2773 wxPoint
*arg1
= (wxPoint
*) 0 ;
2775 PyObject
* obj0
= 0 ;
2777 (char *) "self", NULL
2780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2781 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2782 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2783 result
= (int) ((arg1
)->y
);
2785 resultobj
= SWIG_FromInt((int)result
);
2792 static PyObject
*_wrap_new_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2793 PyObject
*resultobj
;
2794 int arg1
= (int) 0 ;
2795 int arg2
= (int) 0 ;
2797 PyObject
* obj0
= 0 ;
2798 PyObject
* obj1
= 0 ;
2800 (char *) "x",(char *) "y", NULL
2803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2805 arg1
= (int) SWIG_AsInt(obj0
);
2806 if (PyErr_Occurred()) SWIG_fail
;
2809 arg2
= (int) SWIG_AsInt(obj1
);
2810 if (PyErr_Occurred()) SWIG_fail
;
2813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2814 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2816 wxPyEndAllowThreads(__tstate
);
2817 if (PyErr_Occurred()) SWIG_fail
;
2819 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2826 static PyObject
*_wrap_delete_Point(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2827 PyObject
*resultobj
;
2828 wxPoint
*arg1
= (wxPoint
*) 0 ;
2829 PyObject
* obj0
= 0 ;
2831 (char *) "self", NULL
2834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2835 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2841 wxPyEndAllowThreads(__tstate
);
2842 if (PyErr_Occurred()) SWIG_fail
;
2844 Py_INCREF(Py_None
); resultobj
= Py_None
;
2851 static PyObject
*_wrap_Point___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2852 PyObject
*resultobj
;
2853 wxPoint
*arg1
= (wxPoint
*) 0 ;
2857 PyObject
* obj0
= 0 ;
2858 PyObject
* obj1
= 0 ;
2860 (char *) "self",(char *) "pt", NULL
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2864 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2865 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2872 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2874 wxPyEndAllowThreads(__tstate
);
2875 if (PyErr_Occurred()) SWIG_fail
;
2877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2884 static PyObject
*_wrap_Point___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2885 PyObject
*resultobj
;
2886 wxPoint
*arg1
= (wxPoint
*) 0 ;
2890 PyObject
* obj0
= 0 ;
2891 PyObject
* obj1
= 0 ;
2893 (char *) "self",(char *) "pt", NULL
2896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2901 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2905 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2907 wxPyEndAllowThreads(__tstate
);
2908 if (PyErr_Occurred()) SWIG_fail
;
2910 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2917 static PyObject
*_wrap_Point___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2918 PyObject
*resultobj
;
2919 wxPoint
*arg1
= (wxPoint
*) 0 ;
2923 PyObject
* obj0
= 0 ;
2924 PyObject
* obj1
= 0 ;
2926 (char *) "self",(char *) "pt", NULL
2929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2938 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2940 wxPyEndAllowThreads(__tstate
);
2941 if (PyErr_Occurred()) SWIG_fail
;
2944 wxPoint
* resultptr
;
2945 resultptr
= new wxPoint((wxPoint
&) result
);
2946 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2954 static PyObject
*_wrap_Point___sub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2955 PyObject
*resultobj
;
2956 wxPoint
*arg1
= (wxPoint
*) 0 ;
2960 PyObject
* obj0
= 0 ;
2961 PyObject
* obj1
= 0 ;
2963 (char *) "self",(char *) "pt", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2971 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2975 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2977 wxPyEndAllowThreads(__tstate
);
2978 if (PyErr_Occurred()) SWIG_fail
;
2981 wxPoint
* resultptr
;
2982 resultptr
= new wxPoint((wxPoint
&) result
);
2983 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2991 static PyObject
*_wrap_Point___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
2992 PyObject
*resultobj
;
2993 wxPoint
*arg1
= (wxPoint
*) 0 ;
2997 PyObject
* obj0
= 0 ;
2998 PyObject
* obj1
= 0 ;
3000 (char *) "self",(char *) "pt", NULL
3003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3008 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3013 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3014 result
= (wxPoint
*) &_result_ref
;
3017 wxPyEndAllowThreads(__tstate
);
3018 if (PyErr_Occurred()) SWIG_fail
;
3020 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3027 static PyObject
*_wrap_Point___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3028 PyObject
*resultobj
;
3029 wxPoint
*arg1
= (wxPoint
*) 0 ;
3033 PyObject
* obj0
= 0 ;
3034 PyObject
* obj1
= 0 ;
3036 (char *) "self",(char *) "pt", NULL
3039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3049 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3050 result
= (wxPoint
*) &_result_ref
;
3053 wxPyEndAllowThreads(__tstate
);
3054 if (PyErr_Occurred()) SWIG_fail
;
3056 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3063 static PyObject
*_wrap_Point_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3064 PyObject
*resultobj
;
3065 wxPoint
*arg1
= (wxPoint
*) 0 ;
3068 PyObject
* obj0
= 0 ;
3069 PyObject
* obj1
= 0 ;
3070 PyObject
* obj2
= 0 ;
3072 (char *) "self",(char *) "x",(char *) "y", NULL
3075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3078 arg2
= (long) SWIG_AsLong(obj1
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3080 arg3
= (long) SWIG_AsLong(obj2
);
3081 if (PyErr_Occurred()) SWIG_fail
;
3083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3084 wxPoint_Set(arg1
,arg2
,arg3
);
3086 wxPyEndAllowThreads(__tstate
);
3087 if (PyErr_Occurred()) SWIG_fail
;
3089 Py_INCREF(Py_None
); resultobj
= Py_None
;
3096 static PyObject
*_wrap_Point_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3097 PyObject
*resultobj
;
3098 wxPoint
*arg1
= (wxPoint
*) 0 ;
3100 PyObject
* obj0
= 0 ;
3102 (char *) "self", NULL
3105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3106 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3107 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3110 result
= (PyObject
*)wxPoint_Get(arg1
);
3112 wxPyEndAllowThreads(__tstate
);
3113 if (PyErr_Occurred()) SWIG_fail
;
3122 static PyObject
* Point_swigregister(PyObject
*, PyObject
*args
) {
3124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3125 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3127 return Py_BuildValue((char *)"");
3129 static PyObject
*_wrap_new_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3130 PyObject
*resultobj
;
3131 int arg1
= (int) 0 ;
3132 int arg2
= (int) 0 ;
3133 int arg3
= (int) 0 ;
3134 int arg4
= (int) 0 ;
3136 PyObject
* obj0
= 0 ;
3137 PyObject
* obj1
= 0 ;
3138 PyObject
* obj2
= 0 ;
3139 PyObject
* obj3
= 0 ;
3141 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3146 arg1
= (int) SWIG_AsInt(obj0
);
3147 if (PyErr_Occurred()) SWIG_fail
;
3150 arg2
= (int) SWIG_AsInt(obj1
);
3151 if (PyErr_Occurred()) SWIG_fail
;
3154 arg3
= (int) SWIG_AsInt(obj2
);
3155 if (PyErr_Occurred()) SWIG_fail
;
3158 arg4
= (int) SWIG_AsInt(obj3
);
3159 if (PyErr_Occurred()) SWIG_fail
;
3162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3163 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3165 wxPyEndAllowThreads(__tstate
);
3166 if (PyErr_Occurred()) SWIG_fail
;
3168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3175 static PyObject
*_wrap_new_RectPP(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3176 PyObject
*resultobj
;
3182 PyObject
* obj0
= 0 ;
3183 PyObject
* obj1
= 0 ;
3185 (char *) "topLeft",(char *) "bottomRight", NULL
3188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3191 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3195 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3199 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3201 wxPyEndAllowThreads(__tstate
);
3202 if (PyErr_Occurred()) SWIG_fail
;
3204 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3211 static PyObject
*_wrap_new_RectPS(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3212 PyObject
*resultobj
;
3218 PyObject
* obj0
= 0 ;
3219 PyObject
* obj1
= 0 ;
3221 (char *) "pos",(char *) "size", NULL
3224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3227 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3231 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3237 wxPyEndAllowThreads(__tstate
);
3238 if (PyErr_Occurred()) SWIG_fail
;
3240 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3247 static PyObject
*_wrap_delete_Rect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3248 PyObject
*resultobj
;
3249 wxRect
*arg1
= (wxRect
*) 0 ;
3250 PyObject
* obj0
= 0 ;
3252 (char *) "self", NULL
3255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3256 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3262 wxPyEndAllowThreads(__tstate
);
3263 if (PyErr_Occurred()) SWIG_fail
;
3265 Py_INCREF(Py_None
); resultobj
= Py_None
;
3272 static PyObject
*_wrap_Rect_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3273 PyObject
*resultobj
;
3274 wxRect
*arg1
= (wxRect
*) 0 ;
3276 PyObject
* obj0
= 0 ;
3278 (char *) "self", NULL
3281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3282 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3283 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3286 result
= (int)((wxRect
const *)arg1
)->GetX();
3288 wxPyEndAllowThreads(__tstate
);
3289 if (PyErr_Occurred()) SWIG_fail
;
3291 resultobj
= SWIG_FromInt((int)result
);
3298 static PyObject
*_wrap_Rect_SetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3299 PyObject
*resultobj
;
3300 wxRect
*arg1
= (wxRect
*) 0 ;
3302 PyObject
* obj0
= 0 ;
3303 PyObject
* obj1
= 0 ;
3305 (char *) "self",(char *) "x", NULL
3308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3311 arg2
= (int) SWIG_AsInt(obj1
);
3312 if (PyErr_Occurred()) SWIG_fail
;
3314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3317 wxPyEndAllowThreads(__tstate
);
3318 if (PyErr_Occurred()) SWIG_fail
;
3320 Py_INCREF(Py_None
); resultobj
= Py_None
;
3327 static PyObject
*_wrap_Rect_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3328 PyObject
*resultobj
;
3329 wxRect
*arg1
= (wxRect
*) 0 ;
3331 PyObject
* obj0
= 0 ;
3333 (char *) "self", NULL
3336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3341 result
= (int)(arg1
)->GetY();
3343 wxPyEndAllowThreads(__tstate
);
3344 if (PyErr_Occurred()) SWIG_fail
;
3346 resultobj
= SWIG_FromInt((int)result
);
3353 static PyObject
*_wrap_Rect_SetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3354 PyObject
*resultobj
;
3355 wxRect
*arg1
= (wxRect
*) 0 ;
3357 PyObject
* obj0
= 0 ;
3358 PyObject
* obj1
= 0 ;
3360 (char *) "self",(char *) "y", NULL
3363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3366 arg2
= (int) SWIG_AsInt(obj1
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3372 wxPyEndAllowThreads(__tstate
);
3373 if (PyErr_Occurred()) SWIG_fail
;
3375 Py_INCREF(Py_None
); resultobj
= Py_None
;
3382 static PyObject
*_wrap_Rect_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3383 PyObject
*resultobj
;
3384 wxRect
*arg1
= (wxRect
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3388 (char *) "self", NULL
3391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3401 resultobj
= SWIG_FromInt((int)result
);
3408 static PyObject
*_wrap_Rect_SetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3409 PyObject
*resultobj
;
3410 wxRect
*arg1
= (wxRect
*) 0 ;
3412 PyObject
* obj0
= 0 ;
3413 PyObject
* obj1
= 0 ;
3415 (char *) "self",(char *) "w", NULL
3418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3421 arg2
= (int) SWIG_AsInt(obj1
);
3422 if (PyErr_Occurred()) SWIG_fail
;
3424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3425 (arg1
)->SetWidth(arg2
);
3427 wxPyEndAllowThreads(__tstate
);
3428 if (PyErr_Occurred()) SWIG_fail
;
3430 Py_INCREF(Py_None
); resultobj
= Py_None
;
3437 static PyObject
*_wrap_Rect_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3438 PyObject
*resultobj
;
3439 wxRect
*arg1
= (wxRect
*) 0 ;
3441 PyObject
* obj0
= 0 ;
3443 (char *) "self", NULL
3446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3451 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3453 wxPyEndAllowThreads(__tstate
);
3454 if (PyErr_Occurred()) SWIG_fail
;
3456 resultobj
= SWIG_FromInt((int)result
);
3463 static PyObject
*_wrap_Rect_SetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3464 PyObject
*resultobj
;
3465 wxRect
*arg1
= (wxRect
*) 0 ;
3467 PyObject
* obj0
= 0 ;
3468 PyObject
* obj1
= 0 ;
3470 (char *) "self",(char *) "h", NULL
3473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3476 arg2
= (int) SWIG_AsInt(obj1
);
3477 if (PyErr_Occurred()) SWIG_fail
;
3479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3480 (arg1
)->SetHeight(arg2
);
3482 wxPyEndAllowThreads(__tstate
);
3483 if (PyErr_Occurred()) SWIG_fail
;
3485 Py_INCREF(Py_None
); resultobj
= Py_None
;
3492 static PyObject
*_wrap_Rect_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3493 PyObject
*resultobj
;
3494 wxRect
*arg1
= (wxRect
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3498 (char *) "self", NULL
3501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3506 result
= ((wxRect
const *)arg1
)->GetPosition();
3508 wxPyEndAllowThreads(__tstate
);
3509 if (PyErr_Occurred()) SWIG_fail
;
3512 wxPoint
* resultptr
;
3513 resultptr
= new wxPoint((wxPoint
&) result
);
3514 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3522 static PyObject
*_wrap_Rect_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3523 PyObject
*resultobj
;
3524 wxRect
*arg1
= (wxRect
*) 0 ;
3527 PyObject
* obj0
= 0 ;
3528 PyObject
* obj1
= 0 ;
3530 (char *) "self",(char *) "p", NULL
3533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3538 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3542 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3544 wxPyEndAllowThreads(__tstate
);
3545 if (PyErr_Occurred()) SWIG_fail
;
3547 Py_INCREF(Py_None
); resultobj
= Py_None
;
3554 static PyObject
*_wrap_Rect_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3555 PyObject
*resultobj
;
3556 wxRect
*arg1
= (wxRect
*) 0 ;
3558 PyObject
* obj0
= 0 ;
3560 (char *) "self", NULL
3563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3568 result
= ((wxRect
const *)arg1
)->GetSize();
3570 wxPyEndAllowThreads(__tstate
);
3571 if (PyErr_Occurred()) SWIG_fail
;
3575 resultptr
= new wxSize((wxSize
&) result
);
3576 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3584 static PyObject
*_wrap_Rect_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3585 PyObject
*resultobj
;
3586 wxRect
*arg1
= (wxRect
*) 0 ;
3589 PyObject
* obj0
= 0 ;
3590 PyObject
* obj1
= 0 ;
3592 (char *) "self",(char *) "s", NULL
3595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3600 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3604 (arg1
)->SetSize((wxSize
const &)*arg2
);
3606 wxPyEndAllowThreads(__tstate
);
3607 if (PyErr_Occurred()) SWIG_fail
;
3609 Py_INCREF(Py_None
); resultobj
= Py_None
;
3616 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3617 PyObject
*resultobj
;
3618 wxRect
*arg1
= (wxRect
*) 0 ;
3620 PyObject
* obj0
= 0 ;
3622 (char *) "self", NULL
3625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3630 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3632 wxPyEndAllowThreads(__tstate
);
3633 if (PyErr_Occurred()) SWIG_fail
;
3636 wxPoint
* resultptr
;
3637 resultptr
= new wxPoint((wxPoint
&) result
);
3638 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3646 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxRect
*arg1
= (wxRect
*) 0 ;
3651 PyObject
* obj0
= 0 ;
3652 PyObject
* obj1
= 0 ;
3654 (char *) "self",(char *) "p", NULL
3657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3662 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3666 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3668 wxPyEndAllowThreads(__tstate
);
3669 if (PyErr_Occurred()) SWIG_fail
;
3671 Py_INCREF(Py_None
); resultobj
= Py_None
;
3678 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3679 PyObject
*resultobj
;
3680 wxRect
*arg1
= (wxRect
*) 0 ;
3682 PyObject
* obj0
= 0 ;
3684 (char *) "self", NULL
3687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3692 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3694 wxPyEndAllowThreads(__tstate
);
3695 if (PyErr_Occurred()) SWIG_fail
;
3698 wxPoint
* resultptr
;
3699 resultptr
= new wxPoint((wxPoint
&) result
);
3700 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3708 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3709 PyObject
*resultobj
;
3710 wxRect
*arg1
= (wxRect
*) 0 ;
3713 PyObject
* obj0
= 0 ;
3714 PyObject
* obj1
= 0 ;
3716 (char *) "self",(char *) "p", NULL
3719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3724 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3728 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3730 wxPyEndAllowThreads(__tstate
);
3731 if (PyErr_Occurred()) SWIG_fail
;
3733 Py_INCREF(Py_None
); resultobj
= Py_None
;
3740 static PyObject
*_wrap_Rect_GetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3741 PyObject
*resultobj
;
3742 wxRect
*arg1
= (wxRect
*) 0 ;
3744 PyObject
* obj0
= 0 ;
3746 (char *) "self", NULL
3749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3754 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3756 wxPyEndAllowThreads(__tstate
);
3757 if (PyErr_Occurred()) SWIG_fail
;
3759 resultobj
= SWIG_FromInt((int)result
);
3766 static PyObject
*_wrap_Rect_GetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxRect
*arg1
= (wxRect
*) 0 ;
3770 PyObject
* obj0
= 0 ;
3772 (char *) "self", NULL
3775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 result
= (int)((wxRect
const *)arg1
)->GetTop();
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 resultobj
= SWIG_FromInt((int)result
);
3792 static PyObject
*_wrap_Rect_GetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3806 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3808 wxPyEndAllowThreads(__tstate
);
3809 if (PyErr_Occurred()) SWIG_fail
;
3811 resultobj
= SWIG_FromInt((int)result
);
3818 static PyObject
*_wrap_Rect_GetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3819 PyObject
*resultobj
;
3820 wxRect
*arg1
= (wxRect
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3829 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3832 result
= (int)((wxRect
const *)arg1
)->GetRight();
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_FromInt((int)result
);
3844 static PyObject
*_wrap_Rect_SetLeft(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3845 PyObject
*resultobj
;
3846 wxRect
*arg1
= (wxRect
*) 0 ;
3848 PyObject
* obj0
= 0 ;
3849 PyObject
* obj1
= 0 ;
3851 (char *) "self",(char *) "left", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3857 arg2
= (int) SWIG_AsInt(obj1
);
3858 if (PyErr_Occurred()) SWIG_fail
;
3860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3861 (arg1
)->SetLeft(arg2
);
3863 wxPyEndAllowThreads(__tstate
);
3864 if (PyErr_Occurred()) SWIG_fail
;
3866 Py_INCREF(Py_None
); resultobj
= Py_None
;
3873 static PyObject
*_wrap_Rect_SetRight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3874 PyObject
*resultobj
;
3875 wxRect
*arg1
= (wxRect
*) 0 ;
3877 PyObject
* obj0
= 0 ;
3878 PyObject
* obj1
= 0 ;
3880 (char *) "self",(char *) "right", NULL
3883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3886 arg2
= (int) SWIG_AsInt(obj1
);
3887 if (PyErr_Occurred()) SWIG_fail
;
3889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3890 (arg1
)->SetRight(arg2
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3895 Py_INCREF(Py_None
); resultobj
= Py_None
;
3902 static PyObject
*_wrap_Rect_SetTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3903 PyObject
*resultobj
;
3904 wxRect
*arg1
= (wxRect
*) 0 ;
3906 PyObject
* obj0
= 0 ;
3907 PyObject
* obj1
= 0 ;
3909 (char *) "self",(char *) "top", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3915 arg2
= (int) SWIG_AsInt(obj1
);
3916 if (PyErr_Occurred()) SWIG_fail
;
3918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3919 (arg1
)->SetTop(arg2
);
3921 wxPyEndAllowThreads(__tstate
);
3922 if (PyErr_Occurred()) SWIG_fail
;
3924 Py_INCREF(Py_None
); resultobj
= Py_None
;
3931 static PyObject
*_wrap_Rect_SetBottom(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3932 PyObject
*resultobj
;
3933 wxRect
*arg1
= (wxRect
*) 0 ;
3935 PyObject
* obj0
= 0 ;
3936 PyObject
* obj1
= 0 ;
3938 (char *) "self",(char *) "bottom", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3944 arg2
= (int) SWIG_AsInt(obj1
);
3945 if (PyErr_Occurred()) SWIG_fail
;
3947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3948 (arg1
)->SetBottom(arg2
);
3950 wxPyEndAllowThreads(__tstate
);
3951 if (PyErr_Occurred()) SWIG_fail
;
3953 Py_INCREF(Py_None
); resultobj
= Py_None
;
3960 static PyObject
*_wrap_Rect_Inflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3961 PyObject
*resultobj
;
3962 wxRect
*arg1
= (wxRect
*) 0 ;
3966 PyObject
* obj0
= 0 ;
3967 PyObject
* obj1
= 0 ;
3968 PyObject
* obj2
= 0 ;
3970 (char *) "self",(char *) "dx",(char *) "dy", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3976 arg2
= (int) SWIG_AsInt(obj1
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3978 arg3
= (int) SWIG_AsInt(obj2
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3984 result
= (wxRect
*) &_result_ref
;
3987 wxPyEndAllowThreads(__tstate
);
3988 if (PyErr_Occurred()) SWIG_fail
;
3990 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
3997 static PyObject
*_wrap_Rect_Deflate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
3998 PyObject
*resultobj
;
3999 wxRect
*arg1
= (wxRect
*) 0 ;
4003 PyObject
* obj0
= 0 ;
4004 PyObject
* obj1
= 0 ;
4005 PyObject
* obj2
= 0 ;
4007 (char *) "self",(char *) "dx",(char *) "dy", NULL
4010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4013 arg2
= (int) SWIG_AsInt(obj1
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4015 arg3
= (int) SWIG_AsInt(obj2
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4020 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4021 result
= (wxRect
*) &_result_ref
;
4024 wxPyEndAllowThreads(__tstate
);
4025 if (PyErr_Occurred()) SWIG_fail
;
4027 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4034 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4035 PyObject
*resultobj
;
4036 wxRect
*arg1
= (wxRect
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4040 PyObject
* obj1
= 0 ;
4041 PyObject
* obj2
= 0 ;
4043 (char *) "self",(char *) "dx",(char *) "dy", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4048 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4049 arg2
= (int) SWIG_AsInt(obj1
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4051 arg3
= (int) SWIG_AsInt(obj2
);
4052 if (PyErr_Occurred()) SWIG_fail
;
4054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4055 (arg1
)->Offset(arg2
,arg3
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 Py_INCREF(Py_None
); resultobj
= Py_None
;
4067 static PyObject
*_wrap_Rect_Offset(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4068 PyObject
*resultobj
;
4069 wxRect
*arg1
= (wxRect
*) 0 ;
4072 PyObject
* obj0
= 0 ;
4073 PyObject
* obj1
= 0 ;
4075 (char *) "self",(char *) "pt", NULL
4078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4083 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4087 (arg1
)->Offset((wxPoint
const &)*arg2
);
4089 wxPyEndAllowThreads(__tstate
);
4090 if (PyErr_Occurred()) SWIG_fail
;
4092 Py_INCREF(Py_None
); resultobj
= Py_None
;
4099 static PyObject
*_wrap_Rect_Intersect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4100 PyObject
*resultobj
;
4101 wxRect
*arg1
= (wxRect
*) 0 ;
4105 PyObject
* obj0
= 0 ;
4106 PyObject
* obj1
= 0 ;
4108 (char *) "self",(char *) "rect", NULL
4111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4116 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4121 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4122 result
= (wxRect
*) &_result_ref
;
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4135 static PyObject
*_wrap_Rect___add__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxRect
*arg1
= (wxRect
*) 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4144 (char *) "self",(char *) "rect", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4152 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4156 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4158 wxPyEndAllowThreads(__tstate
);
4159 if (PyErr_Occurred()) SWIG_fail
;
4163 resultptr
= new wxRect((wxRect
&) result
);
4164 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4172 static PyObject
*_wrap_Rect___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxRect
*arg1
= (wxRect
*) 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "rect", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4189 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4195 result
= (wxRect
*) &_result_ref
;
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4208 static PyObject
*_wrap_Rect___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxRect
*arg1
= (wxRect
*) 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4217 (char *) "self",(char *) "rect", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4225 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4229 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4231 wxPyEndAllowThreads(__tstate
);
4232 if (PyErr_Occurred()) SWIG_fail
;
4234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4241 static PyObject
*_wrap_Rect___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4242 PyObject
*resultobj
;
4243 wxRect
*arg1
= (wxRect
*) 0 ;
4247 PyObject
* obj0
= 0 ;
4248 PyObject
* obj1
= 0 ;
4250 (char *) "self",(char *) "rect", NULL
4253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4258 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4262 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4264 wxPyEndAllowThreads(__tstate
);
4265 if (PyErr_Occurred()) SWIG_fail
;
4267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4274 static PyObject
*_wrap_Rect_InsideXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4275 PyObject
*resultobj
;
4276 wxRect
*arg1
= (wxRect
*) 0 ;
4280 PyObject
* obj0
= 0 ;
4281 PyObject
* obj1
= 0 ;
4282 PyObject
* obj2
= 0 ;
4284 (char *) "self",(char *) "x",(char *) "y", NULL
4287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4290 arg2
= (int) SWIG_AsInt(obj1
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4292 arg3
= (int) SWIG_AsInt(obj2
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4296 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4298 wxPyEndAllowThreads(__tstate
);
4299 if (PyErr_Occurred()) SWIG_fail
;
4301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4308 static PyObject
*_wrap_Rect_Inside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4309 PyObject
*resultobj
;
4310 wxRect
*arg1
= (wxRect
*) 0 ;
4314 PyObject
* obj0
= 0 ;
4315 PyObject
* obj1
= 0 ;
4317 (char *) "self",(char *) "pt", NULL
4320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4321 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4322 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4329 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4341 static PyObject
*_wrap_Rect_Intersects(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
;
4343 wxRect
*arg1
= (wxRect
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4350 (char *) "self",(char *) "rect", NULL
4353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4354 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4355 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4358 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4362 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4374 static PyObject
*_wrap_Rect_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxRect
*arg1
= (wxRect
*) 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "x", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4387 arg2
= (int) SWIG_AsInt(obj1
);
4388 if (PyErr_Occurred()) SWIG_fail
;
4389 if (arg1
) (arg1
)->x
= arg2
;
4391 Py_INCREF(Py_None
); resultobj
= Py_None
;
4398 static PyObject
*_wrap_Rect_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4399 PyObject
*resultobj
;
4400 wxRect
*arg1
= (wxRect
*) 0 ;
4402 PyObject
* obj0
= 0 ;
4404 (char *) "self", NULL
4407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4410 result
= (int) ((arg1
)->x
);
4412 resultobj
= SWIG_FromInt((int)result
);
4419 static PyObject
*_wrap_Rect_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4420 PyObject
*resultobj
;
4421 wxRect
*arg1
= (wxRect
*) 0 ;
4423 PyObject
* obj0
= 0 ;
4424 PyObject
* obj1
= 0 ;
4426 (char *) "self",(char *) "y", NULL
4429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4432 arg2
= (int) SWIG_AsInt(obj1
);
4433 if (PyErr_Occurred()) SWIG_fail
;
4434 if (arg1
) (arg1
)->y
= arg2
;
4436 Py_INCREF(Py_None
); resultobj
= Py_None
;
4443 static PyObject
*_wrap_Rect_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4444 PyObject
*resultobj
;
4445 wxRect
*arg1
= (wxRect
*) 0 ;
4447 PyObject
* obj0
= 0 ;
4449 (char *) "self", NULL
4452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4455 result
= (int) ((arg1
)->y
);
4457 resultobj
= SWIG_FromInt((int)result
);
4464 static PyObject
*_wrap_Rect_width_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxRect
*arg1
= (wxRect
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4469 PyObject
* obj1
= 0 ;
4471 (char *) "self",(char *) "width", NULL
4474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4477 arg2
= (int) SWIG_AsInt(obj1
);
4478 if (PyErr_Occurred()) SWIG_fail
;
4479 if (arg1
) (arg1
)->width
= arg2
;
4481 Py_INCREF(Py_None
); resultobj
= Py_None
;
4488 static PyObject
*_wrap_Rect_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
;
4490 wxRect
*arg1
= (wxRect
*) 0 ;
4492 PyObject
* obj0
= 0 ;
4494 (char *) "self", NULL
4497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4500 result
= (int) ((arg1
)->width
);
4502 resultobj
= SWIG_FromInt((int)result
);
4509 static PyObject
*_wrap_Rect_height_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxRect
*arg1
= (wxRect
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4514 PyObject
* obj1
= 0 ;
4516 (char *) "self",(char *) "height", NULL
4519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4522 arg2
= (int) SWIG_AsInt(obj1
);
4523 if (PyErr_Occurred()) SWIG_fail
;
4524 if (arg1
) (arg1
)->height
= arg2
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_Rect_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxRect
*arg1
= (wxRect
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4545 result
= (int) ((arg1
)->height
);
4547 resultobj
= SWIG_FromInt((int)result
);
4554 static PyObject
*_wrap_Rect_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4555 PyObject
*resultobj
;
4556 wxRect
*arg1
= (wxRect
*) 0 ;
4557 int arg2
= (int) 0 ;
4558 int arg3
= (int) 0 ;
4559 int arg4
= (int) 0 ;
4560 int arg5
= (int) 0 ;
4561 PyObject
* obj0
= 0 ;
4562 PyObject
* obj1
= 0 ;
4563 PyObject
* obj2
= 0 ;
4564 PyObject
* obj3
= 0 ;
4565 PyObject
* obj4
= 0 ;
4567 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4574 arg2
= (int) SWIG_AsInt(obj1
);
4575 if (PyErr_Occurred()) SWIG_fail
;
4578 arg3
= (int) SWIG_AsInt(obj2
);
4579 if (PyErr_Occurred()) SWIG_fail
;
4582 arg4
= (int) SWIG_AsInt(obj3
);
4583 if (PyErr_Occurred()) SWIG_fail
;
4586 arg5
= (int) SWIG_AsInt(obj4
);
4587 if (PyErr_Occurred()) SWIG_fail
;
4590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4591 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_Rect_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxRect
*arg1
= (wxRect
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4617 result
= (PyObject
*)wxRect_Get(arg1
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4629 static PyObject
* Rect_swigregister(PyObject
*, PyObject
*args
) {
4631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4632 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4634 return Py_BuildValue((char *)"");
4636 static PyObject
*_wrap_IntersectRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4637 PyObject
*resultobj
;
4638 wxRect
*arg1
= (wxRect
*) 0 ;
4639 wxRect
*arg2
= (wxRect
*) 0 ;
4641 PyObject
* obj0
= 0 ;
4642 PyObject
* obj1
= 0 ;
4644 (char *) "r1",(char *) "r2", NULL
4647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4648 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4650 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4654 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4656 wxPyEndAllowThreads(__tstate
);
4657 if (PyErr_Occurred()) SWIG_fail
;
4666 static PyObject
*_wrap_new_Point2D(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4667 PyObject
*resultobj
;
4668 double arg1
= (double) 0.0 ;
4669 double arg2
= (double) 0.0 ;
4671 PyObject
* obj0
= 0 ;
4672 PyObject
* obj1
= 0 ;
4674 (char *) "x",(char *) "y", NULL
4677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4679 arg1
= (double) SWIG_AsDouble(obj0
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4683 arg2
= (double) SWIG_AsDouble(obj1
);
4684 if (PyErr_Occurred()) SWIG_fail
;
4687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4688 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4690 wxPyEndAllowThreads(__tstate
);
4691 if (PyErr_Occurred()) SWIG_fail
;
4693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4700 static PyObject
*_wrap_new_Point2DCopy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4701 PyObject
*resultobj
;
4702 wxPoint2D
*arg1
= 0 ;
4705 PyObject
* obj0
= 0 ;
4710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4713 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4717 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4719 wxPyEndAllowThreads(__tstate
);
4720 if (PyErr_Occurred()) SWIG_fail
;
4722 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4729 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4730 PyObject
*resultobj
;
4734 PyObject
* obj0
= 0 ;
4739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4742 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4746 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4748 wxPyEndAllowThreads(__tstate
);
4749 if (PyErr_Occurred()) SWIG_fail
;
4751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4758 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4759 PyObject
*resultobj
;
4760 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4761 int *arg2
= (int *) 0 ;
4762 int *arg3
= (int *) 0 ;
4765 PyObject
* obj0
= 0 ;
4767 (char *) "self", NULL
4772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4773 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4774 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4782 Py_INCREF(Py_None
); resultobj
= Py_None
;
4784 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4785 resultobj
= t_output_helper(resultobj
,o
);
4788 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4789 resultobj
= t_output_helper(resultobj
,o
);
4797 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4798 PyObject
*resultobj
;
4799 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4800 int *arg2
= (int *) 0 ;
4801 int *arg3
= (int *) 0 ;
4804 PyObject
* obj0
= 0 ;
4806 (char *) "self", NULL
4811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4816 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4818 wxPyEndAllowThreads(__tstate
);
4819 if (PyErr_Occurred()) SWIG_fail
;
4821 Py_INCREF(Py_None
); resultobj
= Py_None
;
4823 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4824 resultobj
= t_output_helper(resultobj
,o
);
4827 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4828 resultobj
= t_output_helper(resultobj
,o
);
4836 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4837 PyObject
*resultobj
;
4838 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4840 PyObject
* obj0
= 0 ;
4842 (char *) "self", NULL
4845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_FromDouble((double)result
);
4862 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4868 (char *) "self", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4876 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4878 wxPyEndAllowThreads(__tstate
);
4879 if (PyErr_Occurred()) SWIG_fail
;
4881 resultobj
= SWIG_FromDouble((double)result
);
4888 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4889 PyObject
*resultobj
;
4890 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4892 PyObject
* obj0
= 0 ;
4893 PyObject
* obj1
= 0 ;
4895 (char *) "self",(char *) "length", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4901 arg2
= (double) SWIG_AsDouble(obj1
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4905 (arg1
)->SetVectorLength(arg2
);
4907 wxPyEndAllowThreads(__tstate
);
4908 if (PyErr_Occurred()) SWIG_fail
;
4910 Py_INCREF(Py_None
); resultobj
= Py_None
;
4917 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4918 PyObject
*resultobj
;
4919 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4921 PyObject
* obj0
= 0 ;
4922 PyObject
* obj1
= 0 ;
4924 (char *) "self",(char *) "degrees", NULL
4927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4930 arg2
= (double) SWIG_AsDouble(obj1
);
4931 if (PyErr_Occurred()) SWIG_fail
;
4933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4934 (arg1
)->SetVectorAngle(arg2
);
4936 wxPyEndAllowThreads(__tstate
);
4937 if (PyErr_Occurred()) SWIG_fail
;
4939 Py_INCREF(Py_None
); resultobj
= Py_None
;
4946 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4947 PyObject
*resultobj
;
4948 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4949 wxPoint2D
*arg2
= 0 ;
4952 PyObject
* obj0
= 0 ;
4953 PyObject
* obj1
= 0 ;
4955 (char *) "self",(char *) "pt", NULL
4958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4963 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4967 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4969 wxPyEndAllowThreads(__tstate
);
4970 if (PyErr_Occurred()) SWIG_fail
;
4972 resultobj
= SWIG_FromDouble((double)result
);
4979 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
4980 PyObject
*resultobj
;
4981 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4982 wxPoint2D
*arg2
= 0 ;
4985 PyObject
* obj0
= 0 ;
4986 PyObject
* obj1
= 0 ;
4988 (char *) "self",(char *) "pt", NULL
4991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4996 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5002 wxPyEndAllowThreads(__tstate
);
5003 if (PyErr_Occurred()) SWIG_fail
;
5005 resultobj
= SWIG_FromDouble((double)result
);
5012 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5013 PyObject
*resultobj
;
5014 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5015 wxPoint2D
*arg2
= 0 ;
5018 PyObject
* obj0
= 0 ;
5019 PyObject
* obj1
= 0 ;
5021 (char *) "self",(char *) "vec", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5029 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= SWIG_FromDouble((double)result
);
5045 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5048 wxPoint2D
*arg2
= 0 ;
5051 PyObject
* obj0
= 0 ;
5052 PyObject
* obj1
= 0 ;
5054 (char *) "self",(char *) "vec", NULL
5057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5062 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5068 wxPyEndAllowThreads(__tstate
);
5069 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= SWIG_FromDouble((double)result
);
5078 static PyObject
*_wrap_Point2D___neg__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5079 PyObject
*resultobj
;
5080 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5082 PyObject
* obj0
= 0 ;
5084 (char *) "self", NULL
5087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5088 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5089 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5092 result
= (arg1
)->operator -();
5094 wxPyEndAllowThreads(__tstate
);
5095 if (PyErr_Occurred()) SWIG_fail
;
5098 wxPoint2D
* resultptr
;
5099 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5100 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5108 static PyObject
*_wrap_Point2D___iadd__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5111 wxPoint2D
*arg2
= 0 ;
5114 PyObject
* obj0
= 0 ;
5115 PyObject
* obj1
= 0 ;
5117 (char *) "self",(char *) "pt", NULL
5120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5125 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5130 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5131 result
= (wxPoint2D
*) &_result_ref
;
5134 wxPyEndAllowThreads(__tstate
);
5135 if (PyErr_Occurred()) SWIG_fail
;
5137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5144 static PyObject
*_wrap_Point2D___isub__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5145 PyObject
*resultobj
;
5146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5147 wxPoint2D
*arg2
= 0 ;
5150 PyObject
* obj0
= 0 ;
5151 PyObject
* obj1
= 0 ;
5153 (char *) "self",(char *) "pt", NULL
5156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5161 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5166 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5167 result
= (wxPoint2D
*) &_result_ref
;
5170 wxPyEndAllowThreads(__tstate
);
5171 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5180 static PyObject
*_wrap_Point2D___imul__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5181 PyObject
*resultobj
;
5182 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5183 wxPoint2D
*arg2
= 0 ;
5186 PyObject
* obj0
= 0 ;
5187 PyObject
* obj1
= 0 ;
5189 (char *) "self",(char *) "pt", NULL
5192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5197 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5202 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5203 result
= (wxPoint2D
*) &_result_ref
;
5206 wxPyEndAllowThreads(__tstate
);
5207 if (PyErr_Occurred()) SWIG_fail
;
5209 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5216 static PyObject
*_wrap_Point2D___idiv__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5217 PyObject
*resultobj
;
5218 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5219 wxPoint2D
*arg2
= 0 ;
5222 PyObject
* obj0
= 0 ;
5223 PyObject
* obj1
= 0 ;
5225 (char *) "self",(char *) "pt", NULL
5228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5233 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5238 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5239 result
= (wxPoint2D
*) &_result_ref
;
5242 wxPyEndAllowThreads(__tstate
);
5243 if (PyErr_Occurred()) SWIG_fail
;
5245 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5252 static PyObject
*_wrap_Point2D___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5253 PyObject
*resultobj
;
5254 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5255 wxPoint2D
*arg2
= 0 ;
5258 PyObject
* obj0
= 0 ;
5259 PyObject
* obj1
= 0 ;
5261 (char *) "self",(char *) "pt", NULL
5264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5265 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5266 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5269 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5273 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5275 wxPyEndAllowThreads(__tstate
);
5276 if (PyErr_Occurred()) SWIG_fail
;
5278 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5285 static PyObject
*_wrap_Point2D___ne__(PyObject
*, 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___ne__",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();
5306 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5308 wxPyEndAllowThreads(__tstate
);
5309 if (PyErr_Occurred()) SWIG_fail
;
5311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5318 static PyObject
*_wrap_Point2D_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5319 PyObject
*resultobj
;
5320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5322 PyObject
* obj0
= 0 ;
5323 PyObject
* obj1
= 0 ;
5325 (char *) "self",(char *) "m_x", NULL
5328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5329 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5330 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5331 arg2
= (double) SWIG_AsDouble(obj1
);
5332 if (PyErr_Occurred()) SWIG_fail
;
5333 if (arg1
) (arg1
)->m_x
= arg2
;
5335 Py_INCREF(Py_None
); resultobj
= Py_None
;
5342 static PyObject
*_wrap_Point2D_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5346 PyObject
* obj0
= 0 ;
5348 (char *) "self", NULL
5351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5354 result
= (double) ((arg1
)->m_x
);
5356 resultobj
= SWIG_FromDouble((double)result
);
5363 static PyObject
*_wrap_Point2D_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5364 PyObject
*resultobj
;
5365 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5367 PyObject
* obj0
= 0 ;
5368 PyObject
* obj1
= 0 ;
5370 (char *) "self",(char *) "m_y", NULL
5373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5376 arg2
= (double) SWIG_AsDouble(obj1
);
5377 if (PyErr_Occurred()) SWIG_fail
;
5378 if (arg1
) (arg1
)->m_y
= arg2
;
5380 Py_INCREF(Py_None
); resultobj
= Py_None
;
5387 static PyObject
*_wrap_Point2D_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5388 PyObject
*resultobj
;
5389 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5391 PyObject
* obj0
= 0 ;
5393 (char *) "self", NULL
5396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5399 result
= (double) ((arg1
)->m_y
);
5401 resultobj
= SWIG_FromDouble((double)result
);
5408 static PyObject
*_wrap_Point2D_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5409 PyObject
*resultobj
;
5410 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5411 double arg2
= (double) 0 ;
5412 double arg3
= (double) 0 ;
5413 PyObject
* obj0
= 0 ;
5414 PyObject
* obj1
= 0 ;
5415 PyObject
* obj2
= 0 ;
5417 (char *) "self",(char *) "x",(char *) "y", NULL
5420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5424 arg2
= (double) SWIG_AsDouble(obj1
);
5425 if (PyErr_Occurred()) SWIG_fail
;
5428 arg3
= (double) SWIG_AsDouble(obj2
);
5429 if (PyErr_Occurred()) SWIG_fail
;
5432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5433 wxPoint2D_Set(arg1
,arg2
,arg3
);
5435 wxPyEndAllowThreads(__tstate
);
5436 if (PyErr_Occurred()) SWIG_fail
;
5438 Py_INCREF(Py_None
); resultobj
= Py_None
;
5445 static PyObject
*_wrap_Point2D_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5446 PyObject
*resultobj
;
5447 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5449 PyObject
* obj0
= 0 ;
5451 (char *) "self", NULL
5454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5459 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5461 wxPyEndAllowThreads(__tstate
);
5462 if (PyErr_Occurred()) SWIG_fail
;
5471 static PyObject
* Point2D_swigregister(PyObject
*, PyObject
*args
) {
5473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5474 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5476 return Py_BuildValue((char *)"");
5478 static int _wrap_DefaultPosition_set(PyObject
*) {
5479 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5484 static PyObject
*_wrap_DefaultPosition_get() {
5487 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5492 static int _wrap_DefaultSize_set(PyObject
*) {
5493 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5498 static PyObject
*_wrap_DefaultSize_get() {
5501 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5506 static PyObject
*_wrap_new_InputStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5507 PyObject
*resultobj
;
5508 PyObject
*arg1
= (PyObject
*) 0 ;
5509 wxPyInputStream
*result
;
5510 PyObject
* obj0
= 0 ;
5515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5519 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5521 wxPyEndAllowThreads(__tstate
);
5522 if (PyErr_Occurred()) SWIG_fail
;
5524 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5531 static PyObject
*_wrap_InputStream_close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5532 PyObject
*resultobj
;
5533 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5534 PyObject
* obj0
= 0 ;
5536 (char *) "self", NULL
5539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5549 Py_INCREF(Py_None
); resultobj
= Py_None
;
5556 static PyObject
*_wrap_InputStream_flush(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5557 PyObject
*resultobj
;
5558 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5559 PyObject
* obj0
= 0 ;
5561 (char *) "self", NULL
5564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5574 Py_INCREF(Py_None
); resultobj
= Py_None
;
5581 static PyObject
*_wrap_InputStream_eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5582 PyObject
*resultobj
;
5583 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5585 PyObject
* obj0
= 0 ;
5587 (char *) "self", NULL
5590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (bool)(arg1
)->eof();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5607 static PyObject
*_wrap_InputStream_read(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5608 PyObject
*resultobj
;
5609 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5610 int arg2
= (int) -1 ;
5612 PyObject
* obj0
= 0 ;
5613 PyObject
* obj1
= 0 ;
5615 (char *) "self",(char *) "size", NULL
5618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5622 arg2
= (int) SWIG_AsInt(obj1
);
5623 if (PyErr_Occurred()) SWIG_fail
;
5626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5627 result
= (PyObject
*)(arg1
)->read(arg2
);
5629 wxPyEndAllowThreads(__tstate
);
5630 if (PyErr_Occurred()) SWIG_fail
;
5639 static PyObject
*_wrap_InputStream_readline(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5640 PyObject
*resultobj
;
5641 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5642 int arg2
= (int) -1 ;
5644 PyObject
* obj0
= 0 ;
5645 PyObject
* obj1
= 0 ;
5647 (char *) "self",(char *) "size", NULL
5650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5654 arg2
= (int) SWIG_AsInt(obj1
);
5655 if (PyErr_Occurred()) SWIG_fail
;
5658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5659 result
= (PyObject
*)(arg1
)->readline(arg2
);
5661 wxPyEndAllowThreads(__tstate
);
5662 if (PyErr_Occurred()) SWIG_fail
;
5671 static PyObject
*_wrap_InputStream_readlines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5672 PyObject
*resultobj
;
5673 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5674 int arg2
= (int) -1 ;
5676 PyObject
* obj0
= 0 ;
5677 PyObject
* obj1
= 0 ;
5679 (char *) "self",(char *) "sizehint", NULL
5682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5683 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5684 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5686 arg2
= (int) SWIG_AsInt(obj1
);
5687 if (PyErr_Occurred()) SWIG_fail
;
5690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5691 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5693 wxPyEndAllowThreads(__tstate
);
5694 if (PyErr_Occurred()) SWIG_fail
;
5703 static PyObject
*_wrap_InputStream_seek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5704 PyObject
*resultobj
;
5705 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5707 int arg3
= (int) 0 ;
5708 PyObject
* obj0
= 0 ;
5709 PyObject
* obj1
= 0 ;
5710 PyObject
* obj2
= 0 ;
5712 (char *) "self",(char *) "offset",(char *) "whence", NULL
5715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5716 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5717 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5718 arg2
= (int) SWIG_AsInt(obj1
);
5719 if (PyErr_Occurred()) SWIG_fail
;
5721 arg3
= (int) SWIG_AsInt(obj2
);
5722 if (PyErr_Occurred()) SWIG_fail
;
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 (arg1
)->seek(arg2
,arg3
);
5728 wxPyEndAllowThreads(__tstate
);
5729 if (PyErr_Occurred()) SWIG_fail
;
5731 Py_INCREF(Py_None
); resultobj
= Py_None
;
5738 static PyObject
*_wrap_InputStream_tell(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5739 PyObject
*resultobj
;
5740 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5742 PyObject
* obj0
= 0 ;
5744 (char *) "self", NULL
5747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5752 result
= (int)(arg1
)->tell();
5754 wxPyEndAllowThreads(__tstate
);
5755 if (PyErr_Occurred()) SWIG_fail
;
5757 resultobj
= SWIG_FromInt((int)result
);
5764 static PyObject
*_wrap_InputStream_Peek(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5765 PyObject
*resultobj
;
5766 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5768 PyObject
* obj0
= 0 ;
5770 (char *) "self", NULL
5773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5778 result
= (char)(arg1
)->Peek();
5780 wxPyEndAllowThreads(__tstate
);
5781 if (PyErr_Occurred()) SWIG_fail
;
5783 resultobj
= SWIG_FromChar((char)result
);
5790 static PyObject
*_wrap_InputStream_GetC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
;
5792 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5794 PyObject
* obj0
= 0 ;
5796 (char *) "self", NULL
5799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5804 result
= (char)(arg1
)->GetC();
5806 wxPyEndAllowThreads(__tstate
);
5807 if (PyErr_Occurred()) SWIG_fail
;
5809 resultobj
= SWIG_FromChar((char)result
);
5816 static PyObject
*_wrap_InputStream_LastRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5817 PyObject
*resultobj
;
5818 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5820 PyObject
* obj0
= 0 ;
5822 (char *) "self", NULL
5825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5830 result
= (size_t)(arg1
)->LastRead();
5832 wxPyEndAllowThreads(__tstate
);
5833 if (PyErr_Occurred()) SWIG_fail
;
5835 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5842 static PyObject
*_wrap_InputStream_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5843 PyObject
*resultobj
;
5844 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5848 (char *) "self", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5856 result
= (bool)(arg1
)->CanRead();
5858 wxPyEndAllowThreads(__tstate
);
5859 if (PyErr_Occurred()) SWIG_fail
;
5861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5868 static PyObject
*_wrap_InputStream_Eof(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5872 PyObject
* obj0
= 0 ;
5874 (char *) "self", NULL
5877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5882 result
= (bool)(arg1
)->Eof();
5884 wxPyEndAllowThreads(__tstate
);
5885 if (PyErr_Occurred()) SWIG_fail
;
5887 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5894 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5895 PyObject
*resultobj
;
5896 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5899 PyObject
* obj0
= 0 ;
5900 PyObject
* obj1
= 0 ;
5902 (char *) "self",(char *) "c", NULL
5905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5906 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5907 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5908 arg2
= (char) SWIG_AsChar(obj1
);
5909 if (PyErr_Occurred()) SWIG_fail
;
5911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5912 result
= (bool)(arg1
)->Ungetch(arg2
);
5914 wxPyEndAllowThreads(__tstate
);
5915 if (PyErr_Occurred()) SWIG_fail
;
5917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5924 static PyObject
*_wrap_InputStream_SeekI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5925 PyObject
*resultobj
;
5926 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5928 int arg3
= (int) wxFromStart
;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 PyObject
* obj2
= 0 ;
5934 (char *) "self",(char *) "pos",(char *) "mode", NULL
5937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5940 arg2
= (long) SWIG_AsLong(obj1
);
5941 if (PyErr_Occurred()) SWIG_fail
;
5943 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5944 if (PyErr_Occurred()) SWIG_fail
;
5947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5948 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5950 wxPyEndAllowThreads(__tstate
);
5951 if (PyErr_Occurred()) SWIG_fail
;
5953 resultobj
= SWIG_FromLong((long)result
);
5960 static PyObject
*_wrap_InputStream_TellI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5961 PyObject
*resultobj
;
5962 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5964 PyObject
* obj0
= 0 ;
5966 (char *) "self", NULL
5969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5974 result
= (long)(arg1
)->TellI();
5976 wxPyEndAllowThreads(__tstate
);
5977 if (PyErr_Occurred()) SWIG_fail
;
5979 resultobj
= SWIG_FromLong((long)result
);
5986 static PyObject
* InputStream_swigregister(PyObject
*, PyObject
*args
) {
5988 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5989 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5991 return Py_BuildValue((char *)"");
5993 static PyObject
*_wrap_OutputStream_write(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5996 PyObject
*arg2
= (PyObject
*) 0 ;
5997 PyObject
* obj0
= 0 ;
5998 PyObject
* obj1
= 0 ;
6000 (char *) "self",(char *) "obj", NULL
6003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6009 wxOutputStream_write(arg1
,arg2
);
6011 wxPyEndAllowThreads(__tstate
);
6012 if (PyErr_Occurred()) SWIG_fail
;
6014 Py_INCREF(Py_None
); resultobj
= Py_None
;
6021 static PyObject
* OutputStream_swigregister(PyObject
*, PyObject
*args
) {
6023 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6024 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6026 return Py_BuildValue((char *)"");
6028 static PyObject
*_wrap_new_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6029 PyObject
*resultobj
;
6030 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6031 wxString
*arg2
= 0 ;
6032 wxString
*arg3
= 0 ;
6033 wxString
*arg4
= 0 ;
6036 wxPyInputStream
*temp1
;
6038 bool temp2
= False
;
6039 bool temp3
= False
;
6040 bool temp4
= False
;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6045 PyObject
* obj3
= 0 ;
6046 PyObject
* obj4
= 0 ;
6048 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6053 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6054 arg1
= temp1
->m_wxis
;
6057 PyErr_Clear(); // clear the failure of the wxPyConvert above
6058 arg1
= wxPyCBInputStream_create(obj0
, False
);
6060 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6067 arg2
= wxString_in_helper(obj1
);
6068 if (arg2
== NULL
) SWIG_fail
;
6072 arg3
= wxString_in_helper(obj2
);
6073 if (arg3
== NULL
) SWIG_fail
;
6077 arg4
= wxString_in_helper(obj3
);
6078 if (arg4
== NULL
) SWIG_fail
;
6081 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6082 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6092 resultobj
= wxPyMake_wxObject(result
);
6132 static PyObject
*_wrap_delete_FSFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6133 PyObject
*resultobj
;
6134 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6135 PyObject
* obj0
= 0 ;
6137 (char *) "self", NULL
6140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6147 wxPyEndAllowThreads(__tstate
);
6148 if (PyErr_Occurred()) SWIG_fail
;
6150 Py_INCREF(Py_None
); resultobj
= Py_None
;
6157 static PyObject
*_wrap_FSFile_GetStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6158 PyObject
*resultobj
;
6159 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6160 wxInputStream
*result
;
6161 PyObject
* obj0
= 0 ;
6163 (char *) "self", NULL
6166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6171 result
= (wxInputStream
*)(arg1
)->GetStream();
6173 wxPyEndAllowThreads(__tstate
);
6174 if (PyErr_Occurred()) SWIG_fail
;
6177 wxPyInputStream
* _ptr
= NULL
;
6180 _ptr
= new wxPyInputStream(result
);
6182 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6190 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6191 PyObject
*resultobj
;
6192 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6194 PyObject
* obj0
= 0 ;
6196 (char *) "self", NULL
6199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6205 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6206 result
= (wxString
*) &_result_ref
;
6209 wxPyEndAllowThreads(__tstate
);
6210 if (PyErr_Occurred()) SWIG_fail
;
6214 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6216 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6225 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6226 PyObject
*resultobj
;
6227 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6229 PyObject
* obj0
= 0 ;
6231 (char *) "self", NULL
6234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6240 wxString
const &_result_ref
= (arg1
)->GetLocation();
6241 result
= (wxString
*) &_result_ref
;
6244 wxPyEndAllowThreads(__tstate
);
6245 if (PyErr_Occurred()) SWIG_fail
;
6249 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6251 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6260 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6261 PyObject
*resultobj
;
6262 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6264 PyObject
* obj0
= 0 ;
6266 (char *) "self", NULL
6269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6275 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6276 result
= (wxString
*) &_result_ref
;
6279 wxPyEndAllowThreads(__tstate
);
6280 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6286 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6295 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6296 PyObject
*resultobj
;
6297 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6299 PyObject
* obj0
= 0 ;
6301 (char *) "self", NULL
6304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6309 result
= (arg1
)->GetModificationTime();
6311 wxPyEndAllowThreads(__tstate
);
6312 if (PyErr_Occurred()) SWIG_fail
;
6315 wxDateTime
* resultptr
;
6316 resultptr
= new wxDateTime((wxDateTime
&) result
);
6317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6325 static PyObject
* FSFile_swigregister(PyObject
*, PyObject
*args
) {
6327 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6328 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6330 return Py_BuildValue((char *)"");
6332 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6334 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6335 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6337 return Py_BuildValue((char *)"");
6339 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6340 PyObject
*resultobj
;
6341 wxPyFileSystemHandler
*result
;
6346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6361 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6364 PyObject
*arg2
= (PyObject
*) 0 ;
6365 PyObject
*arg3
= (PyObject
*) 0 ;
6366 PyObject
* obj0
= 0 ;
6367 PyObject
* obj1
= 0 ;
6368 PyObject
* obj2
= 0 ;
6370 (char *) "self",(char *) "self",(char *) "_class", NULL
6373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6382 wxPyEndAllowThreads(__tstate
);
6383 if (PyErr_Occurred()) SWIG_fail
;
6385 Py_INCREF(Py_None
); resultobj
= Py_None
;
6392 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6393 PyObject
*resultobj
;
6394 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6395 wxString
*arg2
= 0 ;
6397 bool temp2
= False
;
6398 PyObject
* obj0
= 0 ;
6399 PyObject
* obj1
= 0 ;
6401 (char *) "self",(char *) "location", NULL
6404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6408 arg2
= wxString_in_helper(obj1
);
6409 if (arg2
== NULL
) SWIG_fail
;
6413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6414 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6416 wxPyEndAllowThreads(__tstate
);
6417 if (PyErr_Occurred()) SWIG_fail
;
6419 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
;
6436 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6437 wxFileSystem
*arg2
= 0 ;
6438 wxString
*arg3
= 0 ;
6440 bool temp3
= False
;
6441 PyObject
* obj0
= 0 ;
6442 PyObject
* obj1
= 0 ;
6443 PyObject
* obj2
= 0 ;
6445 (char *) "self",(char *) "fs",(char *) "location", NULL
6448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6449 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6451 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6452 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6455 PyErr_SetString(PyExc_TypeError
,"null reference");
6459 arg3
= wxString_in_helper(obj2
);
6460 if (arg3
== NULL
) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= wxPyMake_wxObject(result
);
6487 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6488 PyObject
*resultobj
;
6489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6490 wxString
*arg2
= 0 ;
6491 int arg3
= (int) 0 ;
6493 bool temp2
= False
;
6494 PyObject
* obj0
= 0 ;
6495 PyObject
* obj1
= 0 ;
6496 PyObject
* obj2
= 0 ;
6498 (char *) "self",(char *) "spec",(char *) "flags", NULL
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6505 arg2
= wxString_in_helper(obj1
);
6506 if (arg2
== NULL
) SWIG_fail
;
6510 arg3
= (int) SWIG_AsInt(obj2
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6515 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6517 wxPyEndAllowThreads(__tstate
);
6518 if (PyErr_Occurred()) SWIG_fail
;
6522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6541 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6542 PyObject
*resultobj
;
6543 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6545 PyObject
* obj0
= 0 ;
6547 (char *) "self", NULL
6550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6555 result
= (arg1
)->FindNext();
6557 wxPyEndAllowThreads(__tstate
);
6558 if (PyErr_Occurred()) SWIG_fail
;
6562 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6564 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6573 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6574 PyObject
*resultobj
;
6575 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6576 wxString
*arg2
= 0 ;
6578 bool temp2
= False
;
6579 PyObject
* obj0
= 0 ;
6580 PyObject
* obj1
= 0 ;
6582 (char *) "self",(char *) "location", NULL
6585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6586 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6587 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6589 arg2
= wxString_in_helper(obj1
);
6590 if (arg2
== NULL
) SWIG_fail
;
6594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6595 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6621 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6622 PyObject
*resultobj
;
6623 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6624 wxString
*arg2
= 0 ;
6626 bool temp2
= False
;
6627 PyObject
* obj0
= 0 ;
6628 PyObject
* obj1
= 0 ;
6630 (char *) "self",(char *) "location", NULL
6633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6637 arg2
= wxString_in_helper(obj1
);
6638 if (arg2
== NULL
) SWIG_fail
;
6642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6643 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6645 wxPyEndAllowThreads(__tstate
);
6646 if (PyErr_Occurred()) SWIG_fail
;
6650 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6652 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6669 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
;
6671 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6672 wxString
*arg2
= 0 ;
6674 bool temp2
= False
;
6675 PyObject
* obj0
= 0 ;
6676 PyObject
* obj1
= 0 ;
6678 (char *) "self",(char *) "location", NULL
6681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6685 arg2
= wxString_in_helper(obj1
);
6686 if (arg2
== NULL
) SWIG_fail
;
6690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6691 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6693 wxPyEndAllowThreads(__tstate
);
6694 if (PyErr_Occurred()) SWIG_fail
;
6698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6717 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6718 PyObject
*resultobj
;
6719 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6720 wxString
*arg2
= 0 ;
6722 bool temp2
= False
;
6723 PyObject
* obj0
= 0 ;
6724 PyObject
* obj1
= 0 ;
6726 (char *) "self",(char *) "location", NULL
6729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6733 arg2
= wxString_in_helper(obj1
);
6734 if (arg2
== NULL
) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6746 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6748 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6765 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6766 PyObject
*resultobj
;
6767 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6768 wxString
*arg2
= 0 ;
6770 bool temp2
= False
;
6771 PyObject
* obj0
= 0 ;
6772 PyObject
* obj1
= 0 ;
6774 (char *) "self",(char *) "location", NULL
6777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6778 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6779 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6781 arg2
= wxString_in_helper(obj1
);
6782 if (arg2
== NULL
) SWIG_fail
;
6786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6787 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6789 wxPyEndAllowThreads(__tstate
);
6790 if (PyErr_Occurred()) SWIG_fail
;
6794 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6796 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6813 static PyObject
* FileSystemHandler_swigregister(PyObject
*, PyObject
*args
) {
6815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6816 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6818 return Py_BuildValue((char *)"");
6820 static PyObject
*_wrap_new_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxFileSystem
*result
;
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (wxFileSystem
*)new wxFileSystem();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6836 resultobj
= wxPyMake_wxObject(result
);
6844 static PyObject
*_wrap_delete_FileSystem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6845 PyObject
*resultobj
;
6846 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6847 PyObject
* obj0
= 0 ;
6849 (char *) "self", NULL
6852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxPyEndAllowThreads(__tstate
);
6860 if (PyErr_Occurred()) SWIG_fail
;
6862 Py_INCREF(Py_None
); resultobj
= Py_None
;
6869 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6870 PyObject
*resultobj
;
6871 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6872 wxString
*arg2
= 0 ;
6873 bool arg3
= (bool) False
;
6874 bool temp2
= False
;
6875 PyObject
* obj0
= 0 ;
6876 PyObject
* obj1
= 0 ;
6877 PyObject
* obj2
= 0 ;
6879 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6886 arg2
= wxString_in_helper(obj1
);
6887 if (arg2
== NULL
) SWIG_fail
;
6891 arg3
= (bool) SWIG_AsBool(obj2
);
6892 if (PyErr_Occurred()) SWIG_fail
;
6895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6896 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6898 wxPyEndAllowThreads(__tstate
);
6899 if (PyErr_Occurred()) SWIG_fail
;
6901 Py_INCREF(Py_None
); resultobj
= Py_None
;
6916 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
;
6918 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6920 PyObject
* obj0
= 0 ;
6922 (char *) "self", NULL
6925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6930 result
= (arg1
)->GetPath();
6932 wxPyEndAllowThreads(__tstate
);
6933 if (PyErr_Occurred()) SWIG_fail
;
6937 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6939 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6948 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6949 PyObject
*resultobj
;
6950 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6951 wxString
*arg2
= 0 ;
6953 bool temp2
= False
;
6954 PyObject
* obj0
= 0 ;
6955 PyObject
* obj1
= 0 ;
6957 (char *) "self",(char *) "location", NULL
6960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6964 arg2
= wxString_in_helper(obj1
);
6965 if (arg2
== NULL
) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6976 resultobj
= wxPyMake_wxObject(result
);
6992 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
6993 PyObject
*resultobj
;
6994 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6995 wxString
*arg2
= 0 ;
6996 int arg3
= (int) 0 ;
6998 bool temp2
= False
;
6999 PyObject
* obj0
= 0 ;
7000 PyObject
* obj1
= 0 ;
7001 PyObject
* obj2
= 0 ;
7003 (char *) "self",(char *) "spec",(char *) "flags", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7010 arg2
= wxString_in_helper(obj1
);
7011 if (arg2
== NULL
) SWIG_fail
;
7015 arg3
= (int) SWIG_AsInt(obj2
);
7016 if (PyErr_Occurred()) SWIG_fail
;
7019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7020 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7022 wxPyEndAllowThreads(__tstate
);
7023 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7046 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
;
7048 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7050 PyObject
* obj0
= 0 ;
7052 (char *) "self", NULL
7055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7060 result
= (arg1
)->FindNext();
7062 wxPyEndAllowThreads(__tstate
);
7063 if (PyErr_Occurred()) SWIG_fail
;
7067 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7069 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7078 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7079 PyObject
*resultobj
;
7080 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7081 PyObject
* obj0
= 0 ;
7083 (char *) "handler", NULL
7086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7091 wxFileSystem::AddHandler(arg1
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7096 Py_INCREF(Py_None
); resultobj
= Py_None
;
7103 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7104 PyObject
*resultobj
;
7109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7112 wxFileSystem::CleanUpHandlers();
7114 wxPyEndAllowThreads(__tstate
);
7115 if (PyErr_Occurred()) SWIG_fail
;
7117 Py_INCREF(Py_None
); resultobj
= Py_None
;
7124 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7125 PyObject
*resultobj
;
7126 wxString
*arg1
= 0 ;
7128 bool temp1
= False
;
7129 PyObject
* obj0
= 0 ;
7131 (char *) "filename", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7136 arg1
= wxString_in_helper(obj0
);
7137 if (arg1
== NULL
) SWIG_fail
;
7141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7142 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7144 wxPyEndAllowThreads(__tstate
);
7145 if (PyErr_Occurred()) SWIG_fail
;
7149 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7151 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7168 static PyObject
* FileSystem_swigregister(PyObject
*, PyObject
*args
) {
7170 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7171 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7173 return Py_BuildValue((char *)"");
7175 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7176 PyObject
*resultobj
;
7177 wxString
*arg1
= 0 ;
7179 bool temp1
= False
;
7180 PyObject
* obj0
= 0 ;
7182 (char *) "url", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7187 arg1
= wxString_in_helper(obj0
);
7188 if (arg1
== NULL
) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7200 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7202 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7219 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7220 PyObject
*resultobj
;
7221 wxInternetFSHandler
*result
;
7226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7229 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7231 wxPyEndAllowThreads(__tstate
);
7232 if (PyErr_Occurred()) SWIG_fail
;
7234 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7241 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
;
7243 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7244 wxString
*arg2
= 0 ;
7246 bool temp2
= False
;
7247 PyObject
* obj0
= 0 ;
7248 PyObject
* obj1
= 0 ;
7250 (char *) "self",(char *) "location", NULL
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7257 arg2
= wxString_in_helper(obj1
);
7258 if (arg2
== NULL
) SWIG_fail
;
7262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7263 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7283 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7284 PyObject
*resultobj
;
7285 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7286 wxFileSystem
*arg2
= 0 ;
7287 wxString
*arg3
= 0 ;
7289 bool temp3
= False
;
7290 PyObject
* obj0
= 0 ;
7291 PyObject
* obj1
= 0 ;
7292 PyObject
* obj2
= 0 ;
7294 (char *) "self",(char *) "fs",(char *) "location", NULL
7297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7298 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7300 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7301 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7304 PyErr_SetString(PyExc_TypeError
,"null reference");
7308 arg3
= wxString_in_helper(obj2
);
7309 if (arg3
== NULL
) SWIG_fail
;
7313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7314 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7316 wxPyEndAllowThreads(__tstate
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 resultobj
= wxPyMake_wxObject(result
);
7336 static PyObject
* InternetFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7339 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7341 return Py_BuildValue((char *)"");
7343 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7344 PyObject
*resultobj
;
7345 wxZipFSHandler
*result
;
7350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7353 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7355 wxPyEndAllowThreads(__tstate
);
7356 if (PyErr_Occurred()) SWIG_fail
;
7358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7365 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7368 wxString
*arg2
= 0 ;
7370 bool temp2
= False
;
7371 PyObject
* obj0
= 0 ;
7372 PyObject
* obj1
= 0 ;
7374 (char *) "self",(char *) "location", NULL
7377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7381 arg2
= wxString_in_helper(obj1
);
7382 if (arg2
== NULL
) SWIG_fail
;
7386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7387 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7389 wxPyEndAllowThreads(__tstate
);
7390 if (PyErr_Occurred()) SWIG_fail
;
7392 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7407 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7408 PyObject
*resultobj
;
7409 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7410 wxFileSystem
*arg2
= 0 ;
7411 wxString
*arg3
= 0 ;
7413 bool temp3
= False
;
7414 PyObject
* obj0
= 0 ;
7415 PyObject
* obj1
= 0 ;
7416 PyObject
* obj2
= 0 ;
7418 (char *) "self",(char *) "fs",(char *) "location", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7424 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7425 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7428 PyErr_SetString(PyExc_TypeError
,"null reference");
7432 arg3
= wxString_in_helper(obj2
);
7433 if (arg3
== NULL
) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7440 wxPyEndAllowThreads(__tstate
);
7441 if (PyErr_Occurred()) SWIG_fail
;
7444 resultobj
= wxPyMake_wxObject(result
);
7460 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7461 PyObject
*resultobj
;
7462 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7463 wxString
*arg2
= 0 ;
7464 int arg3
= (int) 0 ;
7466 bool temp2
= False
;
7467 PyObject
* obj0
= 0 ;
7468 PyObject
* obj1
= 0 ;
7469 PyObject
* obj2
= 0 ;
7471 (char *) "self",(char *) "spec",(char *) "flags", NULL
7474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7478 arg2
= wxString_in_helper(obj1
);
7479 if (arg2
== NULL
) SWIG_fail
;
7483 arg3
= (int) SWIG_AsInt(obj2
);
7484 if (PyErr_Occurred()) SWIG_fail
;
7487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7488 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7490 wxPyEndAllowThreads(__tstate
);
7491 if (PyErr_Occurred()) SWIG_fail
;
7495 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7497 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7514 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7515 PyObject
*resultobj
;
7516 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7518 PyObject
* obj0
= 0 ;
7520 (char *) "self", NULL
7523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7528 result
= (arg1
)->FindNext();
7530 wxPyEndAllowThreads(__tstate
);
7531 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7537 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7546 static PyObject
* ZipFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7548 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7549 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7551 return Py_BuildValue((char *)"");
7553 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7554 PyObject
*resultobj
;
7555 wxString
*arg1
= 0 ;
7558 bool temp1
= False
;
7559 PyObject
* obj0
= 0 ;
7560 PyObject
* obj1
= 0 ;
7561 PyObject
* obj2
= 0 ;
7563 (char *) "filename",(char *) "image",(char *) "type", NULL
7566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7568 arg1
= wxString_in_helper(obj0
);
7569 if (arg1
== NULL
) SWIG_fail
;
7572 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7573 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7576 PyErr_SetString(PyExc_TypeError
,"null reference");
7579 arg3
= (long) SWIG_AsLong(obj2
);
7580 if (PyErr_Occurred()) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 Py_INCREF(Py_None
); resultobj
= Py_None
;
7603 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7604 PyObject
*resultobj
;
7605 wxString
*arg1
= 0 ;
7606 wxBitmap
*arg2
= 0 ;
7608 bool temp1
= False
;
7609 PyObject
* obj0
= 0 ;
7610 PyObject
* obj1
= 0 ;
7611 PyObject
* obj2
= 0 ;
7613 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7618 arg1
= wxString_in_helper(obj0
);
7619 if (arg1
== NULL
) SWIG_fail
;
7622 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7623 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7626 PyErr_SetString(PyExc_TypeError
,"null reference");
7629 arg3
= (long) SWIG_AsLong(obj2
);
7630 if (PyErr_Occurred()) SWIG_fail
;
7632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7633 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7635 wxPyEndAllowThreads(__tstate
);
7636 if (PyErr_Occurred()) SWIG_fail
;
7638 Py_INCREF(Py_None
); resultobj
= Py_None
;
7653 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7654 PyObject
*resultobj
;
7655 wxString
*arg1
= 0 ;
7656 PyObject
*arg2
= (PyObject
*) 0 ;
7657 bool temp1
= False
;
7658 PyObject
* obj0
= 0 ;
7659 PyObject
* obj1
= 0 ;
7661 (char *) "filename",(char *) "data", NULL
7664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7666 arg1
= wxString_in_helper(obj0
);
7667 if (arg1
== NULL
) SWIG_fail
;
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7675 wxPyEndAllowThreads(__tstate
);
7676 if (PyErr_Occurred()) SWIG_fail
;
7678 Py_INCREF(Py_None
); resultobj
= Py_None
;
7693 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7694 PyObject
*resultobj
;
7695 wxMemoryFSHandler
*result
;
7700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7703 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7705 wxPyEndAllowThreads(__tstate
);
7706 if (PyErr_Occurred()) SWIG_fail
;
7708 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7715 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7716 PyObject
*resultobj
;
7717 wxString
*arg1
= 0 ;
7718 bool temp1
= False
;
7719 PyObject
* obj0
= 0 ;
7721 (char *) "filename", NULL
7724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7726 arg1
= wxString_in_helper(obj0
);
7727 if (arg1
== NULL
) SWIG_fail
;
7731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7734 wxPyEndAllowThreads(__tstate
);
7735 if (PyErr_Occurred()) SWIG_fail
;
7737 Py_INCREF(Py_None
); resultobj
= Py_None
;
7752 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7753 PyObject
*resultobj
;
7754 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7755 wxString
*arg2
= 0 ;
7757 bool temp2
= False
;
7758 PyObject
* obj0
= 0 ;
7759 PyObject
* obj1
= 0 ;
7761 (char *) "self",(char *) "location", NULL
7764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7768 arg2
= wxString_in_helper(obj1
);
7769 if (arg2
== NULL
) SWIG_fail
;
7773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7774 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7776 wxPyEndAllowThreads(__tstate
);
7777 if (PyErr_Occurred()) SWIG_fail
;
7779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7794 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7795 PyObject
*resultobj
;
7796 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7797 wxFileSystem
*arg2
= 0 ;
7798 wxString
*arg3
= 0 ;
7800 bool temp3
= False
;
7801 PyObject
* obj0
= 0 ;
7802 PyObject
* obj1
= 0 ;
7803 PyObject
* obj2
= 0 ;
7805 (char *) "self",(char *) "fs",(char *) "location", NULL
7808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7811 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7812 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7815 PyErr_SetString(PyExc_TypeError
,"null reference");
7819 arg3
= wxString_in_helper(obj2
);
7820 if (arg3
== NULL
) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7831 resultobj
= wxPyMake_wxObject(result
);
7847 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7848 PyObject
*resultobj
;
7849 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7850 wxString
*arg2
= 0 ;
7851 int arg3
= (int) 0 ;
7853 bool temp2
= False
;
7854 PyObject
* obj0
= 0 ;
7855 PyObject
* obj1
= 0 ;
7856 PyObject
* obj2
= 0 ;
7858 (char *) "self",(char *) "spec",(char *) "flags", NULL
7861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7865 arg2
= wxString_in_helper(obj1
);
7866 if (arg2
== NULL
) SWIG_fail
;
7870 arg3
= (int) SWIG_AsInt(obj2
);
7871 if (PyErr_Occurred()) SWIG_fail
;
7874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7875 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7877 wxPyEndAllowThreads(__tstate
);
7878 if (PyErr_Occurred()) SWIG_fail
;
7882 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7884 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7901 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7902 PyObject
*resultobj
;
7903 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7915 result
= (arg1
)->FindNext();
7917 wxPyEndAllowThreads(__tstate
);
7918 if (PyErr_Occurred()) SWIG_fail
;
7922 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7924 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7933 static PyObject
* MemoryFSHandler_swigregister(PyObject
*, PyObject
*args
) {
7935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7936 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7938 return Py_BuildValue((char *)"");
7940 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7944 PyObject
* obj0
= 0 ;
7946 (char *) "self", NULL
7949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7950 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7954 result
= (arg1
)->GetName();
7956 wxPyEndAllowThreads(__tstate
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7972 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "self", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7986 result
= (arg1
)->GetExtension();
7988 wxPyEndAllowThreads(__tstate
);
7989 if (PyErr_Occurred()) SWIG_fail
;
7993 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7995 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8004 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8005 PyObject
*resultobj
;
8006 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8008 PyObject
* obj0
= 0 ;
8010 (char *) "self", NULL
8013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8018 result
= (long)(arg1
)->GetType();
8020 wxPyEndAllowThreads(__tstate
);
8021 if (PyErr_Occurred()) SWIG_fail
;
8023 resultobj
= SWIG_FromLong((long)result
);
8030 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8031 PyObject
*resultobj
;
8032 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8034 PyObject
* obj0
= 0 ;
8036 (char *) "self", NULL
8039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8040 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8041 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8044 result
= (arg1
)->GetMimeType();
8046 wxPyEndAllowThreads(__tstate
);
8047 if (PyErr_Occurred()) SWIG_fail
;
8051 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8053 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8062 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8063 PyObject
*resultobj
;
8064 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8065 wxString
*arg2
= 0 ;
8067 bool temp2
= False
;
8068 PyObject
* obj0
= 0 ;
8069 PyObject
* obj1
= 0 ;
8071 (char *) "self",(char *) "name", NULL
8074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8075 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8076 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8078 arg2
= wxString_in_helper(obj1
);
8079 if (arg2
== NULL
) SWIG_fail
;
8083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8084 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8086 wxPyEndAllowThreads(__tstate
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8104 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8105 PyObject
*resultobj
;
8106 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8107 wxString
*arg2
= 0 ;
8108 bool temp2
= False
;
8109 PyObject
* obj0
= 0 ;
8110 PyObject
* obj1
= 0 ;
8112 (char *) "self",(char *) "name", NULL
8115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8119 arg2
= wxString_in_helper(obj1
);
8120 if (arg2
== NULL
) SWIG_fail
;
8124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8125 (arg1
)->SetName((wxString
const &)*arg2
);
8127 wxPyEndAllowThreads(__tstate
);
8128 if (PyErr_Occurred()) SWIG_fail
;
8130 Py_INCREF(Py_None
); resultobj
= Py_None
;
8145 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8146 PyObject
*resultobj
;
8147 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8148 wxString
*arg2
= 0 ;
8149 bool temp2
= False
;
8150 PyObject
* obj0
= 0 ;
8151 PyObject
* obj1
= 0 ;
8153 (char *) "self",(char *) "extension", NULL
8156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8160 arg2
= wxString_in_helper(obj1
);
8161 if (arg2
== NULL
) SWIG_fail
;
8165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8166 (arg1
)->SetExtension((wxString
const &)*arg2
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 Py_INCREF(Py_None
); resultobj
= Py_None
;
8186 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8187 PyObject
*resultobj
;
8188 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8190 PyObject
* obj0
= 0 ;
8191 PyObject
* obj1
= 0 ;
8193 (char *) "self",(char *) "type", NULL
8196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8199 arg2
= (long) SWIG_AsLong(obj1
);
8200 if (PyErr_Occurred()) SWIG_fail
;
8202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8203 (arg1
)->SetType(arg2
);
8205 wxPyEndAllowThreads(__tstate
);
8206 if (PyErr_Occurred()) SWIG_fail
;
8208 Py_INCREF(Py_None
); resultobj
= Py_None
;
8215 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8216 PyObject
*resultobj
;
8217 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8218 wxString
*arg2
= 0 ;
8219 bool temp2
= False
;
8220 PyObject
* obj0
= 0 ;
8221 PyObject
* obj1
= 0 ;
8223 (char *) "self",(char *) "mimetype", NULL
8226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8230 arg2
= wxString_in_helper(obj1
);
8231 if (arg2
== NULL
) SWIG_fail
;
8235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8236 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8238 wxPyEndAllowThreads(__tstate
);
8239 if (PyErr_Occurred()) SWIG_fail
;
8241 Py_INCREF(Py_None
); resultobj
= Py_None
;
8256 static PyObject
* ImageHandler_swigregister(PyObject
*, PyObject
*args
) {
8258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8259 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8261 return Py_BuildValue((char *)"");
8263 static PyObject
*_wrap_new_ImageHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8264 PyObject
*resultobj
;
8265 wxImageHistogram
*result
;
8270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8273 result
= (wxImageHistogram
*)new wxImageHistogram();
8275 wxPyEndAllowThreads(__tstate
);
8276 if (PyErr_Occurred()) SWIG_fail
;
8278 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8285 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8286 PyObject
*resultobj
;
8287 unsigned char arg1
;
8288 unsigned char arg2
;
8289 unsigned char arg3
;
8290 unsigned long result
;
8291 PyObject
* obj0
= 0 ;
8292 PyObject
* obj1
= 0 ;
8293 PyObject
* obj2
= 0 ;
8295 (char *) "r",(char *) "g",(char *) "b", NULL
8298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8299 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8301 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8303 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8304 if (PyErr_Occurred()) SWIG_fail
;
8306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8307 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8309 wxPyEndAllowThreads(__tstate
);
8310 if (PyErr_Occurred()) SWIG_fail
;
8312 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8319 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8320 PyObject
*resultobj
;
8321 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8322 unsigned char *arg2
= (unsigned char *) 0 ;
8323 unsigned char *arg3
= (unsigned char *) 0 ;
8324 unsigned char *arg4
= (unsigned char *) 0 ;
8325 unsigned char arg5
= (unsigned char) 1 ;
8326 unsigned char arg6
= (unsigned char) 0 ;
8327 unsigned char arg7
= (unsigned char) 0 ;
8329 unsigned char temp2
;
8330 unsigned char temp3
;
8331 unsigned char temp4
;
8332 PyObject
* obj0
= 0 ;
8333 PyObject
* obj1
= 0 ;
8334 PyObject
* obj2
= 0 ;
8335 PyObject
* obj3
= 0 ;
8337 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8347 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8348 if (PyErr_Occurred()) SWIG_fail
;
8351 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8352 if (PyErr_Occurred()) SWIG_fail
;
8355 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8356 if (PyErr_Occurred()) SWIG_fail
;
8359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8360 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8362 wxPyEndAllowThreads(__tstate
);
8363 if (PyErr_Occurred()) SWIG_fail
;
8365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8367 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8368 resultobj
= t_output_helper(resultobj
,o
);
8371 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8372 resultobj
= t_output_helper(resultobj
,o
);
8375 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8376 resultobj
= t_output_helper(resultobj
,o
);
8384 static PyObject
* ImageHistogram_swigregister(PyObject
*, PyObject
*args
) {
8386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8387 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8389 return Py_BuildValue((char *)"");
8391 static PyObject
*_wrap_new_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8392 PyObject
*resultobj
;
8393 wxString
*arg1
= 0 ;
8394 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8395 int arg3
= (int) -1 ;
8397 bool temp1
= False
;
8398 PyObject
* obj0
= 0 ;
8399 PyObject
* obj1
= 0 ;
8400 PyObject
* obj2
= 0 ;
8402 (char *) "name",(char *) "type",(char *) "index", NULL
8405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8407 arg1
= wxString_in_helper(obj0
);
8408 if (arg1
== NULL
) SWIG_fail
;
8412 arg2
= (long) SWIG_AsLong(obj1
);
8413 if (PyErr_Occurred()) SWIG_fail
;
8416 arg3
= (int) SWIG_AsInt(obj2
);
8417 if (PyErr_Occurred()) SWIG_fail
;
8420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8421 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8423 wxPyEndAllowThreads(__tstate
);
8424 if (PyErr_Occurred()) SWIG_fail
;
8426 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8441 static PyObject
*_wrap_delete_Image(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8442 PyObject
*resultobj
;
8443 wxImage
*arg1
= (wxImage
*) 0 ;
8444 PyObject
* obj0
= 0 ;
8446 (char *) "self", NULL
8449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8456 wxPyEndAllowThreads(__tstate
);
8457 if (PyErr_Occurred()) SWIG_fail
;
8459 Py_INCREF(Py_None
); resultobj
= Py_None
;
8466 static PyObject
*_wrap_new_ImageFromMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8467 PyObject
*resultobj
;
8468 wxString
*arg1
= 0 ;
8469 wxString
*arg2
= 0 ;
8470 int arg3
= (int) -1 ;
8472 bool temp1
= False
;
8473 bool temp2
= False
;
8474 PyObject
* obj0
= 0 ;
8475 PyObject
* obj1
= 0 ;
8476 PyObject
* obj2
= 0 ;
8478 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8483 arg1
= wxString_in_helper(obj0
);
8484 if (arg1
== NULL
) SWIG_fail
;
8488 arg2
= wxString_in_helper(obj1
);
8489 if (arg2
== NULL
) SWIG_fail
;
8493 arg3
= (int) SWIG_AsInt(obj2
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8498 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8500 wxPyEndAllowThreads(__tstate
);
8501 if (PyErr_Occurred()) SWIG_fail
;
8503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8526 static PyObject
*_wrap_new_ImageFromStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8527 PyObject
*resultobj
;
8528 wxInputStream
*arg1
= 0 ;
8529 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8530 int arg3
= (int) -1 ;
8532 wxPyInputStream
*temp1
;
8534 PyObject
* obj0
= 0 ;
8535 PyObject
* obj1
= 0 ;
8536 PyObject
* obj2
= 0 ;
8538 (char *) "stream",(char *) "type",(char *) "index", NULL
8541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8543 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8544 arg1
= temp1
->m_wxis
;
8547 PyErr_Clear(); // clear the failure of the wxPyConvert above
8548 arg1
= wxPyCBInputStream_create(obj0
, False
);
8550 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8557 arg2
= (long) SWIG_AsLong(obj1
);
8558 if (PyErr_Occurred()) SWIG_fail
;
8561 arg3
= (int) SWIG_AsInt(obj2
);
8562 if (PyErr_Occurred()) SWIG_fail
;
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8586 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxInputStream
*arg1
= 0 ;
8589 wxString
*arg2
= 0 ;
8590 int arg3
= (int) -1 ;
8592 wxPyInputStream
*temp1
;
8594 bool temp2
= False
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8597 PyObject
* obj2
= 0 ;
8599 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8604 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8605 arg1
= temp1
->m_wxis
;
8608 PyErr_Clear(); // clear the failure of the wxPyConvert above
8609 arg1
= wxPyCBInputStream_create(obj0
, False
);
8611 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8618 arg2
= wxString_in_helper(obj1
);
8619 if (arg2
== NULL
) SWIG_fail
;
8623 arg3
= (int) SWIG_AsInt(obj2
);
8624 if (PyErr_Occurred()) SWIG_fail
;
8627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8628 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8630 wxPyEndAllowThreads(__tstate
);
8631 if (PyErr_Occurred()) SWIG_fail
;
8633 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8656 static PyObject
*_wrap_new_EmptyImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8657 PyObject
*resultobj
;
8658 int arg1
= (int) 0 ;
8659 int arg2
= (int) 0 ;
8660 bool arg3
= (bool) True
;
8662 PyObject
* obj0
= 0 ;
8663 PyObject
* obj1
= 0 ;
8664 PyObject
* obj2
= 0 ;
8666 (char *) "width",(char *) "height",(char *) "clear", NULL
8669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8671 arg1
= (int) SWIG_AsInt(obj0
);
8672 if (PyErr_Occurred()) SWIG_fail
;
8675 arg2
= (int) SWIG_AsInt(obj1
);
8676 if (PyErr_Occurred()) SWIG_fail
;
8679 arg3
= (bool) SWIG_AsBool(obj2
);
8680 if (PyErr_Occurred()) SWIG_fail
;
8683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8684 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8686 wxPyEndAllowThreads(__tstate
);
8687 if (PyErr_Occurred()) SWIG_fail
;
8689 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8696 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8697 PyObject
*resultobj
;
8698 wxBitmap
*arg1
= 0 ;
8700 PyObject
* obj0
= 0 ;
8702 (char *) "bitmap", NULL
8705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8706 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8707 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8710 PyErr_SetString(PyExc_TypeError
,"null reference");
8714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8715 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8717 wxPyEndAllowThreads(__tstate
);
8718 if (PyErr_Occurred()) SWIG_fail
;
8720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8727 static PyObject
*_wrap_new_ImageFromData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8728 PyObject
*resultobj
;
8731 unsigned char *arg3
= (unsigned char *) 0 ;
8733 PyObject
* obj0
= 0 ;
8734 PyObject
* obj1
= 0 ;
8735 PyObject
* obj2
= 0 ;
8737 (char *) "width",(char *) "height",(char *) "data", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8741 arg1
= (int) SWIG_AsInt(obj0
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8743 arg2
= (int) SWIG_AsInt(obj1
);
8744 if (PyErr_Occurred()) SWIG_fail
;
8745 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8751 wxPyEndAllowThreads(__tstate
);
8752 if (PyErr_Occurred()) SWIG_fail
;
8754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8761 static PyObject
*_wrap_Image_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8762 PyObject
*resultobj
;
8763 wxImage
*arg1
= (wxImage
*) 0 ;
8766 PyObject
* obj0
= 0 ;
8767 PyObject
* obj1
= 0 ;
8768 PyObject
* obj2
= 0 ;
8770 (char *) "self",(char *) "width",(char *) "height", NULL
8773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8776 arg2
= (int) SWIG_AsInt(obj1
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8778 arg3
= (int) SWIG_AsInt(obj2
);
8779 if (PyErr_Occurred()) SWIG_fail
;
8781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8782 (arg1
)->Create(arg2
,arg3
);
8784 wxPyEndAllowThreads(__tstate
);
8785 if (PyErr_Occurred()) SWIG_fail
;
8787 Py_INCREF(Py_None
); resultobj
= Py_None
;
8794 static PyObject
*_wrap_Image_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8795 PyObject
*resultobj
;
8796 wxImage
*arg1
= (wxImage
*) 0 ;
8797 PyObject
* obj0
= 0 ;
8799 (char *) "self", NULL
8802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8809 wxPyEndAllowThreads(__tstate
);
8810 if (PyErr_Occurred()) SWIG_fail
;
8812 Py_INCREF(Py_None
); resultobj
= Py_None
;
8819 static PyObject
*_wrap_Image_Scale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxImage
*arg1
= (wxImage
*) 0 ;
8824 SwigValueWrapper
< wxImage
> result
;
8825 PyObject
* obj0
= 0 ;
8826 PyObject
* obj1
= 0 ;
8827 PyObject
* obj2
= 0 ;
8829 (char *) "self",(char *) "width",(char *) "height", NULL
8832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8835 arg2
= (int) SWIG_AsInt(obj1
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8837 arg3
= (int) SWIG_AsInt(obj2
);
8838 if (PyErr_Occurred()) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 result
= (arg1
)->Scale(arg2
,arg3
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8847 wxImage
* resultptr
;
8848 resultptr
= new wxImage((wxImage
&) result
);
8849 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8857 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8858 PyObject
*resultobj
;
8859 wxImage
*arg1
= (wxImage
*) 0 ;
8862 SwigValueWrapper
< wxImage
> result
;
8863 PyObject
* obj0
= 0 ;
8864 PyObject
* obj1
= 0 ;
8865 PyObject
* obj2
= 0 ;
8867 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8873 arg2
= (int) SWIG_AsInt(obj1
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8875 arg3
= (int) SWIG_AsInt(obj2
);
8876 if (PyErr_Occurred()) SWIG_fail
;
8878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8879 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8881 wxPyEndAllowThreads(__tstate
);
8882 if (PyErr_Occurred()) SWIG_fail
;
8885 wxImage
* resultptr
;
8886 resultptr
= new wxImage((wxImage
&) result
);
8887 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8895 static PyObject
*_wrap_Image_Rescale(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8896 PyObject
*resultobj
;
8897 wxImage
*arg1
= (wxImage
*) 0 ;
8901 PyObject
* obj0
= 0 ;
8902 PyObject
* obj1
= 0 ;
8903 PyObject
* obj2
= 0 ;
8905 (char *) "self",(char *) "width",(char *) "height", NULL
8908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8911 arg2
= (int) SWIG_AsInt(obj1
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8913 arg3
= (int) SWIG_AsInt(obj2
);
8914 if (PyErr_Occurred()) SWIG_fail
;
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8919 result
= (wxImage
*) &_result_ref
;
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8932 static PyObject
*_wrap_Image_SetRGB(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxImage
*arg1
= (wxImage
*) 0 ;
8937 unsigned char arg4
;
8938 unsigned char arg5
;
8939 unsigned char arg6
;
8940 PyObject
* obj0
= 0 ;
8941 PyObject
* obj1
= 0 ;
8942 PyObject
* obj2
= 0 ;
8943 PyObject
* obj3
= 0 ;
8944 PyObject
* obj4
= 0 ;
8945 PyObject
* obj5
= 0 ;
8947 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8953 arg2
= (int) SWIG_AsInt(obj1
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg3
= (int) SWIG_AsInt(obj2
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8957 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8959 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8961 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8967 wxPyEndAllowThreads(__tstate
);
8968 if (PyErr_Occurred()) SWIG_fail
;
8970 Py_INCREF(Py_None
); resultobj
= Py_None
;
8977 static PyObject
*_wrap_Image_GetRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
;
8979 wxImage
*arg1
= (wxImage
*) 0 ;
8982 unsigned char result
;
8983 PyObject
* obj0
= 0 ;
8984 PyObject
* obj1
= 0 ;
8985 PyObject
* obj2
= 0 ;
8987 (char *) "self",(char *) "x",(char *) "y", NULL
8990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8993 arg2
= (int) SWIG_AsInt(obj1
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8995 arg3
= (int) SWIG_AsInt(obj2
);
8996 if (PyErr_Occurred()) SWIG_fail
;
8998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8999 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
9001 wxPyEndAllowThreads(__tstate
);
9002 if (PyErr_Occurred()) SWIG_fail
;
9004 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9011 static PyObject
*_wrap_Image_GetGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9012 PyObject
*resultobj
;
9013 wxImage
*arg1
= (wxImage
*) 0 ;
9016 unsigned char result
;
9017 PyObject
* obj0
= 0 ;
9018 PyObject
* obj1
= 0 ;
9019 PyObject
* obj2
= 0 ;
9021 (char *) "self",(char *) "x",(char *) "y", NULL
9024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9025 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9027 arg2
= (int) SWIG_AsInt(obj1
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9029 arg3
= (int) SWIG_AsInt(obj2
);
9030 if (PyErr_Occurred()) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9045 static PyObject
*_wrap_Image_GetBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxImage
*arg1
= (wxImage
*) 0 ;
9050 unsigned char result
;
9051 PyObject
* obj0
= 0 ;
9052 PyObject
* obj1
= 0 ;
9053 PyObject
* obj2
= 0 ;
9055 (char *) "self",(char *) "x",(char *) "y", NULL
9058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9059 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9060 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9061 arg2
= (int) SWIG_AsInt(obj1
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9063 arg3
= (int) SWIG_AsInt(obj2
);
9064 if (PyErr_Occurred()) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9079 static PyObject
*_wrap_Image_SetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxImage
*arg1
= (wxImage
*) 0 ;
9084 unsigned char arg4
;
9085 PyObject
* obj0
= 0 ;
9086 PyObject
* obj1
= 0 ;
9087 PyObject
* obj2
= 0 ;
9088 PyObject
* obj3
= 0 ;
9090 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9096 arg2
= (int) SWIG_AsInt(obj1
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9098 arg3
= (int) SWIG_AsInt(obj2
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9100 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9101 if (PyErr_Occurred()) SWIG_fail
;
9103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9104 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9106 wxPyEndAllowThreads(__tstate
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9109 Py_INCREF(Py_None
); resultobj
= Py_None
;
9116 static PyObject
*_wrap_Image_GetAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9117 PyObject
*resultobj
;
9118 wxImage
*arg1
= (wxImage
*) 0 ;
9121 unsigned char result
;
9122 PyObject
* obj0
= 0 ;
9123 PyObject
* obj1
= 0 ;
9124 PyObject
* obj2
= 0 ;
9126 (char *) "self",(char *) "x",(char *) "y", NULL
9129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9132 arg2
= (int) SWIG_AsInt(obj1
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9134 arg3
= (int) SWIG_AsInt(obj2
);
9135 if (PyErr_Occurred()) SWIG_fail
;
9137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9138 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9140 wxPyEndAllowThreads(__tstate
);
9141 if (PyErr_Occurred()) SWIG_fail
;
9143 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9150 static PyObject
*_wrap_Image_HasAlpha(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9151 PyObject
*resultobj
;
9152 wxImage
*arg1
= (wxImage
*) 0 ;
9154 PyObject
* obj0
= 0 ;
9156 (char *) "self", NULL
9159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9160 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9161 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9164 result
= (bool)(arg1
)->HasAlpha();
9166 wxPyEndAllowThreads(__tstate
);
9167 if (PyErr_Occurred()) SWIG_fail
;
9169 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9176 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9177 PyObject
*resultobj
;
9178 wxImage
*arg1
= (wxImage
*) 0 ;
9179 byte
*arg2
= (byte
*) 0 ;
9180 byte
*arg3
= (byte
*) 0 ;
9181 byte
*arg4
= (byte
*) 0 ;
9182 byte arg5
= (byte
) 0 ;
9183 byte arg6
= (byte
) 0 ;
9184 byte arg7
= (byte
) 0 ;
9189 PyObject
* obj0
= 0 ;
9190 PyObject
* obj1
= 0 ;
9191 PyObject
* obj2
= 0 ;
9192 PyObject
* obj3
= 0 ;
9194 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9204 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9205 if (PyErr_Occurred()) SWIG_fail
;
9208 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9209 if (PyErr_Occurred()) SWIG_fail
;
9212 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9224 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9225 resultobj
= t_output_helper(resultobj
,o
);
9228 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9229 resultobj
= t_output_helper(resultobj
,o
);
9232 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9233 resultobj
= t_output_helper(resultobj
,o
);
9241 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxImage
*arg1
= (wxImage
*) 0 ;
9249 PyObject
* obj0
= 0 ;
9250 PyObject
* obj1
= 0 ;
9251 PyObject
* obj2
= 0 ;
9252 PyObject
* obj3
= 0 ;
9253 PyObject
* obj4
= 0 ;
9255 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9261 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9262 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9265 PyErr_SetString(PyExc_TypeError
,"null reference");
9268 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9270 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9272 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9273 if (PyErr_Occurred()) SWIG_fail
;
9275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9276 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9278 wxPyEndAllowThreads(__tstate
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9288 static PyObject
*_wrap_Image_CanRead(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9289 PyObject
*resultobj
;
9290 wxString
*arg1
= 0 ;
9292 bool temp1
= False
;
9293 PyObject
* obj0
= 0 ;
9295 (char *) "name", NULL
9298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9300 arg1
= wxString_in_helper(obj0
);
9301 if (arg1
== NULL
) SWIG_fail
;
9305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9306 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9326 static PyObject
*_wrap_Image_GetImageCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9327 PyObject
*resultobj
;
9328 wxString
*arg1
= 0 ;
9329 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9331 bool temp1
= False
;
9332 PyObject
* obj0
= 0 ;
9333 PyObject
* obj1
= 0 ;
9335 (char *) "name",(char *) "type", NULL
9338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9340 arg1
= wxString_in_helper(obj0
);
9341 if (arg1
== NULL
) SWIG_fail
;
9345 arg2
= (long) SWIG_AsLong(obj1
);
9346 if (PyErr_Occurred()) SWIG_fail
;
9349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9350 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9352 wxPyEndAllowThreads(__tstate
);
9353 if (PyErr_Occurred()) SWIG_fail
;
9355 resultobj
= SWIG_FromInt((int)result
);
9370 static PyObject
*_wrap_Image_LoadFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9371 PyObject
*resultobj
;
9372 wxImage
*arg1
= (wxImage
*) 0 ;
9373 wxString
*arg2
= 0 ;
9374 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9375 int arg4
= (int) -1 ;
9377 bool temp2
= False
;
9378 PyObject
* obj0
= 0 ;
9379 PyObject
* obj1
= 0 ;
9380 PyObject
* obj2
= 0 ;
9381 PyObject
* obj3
= 0 ;
9383 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9387 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9388 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9390 arg2
= wxString_in_helper(obj1
);
9391 if (arg2
== NULL
) SWIG_fail
;
9395 arg3
= (long) SWIG_AsLong(obj2
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9399 arg4
= (int) SWIG_AsInt(obj3
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9404 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9424 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9425 PyObject
*resultobj
;
9426 wxImage
*arg1
= (wxImage
*) 0 ;
9427 wxString
*arg2
= 0 ;
9428 wxString
*arg3
= 0 ;
9429 int arg4
= (int) -1 ;
9431 bool temp2
= False
;
9432 bool temp3
= False
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9435 PyObject
* obj2
= 0 ;
9436 PyObject
* obj3
= 0 ;
9438 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9443 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9445 arg2
= wxString_in_helper(obj1
);
9446 if (arg2
== NULL
) SWIG_fail
;
9450 arg3
= wxString_in_helper(obj2
);
9451 if (arg3
== NULL
) SWIG_fail
;
9455 arg4
= (int) SWIG_AsInt(obj3
);
9456 if (PyErr_Occurred()) SWIG_fail
;
9459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9460 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9462 wxPyEndAllowThreads(__tstate
);
9463 if (PyErr_Occurred()) SWIG_fail
;
9465 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9488 static PyObject
*_wrap_Image_SaveFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9489 PyObject
*resultobj
;
9490 wxImage
*arg1
= (wxImage
*) 0 ;
9491 wxString
*arg2
= 0 ;
9494 bool temp2
= False
;
9495 PyObject
* obj0
= 0 ;
9496 PyObject
* obj1
= 0 ;
9497 PyObject
* obj2
= 0 ;
9499 (char *) "self",(char *) "name",(char *) "type", NULL
9502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9506 arg2
= wxString_in_helper(obj1
);
9507 if (arg2
== NULL
) SWIG_fail
;
9510 arg3
= (int) SWIG_AsInt(obj2
);
9511 if (PyErr_Occurred()) SWIG_fail
;
9513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9514 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9516 wxPyEndAllowThreads(__tstate
);
9517 if (PyErr_Occurred()) SWIG_fail
;
9519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9534 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9535 PyObject
*resultobj
;
9536 wxImage
*arg1
= (wxImage
*) 0 ;
9537 wxString
*arg2
= 0 ;
9538 wxString
*arg3
= 0 ;
9540 bool temp2
= False
;
9541 bool temp3
= False
;
9542 PyObject
* obj0
= 0 ;
9543 PyObject
* obj1
= 0 ;
9544 PyObject
* obj2
= 0 ;
9546 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9553 arg2
= wxString_in_helper(obj1
);
9554 if (arg2
== NULL
) SWIG_fail
;
9558 arg3
= wxString_in_helper(obj2
);
9559 if (arg3
== NULL
) SWIG_fail
;
9563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9564 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9566 wxPyEndAllowThreads(__tstate
);
9567 if (PyErr_Occurred()) SWIG_fail
;
9569 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9592 static PyObject
*_wrap_Image_CanReadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9593 PyObject
*resultobj
;
9594 wxInputStream
*arg1
= 0 ;
9596 wxPyInputStream
*temp1
;
9598 PyObject
* obj0
= 0 ;
9600 (char *) "stream", NULL
9603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9605 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9606 arg1
= temp1
->m_wxis
;
9609 PyErr_Clear(); // clear the failure of the wxPyConvert above
9610 arg1
= wxPyCBInputStream_create(obj0
, False
);
9612 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9620 result
= (bool)wxImage::CanRead(*arg1
);
9622 wxPyEndAllowThreads(__tstate
);
9623 if (PyErr_Occurred()) SWIG_fail
;
9625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9640 static PyObject
*_wrap_Image_LoadStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxImage
*arg1
= (wxImage
*) 0 ;
9643 wxInputStream
*arg2
= 0 ;
9644 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9645 int arg4
= (int) -1 ;
9647 wxPyInputStream
*temp2
;
9649 PyObject
* obj0
= 0 ;
9650 PyObject
* obj1
= 0 ;
9651 PyObject
* obj2
= 0 ;
9652 PyObject
* obj3
= 0 ;
9654 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9661 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9662 arg2
= temp2
->m_wxis
;
9665 PyErr_Clear(); // clear the failure of the wxPyConvert above
9666 arg2
= wxPyCBInputStream_create(obj1
, False
);
9668 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9675 arg3
= (long) SWIG_AsLong(obj2
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 arg4
= (int) SWIG_AsInt(obj3
);
9680 if (PyErr_Occurred()) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9704 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9706 wxImage
*arg1
= (wxImage
*) 0 ;
9707 wxInputStream
*arg2
= 0 ;
9708 wxString
*arg3
= 0 ;
9709 int arg4
= (int) -1 ;
9711 wxPyInputStream
*temp2
;
9713 bool temp3
= False
;
9714 PyObject
* obj0
= 0 ;
9715 PyObject
* obj1
= 0 ;
9716 PyObject
* obj2
= 0 ;
9717 PyObject
* obj3
= 0 ;
9719 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9723 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9724 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9726 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9727 arg2
= temp2
->m_wxis
;
9730 PyErr_Clear(); // clear the failure of the wxPyConvert above
9731 arg2
= wxPyCBInputStream_create(obj1
, False
);
9733 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9740 arg3
= wxString_in_helper(obj2
);
9741 if (arg3
== NULL
) SWIG_fail
;
9745 arg4
= (int) SWIG_AsInt(obj3
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9750 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9752 wxPyEndAllowThreads(__tstate
);
9753 if (PyErr_Occurred()) SWIG_fail
;
9755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9778 static PyObject
*_wrap_Image_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9779 PyObject
*resultobj
;
9780 wxImage
*arg1
= (wxImage
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9784 (char *) "self", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9792 result
= (bool)(arg1
)->Ok();
9794 wxPyEndAllowThreads(__tstate
);
9795 if (PyErr_Occurred()) SWIG_fail
;
9797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9804 static PyObject
*_wrap_Image_GetWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9805 PyObject
*resultobj
;
9806 wxImage
*arg1
= (wxImage
*) 0 ;
9808 PyObject
* obj0
= 0 ;
9810 (char *) "self", NULL
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 result
= (int)(arg1
)->GetWidth();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 resultobj
= SWIG_FromInt((int)result
);
9830 static PyObject
*_wrap_Image_GetHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9831 PyObject
*resultobj
;
9832 wxImage
*arg1
= (wxImage
*) 0 ;
9834 PyObject
* obj0
= 0 ;
9836 (char *) "self", NULL
9839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= (int)(arg1
)->GetHeight();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9849 resultobj
= SWIG_FromInt((int)result
);
9856 static PyObject
*_wrap_Image_GetSubImage(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9857 PyObject
*resultobj
;
9858 wxImage
*arg1
= (wxImage
*) 0 ;
9860 SwigValueWrapper
< wxImage
> result
;
9862 PyObject
* obj0
= 0 ;
9863 PyObject
* obj1
= 0 ;
9865 (char *) "self",(char *) "rect", NULL
9868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9873 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9877 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9879 wxPyEndAllowThreads(__tstate
);
9880 if (PyErr_Occurred()) SWIG_fail
;
9883 wxImage
* resultptr
;
9884 resultptr
= new wxImage((wxImage
&) result
);
9885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9893 static PyObject
*_wrap_Image_Copy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9894 PyObject
*resultobj
;
9895 wxImage
*arg1
= (wxImage
*) 0 ;
9896 SwigValueWrapper
< wxImage
> result
;
9897 PyObject
* obj0
= 0 ;
9899 (char *) "self", NULL
9902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9907 result
= (arg1
)->Copy();
9909 wxPyEndAllowThreads(__tstate
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9913 wxImage
* resultptr
;
9914 resultptr
= new wxImage((wxImage
&) result
);
9915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9923 static PyObject
*_wrap_Image_Paste(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9924 PyObject
*resultobj
;
9925 wxImage
*arg1
= (wxImage
*) 0 ;
9929 PyObject
* obj0
= 0 ;
9930 PyObject
* obj1
= 0 ;
9931 PyObject
* obj2
= 0 ;
9932 PyObject
* obj3
= 0 ;
9934 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9940 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9941 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9944 PyErr_SetString(PyExc_TypeError
,"null reference");
9947 arg3
= (int) SWIG_AsInt(obj2
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9949 arg4
= (int) SWIG_AsInt(obj3
);
9950 if (PyErr_Occurred()) SWIG_fail
;
9952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9953 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9955 wxPyEndAllowThreads(__tstate
);
9956 if (PyErr_Occurred()) SWIG_fail
;
9958 Py_INCREF(Py_None
); resultobj
= Py_None
;
9965 static PyObject
*_wrap_Image_GetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9966 PyObject
*resultobj
;
9967 wxImage
*arg1
= (wxImage
*) 0 ;
9969 PyObject
* obj0
= 0 ;
9971 (char *) "self", NULL
9974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9975 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9976 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9979 result
= (PyObject
*)wxImage_GetData(arg1
);
9981 wxPyEndAllowThreads(__tstate
);
9982 if (PyErr_Occurred()) SWIG_fail
;
9991 static PyObject
*_wrap_Image_SetData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
9992 PyObject
*resultobj
;
9993 wxImage
*arg1
= (wxImage
*) 0 ;
9994 PyObject
*arg2
= (PyObject
*) 0 ;
9995 PyObject
* obj0
= 0 ;
9996 PyObject
* obj1
= 0 ;
9998 (char *) "self",(char *) "data", NULL
10001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10007 wxImage_SetData(arg1
,arg2
);
10009 wxPyEndAllowThreads(__tstate
);
10010 if (PyErr_Occurred()) SWIG_fail
;
10012 Py_INCREF(Py_None
); resultobj
= Py_None
;
10019 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10020 PyObject
*resultobj
;
10021 wxImage
*arg1
= (wxImage
*) 0 ;
10023 PyObject
* obj0
= 0 ;
10024 char *kwnames
[] = {
10025 (char *) "self", NULL
10028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10033 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10035 wxPyEndAllowThreads(__tstate
);
10036 if (PyErr_Occurred()) SWIG_fail
;
10038 resultobj
= result
;
10045 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10046 PyObject
*resultobj
;
10047 wxImage
*arg1
= (wxImage
*) 0 ;
10048 PyObject
*arg2
= (PyObject
*) 0 ;
10049 PyObject
* obj0
= 0 ;
10050 PyObject
* obj1
= 0 ;
10051 char *kwnames
[] = {
10052 (char *) "self",(char *) "data", NULL
10055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10061 wxImage_SetDataBuffer(arg1
,arg2
);
10063 wxPyEndAllowThreads(__tstate
);
10064 if (PyErr_Occurred()) SWIG_fail
;
10066 Py_INCREF(Py_None
); resultobj
= Py_None
;
10073 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10074 PyObject
*resultobj
;
10075 wxImage
*arg1
= (wxImage
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 char *kwnames
[] = {
10079 (char *) "self", NULL
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10087 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10089 wxPyEndAllowThreads(__tstate
);
10090 if (PyErr_Occurred()) SWIG_fail
;
10092 resultobj
= result
;
10099 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10100 PyObject
*resultobj
;
10101 wxImage
*arg1
= (wxImage
*) 0 ;
10102 PyObject
*arg2
= (PyObject
*) 0 ;
10103 PyObject
* obj0
= 0 ;
10104 PyObject
* obj1
= 0 ;
10105 char *kwnames
[] = {
10106 (char *) "self",(char *) "data", NULL
10109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10115 wxImage_SetAlphaData(arg1
,arg2
);
10117 wxPyEndAllowThreads(__tstate
);
10118 if (PyErr_Occurred()) SWIG_fail
;
10120 Py_INCREF(Py_None
); resultobj
= Py_None
;
10127 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10128 PyObject
*resultobj
;
10129 wxImage
*arg1
= (wxImage
*) 0 ;
10131 PyObject
* obj0
= 0 ;
10132 char *kwnames
[] = {
10133 (char *) "self", NULL
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10141 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10143 wxPyEndAllowThreads(__tstate
);
10144 if (PyErr_Occurred()) SWIG_fail
;
10146 resultobj
= result
;
10153 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10154 PyObject
*resultobj
;
10155 wxImage
*arg1
= (wxImage
*) 0 ;
10156 PyObject
*arg2
= (PyObject
*) 0 ;
10157 PyObject
* obj0
= 0 ;
10158 PyObject
* obj1
= 0 ;
10159 char *kwnames
[] = {
10160 (char *) "self",(char *) "data", NULL
10163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10169 wxImage_SetAlphaBuffer(arg1
,arg2
);
10171 wxPyEndAllowThreads(__tstate
);
10172 if (PyErr_Occurred()) SWIG_fail
;
10174 Py_INCREF(Py_None
); resultobj
= Py_None
;
10181 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10182 PyObject
*resultobj
;
10183 wxImage
*arg1
= (wxImage
*) 0 ;
10184 unsigned char arg2
;
10185 unsigned char arg3
;
10186 unsigned char arg4
;
10187 PyObject
* obj0
= 0 ;
10188 PyObject
* obj1
= 0 ;
10189 PyObject
* obj2
= 0 ;
10190 PyObject
* obj3
= 0 ;
10191 char *kwnames
[] = {
10192 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10198 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10200 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10202 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10206 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10208 wxPyEndAllowThreads(__tstate
);
10209 if (PyErr_Occurred()) SWIG_fail
;
10211 Py_INCREF(Py_None
); resultobj
= Py_None
;
10218 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10219 PyObject
*resultobj
;
10220 wxImage
*arg1
= (wxImage
*) 0 ;
10221 unsigned char result
;
10222 PyObject
* obj0
= 0 ;
10223 char *kwnames
[] = {
10224 (char *) "self", NULL
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10232 result
= (unsigned char)(arg1
)->GetMaskRed();
10234 wxPyEndAllowThreads(__tstate
);
10235 if (PyErr_Occurred()) SWIG_fail
;
10237 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10244 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10245 PyObject
*resultobj
;
10246 wxImage
*arg1
= (wxImage
*) 0 ;
10247 unsigned char result
;
10248 PyObject
* obj0
= 0 ;
10249 char *kwnames
[] = {
10250 (char *) "self", NULL
10253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (unsigned char)(arg1
)->GetMaskGreen();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10270 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10271 PyObject
*resultobj
;
10272 wxImage
*arg1
= (wxImage
*) 0 ;
10273 unsigned char result
;
10274 PyObject
* obj0
= 0 ;
10275 char *kwnames
[] = {
10276 (char *) "self", NULL
10279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (unsigned char)(arg1
)->GetMaskBlue();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10289 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10296 static PyObject
*_wrap_Image_SetMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10297 PyObject
*resultobj
;
10298 wxImage
*arg1
= (wxImage
*) 0 ;
10299 bool arg2
= (bool) True
;
10300 PyObject
* obj0
= 0 ;
10301 PyObject
* obj1
= 0 ;
10302 char *kwnames
[] = {
10303 (char *) "self",(char *) "mask", NULL
10306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10310 arg2
= (bool) SWIG_AsBool(obj1
);
10311 if (PyErr_Occurred()) SWIG_fail
;
10314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10315 (arg1
)->SetMask(arg2
);
10317 wxPyEndAllowThreads(__tstate
);
10318 if (PyErr_Occurred()) SWIG_fail
;
10320 Py_INCREF(Py_None
); resultobj
= Py_None
;
10327 static PyObject
*_wrap_Image_HasMask(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10328 PyObject
*resultobj
;
10329 wxImage
*arg1
= (wxImage
*) 0 ;
10331 PyObject
* obj0
= 0 ;
10332 char *kwnames
[] = {
10333 (char *) "self", NULL
10336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10337 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10338 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10341 result
= (bool)(arg1
)->HasMask();
10343 wxPyEndAllowThreads(__tstate
);
10344 if (PyErr_Occurred()) SWIG_fail
;
10346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10353 static PyObject
*_wrap_Image_Rotate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10354 PyObject
*resultobj
;
10355 wxImage
*arg1
= (wxImage
*) 0 ;
10357 wxPoint
*arg3
= 0 ;
10358 bool arg4
= (bool) True
;
10359 wxPoint
*arg5
= (wxPoint
*) NULL
;
10360 SwigValueWrapper
< wxImage
> result
;
10362 PyObject
* obj0
= 0 ;
10363 PyObject
* obj1
= 0 ;
10364 PyObject
* obj2
= 0 ;
10365 PyObject
* obj3
= 0 ;
10366 PyObject
* obj4
= 0 ;
10367 char *kwnames
[] = {
10368 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10374 arg2
= (double) SWIG_AsDouble(obj1
);
10375 if (PyErr_Occurred()) SWIG_fail
;
10378 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10381 arg4
= (bool) SWIG_AsBool(obj3
);
10382 if (PyErr_Occurred()) SWIG_fail
;
10385 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10390 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10392 wxPyEndAllowThreads(__tstate
);
10393 if (PyErr_Occurred()) SWIG_fail
;
10396 wxImage
* resultptr
;
10397 resultptr
= new wxImage((wxImage
&) result
);
10398 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10406 static PyObject
*_wrap_Image_Rotate90(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxImage
*arg1
= (wxImage
*) 0 ;
10409 bool arg2
= (bool) True
;
10410 SwigValueWrapper
< wxImage
> result
;
10411 PyObject
* obj0
= 0 ;
10412 PyObject
* obj1
= 0 ;
10413 char *kwnames
[] = {
10414 (char *) "self",(char *) "clockwise", NULL
10417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10421 arg2
= (bool) SWIG_AsBool(obj1
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10426 result
= (arg1
)->Rotate90(arg2
);
10428 wxPyEndAllowThreads(__tstate
);
10429 if (PyErr_Occurred()) SWIG_fail
;
10432 wxImage
* resultptr
;
10433 resultptr
= new wxImage((wxImage
&) result
);
10434 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10442 static PyObject
*_wrap_Image_Mirror(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10443 PyObject
*resultobj
;
10444 wxImage
*arg1
= (wxImage
*) 0 ;
10445 bool arg2
= (bool) True
;
10446 SwigValueWrapper
< wxImage
> result
;
10447 PyObject
* obj0
= 0 ;
10448 PyObject
* obj1
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self",(char *) "horizontally", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10455 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10457 arg2
= (bool) SWIG_AsBool(obj1
);
10458 if (PyErr_Occurred()) SWIG_fail
;
10461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10462 result
= (arg1
)->Mirror(arg2
);
10464 wxPyEndAllowThreads(__tstate
);
10465 if (PyErr_Occurred()) SWIG_fail
;
10468 wxImage
* resultptr
;
10469 resultptr
= new wxImage((wxImage
&) result
);
10470 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10478 static PyObject
*_wrap_Image_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10479 PyObject
*resultobj
;
10480 wxImage
*arg1
= (wxImage
*) 0 ;
10481 unsigned char arg2
;
10482 unsigned char arg3
;
10483 unsigned char arg4
;
10484 unsigned char arg5
;
10485 unsigned char arg6
;
10486 unsigned char arg7
;
10487 PyObject
* obj0
= 0 ;
10488 PyObject
* obj1
= 0 ;
10489 PyObject
* obj2
= 0 ;
10490 PyObject
* obj3
= 0 ;
10491 PyObject
* obj4
= 0 ;
10492 PyObject
* obj5
= 0 ;
10493 PyObject
* obj6
= 0 ;
10494 char *kwnames
[] = {
10495 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10501 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10503 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10505 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10507 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10509 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10511 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10512 if (PyErr_Occurred()) SWIG_fail
;
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10517 wxPyEndAllowThreads(__tstate
);
10518 if (PyErr_Occurred()) SWIG_fail
;
10520 Py_INCREF(Py_None
); resultobj
= Py_None
;
10527 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10528 PyObject
*resultobj
;
10529 wxImage
*arg1
= (wxImage
*) 0 ;
10530 unsigned char arg2
;
10531 unsigned char arg3
;
10532 unsigned char arg4
;
10533 SwigValueWrapper
< wxImage
> result
;
10534 PyObject
* obj0
= 0 ;
10535 PyObject
* obj1
= 0 ;
10536 PyObject
* obj2
= 0 ;
10537 PyObject
* obj3
= 0 ;
10538 char *kwnames
[] = {
10539 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10545 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10547 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10549 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10550 if (PyErr_Occurred()) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10559 wxImage
* resultptr
;
10560 resultptr
= new wxImage((wxImage
&) result
);
10561 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10569 static PyObject
*_wrap_Image_SetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10570 PyObject
*resultobj
;
10571 wxImage
*arg1
= (wxImage
*) 0 ;
10572 wxString
*arg2
= 0 ;
10573 wxString
*arg3
= 0 ;
10574 bool temp2
= False
;
10575 bool temp3
= False
;
10576 PyObject
* obj0
= 0 ;
10577 PyObject
* obj1
= 0 ;
10578 PyObject
* obj2
= 0 ;
10579 char *kwnames
[] = {
10580 (char *) "self",(char *) "name",(char *) "value", NULL
10583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10587 arg2
= wxString_in_helper(obj1
);
10588 if (arg2
== NULL
) SWIG_fail
;
10592 arg3
= wxString_in_helper(obj2
);
10593 if (arg3
== NULL
) SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 Py_INCREF(Py_None
); resultobj
= Py_None
;
10626 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10627 PyObject
*resultobj
;
10628 wxImage
*arg1
= (wxImage
*) 0 ;
10629 wxString
*arg2
= 0 ;
10631 bool temp2
= False
;
10632 PyObject
* obj0
= 0 ;
10633 PyObject
* obj1
= 0 ;
10634 PyObject
* obj2
= 0 ;
10635 char *kwnames
[] = {
10636 (char *) "self",(char *) "name",(char *) "value", NULL
10639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10643 arg2
= wxString_in_helper(obj1
);
10644 if (arg2
== NULL
) SWIG_fail
;
10647 arg3
= (int) SWIG_AsInt(obj2
);
10648 if (PyErr_Occurred()) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_Image_GetOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxImage
*arg1
= (wxImage
*) 0 ;
10674 wxString
*arg2
= 0 ;
10676 bool temp2
= False
;
10677 PyObject
* obj0
= 0 ;
10678 PyObject
* obj1
= 0 ;
10679 char *kwnames
[] = {
10680 (char *) "self",(char *) "name", NULL
10683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10687 arg2
= wxString_in_helper(obj1
);
10688 if (arg2
== NULL
) SWIG_fail
;
10692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10693 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10695 wxPyEndAllowThreads(__tstate
);
10696 if (PyErr_Occurred()) SWIG_fail
;
10700 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10702 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10719 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxImage
*arg1
= (wxImage
*) 0 ;
10722 wxString
*arg2
= 0 ;
10724 bool temp2
= False
;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "name", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10733 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10735 arg2
= wxString_in_helper(obj1
);
10736 if (arg2
== NULL
) SWIG_fail
;
10740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10741 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10743 wxPyEndAllowThreads(__tstate
);
10744 if (PyErr_Occurred()) SWIG_fail
;
10746 resultobj
= SWIG_FromInt((int)result
);
10761 static PyObject
*_wrap_Image_HasOption(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10762 PyObject
*resultobj
;
10763 wxImage
*arg1
= (wxImage
*) 0 ;
10764 wxString
*arg2
= 0 ;
10766 bool temp2
= False
;
10767 PyObject
* obj0
= 0 ;
10768 PyObject
* obj1
= 0 ;
10769 char *kwnames
[] = {
10770 (char *) "self",(char *) "name", NULL
10773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10777 arg2
= wxString_in_helper(obj1
);
10778 if (arg2
== NULL
) SWIG_fail
;
10782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10783 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10803 static PyObject
*_wrap_Image_CountColours(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10804 PyObject
*resultobj
;
10805 wxImage
*arg1
= (wxImage
*) 0 ;
10806 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10807 unsigned long result
;
10808 PyObject
* obj0
= 0 ;
10809 PyObject
* obj1
= 0 ;
10810 char *kwnames
[] = {
10811 (char *) "self",(char *) "stopafter", NULL
10814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10815 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10816 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10818 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10819 if (PyErr_Occurred()) SWIG_fail
;
10822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10823 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10825 wxPyEndAllowThreads(__tstate
);
10826 if (PyErr_Occurred()) SWIG_fail
;
10828 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10835 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10836 PyObject
*resultobj
;
10837 wxImage
*arg1
= (wxImage
*) 0 ;
10838 wxImageHistogram
*arg2
= 0 ;
10839 unsigned long result
;
10840 PyObject
* obj0
= 0 ;
10841 PyObject
* obj1
= 0 ;
10842 char *kwnames
[] = {
10843 (char *) "self",(char *) "h", NULL
10846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10852 if (arg2
== NULL
) {
10853 PyErr_SetString(PyExc_TypeError
,"null reference");
10857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10858 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10860 wxPyEndAllowThreads(__tstate
);
10861 if (PyErr_Occurred()) SWIG_fail
;
10863 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10870 static PyObject
*_wrap_Image_AddHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10871 PyObject
*resultobj
;
10872 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10873 PyObject
* obj0
= 0 ;
10874 char *kwnames
[] = {
10875 (char *) "handler", NULL
10878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10883 wxImage::AddHandler(arg1
);
10885 wxPyEndAllowThreads(__tstate
);
10886 if (PyErr_Occurred()) SWIG_fail
;
10888 Py_INCREF(Py_None
); resultobj
= Py_None
;
10895 static PyObject
*_wrap_Image_InsertHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10896 PyObject
*resultobj
;
10897 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10898 PyObject
* obj0
= 0 ;
10899 char *kwnames
[] = {
10900 (char *) "handler", NULL
10903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10908 wxImage::InsertHandler(arg1
);
10910 wxPyEndAllowThreads(__tstate
);
10911 if (PyErr_Occurred()) SWIG_fail
;
10913 Py_INCREF(Py_None
); resultobj
= Py_None
;
10920 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10921 PyObject
*resultobj
;
10922 wxString
*arg1
= 0 ;
10924 bool temp1
= False
;
10925 PyObject
* obj0
= 0 ;
10926 char *kwnames
[] = {
10927 (char *) "name", NULL
10930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10932 arg1
= wxString_in_helper(obj0
);
10933 if (arg1
== NULL
) SWIG_fail
;
10937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10938 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10940 wxPyEndAllowThreads(__tstate
);
10941 if (PyErr_Occurred()) SWIG_fail
;
10943 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10958 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10959 PyObject
*resultobj
;
10961 char *kwnames
[] = {
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= wxImage::GetImageExtWildcard();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10986 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
10987 PyObject
*resultobj
;
10988 wxImage
*arg1
= (wxImage
*) 0 ;
10990 PyObject
* obj0
= 0 ;
10991 char *kwnames
[] = {
10992 (char *) "self", NULL
10995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11000 result
= wxImage_ConvertToBitmap(arg1
);
11002 wxPyEndAllowThreads(__tstate
);
11003 if (PyErr_Occurred()) SWIG_fail
;
11006 wxBitmap
* resultptr
;
11007 resultptr
= new wxBitmap((wxBitmap
&) result
);
11008 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11016 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxImage
*arg1
= (wxImage
*) 0 ;
11019 unsigned char arg2
;
11020 unsigned char arg3
;
11021 unsigned char arg4
;
11023 PyObject
* obj0
= 0 ;
11024 PyObject
* obj1
= 0 ;
11025 PyObject
* obj2
= 0 ;
11026 PyObject
* obj3
= 0 ;
11027 char *kwnames
[] = {
11028 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11034 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11036 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11038 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11039 if (PyErr_Occurred()) SWIG_fail
;
11041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11042 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11044 wxPyEndAllowThreads(__tstate
);
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 wxBitmap
* resultptr
;
11049 resultptr
= new wxBitmap((wxBitmap
&) result
);
11050 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11058 static PyObject
* Image_swigregister(PyObject
*, PyObject
*args
) {
11060 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11063 return Py_BuildValue((char *)"");
11065 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11066 PyObject
*resultobj
;
11067 char *kwnames
[] = {
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 wxInitAllImageHandlers();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 Py_INCREF(Py_None
); resultobj
= Py_None
;
11086 static int _wrap_NullImage_set(PyObject
*) {
11087 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11092 static PyObject
*_wrap_NullImage_get() {
11095 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11100 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*) {
11101 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11106 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11111 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11113 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11120 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*) {
11121 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11126 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11131 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11133 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11140 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*) {
11141 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11146 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11151 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11153 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11160 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*) {
11161 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11166 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11171 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11173 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11180 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*) {
11181 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11186 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11191 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11193 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11200 static PyObject
*_wrap_new_BMPHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11201 PyObject
*resultobj
;
11202 wxBMPHandler
*result
;
11203 char *kwnames
[] = {
11207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11210 result
= (wxBMPHandler
*)new wxBMPHandler();
11212 wxPyEndAllowThreads(__tstate
);
11213 if (PyErr_Occurred()) SWIG_fail
;
11215 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11222 static PyObject
* BMPHandler_swigregister(PyObject
*, PyObject
*args
) {
11224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11225 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11227 return Py_BuildValue((char *)"");
11229 static PyObject
*_wrap_new_ICOHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxICOHandler
*result
;
11232 char *kwnames
[] = {
11236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11239 result
= (wxICOHandler
*)new wxICOHandler();
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11251 static PyObject
* ICOHandler_swigregister(PyObject
*, PyObject
*args
) {
11253 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11254 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11256 return Py_BuildValue((char *)"");
11258 static PyObject
*_wrap_new_CURHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11259 PyObject
*resultobj
;
11260 wxCURHandler
*result
;
11261 char *kwnames
[] = {
11265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxCURHandler
*)new wxCURHandler();
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11280 static PyObject
* CURHandler_swigregister(PyObject
*, PyObject
*args
) {
11282 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11283 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11285 return Py_BuildValue((char *)"");
11287 static PyObject
*_wrap_new_ANIHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11288 PyObject
*resultobj
;
11289 wxANIHandler
*result
;
11290 char *kwnames
[] = {
11294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11297 result
= (wxANIHandler
*)new wxANIHandler();
11299 wxPyEndAllowThreads(__tstate
);
11300 if (PyErr_Occurred()) SWIG_fail
;
11302 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11309 static PyObject
* ANIHandler_swigregister(PyObject
*, PyObject
*args
) {
11311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11312 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11314 return Py_BuildValue((char *)"");
11316 static PyObject
*_wrap_new_PNGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11317 PyObject
*resultobj
;
11318 wxPNGHandler
*result
;
11319 char *kwnames
[] = {
11323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11326 result
= (wxPNGHandler
*)new wxPNGHandler();
11328 wxPyEndAllowThreads(__tstate
);
11329 if (PyErr_Occurred()) SWIG_fail
;
11331 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11338 static PyObject
* PNGHandler_swigregister(PyObject
*, PyObject
*args
) {
11340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11341 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11343 return Py_BuildValue((char *)"");
11345 static PyObject
*_wrap_new_GIFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
;
11347 wxGIFHandler
*result
;
11348 char *kwnames
[] = {
11352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11355 result
= (wxGIFHandler
*)new wxGIFHandler();
11357 wxPyEndAllowThreads(__tstate
);
11358 if (PyErr_Occurred()) SWIG_fail
;
11360 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11367 static PyObject
* GIFHandler_swigregister(PyObject
*, PyObject
*args
) {
11369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11370 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11372 return Py_BuildValue((char *)"");
11374 static PyObject
*_wrap_new_PCXHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11375 PyObject
*resultobj
;
11376 wxPCXHandler
*result
;
11377 char *kwnames
[] = {
11381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11384 result
= (wxPCXHandler
*)new wxPCXHandler();
11386 wxPyEndAllowThreads(__tstate
);
11387 if (PyErr_Occurred()) SWIG_fail
;
11389 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11396 static PyObject
* PCXHandler_swigregister(PyObject
*, PyObject
*args
) {
11398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11399 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11401 return Py_BuildValue((char *)"");
11403 static PyObject
*_wrap_new_JPEGHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11404 PyObject
*resultobj
;
11405 wxJPEGHandler
*result
;
11406 char *kwnames
[] = {
11410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11425 static PyObject
* JPEGHandler_swigregister(PyObject
*, PyObject
*args
) {
11427 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11428 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11430 return Py_BuildValue((char *)"");
11432 static PyObject
*_wrap_new_PNMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11433 PyObject
*resultobj
;
11434 wxPNMHandler
*result
;
11435 char *kwnames
[] = {
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11442 result
= (wxPNMHandler
*)new wxPNMHandler();
11444 wxPyEndAllowThreads(__tstate
);
11445 if (PyErr_Occurred()) SWIG_fail
;
11447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11454 static PyObject
* PNMHandler_swigregister(PyObject
*, PyObject
*args
) {
11456 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11457 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11459 return Py_BuildValue((char *)"");
11461 static PyObject
*_wrap_new_XPMHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxXPMHandler
*result
;
11464 char *kwnames
[] = {
11468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 result
= (wxXPMHandler
*)new wxXPMHandler();
11473 wxPyEndAllowThreads(__tstate
);
11474 if (PyErr_Occurred()) SWIG_fail
;
11476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11483 static PyObject
* XPMHandler_swigregister(PyObject
*, PyObject
*args
) {
11485 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11486 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11488 return Py_BuildValue((char *)"");
11490 static PyObject
*_wrap_new_TIFFHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11491 PyObject
*resultobj
;
11492 wxTIFFHandler
*result
;
11493 char *kwnames
[] = {
11497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11500 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11502 wxPyEndAllowThreads(__tstate
);
11503 if (PyErr_Occurred()) SWIG_fail
;
11505 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11512 static PyObject
* TIFFHandler_swigregister(PyObject
*, PyObject
*args
) {
11514 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11515 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11517 return Py_BuildValue((char *)"");
11519 static PyObject
*_wrap_new_EvtHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11520 PyObject
*resultobj
;
11521 wxEvtHandler
*result
;
11522 char *kwnames
[] = {
11526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11529 result
= (wxEvtHandler
*)new wxEvtHandler();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11535 resultobj
= wxPyMake_wxObject(result
);
11543 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11544 PyObject
*resultobj
;
11545 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11546 wxEvtHandler
*result
;
11547 PyObject
* obj0
= 0 ;
11548 char *kwnames
[] = {
11549 (char *) "self", NULL
11552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11553 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11554 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11557 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11559 wxPyEndAllowThreads(__tstate
);
11560 if (PyErr_Occurred()) SWIG_fail
;
11563 resultobj
= wxPyMake_wxObject(result
);
11571 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11572 PyObject
*resultobj
;
11573 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11574 wxEvtHandler
*result
;
11575 PyObject
* obj0
= 0 ;
11576 char *kwnames
[] = {
11577 (char *) "self", NULL
11580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11581 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11585 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11587 wxPyEndAllowThreads(__tstate
);
11588 if (PyErr_Occurred()) SWIG_fail
;
11591 resultobj
= wxPyMake_wxObject(result
);
11599 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11600 PyObject
*resultobj
;
11601 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11602 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11603 PyObject
* obj0
= 0 ;
11604 PyObject
* obj1
= 0 ;
11605 char *kwnames
[] = {
11606 (char *) "self",(char *) "handler", NULL
11609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11612 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11613 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11616 (arg1
)->SetNextHandler(arg2
);
11618 wxPyEndAllowThreads(__tstate
);
11619 if (PyErr_Occurred()) SWIG_fail
;
11621 Py_INCREF(Py_None
); resultobj
= Py_None
;
11628 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11629 PyObject
*resultobj
;
11630 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11631 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11632 PyObject
* obj0
= 0 ;
11633 PyObject
* obj1
= 0 ;
11634 char *kwnames
[] = {
11635 (char *) "self",(char *) "handler", NULL
11638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11641 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11645 (arg1
)->SetPreviousHandler(arg2
);
11647 wxPyEndAllowThreads(__tstate
);
11648 if (PyErr_Occurred()) SWIG_fail
;
11650 Py_INCREF(Py_None
); resultobj
= Py_None
;
11657 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11658 PyObject
*resultobj
;
11659 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11661 PyObject
* obj0
= 0 ;
11662 char *kwnames
[] = {
11663 (char *) "self", NULL
11666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11671 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11683 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
;
11685 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11687 PyObject
* obj0
= 0 ;
11688 PyObject
* obj1
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self",(char *) "enabled", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11695 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11696 arg2
= (bool) SWIG_AsBool(obj1
);
11697 if (PyErr_Occurred()) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->SetEvtHandlerEnabled(arg2
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11713 PyObject
*resultobj
;
11714 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11715 wxEvent
*arg2
= 0 ;
11717 PyObject
* obj0
= 0 ;
11718 PyObject
* obj1
= 0 ;
11719 char *kwnames
[] = {
11720 (char *) "self",(char *) "event", NULL
11723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11727 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11729 if (arg2
== NULL
) {
11730 PyErr_SetString(PyExc_TypeError
,"null reference");
11734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11735 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11747 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
;
11749 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11750 wxEvent
*arg2
= 0 ;
11751 PyObject
* obj0
= 0 ;
11752 PyObject
* obj1
= 0 ;
11753 char *kwnames
[] = {
11754 (char *) "self",(char *) "event", NULL
11757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11760 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11761 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11763 if (arg2
== NULL
) {
11764 PyErr_SetString(PyExc_TypeError
,"null reference");
11768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11769 (arg1
)->AddPendingEvent(*arg2
);
11771 wxPyEndAllowThreads(__tstate
);
11772 if (PyErr_Occurred()) SWIG_fail
;
11774 Py_INCREF(Py_None
); resultobj
= Py_None
;
11781 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11782 PyObject
*resultobj
;
11783 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11794 (arg1
)->ProcessPendingEvents();
11796 wxPyEndAllowThreads(__tstate
);
11797 if (PyErr_Occurred()) SWIG_fail
;
11799 Py_INCREF(Py_None
); resultobj
= Py_None
;
11806 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11807 PyObject
*resultobj
;
11808 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11812 PyObject
*arg5
= (PyObject
*) 0 ;
11813 PyObject
* obj0
= 0 ;
11814 PyObject
* obj1
= 0 ;
11815 PyObject
* obj2
= 0 ;
11816 PyObject
* obj3
= 0 ;
11817 PyObject
* obj4
= 0 ;
11818 char *kwnames
[] = {
11819 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11825 arg2
= (int) SWIG_AsInt(obj1
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11827 arg3
= (int) SWIG_AsInt(obj2
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11829 arg4
= (int) SWIG_AsInt(obj3
);
11830 if (PyErr_Occurred()) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11847 PyObject
*resultobj
;
11848 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11850 int arg3
= (int) -1 ;
11851 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11853 PyObject
* obj0
= 0 ;
11854 PyObject
* obj1
= 0 ;
11855 PyObject
* obj2
= 0 ;
11856 PyObject
* obj3
= 0 ;
11857 char *kwnames
[] = {
11858 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11864 arg2
= (int) SWIG_AsInt(obj1
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 arg3
= (int) SWIG_AsInt(obj2
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11871 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11872 if (PyErr_Occurred()) SWIG_fail
;
11875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11876 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11888 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11889 PyObject
*resultobj
;
11890 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11891 PyObject
*arg2
= (PyObject
*) 0 ;
11892 PyObject
* obj0
= 0 ;
11893 PyObject
* obj1
= 0 ;
11894 char *kwnames
[] = {
11895 (char *) "self",(char *) "_self", NULL
11898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 wxEvtHandler__setOORInfo(arg1
,arg2
);
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 Py_INCREF(Py_None
); resultobj
= Py_None
;
11916 static PyObject
* EvtHandler_swigregister(PyObject
*, PyObject
*args
) {
11918 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11919 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11921 return Py_BuildValue((char *)"");
11923 static PyObject
*_wrap_NewEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11924 PyObject
*resultobj
;
11925 wxEventType result
;
11926 char *kwnames
[] = {
11930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11933 result
= (wxEventType
)wxNewEventType();
11935 wxPyEndAllowThreads(__tstate
);
11936 if (PyErr_Occurred()) SWIG_fail
;
11938 resultobj
= SWIG_FromInt((int)result
);
11945 static PyObject
*_wrap_delete_Event(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11946 PyObject
*resultobj
;
11947 wxEvent
*arg1
= (wxEvent
*) 0 ;
11948 PyObject
* obj0
= 0 ;
11949 char *kwnames
[] = {
11950 (char *) "self", NULL
11953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11960 wxPyEndAllowThreads(__tstate
);
11961 if (PyErr_Occurred()) SWIG_fail
;
11963 Py_INCREF(Py_None
); resultobj
= Py_None
;
11970 static PyObject
*_wrap_Event_SetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
11971 PyObject
*resultobj
;
11972 wxEvent
*arg1
= (wxEvent
*) 0 ;
11974 PyObject
* obj0
= 0 ;
11975 PyObject
* obj1
= 0 ;
11976 char *kwnames
[] = {
11977 (char *) "self",(char *) "typ", NULL
11980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11983 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
11984 if (PyErr_Occurred()) SWIG_fail
;
11986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11987 (arg1
)->SetEventType(arg2
);
11989 wxPyEndAllowThreads(__tstate
);
11990 if (PyErr_Occurred()) SWIG_fail
;
11992 Py_INCREF(Py_None
); resultobj
= Py_None
;
11999 static PyObject
*_wrap_Event_GetEventType(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12000 PyObject
*resultobj
;
12001 wxEvent
*arg1
= (wxEvent
*) 0 ;
12002 wxEventType result
;
12003 PyObject
* obj0
= 0 ;
12004 char *kwnames
[] = {
12005 (char *) "self", NULL
12008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12015 wxPyEndAllowThreads(__tstate
);
12016 if (PyErr_Occurred()) SWIG_fail
;
12018 resultobj
= SWIG_FromInt((int)result
);
12025 static PyObject
*_wrap_Event_GetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12026 PyObject
*resultobj
;
12027 wxEvent
*arg1
= (wxEvent
*) 0 ;
12029 PyObject
* obj0
= 0 ;
12030 char *kwnames
[] = {
12031 (char *) "self", NULL
12034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12035 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12036 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12039 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12041 wxPyEndAllowThreads(__tstate
);
12042 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= wxPyMake_wxObject(result
);
12053 static PyObject
*_wrap_Event_SetEventObject(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12054 PyObject
*resultobj
;
12055 wxEvent
*arg1
= (wxEvent
*) 0 ;
12056 wxObject
*arg2
= (wxObject
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self",(char *) "obj", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12066 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12070 (arg1
)->SetEventObject(arg2
);
12072 wxPyEndAllowThreads(__tstate
);
12073 if (PyErr_Occurred()) SWIG_fail
;
12075 Py_INCREF(Py_None
); resultobj
= Py_None
;
12082 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12083 PyObject
*resultobj
;
12084 wxEvent
*arg1
= (wxEvent
*) 0 ;
12086 PyObject
* obj0
= 0 ;
12087 char *kwnames
[] = {
12088 (char *) "self", NULL
12091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= SWIG_FromLong((long)result
);
12108 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxEvent
*arg1
= (wxEvent
*) 0 ;
12111 long arg2
= (long) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 PyObject
* obj1
= 0 ;
12114 char *kwnames
[] = {
12115 (char *) "self",(char *) "ts", NULL
12118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12122 arg2
= (long) SWIG_AsLong(obj1
);
12123 if (PyErr_Occurred()) SWIG_fail
;
12126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12127 (arg1
)->SetTimestamp(arg2
);
12129 wxPyEndAllowThreads(__tstate
);
12130 if (PyErr_Occurred()) SWIG_fail
;
12132 Py_INCREF(Py_None
); resultobj
= Py_None
;
12139 static PyObject
*_wrap_Event_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12140 PyObject
*resultobj
;
12141 wxEvent
*arg1
= (wxEvent
*) 0 ;
12143 PyObject
* obj0
= 0 ;
12144 char *kwnames
[] = {
12145 (char *) "self", NULL
12148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12153 result
= (int)((wxEvent
const *)arg1
)->GetId();
12155 wxPyEndAllowThreads(__tstate
);
12156 if (PyErr_Occurred()) SWIG_fail
;
12158 resultobj
= SWIG_FromInt((int)result
);
12165 static PyObject
*_wrap_Event_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12166 PyObject
*resultobj
;
12167 wxEvent
*arg1
= (wxEvent
*) 0 ;
12169 PyObject
* obj0
= 0 ;
12170 PyObject
* obj1
= 0 ;
12171 char *kwnames
[] = {
12172 (char *) "self",(char *) "Id", NULL
12175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12178 arg2
= (int) SWIG_AsInt(obj1
);
12179 if (PyErr_Occurred()) SWIG_fail
;
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->SetId(arg2
);
12184 wxPyEndAllowThreads(__tstate
);
12185 if (PyErr_Occurred()) SWIG_fail
;
12187 Py_INCREF(Py_None
); resultobj
= Py_None
;
12194 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12195 PyObject
*resultobj
;
12196 wxEvent
*arg1
= (wxEvent
*) 0 ;
12198 PyObject
* obj0
= 0 ;
12199 char *kwnames
[] = {
12200 (char *) "self", NULL
12203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12208 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12220 static PyObject
*_wrap_Event_Skip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12221 PyObject
*resultobj
;
12222 wxEvent
*arg1
= (wxEvent
*) 0 ;
12223 bool arg2
= (bool) True
;
12224 PyObject
* obj0
= 0 ;
12225 PyObject
* obj1
= 0 ;
12226 char *kwnames
[] = {
12227 (char *) "self",(char *) "skip", NULL
12230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12234 arg2
= (bool) SWIG_AsBool(obj1
);
12235 if (PyErr_Occurred()) SWIG_fail
;
12238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12239 (arg1
)->Skip(arg2
);
12241 wxPyEndAllowThreads(__tstate
);
12242 if (PyErr_Occurred()) SWIG_fail
;
12244 Py_INCREF(Py_None
); resultobj
= Py_None
;
12251 static PyObject
*_wrap_Event_GetSkipped(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12252 PyObject
*resultobj
;
12253 wxEvent
*arg1
= (wxEvent
*) 0 ;
12255 PyObject
* obj0
= 0 ;
12256 char *kwnames
[] = {
12257 (char *) "self", NULL
12260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12265 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12267 wxPyEndAllowThreads(__tstate
);
12268 if (PyErr_Occurred()) SWIG_fail
;
12270 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12277 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12278 PyObject
*resultobj
;
12279 wxEvent
*arg1
= (wxEvent
*) 0 ;
12281 PyObject
* obj0
= 0 ;
12282 char *kwnames
[] = {
12283 (char *) "self", NULL
12286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12291 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12293 wxPyEndAllowThreads(__tstate
);
12294 if (PyErr_Occurred()) SWIG_fail
;
12296 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12303 static PyObject
*_wrap_Event_StopPropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12304 PyObject
*resultobj
;
12305 wxEvent
*arg1
= (wxEvent
*) 0 ;
12307 PyObject
* obj0
= 0 ;
12308 char *kwnames
[] = {
12309 (char *) "self", NULL
12312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (int)(arg1
)->StopPropagation();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_FromInt((int)result
);
12329 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxEvent
*arg1
= (wxEvent
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 PyObject
* obj1
= 0 ;
12335 char *kwnames
[] = {
12336 (char *) "self",(char *) "propagationLevel", NULL
12339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12342 arg2
= (int) SWIG_AsInt(obj1
);
12343 if (PyErr_Occurred()) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 (arg1
)->ResumePropagation(arg2
);
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 Py_INCREF(Py_None
); resultobj
= Py_None
;
12358 static PyObject
*_wrap_Event_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxEvent
*arg1
= (wxEvent
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12372 result
= (wxEvent
*)(arg1
)->Clone();
12374 wxPyEndAllowThreads(__tstate
);
12375 if (PyErr_Occurred()) SWIG_fail
;
12377 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12384 static PyObject
* Event_swigregister(PyObject
*, PyObject
*args
) {
12386 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12387 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12389 return Py_BuildValue((char *)"");
12391 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12392 PyObject
*resultobj
;
12393 wxEvent
*arg1
= 0 ;
12394 wxPropagationDisabler
*result
;
12395 PyObject
* obj0
= 0 ;
12396 char *kwnames
[] = {
12397 (char *) "event", NULL
12400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12402 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12404 if (arg1
== NULL
) {
12405 PyErr_SetString(PyExc_TypeError
,"null reference");
12409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12410 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12412 wxPyEndAllowThreads(__tstate
);
12413 if (PyErr_Occurred()) SWIG_fail
;
12415 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12422 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12423 PyObject
*resultobj
;
12424 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12425 PyObject
* obj0
= 0 ;
12426 char *kwnames
[] = {
12427 (char *) "self", NULL
12430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12437 wxPyEndAllowThreads(__tstate
);
12438 if (PyErr_Occurred()) SWIG_fail
;
12440 Py_INCREF(Py_None
); resultobj
= Py_None
;
12447 static PyObject
* PropagationDisabler_swigregister(PyObject
*, PyObject
*args
) {
12449 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12450 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12452 return Py_BuildValue((char *)"");
12454 static PyObject
*_wrap_new_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxEvent
*arg1
= 0 ;
12457 wxPropagateOnce
*result
;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "event", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12465 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12467 if (arg1
== NULL
) {
12468 PyErr_SetString(PyExc_TypeError
,"null reference");
12472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12473 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12475 wxPyEndAllowThreads(__tstate
);
12476 if (PyErr_Occurred()) SWIG_fail
;
12478 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12485 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12486 PyObject
*resultobj
;
12487 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12488 PyObject
* obj0
= 0 ;
12489 char *kwnames
[] = {
12490 (char *) "self", NULL
12493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 wxPyEndAllowThreads(__tstate
);
12501 if (PyErr_Occurred()) SWIG_fail
;
12503 Py_INCREF(Py_None
); resultobj
= Py_None
;
12510 static PyObject
* PropagateOnce_swigregister(PyObject
*, PyObject
*args
) {
12512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12513 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12515 return Py_BuildValue((char *)"");
12517 static PyObject
*_wrap_new_CommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12520 int arg2
= (int) 0 ;
12521 wxCommandEvent
*result
;
12522 PyObject
* obj0
= 0 ;
12523 PyObject
* obj1
= 0 ;
12524 char *kwnames
[] = {
12525 (char *) "commandType",(char *) "winid", NULL
12528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12530 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12531 if (PyErr_Occurred()) SWIG_fail
;
12534 arg2
= (int) SWIG_AsInt(obj1
);
12535 if (PyErr_Occurred()) SWIG_fail
;
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12541 wxPyEndAllowThreads(__tstate
);
12542 if (PyErr_Occurred()) SWIG_fail
;
12544 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12551 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12552 PyObject
*resultobj
;
12553 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12555 PyObject
* obj0
= 0 ;
12556 char *kwnames
[] = {
12557 (char *) "self", NULL
12560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12565 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12567 wxPyEndAllowThreads(__tstate
);
12568 if (PyErr_Occurred()) SWIG_fail
;
12570 resultobj
= SWIG_FromInt((int)result
);
12577 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12578 PyObject
*resultobj
;
12579 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12580 wxString
*arg2
= 0 ;
12581 bool temp2
= False
;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 char *kwnames
[] = {
12585 (char *) "self",(char *) "s", NULL
12588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12592 arg2
= wxString_in_helper(obj1
);
12593 if (arg2
== NULL
) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 (arg1
)->SetString((wxString
const &)*arg2
);
12600 wxPyEndAllowThreads(__tstate
);
12601 if (PyErr_Occurred()) SWIG_fail
;
12603 Py_INCREF(Py_None
); resultobj
= Py_None
;
12618 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12619 PyObject
*resultobj
;
12620 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12622 PyObject
* obj0
= 0 ;
12623 char *kwnames
[] = {
12624 (char *) "self", NULL
12627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12632 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12634 wxPyEndAllowThreads(__tstate
);
12635 if (PyErr_Occurred()) SWIG_fail
;
12639 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12641 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12650 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12651 PyObject
*resultobj
;
12652 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12654 PyObject
* obj0
= 0 ;
12655 char *kwnames
[] = {
12656 (char *) "self", NULL
12659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12666 wxPyEndAllowThreads(__tstate
);
12667 if (PyErr_Occurred()) SWIG_fail
;
12669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12676 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12677 PyObject
*resultobj
;
12678 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12680 PyObject
* obj0
= 0 ;
12681 char *kwnames
[] = {
12682 (char *) "self", NULL
12685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12692 wxPyEndAllowThreads(__tstate
);
12693 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12702 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12703 PyObject
*resultobj
;
12704 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12706 PyObject
* obj0
= 0 ;
12707 PyObject
* obj1
= 0 ;
12708 char *kwnames
[] = {
12709 (char *) "self",(char *) "extraLong", NULL
12712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12713 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12714 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12715 arg2
= (long) SWIG_AsLong(obj1
);
12716 if (PyErr_Occurred()) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 (arg1
)->SetExtraLong(arg2
);
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 Py_INCREF(Py_None
); resultobj
= Py_None
;
12731 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12745 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12747 wxPyEndAllowThreads(__tstate
);
12748 if (PyErr_Occurred()) SWIG_fail
;
12750 resultobj
= SWIG_FromLong((long)result
);
12757 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12758 PyObject
*resultobj
;
12759 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12761 PyObject
* obj0
= 0 ;
12762 PyObject
* obj1
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self",(char *) "i", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12770 arg2
= (int) SWIG_AsInt(obj1
);
12771 if (PyErr_Occurred()) SWIG_fail
;
12773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12774 (arg1
)->SetInt(arg2
);
12776 wxPyEndAllowThreads(__tstate
);
12777 if (PyErr_Occurred()) SWIG_fail
;
12779 Py_INCREF(Py_None
); resultobj
= Py_None
;
12786 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
;
12788 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12790 PyObject
* obj0
= 0 ;
12791 char *kwnames
[] = {
12792 (char *) "self", NULL
12795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12800 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12802 wxPyEndAllowThreads(__tstate
);
12803 if (PyErr_Occurred()) SWIG_fail
;
12805 resultobj
= SWIG_FromLong((long)result
);
12812 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12813 PyObject
*resultobj
;
12814 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12816 PyObject
* obj0
= 0 ;
12817 char *kwnames
[] = {
12818 (char *) "self", NULL
12821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12838 static PyObject
* CommandEvent_swigregister(PyObject
*, PyObject
*args
) {
12840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12841 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12843 return Py_BuildValue((char *)"");
12845 static PyObject
*_wrap_new_NotifyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12846 PyObject
*resultobj
;
12847 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12848 int arg2
= (int) 0 ;
12849 wxNotifyEvent
*result
;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 char *kwnames
[] = {
12853 (char *) "commandType",(char *) "winid", NULL
12856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12858 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12862 arg2
= (int) SWIG_AsInt(obj1
);
12863 if (PyErr_Occurred()) SWIG_fail
;
12866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12867 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12879 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12882 PyObject
* obj0
= 0 ;
12883 char *kwnames
[] = {
12884 (char *) "self", NULL
12887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12888 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 Py_INCREF(Py_None
); resultobj
= Py_None
;
12904 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
;
12906 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12907 PyObject
* obj0
= 0 ;
12908 char *kwnames
[] = {
12909 (char *) "self", NULL
12912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12913 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12914 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12919 wxPyEndAllowThreads(__tstate
);
12920 if (PyErr_Occurred()) SWIG_fail
;
12922 Py_INCREF(Py_None
); resultobj
= Py_None
;
12929 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 char *kwnames
[] = {
12935 (char *) "self", NULL
12938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12943 result
= (bool)(arg1
)->IsAllowed();
12945 wxPyEndAllowThreads(__tstate
);
12946 if (PyErr_Occurred()) SWIG_fail
;
12948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12955 static PyObject
* NotifyEvent_swigregister(PyObject
*, PyObject
*args
) {
12957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12958 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12960 return Py_BuildValue((char *)"");
12962 static PyObject
*_wrap_new_ScrollEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
;
12964 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12965 int arg2
= (int) 0 ;
12966 int arg3
= (int) 0 ;
12967 int arg4
= (int) 0 ;
12968 wxScrollEvent
*result
;
12969 PyObject
* obj0
= 0 ;
12970 PyObject
* obj1
= 0 ;
12971 PyObject
* obj2
= 0 ;
12972 PyObject
* obj3
= 0 ;
12973 char *kwnames
[] = {
12974 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12979 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12980 if (PyErr_Occurred()) SWIG_fail
;
12983 arg2
= (int) SWIG_AsInt(obj1
);
12984 if (PyErr_Occurred()) SWIG_fail
;
12987 arg3
= (int) SWIG_AsInt(obj2
);
12988 if (PyErr_Occurred()) SWIG_fail
;
12991 arg4
= (int) SWIG_AsInt(obj3
);
12992 if (PyErr_Occurred()) SWIG_fail
;
12995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12996 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12998 wxPyEndAllowThreads(__tstate
);
12999 if (PyErr_Occurred()) SWIG_fail
;
13001 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13008 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13022 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13024 wxPyEndAllowThreads(__tstate
);
13025 if (PyErr_Occurred()) SWIG_fail
;
13027 resultobj
= SWIG_FromInt((int)result
);
13034 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13035 PyObject
*resultobj
;
13036 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13038 PyObject
* obj0
= 0 ;
13039 char *kwnames
[] = {
13040 (char *) "self", NULL
13043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13048 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13050 wxPyEndAllowThreads(__tstate
);
13051 if (PyErr_Occurred()) SWIG_fail
;
13053 resultobj
= SWIG_FromInt((int)result
);
13060 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "orient", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13073 arg2
= (int) SWIG_AsInt(obj1
);
13074 if (PyErr_Occurred()) SWIG_fail
;
13076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13077 (arg1
)->SetOrientation(arg2
);
13079 wxPyEndAllowThreads(__tstate
);
13080 if (PyErr_Occurred()) SWIG_fail
;
13082 Py_INCREF(Py_None
); resultobj
= Py_None
;
13089 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13090 PyObject
*resultobj
;
13091 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13093 PyObject
* obj0
= 0 ;
13094 PyObject
* obj1
= 0 ;
13095 char *kwnames
[] = {
13096 (char *) "self",(char *) "pos", NULL
13099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13102 arg2
= (int) SWIG_AsInt(obj1
);
13103 if (PyErr_Occurred()) SWIG_fail
;
13105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13106 (arg1
)->SetPosition(arg2
);
13108 wxPyEndAllowThreads(__tstate
);
13109 if (PyErr_Occurred()) SWIG_fail
;
13111 Py_INCREF(Py_None
); resultobj
= Py_None
;
13118 static PyObject
* ScrollEvent_swigregister(PyObject
*, PyObject
*args
) {
13120 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13121 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13123 return Py_BuildValue((char *)"");
13125 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13126 PyObject
*resultobj
;
13127 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13128 int arg2
= (int) 0 ;
13129 int arg3
= (int) 0 ;
13130 wxScrollWinEvent
*result
;
13131 PyObject
* obj0
= 0 ;
13132 PyObject
* obj1
= 0 ;
13133 PyObject
* obj2
= 0 ;
13134 char *kwnames
[] = {
13135 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13140 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13141 if (PyErr_Occurred()) SWIG_fail
;
13144 arg2
= (int) SWIG_AsInt(obj1
);
13145 if (PyErr_Occurred()) SWIG_fail
;
13148 arg3
= (int) SWIG_AsInt(obj2
);
13149 if (PyErr_Occurred()) SWIG_fail
;
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13155 wxPyEndAllowThreads(__tstate
);
13156 if (PyErr_Occurred()) SWIG_fail
;
13158 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13165 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13166 PyObject
*resultobj
;
13167 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13169 PyObject
* obj0
= 0 ;
13170 char *kwnames
[] = {
13171 (char *) "self", NULL
13174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13179 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13181 wxPyEndAllowThreads(__tstate
);
13182 if (PyErr_Occurred()) SWIG_fail
;
13184 resultobj
= SWIG_FromInt((int)result
);
13191 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13205 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13207 wxPyEndAllowThreads(__tstate
);
13208 if (PyErr_Occurred()) SWIG_fail
;
13210 resultobj
= SWIG_FromInt((int)result
);
13217 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13218 PyObject
*resultobj
;
13219 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13221 PyObject
* obj0
= 0 ;
13222 PyObject
* obj1
= 0 ;
13223 char *kwnames
[] = {
13224 (char *) "self",(char *) "orient", NULL
13227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13228 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13229 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13230 arg2
= (int) SWIG_AsInt(obj1
);
13231 if (PyErr_Occurred()) SWIG_fail
;
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13234 (arg1
)->SetOrientation(arg2
);
13236 wxPyEndAllowThreads(__tstate
);
13237 if (PyErr_Occurred()) SWIG_fail
;
13239 Py_INCREF(Py_None
); resultobj
= Py_None
;
13246 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13247 PyObject
*resultobj
;
13248 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13250 PyObject
* obj0
= 0 ;
13251 PyObject
* obj1
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self",(char *) "pos", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13259 arg2
= (int) SWIG_AsInt(obj1
);
13260 if (PyErr_Occurred()) SWIG_fail
;
13262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13263 (arg1
)->SetPosition(arg2
);
13265 wxPyEndAllowThreads(__tstate
);
13266 if (PyErr_Occurred()) SWIG_fail
;
13268 Py_INCREF(Py_None
); resultobj
= Py_None
;
13275 static PyObject
* ScrollWinEvent_swigregister(PyObject
*, PyObject
*args
) {
13277 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13278 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13280 return Py_BuildValue((char *)"");
13282 static PyObject
*_wrap_new_MouseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13283 PyObject
*resultobj
;
13284 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13285 wxMouseEvent
*result
;
13286 PyObject
* obj0
= 0 ;
13287 char *kwnames
[] = {
13288 (char *) "mouseType", NULL
13291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13293 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13298 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13300 wxPyEndAllowThreads(__tstate
);
13301 if (PyErr_Occurred()) SWIG_fail
;
13304 resultobj
= wxPyMake_wxObject(result
);
13312 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
;
13314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13316 PyObject
* obj0
= 0 ;
13317 char *kwnames
[] = {
13318 (char *) "self", NULL
13321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13338 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13341 int arg2
= (int) wxMOUSE_BTN_ANY
;
13343 PyObject
* obj0
= 0 ;
13344 PyObject
* obj1
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self",(char *) "but", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13353 arg2
= (int) SWIG_AsInt(obj1
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13358 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13360 wxPyEndAllowThreads(__tstate
);
13361 if (PyErr_Occurred()) SWIG_fail
;
13363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13370 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13371 PyObject
*resultobj
;
13372 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13373 int arg2
= (int) wxMOUSE_BTN_ANY
;
13375 PyObject
* obj0
= 0 ;
13376 PyObject
* obj1
= 0 ;
13377 char *kwnames
[] = {
13378 (char *) "self",(char *) "but", NULL
13381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13382 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13383 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13385 arg2
= (int) SWIG_AsInt(obj1
);
13386 if (PyErr_Occurred()) SWIG_fail
;
13389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13390 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13402 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
;
13404 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13405 int arg2
= (int) wxMOUSE_BTN_ANY
;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 char *kwnames
[] = {
13410 (char *) "self",(char *) "but", NULL
13413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13417 arg2
= (int) SWIG_AsInt(obj1
);
13418 if (PyErr_Occurred()) SWIG_fail
;
13421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13422 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13424 wxPyEndAllowThreads(__tstate
);
13425 if (PyErr_Occurred()) SWIG_fail
;
13427 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13434 static PyObject
*_wrap_MouseEvent_Button(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13435 PyObject
*resultobj
;
13436 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13439 PyObject
* obj0
= 0 ;
13440 PyObject
* obj1
= 0 ;
13441 char *kwnames
[] = {
13442 (char *) "self",(char *) "but", NULL
13445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13446 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13447 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13448 arg2
= (int) SWIG_AsInt(obj1
);
13449 if (PyErr_Occurred()) SWIG_fail
;
13451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13452 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13454 wxPyEndAllowThreads(__tstate
);
13455 if (PyErr_Occurred()) SWIG_fail
;
13457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13464 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13465 PyObject
*resultobj
;
13466 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13469 PyObject
* obj0
= 0 ;
13470 PyObject
* obj1
= 0 ;
13471 char *kwnames
[] = {
13472 (char *) "self",(char *) "but", NULL
13475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13478 arg2
= (int) SWIG_AsInt(obj1
);
13479 if (PyErr_Occurred()) SWIG_fail
;
13481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13482 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13487 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13494 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13495 PyObject
*resultobj
;
13496 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13498 PyObject
* obj0
= 0 ;
13499 char *kwnames
[] = {
13500 (char *) "self", NULL
13503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= SWIG_FromInt((int)result
);
13520 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13524 PyObject
* obj0
= 0 ;
13525 char *kwnames
[] = {
13526 (char *) "self", NULL
13529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13530 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13531 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13534 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13536 wxPyEndAllowThreads(__tstate
);
13537 if (PyErr_Occurred()) SWIG_fail
;
13539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13546 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13547 PyObject
*resultobj
;
13548 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13550 PyObject
* obj0
= 0 ;
13551 char *kwnames
[] = {
13552 (char *) "self", NULL
13555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13560 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13562 wxPyEndAllowThreads(__tstate
);
13563 if (PyErr_Occurred()) SWIG_fail
;
13565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13572 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13573 PyObject
*resultobj
;
13574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13576 PyObject
* obj0
= 0 ;
13577 char *kwnames
[] = {
13578 (char *) "self", NULL
13581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13586 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13588 wxPyEndAllowThreads(__tstate
);
13589 if (PyErr_Occurred()) SWIG_fail
;
13591 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13598 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13599 PyObject
*resultobj
;
13600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13602 PyObject
* obj0
= 0 ;
13603 char *kwnames
[] = {
13604 (char *) "self", NULL
13607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13624 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13625 PyObject
*resultobj
;
13626 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13628 PyObject
* obj0
= 0 ;
13629 char *kwnames
[] = {
13630 (char *) "self", NULL
13633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13638 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13640 wxPyEndAllowThreads(__tstate
);
13641 if (PyErr_Occurred()) SWIG_fail
;
13643 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13650 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13651 PyObject
*resultobj
;
13652 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13654 PyObject
* obj0
= 0 ;
13655 char *kwnames
[] = {
13656 (char *) "self", NULL
13659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13676 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13690 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13692 wxPyEndAllowThreads(__tstate
);
13693 if (PyErr_Occurred()) SWIG_fail
;
13695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13702 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13703 PyObject
*resultobj
;
13704 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13706 PyObject
* obj0
= 0 ;
13707 char *kwnames
[] = {
13708 (char *) "self", NULL
13711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13728 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13739 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13744 wxPyEndAllowThreads(__tstate
);
13745 if (PyErr_Occurred()) SWIG_fail
;
13747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13754 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13755 PyObject
*resultobj
;
13756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13758 PyObject
* obj0
= 0 ;
13759 char *kwnames
[] = {
13760 (char *) "self", NULL
13763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13764 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13765 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13768 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13780 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13781 PyObject
*resultobj
;
13782 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 char *kwnames
[] = {
13786 (char *) "self", NULL
13789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13794 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13796 wxPyEndAllowThreads(__tstate
);
13797 if (PyErr_Occurred()) SWIG_fail
;
13799 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13806 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13820 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13822 wxPyEndAllowThreads(__tstate
);
13823 if (PyErr_Occurred()) SWIG_fail
;
13825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13832 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13833 PyObject
*resultobj
;
13834 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13836 PyObject
* obj0
= 0 ;
13837 char *kwnames
[] = {
13838 (char *) "self", NULL
13841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13842 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13843 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13858 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13869 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (bool)(arg1
)->LeftIsDown();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13877 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13884 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13885 PyObject
*resultobj
;
13886 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13888 PyObject
* obj0
= 0 ;
13889 char *kwnames
[] = {
13890 (char *) "self", NULL
13893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (bool)(arg1
)->MiddleIsDown();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13910 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13911 PyObject
*resultobj
;
13912 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13914 PyObject
* obj0
= 0 ;
13915 char *kwnames
[] = {
13916 (char *) "self", NULL
13919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13920 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13921 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13924 result
= (bool)(arg1
)->RightIsDown();
13926 wxPyEndAllowThreads(__tstate
);
13927 if (PyErr_Occurred()) SWIG_fail
;
13929 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13936 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13952 wxPyEndAllowThreads(__tstate
);
13953 if (PyErr_Occurred()) SWIG_fail
;
13955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13962 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13963 PyObject
*resultobj
;
13964 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13966 PyObject
* obj0
= 0 ;
13967 char *kwnames
[] = {
13968 (char *) "self", NULL
13971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13976 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13978 wxPyEndAllowThreads(__tstate
);
13979 if (PyErr_Occurred()) SWIG_fail
;
13981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13988 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14002 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14004 wxPyEndAllowThreads(__tstate
);
14005 if (PyErr_Occurred()) SWIG_fail
;
14007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14014 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14015 PyObject
*resultobj
;
14016 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14018 PyObject
* obj0
= 0 ;
14019 char *kwnames
[] = {
14020 (char *) "self", NULL
14023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14028 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14030 wxPyEndAllowThreads(__tstate
);
14031 if (PyErr_Occurred()) SWIG_fail
;
14033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14040 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14041 PyObject
*resultobj
;
14042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14044 PyObject
* obj0
= 0 ;
14045 char *kwnames
[] = {
14046 (char *) "self", NULL
14049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14054 result
= (arg1
)->GetPosition();
14056 wxPyEndAllowThreads(__tstate
);
14057 if (PyErr_Occurred()) SWIG_fail
;
14060 wxPoint
* resultptr
;
14061 resultptr
= new wxPoint((wxPoint
&) result
);
14062 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14070 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14071 PyObject
*resultobj
;
14072 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14073 long *arg2
= (long *) 0 ;
14074 long *arg3
= (long *) 0 ;
14077 PyObject
* obj0
= 0 ;
14078 char *kwnames
[] = {
14079 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14089 (arg1
)->GetPosition(arg2
,arg3
);
14091 wxPyEndAllowThreads(__tstate
);
14092 if (PyErr_Occurred()) SWIG_fail
;
14094 Py_INCREF(Py_None
); resultobj
= Py_None
;
14096 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14097 resultobj
= t_output_helper(resultobj
,o
);
14100 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14101 resultobj
= t_output_helper(resultobj
,o
);
14109 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14110 PyObject
*resultobj
;
14111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14114 PyObject
* obj0
= 0 ;
14115 PyObject
* obj1
= 0 ;
14116 char *kwnames
[] = {
14117 (char *) "self",(char *) "dc", NULL
14120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14123 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14124 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14126 if (arg2
== NULL
) {
14127 PyErr_SetString(PyExc_TypeError
,"null reference");
14131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14132 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14134 wxPyEndAllowThreads(__tstate
);
14135 if (PyErr_Occurred()) SWIG_fail
;
14138 wxPoint
* resultptr
;
14139 resultptr
= new wxPoint((wxPoint
&) result
);
14140 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14148 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 char *kwnames
[] = {
14154 (char *) "self", NULL
14157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14162 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_FromInt((int)result
);
14174 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14175 PyObject
*resultobj
;
14176 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14178 PyObject
* obj0
= 0 ;
14179 char *kwnames
[] = {
14180 (char *) "self", NULL
14183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14188 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14190 wxPyEndAllowThreads(__tstate
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14193 resultobj
= SWIG_FromInt((int)result
);
14200 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14201 PyObject
*resultobj
;
14202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14204 PyObject
* obj0
= 0 ;
14205 char *kwnames
[] = {
14206 (char *) "self", NULL
14209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14214 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14216 wxPyEndAllowThreads(__tstate
);
14217 if (PyErr_Occurred()) SWIG_fail
;
14219 resultobj
= SWIG_FromInt((int)result
);
14226 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14227 PyObject
*resultobj
;
14228 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14230 PyObject
* obj0
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14237 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14240 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_FromInt((int)result
);
14252 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14253 PyObject
*resultobj
;
14254 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14256 PyObject
* obj0
= 0 ;
14257 char *kwnames
[] = {
14258 (char *) "self", NULL
14261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14266 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14268 wxPyEndAllowThreads(__tstate
);
14269 if (PyErr_Occurred()) SWIG_fail
;
14271 resultobj
= SWIG_FromInt((int)result
);
14278 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14279 PyObject
*resultobj
;
14280 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "self", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14304 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 PyObject
* obj1
= 0 ;
14310 char *kwnames
[] = {
14311 (char *) "self",(char *) "m_x", NULL
14314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14317 arg2
= (int) SWIG_AsInt(obj1
);
14318 if (PyErr_Occurred()) SWIG_fail
;
14319 if (arg1
) (arg1
)->m_x
= arg2
;
14321 Py_INCREF(Py_None
); resultobj
= Py_None
;
14328 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14329 PyObject
*resultobj
;
14330 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14332 PyObject
* obj0
= 0 ;
14333 char *kwnames
[] = {
14334 (char *) "self", NULL
14337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14340 result
= (int) ((arg1
)->m_x
);
14342 resultobj
= SWIG_FromInt((int)result
);
14349 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14350 PyObject
*resultobj
;
14351 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14353 PyObject
* obj0
= 0 ;
14354 PyObject
* obj1
= 0 ;
14355 char *kwnames
[] = {
14356 (char *) "self",(char *) "m_y", NULL
14359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14362 arg2
= (int) SWIG_AsInt(obj1
);
14363 if (PyErr_Occurred()) SWIG_fail
;
14364 if (arg1
) (arg1
)->m_y
= arg2
;
14366 Py_INCREF(Py_None
); resultobj
= Py_None
;
14373 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14374 PyObject
*resultobj
;
14375 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14377 PyObject
* obj0
= 0 ;
14378 char *kwnames
[] = {
14379 (char *) "self", NULL
14382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14385 result
= (int) ((arg1
)->m_y
);
14387 resultobj
= SWIG_FromInt((int)result
);
14394 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
;
14396 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "m_leftDown", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14407 arg2
= (bool) SWIG_AsBool(obj1
);
14408 if (PyErr_Occurred()) SWIG_fail
;
14409 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14411 Py_INCREF(Py_None
); resultobj
= Py_None
;
14418 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14419 PyObject
*resultobj
;
14420 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14422 PyObject
* obj0
= 0 ;
14423 char *kwnames
[] = {
14424 (char *) "self", NULL
14427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14430 result
= (bool) ((arg1
)->m_leftDown
);
14432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14439 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14440 PyObject
*resultobj
;
14441 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14443 PyObject
* obj0
= 0 ;
14444 PyObject
* obj1
= 0 ;
14445 char *kwnames
[] = {
14446 (char *) "self",(char *) "m_middleDown", NULL
14449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14452 arg2
= (bool) SWIG_AsBool(obj1
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14454 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14456 Py_INCREF(Py_None
); resultobj
= Py_None
;
14463 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14464 PyObject
*resultobj
;
14465 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14467 PyObject
* obj0
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14475 result
= (bool) ((arg1
)->m_middleDown
);
14477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14484 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 PyObject
* obj1
= 0 ;
14490 char *kwnames
[] = {
14491 (char *) "self",(char *) "m_rightDown", NULL
14494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14497 arg2
= (bool) SWIG_AsBool(obj1
);
14498 if (PyErr_Occurred()) SWIG_fail
;
14499 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14501 Py_INCREF(Py_None
); resultobj
= Py_None
;
14508 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14509 PyObject
*resultobj
;
14510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14512 PyObject
* obj0
= 0 ;
14513 char *kwnames
[] = {
14514 (char *) "self", NULL
14517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14520 result
= (bool) ((arg1
)->m_rightDown
);
14522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14529 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14530 PyObject
*resultobj
;
14531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14533 PyObject
* obj0
= 0 ;
14534 PyObject
* obj1
= 0 ;
14535 char *kwnames
[] = {
14536 (char *) "self",(char *) "m_controlDown", NULL
14539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14542 arg2
= (bool) SWIG_AsBool(obj1
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14544 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14553 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14565 result
= (bool) ((arg1
)->m_controlDown
);
14567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14574 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 PyObject
* obj1
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self",(char *) "m_shiftDown", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14587 arg2
= (bool) SWIG_AsBool(obj1
);
14588 if (PyErr_Occurred()) SWIG_fail
;
14589 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14591 Py_INCREF(Py_None
); resultobj
= Py_None
;
14598 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14599 PyObject
*resultobj
;
14600 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14602 PyObject
* obj0
= 0 ;
14603 char *kwnames
[] = {
14604 (char *) "self", NULL
14607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14610 result
= (bool) ((arg1
)->m_shiftDown
);
14612 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14619 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14620 PyObject
*resultobj
;
14621 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14623 PyObject
* obj0
= 0 ;
14624 PyObject
* obj1
= 0 ;
14625 char *kwnames
[] = {
14626 (char *) "self",(char *) "m_altDown", NULL
14629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14632 arg2
= (bool) SWIG_AsBool(obj1
);
14633 if (PyErr_Occurred()) SWIG_fail
;
14634 if (arg1
) (arg1
)->m_altDown
= arg2
;
14636 Py_INCREF(Py_None
); resultobj
= Py_None
;
14643 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14647 PyObject
* obj0
= 0 ;
14648 char *kwnames
[] = {
14649 (char *) "self", NULL
14652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14653 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14654 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14655 result
= (bool) ((arg1
)->m_altDown
);
14657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14664 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "m_metaDown", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14677 arg2
= (bool) SWIG_AsBool(obj1
);
14678 if (PyErr_Occurred()) SWIG_fail
;
14679 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14681 Py_INCREF(Py_None
); resultobj
= Py_None
;
14688 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14689 PyObject
*resultobj
;
14690 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14692 PyObject
* obj0
= 0 ;
14693 char *kwnames
[] = {
14694 (char *) "self", NULL
14697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14700 result
= (bool) ((arg1
)->m_metaDown
);
14702 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14709 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14710 PyObject
*resultobj
;
14711 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14713 PyObject
* obj0
= 0 ;
14714 PyObject
* obj1
= 0 ;
14715 char *kwnames
[] = {
14716 (char *) "self",(char *) "m_wheelRotation", NULL
14719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14722 arg2
= (int) SWIG_AsInt(obj1
);
14723 if (PyErr_Occurred()) SWIG_fail
;
14724 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14726 Py_INCREF(Py_None
); resultobj
= Py_None
;
14733 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14734 PyObject
*resultobj
;
14735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14737 PyObject
* obj0
= 0 ;
14738 char *kwnames
[] = {
14739 (char *) "self", NULL
14742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14745 result
= (int) ((arg1
)->m_wheelRotation
);
14747 resultobj
= SWIG_FromInt((int)result
);
14754 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14755 PyObject
*resultobj
;
14756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14758 PyObject
* obj0
= 0 ;
14759 PyObject
* obj1
= 0 ;
14760 char *kwnames
[] = {
14761 (char *) "self",(char *) "m_wheelDelta", NULL
14764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14767 arg2
= (int) SWIG_AsInt(obj1
);
14768 if (PyErr_Occurred()) SWIG_fail
;
14769 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14771 Py_INCREF(Py_None
); resultobj
= Py_None
;
14778 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14779 PyObject
*resultobj
;
14780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14782 PyObject
* obj0
= 0 ;
14783 char *kwnames
[] = {
14784 (char *) "self", NULL
14787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14790 result
= (int) ((arg1
)->m_wheelDelta
);
14792 resultobj
= SWIG_FromInt((int)result
);
14799 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14800 PyObject
*resultobj
;
14801 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14803 PyObject
* obj0
= 0 ;
14804 PyObject
* obj1
= 0 ;
14805 char *kwnames
[] = {
14806 (char *) "self",(char *) "m_linesPerAction", NULL
14809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14812 arg2
= (int) SWIG_AsInt(obj1
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14814 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14816 Py_INCREF(Py_None
); resultobj
= Py_None
;
14823 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14824 PyObject
*resultobj
;
14825 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 char *kwnames
[] = {
14829 (char *) "self", NULL
14832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14835 result
= (int) ((arg1
)->m_linesPerAction
);
14837 resultobj
= SWIG_FromInt((int)result
);
14844 static PyObject
* MouseEvent_swigregister(PyObject
*, PyObject
*args
) {
14846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14847 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14849 return Py_BuildValue((char *)"");
14851 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14852 PyObject
*resultobj
;
14853 int arg1
= (int) 0 ;
14854 int arg2
= (int) 0 ;
14855 wxSetCursorEvent
*result
;
14856 PyObject
* obj0
= 0 ;
14857 PyObject
* obj1
= 0 ;
14858 char *kwnames
[] = {
14859 (char *) "x",(char *) "y", NULL
14862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14864 arg1
= (int) SWIG_AsInt(obj0
);
14865 if (PyErr_Occurred()) SWIG_fail
;
14868 arg2
= (int) SWIG_AsInt(obj1
);
14869 if (PyErr_Occurred()) SWIG_fail
;
14872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14873 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14875 wxPyEndAllowThreads(__tstate
);
14876 if (PyErr_Occurred()) SWIG_fail
;
14878 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
14885 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14886 PyObject
*resultobj
;
14887 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14889 PyObject
* obj0
= 0 ;
14890 char *kwnames
[] = {
14891 (char *) "self", NULL
14894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14899 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14901 wxPyEndAllowThreads(__tstate
);
14902 if (PyErr_Occurred()) SWIG_fail
;
14904 resultobj
= SWIG_FromInt((int)result
);
14911 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14912 PyObject
*resultobj
;
14913 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14915 PyObject
* obj0
= 0 ;
14916 char *kwnames
[] = {
14917 (char *) "self", NULL
14920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_FromInt((int)result
);
14937 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14940 wxCursor
*arg2
= 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "cursor", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
14951 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14953 if (arg2
== NULL
) {
14954 PyErr_SetString(PyExc_TypeError
,"null reference");
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 Py_INCREF(Py_None
); resultobj
= Py_None
;
14971 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14987 result
= (wxCursor
*) &_result_ref
;
14990 wxPyEndAllowThreads(__tstate
);
14991 if (PyErr_Occurred()) SWIG_fail
;
14993 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 0);
15000 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15001 PyObject
*resultobj
;
15002 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15004 PyObject
* obj0
= 0 ;
15005 char *kwnames
[] = {
15006 (char *) "self", NULL
15009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15014 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15016 wxPyEndAllowThreads(__tstate
);
15017 if (PyErr_Occurred()) SWIG_fail
;
15019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15026 static PyObject
* SetCursorEvent_swigregister(PyObject
*, PyObject
*args
) {
15028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15029 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15031 return Py_BuildValue((char *)"");
15033 static PyObject
*_wrap_new_KeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15034 PyObject
*resultobj
;
15035 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15036 wxKeyEvent
*result
;
15037 PyObject
* obj0
= 0 ;
15038 char *kwnames
[] = {
15039 (char *) "keyType", NULL
15042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15044 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15061 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15062 PyObject
*resultobj
;
15063 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15065 PyObject
* obj0
= 0 ;
15066 char *kwnames
[] = {
15067 (char *) "self", NULL
15070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15087 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15088 PyObject
*resultobj
;
15089 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15091 PyObject
* obj0
= 0 ;
15092 char *kwnames
[] = {
15093 (char *) "self", NULL
15096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15101 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15103 wxPyEndAllowThreads(__tstate
);
15104 if (PyErr_Occurred()) SWIG_fail
;
15106 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15113 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15117 PyObject
* obj0
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "self", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15123 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15124 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15127 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15139 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
;
15141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15143 PyObject
* obj0
= 0 ;
15144 char *kwnames
[] = {
15145 (char *) "self", NULL
15148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15165 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15179 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15181 wxPyEndAllowThreads(__tstate
);
15182 if (PyErr_Occurred()) SWIG_fail
;
15184 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15191 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15192 PyObject
*resultobj
;
15193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15195 PyObject
* obj0
= 0 ;
15196 char *kwnames
[] = {
15197 (char *) "self", NULL
15200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15210 resultobj
= SWIG_FromInt((int)result
);
15217 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15218 PyObject
*resultobj
;
15219 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15221 PyObject
* obj0
= 0 ;
15222 char *kwnames
[] = {
15223 (char *) "self", NULL
15226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15231 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15233 wxPyEndAllowThreads(__tstate
);
15234 if (PyErr_Occurred()) SWIG_fail
;
15236 resultobj
= SWIG_FromInt((int)result
);
15243 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15246 unsigned int result
;
15247 PyObject
* obj0
= 0 ;
15248 char *kwnames
[] = {
15249 (char *) "self", NULL
15252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15257 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15259 wxPyEndAllowThreads(__tstate
);
15260 if (PyErr_Occurred()) SWIG_fail
;
15262 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15269 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15270 PyObject
*resultobj
;
15271 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15272 unsigned int result
;
15273 PyObject
* obj0
= 0 ;
15274 char *kwnames
[] = {
15275 (char *) "self", NULL
15278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15283 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15285 wxPyEndAllowThreads(__tstate
);
15286 if (PyErr_Occurred()) SWIG_fail
;
15288 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15295 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15296 PyObject
*resultobj
;
15297 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15299 PyObject
* obj0
= 0 ;
15300 char *kwnames
[] = {
15301 (char *) "self", NULL
15304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15309 result
= (arg1
)->GetPosition();
15311 wxPyEndAllowThreads(__tstate
);
15312 if (PyErr_Occurred()) SWIG_fail
;
15315 wxPoint
* resultptr
;
15316 resultptr
= new wxPoint((wxPoint
&) result
);
15317 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15325 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15326 PyObject
*resultobj
;
15327 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15328 long *arg2
= (long *) 0 ;
15329 long *arg3
= (long *) 0 ;
15332 PyObject
* obj0
= 0 ;
15333 char *kwnames
[] = {
15334 (char *) "self", NULL
15339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15344 (arg1
)->GetPosition(arg2
,arg3
);
15346 wxPyEndAllowThreads(__tstate
);
15347 if (PyErr_Occurred()) SWIG_fail
;
15349 Py_INCREF(Py_None
); resultobj
= Py_None
;
15351 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15352 resultobj
= t_output_helper(resultobj
,o
);
15355 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15356 resultobj
= t_output_helper(resultobj
,o
);
15364 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
;
15366 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15368 PyObject
* obj0
= 0 ;
15369 char *kwnames
[] = {
15370 (char *) "self", NULL
15373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15374 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15380 wxPyEndAllowThreads(__tstate
);
15381 if (PyErr_Occurred()) SWIG_fail
;
15383 resultobj
= SWIG_FromInt((int)result
);
15390 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15391 PyObject
*resultobj
;
15392 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15394 PyObject
* obj0
= 0 ;
15395 char *kwnames
[] = {
15396 (char *) "self", NULL
15399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15404 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15406 wxPyEndAllowThreads(__tstate
);
15407 if (PyErr_Occurred()) SWIG_fail
;
15409 resultobj
= SWIG_FromInt((int)result
);
15416 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15420 PyObject
* obj0
= 0 ;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "self",(char *) "m_x", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15429 arg2
= (int) SWIG_AsInt(obj1
);
15430 if (PyErr_Occurred()) SWIG_fail
;
15431 if (arg1
) (arg1
)->m_x
= arg2
;
15433 Py_INCREF(Py_None
); resultobj
= Py_None
;
15440 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15441 PyObject
*resultobj
;
15442 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15444 PyObject
* obj0
= 0 ;
15445 char *kwnames
[] = {
15446 (char *) "self", NULL
15449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15452 result
= (int) ((arg1
)->m_x
);
15454 resultobj
= SWIG_FromInt((int)result
);
15461 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15462 PyObject
*resultobj
;
15463 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15465 PyObject
* obj0
= 0 ;
15466 PyObject
* obj1
= 0 ;
15467 char *kwnames
[] = {
15468 (char *) "self",(char *) "m_y", NULL
15471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15474 arg2
= (int) SWIG_AsInt(obj1
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15476 if (arg1
) (arg1
)->m_y
= arg2
;
15478 Py_INCREF(Py_None
); resultobj
= Py_None
;
15485 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15486 PyObject
*resultobj
;
15487 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15489 PyObject
* obj0
= 0 ;
15490 char *kwnames
[] = {
15491 (char *) "self", NULL
15494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15495 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15496 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15497 result
= (int) ((arg1
)->m_y
);
15499 resultobj
= SWIG_FromInt((int)result
);
15506 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15507 PyObject
*resultobj
;
15508 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15510 PyObject
* obj0
= 0 ;
15511 PyObject
* obj1
= 0 ;
15512 char *kwnames
[] = {
15513 (char *) "self",(char *) "m_keyCode", NULL
15516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15519 arg2
= (long) SWIG_AsLong(obj1
);
15520 if (PyErr_Occurred()) SWIG_fail
;
15521 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15523 Py_INCREF(Py_None
); resultobj
= Py_None
;
15530 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15531 PyObject
*resultobj
;
15532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15534 PyObject
* obj0
= 0 ;
15535 char *kwnames
[] = {
15536 (char *) "self", NULL
15539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15542 result
= (long) ((arg1
)->m_keyCode
);
15544 resultobj
= SWIG_FromLong((long)result
);
15551 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15552 PyObject
*resultobj
;
15553 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15555 PyObject
* obj0
= 0 ;
15556 PyObject
* obj1
= 0 ;
15557 char *kwnames
[] = {
15558 (char *) "self",(char *) "m_controlDown", NULL
15561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15564 arg2
= (bool) SWIG_AsBool(obj1
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15566 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15568 Py_INCREF(Py_None
); resultobj
= Py_None
;
15575 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15576 PyObject
*resultobj
;
15577 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15579 PyObject
* obj0
= 0 ;
15580 char *kwnames
[] = {
15581 (char *) "self", NULL
15584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15585 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15586 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15587 result
= (bool) ((arg1
)->m_controlDown
);
15589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15596 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 PyObject
* obj1
= 0 ;
15602 char *kwnames
[] = {
15603 (char *) "self",(char *) "m_shiftDown", NULL
15606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15609 arg2
= (bool) SWIG_AsBool(obj1
);
15610 if (PyErr_Occurred()) SWIG_fail
;
15611 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15613 Py_INCREF(Py_None
); resultobj
= Py_None
;
15620 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15621 PyObject
*resultobj
;
15622 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15624 PyObject
* obj0
= 0 ;
15625 char *kwnames
[] = {
15626 (char *) "self", NULL
15629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15632 result
= (bool) ((arg1
)->m_shiftDown
);
15634 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15641 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15642 PyObject
*resultobj
;
15643 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15645 PyObject
* obj0
= 0 ;
15646 PyObject
* obj1
= 0 ;
15647 char *kwnames
[] = {
15648 (char *) "self",(char *) "m_altDown", NULL
15651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15652 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15653 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15654 arg2
= (bool) SWIG_AsBool(obj1
);
15655 if (PyErr_Occurred()) SWIG_fail
;
15656 if (arg1
) (arg1
)->m_altDown
= arg2
;
15658 Py_INCREF(Py_None
); resultobj
= Py_None
;
15665 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15666 PyObject
*resultobj
;
15667 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15669 PyObject
* obj0
= 0 ;
15670 char *kwnames
[] = {
15671 (char *) "self", NULL
15674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15677 result
= (bool) ((arg1
)->m_altDown
);
15679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15686 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15690 PyObject
* obj0
= 0 ;
15691 PyObject
* obj1
= 0 ;
15692 char *kwnames
[] = {
15693 (char *) "self",(char *) "m_metaDown", NULL
15696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15699 arg2
= (bool) SWIG_AsBool(obj1
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15701 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15703 Py_INCREF(Py_None
); resultobj
= Py_None
;
15710 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15711 PyObject
*resultobj
;
15712 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15714 PyObject
* obj0
= 0 ;
15715 char *kwnames
[] = {
15716 (char *) "self", NULL
15719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15720 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15721 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15722 result
= (bool) ((arg1
)->m_metaDown
);
15724 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15731 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15732 PyObject
*resultobj
;
15733 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15735 PyObject
* obj0
= 0 ;
15736 PyObject
* obj1
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self",(char *) "m_scanCode", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15743 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15744 arg2
= (bool) SWIG_AsBool(obj1
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15746 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15748 Py_INCREF(Py_None
); resultobj
= Py_None
;
15755 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15766 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15767 result
= (bool) ((arg1
)->m_scanCode
);
15769 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15776 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15777 PyObject
*resultobj
;
15778 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15779 unsigned int arg2
;
15780 PyObject
* obj0
= 0 ;
15781 PyObject
* obj1
= 0 ;
15782 char *kwnames
[] = {
15783 (char *) "self",(char *) "m_rawCode", NULL
15786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15787 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15788 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15789 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15790 if (PyErr_Occurred()) SWIG_fail
;
15791 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15793 Py_INCREF(Py_None
); resultobj
= Py_None
;
15800 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15801 PyObject
*resultobj
;
15802 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15803 unsigned int result
;
15804 PyObject
* obj0
= 0 ;
15805 char *kwnames
[] = {
15806 (char *) "self", NULL
15809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15812 result
= (unsigned int) ((arg1
)->m_rawCode
);
15814 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15821 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
;
15823 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15824 unsigned int arg2
;
15825 PyObject
* obj0
= 0 ;
15826 PyObject
* obj1
= 0 ;
15827 char *kwnames
[] = {
15828 (char *) "self",(char *) "m_rawFlags", NULL
15831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15832 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15833 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15834 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15835 if (PyErr_Occurred()) SWIG_fail
;
15836 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15838 Py_INCREF(Py_None
); resultobj
= Py_None
;
15845 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15846 PyObject
*resultobj
;
15847 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15848 unsigned int result
;
15849 PyObject
* obj0
= 0 ;
15850 char *kwnames
[] = {
15851 (char *) "self", NULL
15854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15855 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15856 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15857 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15859 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15866 static PyObject
* KeyEvent_swigregister(PyObject
*, PyObject
*args
) {
15868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15869 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15871 return Py_BuildValue((char *)"");
15873 static PyObject
*_wrap_new_SizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
;
15875 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15876 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15877 int arg2
= (int) 0 ;
15878 wxSizeEvent
*result
;
15880 PyObject
* obj0
= 0 ;
15881 PyObject
* obj1
= 0 ;
15882 char *kwnames
[] = {
15883 (char *) "sz",(char *) "winid", NULL
15886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15890 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15894 arg2
= (int) SWIG_AsInt(obj1
);
15895 if (PyErr_Occurred()) SWIG_fail
;
15898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15899 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15901 wxPyEndAllowThreads(__tstate
);
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
15911 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15912 PyObject
*resultobj
;
15913 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15915 PyObject
* obj0
= 0 ;
15916 char *kwnames
[] = {
15917 (char *) "self", NULL
15920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15925 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15927 wxPyEndAllowThreads(__tstate
);
15928 if (PyErr_Occurred()) SWIG_fail
;
15931 wxSize
* resultptr
;
15932 resultptr
= new wxSize((wxSize
&) result
);
15933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15941 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15942 PyObject
*resultobj
;
15943 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15945 PyObject
* obj0
= 0 ;
15946 char *kwnames
[] = {
15947 (char *) "self", NULL
15950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15955 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15957 wxPyEndAllowThreads(__tstate
);
15958 if (PyErr_Occurred()) SWIG_fail
;
15961 wxRect
* resultptr
;
15962 resultptr
= new wxRect((wxRect
&) result
);
15963 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15971 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
15972 PyObject
*resultobj
;
15973 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15976 PyObject
* obj0
= 0 ;
15977 PyObject
* obj1
= 0 ;
15978 char *kwnames
[] = {
15979 (char *) "self",(char *) "rect", NULL
15982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15985 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
15986 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15990 (arg1
)->SetRect(arg2
);
15992 wxPyEndAllowThreads(__tstate
);
15993 if (PyErr_Occurred()) SWIG_fail
;
15995 Py_INCREF(Py_None
); resultobj
= Py_None
;
16002 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16003 PyObject
*resultobj
;
16004 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 PyObject
* obj1
= 0 ;
16009 char *kwnames
[] = {
16010 (char *) "self",(char *) "size", NULL
16013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16016 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16017 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16021 wxSizeEvent_SetSize(arg1
,arg2
);
16023 wxPyEndAllowThreads(__tstate
);
16024 if (PyErr_Occurred()) SWIG_fail
;
16026 Py_INCREF(Py_None
); resultobj
= Py_None
;
16033 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16034 PyObject
*resultobj
;
16035 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16036 wxSize
*arg2
= (wxSize
*) 0 ;
16037 PyObject
* obj0
= 0 ;
16038 PyObject
* obj1
= 0 ;
16039 char *kwnames
[] = {
16040 (char *) "self",(char *) "m_size", NULL
16043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16048 if (arg1
) (arg1
)->m_size
= *arg2
;
16050 Py_INCREF(Py_None
); resultobj
= Py_None
;
16057 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16058 PyObject
*resultobj
;
16059 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16061 PyObject
* obj0
= 0 ;
16062 char *kwnames
[] = {
16063 (char *) "self", NULL
16066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16069 result
= (wxSize
*)& ((arg1
)->m_size
);
16071 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16078 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16079 PyObject
*resultobj
;
16080 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16081 wxRect
*arg2
= (wxRect
*) 0 ;
16082 PyObject
* obj0
= 0 ;
16083 PyObject
* obj1
= 0 ;
16084 char *kwnames
[] = {
16085 (char *) "self",(char *) "m_rect", NULL
16088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16092 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16093 if (arg1
) (arg1
)->m_rect
= *arg2
;
16095 Py_INCREF(Py_None
); resultobj
= Py_None
;
16102 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16106 PyObject
* obj0
= 0 ;
16107 char *kwnames
[] = {
16108 (char *) "self", NULL
16111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16114 result
= (wxRect
*)& ((arg1
)->m_rect
);
16116 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16123 static PyObject
* SizeEvent_swigregister(PyObject
*, PyObject
*args
) {
16125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16126 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16128 return Py_BuildValue((char *)"");
16130 static PyObject
*_wrap_new_MoveEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16131 PyObject
*resultobj
;
16132 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16133 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16134 int arg2
= (int) 0 ;
16135 wxMoveEvent
*result
;
16137 PyObject
* obj0
= 0 ;
16138 PyObject
* obj1
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "pos",(char *) "winid", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16147 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16151 arg2
= (int) SWIG_AsInt(obj1
);
16152 if (PyErr_Occurred()) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16168 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16182 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16188 wxPoint
* resultptr
;
16189 resultptr
= new wxPoint((wxPoint
&) result
);
16190 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16198 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16199 PyObject
*resultobj
;
16200 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16202 PyObject
* obj0
= 0 ;
16203 char *kwnames
[] = {
16204 (char *) "self", NULL
16207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16218 wxRect
* resultptr
;
16219 resultptr
= new wxRect((wxRect
&) result
);
16220 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16228 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16229 PyObject
*resultobj
;
16230 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16233 PyObject
* obj0
= 0 ;
16234 PyObject
* obj1
= 0 ;
16235 char *kwnames
[] = {
16236 (char *) "self",(char *) "rect", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16240 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16241 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16242 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16243 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16247 (arg1
)->SetRect(arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 Py_INCREF(Py_None
); resultobj
= Py_None
;
16259 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16264 PyObject
* obj0
= 0 ;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "self",(char *) "pos", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16272 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16273 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16274 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 wxMoveEvent_SetPosition(arg1
,arg2
);
16280 wxPyEndAllowThreads(__tstate
);
16281 if (PyErr_Occurred()) SWIG_fail
;
16283 Py_INCREF(Py_None
); resultobj
= Py_None
;
16290 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16291 PyObject
*resultobj
;
16292 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16293 wxPoint
*arg2
= (wxPoint
*) 0 ;
16294 PyObject
* obj0
= 0 ;
16295 PyObject
* obj1
= 0 ;
16296 char *kwnames
[] = {
16297 (char *) "self",(char *) "m_pos", NULL
16300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16301 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16305 if (arg1
) (arg1
)->m_pos
= *arg2
;
16307 Py_INCREF(Py_None
); resultobj
= Py_None
;
16314 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16315 PyObject
*resultobj
;
16316 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16318 PyObject
* obj0
= 0 ;
16319 char *kwnames
[] = {
16320 (char *) "self", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16326 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16328 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16335 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16336 PyObject
*resultobj
;
16337 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16338 wxRect
*arg2
= (wxRect
*) 0 ;
16339 PyObject
* obj0
= 0 ;
16340 PyObject
* obj1
= 0 ;
16341 char *kwnames
[] = {
16342 (char *) "self",(char *) "m_rect", NULL
16345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16346 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16350 if (arg1
) (arg1
)->m_rect
= *arg2
;
16352 Py_INCREF(Py_None
); resultobj
= Py_None
;
16359 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16360 PyObject
*resultobj
;
16361 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16363 PyObject
* obj0
= 0 ;
16364 char *kwnames
[] = {
16365 (char *) "self", NULL
16368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16369 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16371 result
= (wxRect
*)& ((arg1
)->m_rect
);
16373 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16380 static PyObject
* MoveEvent_swigregister(PyObject
*, PyObject
*args
) {
16382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16383 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16385 return Py_BuildValue((char *)"");
16387 static PyObject
*_wrap_new_PaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 int arg1
= (int) 0 ;
16390 wxPaintEvent
*result
;
16391 PyObject
* obj0
= 0 ;
16392 char *kwnames
[] = {
16393 (char *) "Id", NULL
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16398 arg1
= (int) SWIG_AsInt(obj0
);
16399 if (PyErr_Occurred()) SWIG_fail
;
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16405 wxPyEndAllowThreads(__tstate
);
16406 if (PyErr_Occurred()) SWIG_fail
;
16408 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16415 static PyObject
* PaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16418 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16420 return Py_BuildValue((char *)"");
16422 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16423 PyObject
*resultobj
;
16424 int arg1
= (int) 0 ;
16425 wxNcPaintEvent
*result
;
16426 PyObject
* obj0
= 0 ;
16427 char *kwnames
[] = {
16428 (char *) "winid", NULL
16431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16433 arg1
= (int) SWIG_AsInt(obj0
);
16434 if (PyErr_Occurred()) SWIG_fail
;
16437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16438 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16440 wxPyEndAllowThreads(__tstate
);
16441 if (PyErr_Occurred()) SWIG_fail
;
16443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16450 static PyObject
* NcPaintEvent_swigregister(PyObject
*, PyObject
*args
) {
16452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16453 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16455 return Py_BuildValue((char *)"");
16457 static PyObject
*_wrap_new_EraseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 int arg1
= (int) 0 ;
16460 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16461 wxEraseEvent
*result
;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "Id",(char *) "dc", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16470 arg1
= (int) SWIG_AsInt(obj0
);
16471 if (PyErr_Occurred()) SWIG_fail
;
16474 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16479 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16481 wxPyEndAllowThreads(__tstate
);
16482 if (PyErr_Occurred()) SWIG_fail
;
16484 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16491 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16492 PyObject
*resultobj
;
16493 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16495 PyObject
* obj0
= 0 ;
16496 char *kwnames
[] = {
16497 (char *) "self", NULL
16500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16511 resultobj
= wxPyMake_wxObject(result
);
16519 static PyObject
* EraseEvent_swigregister(PyObject
*, PyObject
*args
) {
16521 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16522 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16524 return Py_BuildValue((char *)"");
16526 static PyObject
*_wrap_new_FocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16529 int arg2
= (int) 0 ;
16530 wxFocusEvent
*result
;
16531 PyObject
* obj0
= 0 ;
16532 PyObject
* obj1
= 0 ;
16533 char *kwnames
[] = {
16534 (char *) "type",(char *) "winid", NULL
16537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16539 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16540 if (PyErr_Occurred()) SWIG_fail
;
16543 arg2
= (int) SWIG_AsInt(obj1
);
16544 if (PyErr_Occurred()) SWIG_fail
;
16547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16548 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16550 wxPyEndAllowThreads(__tstate
);
16551 if (PyErr_Occurred()) SWIG_fail
;
16553 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16560 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16561 PyObject
*resultobj
;
16562 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16564 PyObject
* obj0
= 0 ;
16565 char *kwnames
[] = {
16566 (char *) "self", NULL
16569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16574 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= wxPyMake_wxObject(result
);
16588 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16589 PyObject
*resultobj
;
16590 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16591 wxWindow
*arg2
= (wxWindow
*) 0 ;
16592 PyObject
* obj0
= 0 ;
16593 PyObject
* obj1
= 0 ;
16594 char *kwnames
[] = {
16595 (char *) "self",(char *) "win", NULL
16598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16601 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 (arg1
)->SetWindow(arg2
);
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 Py_INCREF(Py_None
); resultobj
= Py_None
;
16617 static PyObject
* FocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16620 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16622 return Py_BuildValue((char *)"");
16624 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16625 PyObject
*resultobj
;
16626 wxWindow
*arg1
= (wxWindow
*) NULL
;
16627 wxChildFocusEvent
*result
;
16628 PyObject
* obj0
= 0 ;
16629 char *kwnames
[] = {
16630 (char *) "win", NULL
16633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16635 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16636 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16640 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16642 wxPyEndAllowThreads(__tstate
);
16643 if (PyErr_Occurred()) SWIG_fail
;
16645 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16652 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16653 PyObject
*resultobj
;
16654 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16656 PyObject
* obj0
= 0 ;
16657 char *kwnames
[] = {
16658 (char *) "self", NULL
16661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16668 wxPyEndAllowThreads(__tstate
);
16669 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= wxPyMake_wxObject(result
);
16680 static PyObject
* ChildFocusEvent_swigregister(PyObject
*, PyObject
*args
) {
16682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16683 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16685 return Py_BuildValue((char *)"");
16687 static PyObject
*_wrap_new_ActivateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16688 PyObject
*resultobj
;
16689 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16690 bool arg2
= (bool) True
;
16691 int arg3
= (int) 0 ;
16692 wxActivateEvent
*result
;
16693 PyObject
* obj0
= 0 ;
16694 PyObject
* obj1
= 0 ;
16695 PyObject
* obj2
= 0 ;
16696 char *kwnames
[] = {
16697 (char *) "type",(char *) "active",(char *) "Id", NULL
16700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16702 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16706 arg2
= (bool) SWIG_AsBool(obj1
);
16707 if (PyErr_Occurred()) SWIG_fail
;
16710 arg3
= (int) SWIG_AsInt(obj2
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16715 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16717 wxPyEndAllowThreads(__tstate
);
16718 if (PyErr_Occurred()) SWIG_fail
;
16720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16727 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16728 PyObject
*resultobj
;
16729 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16731 PyObject
* obj0
= 0 ;
16732 char *kwnames
[] = {
16733 (char *) "self", NULL
16736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16741 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16743 wxPyEndAllowThreads(__tstate
);
16744 if (PyErr_Occurred()) SWIG_fail
;
16746 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16753 static PyObject
* ActivateEvent_swigregister(PyObject
*, PyObject
*args
) {
16755 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16756 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16758 return Py_BuildValue((char *)"");
16760 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 int arg1
= (int) 0 ;
16763 wxInitDialogEvent
*result
;
16764 PyObject
* obj0
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "Id", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16771 arg1
= (int) SWIG_AsInt(obj0
);
16772 if (PyErr_Occurred()) SWIG_fail
;
16775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16776 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16778 wxPyEndAllowThreads(__tstate
);
16779 if (PyErr_Occurred()) SWIG_fail
;
16781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16788 static PyObject
* InitDialogEvent_swigregister(PyObject
*, PyObject
*args
) {
16790 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16791 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16793 return Py_BuildValue((char *)"");
16795 static PyObject
*_wrap_new_MenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16798 int arg2
= (int) 0 ;
16799 wxMenu
*arg3
= (wxMenu
*) NULL
;
16800 wxMenuEvent
*result
;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 PyObject
* obj2
= 0 ;
16804 char *kwnames
[] = {
16805 (char *) "type",(char *) "winid",(char *) "menu", NULL
16808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16810 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 arg2
= (int) SWIG_AsInt(obj1
);
16815 if (PyErr_Occurred()) SWIG_fail
;
16818 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
16819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16823 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16825 wxPyEndAllowThreads(__tstate
);
16826 if (PyErr_Occurred()) SWIG_fail
;
16828 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
16835 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16836 PyObject
*resultobj
;
16837 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16839 PyObject
* obj0
= 0 ;
16840 char *kwnames
[] = {
16841 (char *) "self", NULL
16844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 resultobj
= SWIG_FromInt((int)result
);
16861 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16872 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16875 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16877 wxPyEndAllowThreads(__tstate
);
16878 if (PyErr_Occurred()) SWIG_fail
;
16880 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16887 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16888 PyObject
*resultobj
;
16889 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16891 PyObject
* obj0
= 0 ;
16892 char *kwnames
[] = {
16893 (char *) "self", NULL
16896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16901 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16907 resultobj
= wxPyMake_wxObject(result
);
16915 static PyObject
* MenuEvent_swigregister(PyObject
*, PyObject
*args
) {
16917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16918 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16920 return Py_BuildValue((char *)"");
16922 static PyObject
*_wrap_new_CloseEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16923 PyObject
*resultobj
;
16924 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16925 int arg2
= (int) 0 ;
16926 wxCloseEvent
*result
;
16927 PyObject
* obj0
= 0 ;
16928 PyObject
* obj1
= 0 ;
16929 char *kwnames
[] = {
16930 (char *) "type",(char *) "winid", NULL
16933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16935 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16936 if (PyErr_Occurred()) SWIG_fail
;
16939 arg2
= (int) SWIG_AsInt(obj1
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16944 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16946 wxPyEndAllowThreads(__tstate
);
16947 if (PyErr_Occurred()) SWIG_fail
;
16949 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
16956 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16957 PyObject
*resultobj
;
16958 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16960 PyObject
* obj0
= 0 ;
16961 PyObject
* obj1
= 0 ;
16962 char *kwnames
[] = {
16963 (char *) "self",(char *) "logOff", NULL
16966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16969 arg2
= (bool) SWIG_AsBool(obj1
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16973 (arg1
)->SetLoggingOff(arg2
);
16975 wxPyEndAllowThreads(__tstate
);
16976 if (PyErr_Occurred()) SWIG_fail
;
16978 Py_INCREF(Py_None
); resultobj
= Py_None
;
16985 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
16986 PyObject
*resultobj
;
16987 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16996 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16999 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
17001 wxPyEndAllowThreads(__tstate
);
17002 if (PyErr_Occurred()) SWIG_fail
;
17004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17011 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17012 PyObject
*resultobj
;
17013 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17014 bool arg2
= (bool) True
;
17015 PyObject
* obj0
= 0 ;
17016 PyObject
* obj1
= 0 ;
17017 char *kwnames
[] = {
17018 (char *) "self",(char *) "veto", NULL
17021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17025 arg2
= (bool) SWIG_AsBool(obj1
);
17026 if (PyErr_Occurred()) SWIG_fail
;
17029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17030 (arg1
)->Veto(arg2
);
17032 wxPyEndAllowThreads(__tstate
);
17033 if (PyErr_Occurred()) SWIG_fail
;
17035 Py_INCREF(Py_None
); resultobj
= Py_None
;
17042 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17043 PyObject
*resultobj
;
17044 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17046 PyObject
* obj0
= 0 ;
17047 PyObject
* obj1
= 0 ;
17048 char *kwnames
[] = {
17049 (char *) "self",(char *) "canVeto", NULL
17052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17055 arg2
= (bool) SWIG_AsBool(obj1
);
17056 if (PyErr_Occurred()) SWIG_fail
;
17058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17059 (arg1
)->SetCanVeto(arg2
);
17061 wxPyEndAllowThreads(__tstate
);
17062 if (PyErr_Occurred()) SWIG_fail
;
17064 Py_INCREF(Py_None
); resultobj
= Py_None
;
17071 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17072 PyObject
*resultobj
;
17073 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17075 PyObject
* obj0
= 0 ;
17076 char *kwnames
[] = {
17077 (char *) "self", NULL
17080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17085 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17087 wxPyEndAllowThreads(__tstate
);
17088 if (PyErr_Occurred()) SWIG_fail
;
17090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17097 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17098 PyObject
*resultobj
;
17099 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17101 PyObject
* obj0
= 0 ;
17102 char *kwnames
[] = {
17103 (char *) "self", NULL
17106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17107 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17108 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17113 wxPyEndAllowThreads(__tstate
);
17114 if (PyErr_Occurred()) SWIG_fail
;
17116 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17123 static PyObject
* CloseEvent_swigregister(PyObject
*, PyObject
*args
) {
17125 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17126 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17128 return Py_BuildValue((char *)"");
17130 static PyObject
*_wrap_new_ShowEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 int arg1
= (int) 0 ;
17133 bool arg2
= (bool) False
;
17134 wxShowEvent
*result
;
17135 PyObject
* obj0
= 0 ;
17136 PyObject
* obj1
= 0 ;
17137 char *kwnames
[] = {
17138 (char *) "winid",(char *) "show", NULL
17141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17143 arg1
= (int) SWIG_AsInt(obj0
);
17144 if (PyErr_Occurred()) SWIG_fail
;
17147 arg2
= (bool) SWIG_AsBool(obj1
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17152 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17154 wxPyEndAllowThreads(__tstate
);
17155 if (PyErr_Occurred()) SWIG_fail
;
17157 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17164 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17165 PyObject
*resultobj
;
17166 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17168 PyObject
* obj0
= 0 ;
17169 PyObject
* obj1
= 0 ;
17170 char *kwnames
[] = {
17171 (char *) "self",(char *) "show", NULL
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17175 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17176 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17177 arg2
= (bool) SWIG_AsBool(obj1
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17181 (arg1
)->SetShow(arg2
);
17183 wxPyEndAllowThreads(__tstate
);
17184 if (PyErr_Occurred()) SWIG_fail
;
17186 Py_INCREF(Py_None
); resultobj
= Py_None
;
17193 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17194 PyObject
*resultobj
;
17195 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17197 PyObject
* obj0
= 0 ;
17198 char *kwnames
[] = {
17199 (char *) "self", NULL
17202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17207 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17209 wxPyEndAllowThreads(__tstate
);
17210 if (PyErr_Occurred()) SWIG_fail
;
17212 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17219 static PyObject
* ShowEvent_swigregister(PyObject
*, PyObject
*args
) {
17221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17222 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17224 return Py_BuildValue((char *)"");
17226 static PyObject
*_wrap_new_IconizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17227 PyObject
*resultobj
;
17228 int arg1
= (int) 0 ;
17229 bool arg2
= (bool) True
;
17230 wxIconizeEvent
*result
;
17231 PyObject
* obj0
= 0 ;
17232 PyObject
* obj1
= 0 ;
17233 char *kwnames
[] = {
17234 (char *) "id",(char *) "iconized", NULL
17237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17239 arg1
= (int) SWIG_AsInt(obj0
);
17240 if (PyErr_Occurred()) SWIG_fail
;
17243 arg2
= (bool) SWIG_AsBool(obj1
);
17244 if (PyErr_Occurred()) SWIG_fail
;
17247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17248 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17250 wxPyEndAllowThreads(__tstate
);
17251 if (PyErr_Occurred()) SWIG_fail
;
17253 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17260 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17261 PyObject
*resultobj
;
17262 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17264 PyObject
* obj0
= 0 ;
17265 char *kwnames
[] = {
17266 (char *) "self", NULL
17269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17274 result
= (bool)(arg1
)->Iconized();
17276 wxPyEndAllowThreads(__tstate
);
17277 if (PyErr_Occurred()) SWIG_fail
;
17279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17286 static PyObject
* IconizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17288 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17289 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17291 return Py_BuildValue((char *)"");
17293 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17294 PyObject
*resultobj
;
17295 int arg1
= (int) 0 ;
17296 wxMaximizeEvent
*result
;
17297 PyObject
* obj0
= 0 ;
17298 char *kwnames
[] = {
17299 (char *) "id", NULL
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17304 arg1
= (int) SWIG_AsInt(obj0
);
17305 if (PyErr_Occurred()) SWIG_fail
;
17308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17309 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17311 wxPyEndAllowThreads(__tstate
);
17312 if (PyErr_Occurred()) SWIG_fail
;
17314 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17321 static PyObject
* MaximizeEvent_swigregister(PyObject
*, PyObject
*args
) {
17323 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17324 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17326 return Py_BuildValue((char *)"");
17328 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17329 PyObject
*resultobj
;
17330 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17332 PyObject
* obj0
= 0 ;
17333 char *kwnames
[] = {
17334 (char *) "self", NULL
17337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17342 result
= (arg1
)->GetPosition();
17344 wxPyEndAllowThreads(__tstate
);
17345 if (PyErr_Occurred()) SWIG_fail
;
17348 wxPoint
* resultptr
;
17349 resultptr
= new wxPoint((wxPoint
&) result
);
17350 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17358 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17359 PyObject
*resultobj
;
17360 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17362 PyObject
* obj0
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17372 result
= (int)(arg1
)->GetNumberOfFiles();
17374 wxPyEndAllowThreads(__tstate
);
17375 if (PyErr_Occurred()) SWIG_fail
;
17377 resultobj
= SWIG_FromInt((int)result
);
17384 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17385 PyObject
*resultobj
;
17386 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17388 PyObject
* obj0
= 0 ;
17389 char *kwnames
[] = {
17390 (char *) "self", NULL
17393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17398 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17400 wxPyEndAllowThreads(__tstate
);
17401 if (PyErr_Occurred()) SWIG_fail
;
17403 resultobj
= result
;
17410 static PyObject
* DropFilesEvent_swigregister(PyObject
*, PyObject
*args
) {
17412 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17413 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17415 return Py_BuildValue((char *)"");
17417 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17418 PyObject
*resultobj
;
17419 int arg1
= (int) 0 ;
17420 wxUpdateUIEvent
*result
;
17421 PyObject
* obj0
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "commandId", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17428 arg1
= (int) SWIG_AsInt(obj0
);
17429 if (PyErr_Occurred()) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17445 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17459 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17461 wxPyEndAllowThreads(__tstate
);
17462 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17471 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17472 PyObject
*resultobj
;
17473 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17475 PyObject
* obj0
= 0 ;
17476 char *kwnames
[] = {
17477 (char *) "self", NULL
17480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17485 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17487 wxPyEndAllowThreads(__tstate
);
17488 if (PyErr_Occurred()) SWIG_fail
;
17490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17497 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17498 PyObject
*resultobj
;
17499 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17501 PyObject
* obj0
= 0 ;
17502 char *kwnames
[] = {
17503 (char *) "self", NULL
17506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17511 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17513 wxPyEndAllowThreads(__tstate
);
17514 if (PyErr_Occurred()) SWIG_fail
;
17518 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17520 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17529 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17530 PyObject
*resultobj
;
17531 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17533 PyObject
* obj0
= 0 ;
17534 char *kwnames
[] = {
17535 (char *) "self", NULL
17538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17555 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17581 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17582 PyObject
*resultobj
;
17583 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17592 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17595 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17597 wxPyEndAllowThreads(__tstate
);
17598 if (PyErr_Occurred()) SWIG_fail
;
17600 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17607 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17608 PyObject
*resultobj
;
17609 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17611 PyObject
* obj0
= 0 ;
17612 PyObject
* obj1
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self",(char *) "check", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17619 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17620 arg2
= (bool) SWIG_AsBool(obj1
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17624 (arg1
)->Check(arg2
);
17626 wxPyEndAllowThreads(__tstate
);
17627 if (PyErr_Occurred()) SWIG_fail
;
17629 Py_INCREF(Py_None
); resultobj
= Py_None
;
17636 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17637 PyObject
*resultobj
;
17638 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17640 PyObject
* obj0
= 0 ;
17641 PyObject
* obj1
= 0 ;
17642 char *kwnames
[] = {
17643 (char *) "self",(char *) "enable", NULL
17646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17649 arg2
= (bool) SWIG_AsBool(obj1
);
17650 if (PyErr_Occurred()) SWIG_fail
;
17652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17653 (arg1
)->Enable(arg2
);
17655 wxPyEndAllowThreads(__tstate
);
17656 if (PyErr_Occurred()) SWIG_fail
;
17658 Py_INCREF(Py_None
); resultobj
= Py_None
;
17665 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17666 PyObject
*resultobj
;
17667 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17668 wxString
*arg2
= 0 ;
17669 bool temp2
= False
;
17670 PyObject
* obj0
= 0 ;
17671 PyObject
* obj1
= 0 ;
17672 char *kwnames
[] = {
17673 (char *) "self",(char *) "text", NULL
17676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17680 arg2
= wxString_in_helper(obj1
);
17681 if (arg2
== NULL
) SWIG_fail
;
17685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17686 (arg1
)->SetText((wxString
const &)*arg2
);
17688 wxPyEndAllowThreads(__tstate
);
17689 if (PyErr_Occurred()) SWIG_fail
;
17691 Py_INCREF(Py_None
); resultobj
= Py_None
;
17706 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17707 PyObject
*resultobj
;
17709 PyObject
* obj0
= 0 ;
17710 char *kwnames
[] = {
17711 (char *) "updateInterval", NULL
17714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17715 arg1
= (long) SWIG_AsLong(obj0
);
17716 if (PyErr_Occurred()) SWIG_fail
;
17718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17719 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17721 wxPyEndAllowThreads(__tstate
);
17722 if (PyErr_Occurred()) SWIG_fail
;
17724 Py_INCREF(Py_None
); resultobj
= Py_None
;
17731 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17732 PyObject
*resultobj
;
17734 char *kwnames
[] = {
17738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17741 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17743 wxPyEndAllowThreads(__tstate
);
17744 if (PyErr_Occurred()) SWIG_fail
;
17746 resultobj
= SWIG_FromLong((long)result
);
17753 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17754 PyObject
*resultobj
;
17755 wxWindow
*arg1
= (wxWindow
*) 0 ;
17757 PyObject
* obj0
= 0 ;
17758 char *kwnames
[] = {
17759 (char *) "win", NULL
17762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17767 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17769 wxPyEndAllowThreads(__tstate
);
17770 if (PyErr_Occurred()) SWIG_fail
;
17772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17779 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17780 PyObject
*resultobj
;
17781 char *kwnames
[] = {
17785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17788 wxUpdateUIEvent::ResetUpdateTime();
17790 wxPyEndAllowThreads(__tstate
);
17791 if (PyErr_Occurred()) SWIG_fail
;
17793 Py_INCREF(Py_None
); resultobj
= Py_None
;
17800 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17801 PyObject
*resultobj
;
17803 PyObject
* obj0
= 0 ;
17804 char *kwnames
[] = {
17805 (char *) "mode", NULL
17808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17809 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
17810 if (PyErr_Occurred()) SWIG_fail
;
17812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17813 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 Py_INCREF(Py_None
); resultobj
= Py_None
;
17825 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17826 PyObject
*resultobj
;
17828 char *kwnames
[] = {
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (int)wxUpdateUIEvent::GetMode();
17837 wxPyEndAllowThreads(__tstate
);
17838 if (PyErr_Occurred()) SWIG_fail
;
17840 resultobj
= SWIG_FromInt((int)result
);
17847 static PyObject
* UpdateUIEvent_swigregister(PyObject
*, PyObject
*args
) {
17849 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17850 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17852 return Py_BuildValue((char *)"");
17854 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17855 PyObject
*resultobj
;
17856 wxSysColourChangedEvent
*result
;
17857 char *kwnames
[] = {
17861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17864 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17866 wxPyEndAllowThreads(__tstate
);
17867 if (PyErr_Occurred()) SWIG_fail
;
17869 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17876 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
17878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17879 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17881 return Py_BuildValue((char *)"");
17883 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17884 PyObject
*resultobj
;
17885 int arg1
= (int) 0 ;
17886 wxWindow
*arg2
= (wxWindow
*) NULL
;
17887 wxMouseCaptureChangedEvent
*result
;
17888 PyObject
* obj0
= 0 ;
17889 PyObject
* obj1
= 0 ;
17890 char *kwnames
[] = {
17891 (char *) "winid",(char *) "gainedCapture", NULL
17894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17896 arg1
= (int) SWIG_AsInt(obj0
);
17897 if (PyErr_Occurred()) SWIG_fail
;
17900 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17901 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17905 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17907 wxPyEndAllowThreads(__tstate
);
17908 if (PyErr_Occurred()) SWIG_fail
;
17910 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17917 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17918 PyObject
*resultobj
;
17919 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17921 PyObject
* obj0
= 0 ;
17922 char *kwnames
[] = {
17923 (char *) "self", NULL
17926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17927 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
17928 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17931 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17933 wxPyEndAllowThreads(__tstate
);
17934 if (PyErr_Occurred()) SWIG_fail
;
17937 resultobj
= wxPyMake_wxObject(result
);
17945 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
17947 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17948 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17950 return Py_BuildValue((char *)"");
17952 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxDisplayChangedEvent
*result
;
17955 char *kwnames
[] = {
17959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17974 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
17976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17977 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17979 return Py_BuildValue((char *)"");
17981 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 int arg1
= (int) 0 ;
17984 wxPaletteChangedEvent
*result
;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "id", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17992 arg1
= (int) SWIG_AsInt(obj0
);
17993 if (PyErr_Occurred()) SWIG_fail
;
17996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17997 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18009 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18010 PyObject
*resultobj
;
18011 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18012 wxWindow
*arg2
= (wxWindow
*) 0 ;
18013 PyObject
* obj0
= 0 ;
18014 PyObject
* obj1
= 0 ;
18015 char *kwnames
[] = {
18016 (char *) "self",(char *) "win", NULL
18019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18026 (arg1
)->SetChangedWindow(arg2
);
18028 wxPyEndAllowThreads(__tstate
);
18029 if (PyErr_Occurred()) SWIG_fail
;
18031 Py_INCREF(Py_None
); resultobj
= Py_None
;
18038 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18039 PyObject
*resultobj
;
18040 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18042 PyObject
* obj0
= 0 ;
18043 char *kwnames
[] = {
18044 (char *) "self", NULL
18047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18052 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18054 wxPyEndAllowThreads(__tstate
);
18055 if (PyErr_Occurred()) SWIG_fail
;
18058 resultobj
= wxPyMake_wxObject(result
);
18066 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*, PyObject
*args
) {
18068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18069 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18071 return Py_BuildValue((char *)"");
18073 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18074 PyObject
*resultobj
;
18075 int arg1
= (int) 0 ;
18076 wxQueryNewPaletteEvent
*result
;
18077 PyObject
* obj0
= 0 ;
18078 char *kwnames
[] = {
18079 (char *) "winid", NULL
18082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18084 arg1
= (int) SWIG_AsInt(obj0
);
18085 if (PyErr_Occurred()) SWIG_fail
;
18088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18089 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18091 wxPyEndAllowThreads(__tstate
);
18092 if (PyErr_Occurred()) SWIG_fail
;
18094 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18101 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18102 PyObject
*resultobj
;
18103 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18105 PyObject
* obj0
= 0 ;
18106 PyObject
* obj1
= 0 ;
18107 char *kwnames
[] = {
18108 (char *) "self",(char *) "realized", NULL
18111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18114 arg2
= (bool) SWIG_AsBool(obj1
);
18115 if (PyErr_Occurred()) SWIG_fail
;
18117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18118 (arg1
)->SetPaletteRealized(arg2
);
18120 wxPyEndAllowThreads(__tstate
);
18121 if (PyErr_Occurred()) SWIG_fail
;
18123 Py_INCREF(Py_None
); resultobj
= Py_None
;
18130 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18131 PyObject
*resultobj
;
18132 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18134 PyObject
* obj0
= 0 ;
18135 char *kwnames
[] = {
18136 (char *) "self", NULL
18139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18140 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18141 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18144 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18146 wxPyEndAllowThreads(__tstate
);
18147 if (PyErr_Occurred()) SWIG_fail
;
18149 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18156 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*, PyObject
*args
) {
18158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18159 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18161 return Py_BuildValue((char *)"");
18163 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18165 wxNavigationKeyEvent
*result
;
18166 char *kwnames
[] = {
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18185 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18187 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18189 PyObject
* obj0
= 0 ;
18190 char *kwnames
[] = {
18191 (char *) "self", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18199 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18201 wxPyEndAllowThreads(__tstate
);
18202 if (PyErr_Occurred()) SWIG_fail
;
18204 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18211 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18212 PyObject
*resultobj
;
18213 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18215 PyObject
* obj0
= 0 ;
18216 PyObject
* obj1
= 0 ;
18217 char *kwnames
[] = {
18218 (char *) "self",(char *) "bForward", NULL
18221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18224 arg2
= (bool) SWIG_AsBool(obj1
);
18225 if (PyErr_Occurred()) SWIG_fail
;
18227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18228 (arg1
)->SetDirection(arg2
);
18230 wxPyEndAllowThreads(__tstate
);
18231 if (PyErr_Occurred()) SWIG_fail
;
18233 Py_INCREF(Py_None
); resultobj
= Py_None
;
18240 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18241 PyObject
*resultobj
;
18242 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18244 PyObject
* obj0
= 0 ;
18245 char *kwnames
[] = {
18246 (char *) "self", NULL
18249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18254 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18256 wxPyEndAllowThreads(__tstate
);
18257 if (PyErr_Occurred()) SWIG_fail
;
18259 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18266 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18270 PyObject
* obj0
= 0 ;
18271 PyObject
* obj1
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self",(char *) "bIs", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18279 arg2
= (bool) SWIG_AsBool(obj1
);
18280 if (PyErr_Occurred()) SWIG_fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 (arg1
)->SetWindowChange(arg2
);
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 Py_INCREF(Py_None
); resultobj
= Py_None
;
18295 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18296 PyObject
*resultobj
;
18297 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18299 PyObject
* obj0
= 0 ;
18300 char *kwnames
[] = {
18301 (char *) "self", NULL
18304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18309 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18311 wxPyEndAllowThreads(__tstate
);
18312 if (PyErr_Occurred()) SWIG_fail
;
18315 resultobj
= wxPyMake_wxObject(result
);
18323 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18325 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18326 wxWindow
*arg2
= (wxWindow
*) 0 ;
18327 PyObject
* obj0
= 0 ;
18328 PyObject
* obj1
= 0 ;
18329 char *kwnames
[] = {
18330 (char *) "self",(char *) "win", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18334 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18336 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18340 (arg1
)->SetCurrentFocus(arg2
);
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18345 Py_INCREF(Py_None
); resultobj
= Py_None
;
18352 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*, PyObject
*args
) {
18354 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18355 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18357 return Py_BuildValue((char *)"");
18359 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18361 wxWindow
*arg1
= (wxWindow
*) NULL
;
18362 wxWindowCreateEvent
*result
;
18363 PyObject
* obj0
= 0 ;
18364 char *kwnames
[] = {
18365 (char *) "win", NULL
18368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18375 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18377 wxPyEndAllowThreads(__tstate
);
18378 if (PyErr_Occurred()) SWIG_fail
;
18380 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18387 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18388 PyObject
*resultobj
;
18389 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18391 PyObject
* obj0
= 0 ;
18392 char *kwnames
[] = {
18393 (char *) "self", NULL
18396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18398 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18401 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18403 wxPyEndAllowThreads(__tstate
);
18404 if (PyErr_Occurred()) SWIG_fail
;
18407 resultobj
= wxPyMake_wxObject(result
);
18415 static PyObject
* WindowCreateEvent_swigregister(PyObject
*, PyObject
*args
) {
18417 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18418 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18420 return Py_BuildValue((char *)"");
18422 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18423 PyObject
*resultobj
;
18424 wxWindow
*arg1
= (wxWindow
*) NULL
;
18425 wxWindowDestroyEvent
*result
;
18426 PyObject
* obj0
= 0 ;
18427 char *kwnames
[] = {
18428 (char *) "win", NULL
18431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18433 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18434 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18450 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18451 PyObject
*resultobj
;
18452 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18454 PyObject
* obj0
= 0 ;
18455 char *kwnames
[] = {
18456 (char *) "self", NULL
18459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18460 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18464 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18466 wxPyEndAllowThreads(__tstate
);
18467 if (PyErr_Occurred()) SWIG_fail
;
18470 resultobj
= wxPyMake_wxObject(result
);
18478 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*, PyObject
*args
) {
18480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18481 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18483 return Py_BuildValue((char *)"");
18485 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18486 PyObject
*resultobj
;
18487 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18488 int arg2
= (int) 0 ;
18489 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18490 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18491 wxContextMenuEvent
*result
;
18493 PyObject
* obj0
= 0 ;
18494 PyObject
* obj1
= 0 ;
18495 PyObject
* obj2
= 0 ;
18496 char *kwnames
[] = {
18497 (char *) "type",(char *) "winid",(char *) "pt", NULL
18500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18502 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18503 if (PyErr_Occurred()) SWIG_fail
;
18506 arg2
= (int) SWIG_AsInt(obj1
);
18507 if (PyErr_Occurred()) SWIG_fail
;
18512 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18517 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18529 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
;
18531 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18533 PyObject
* obj0
= 0 ;
18534 char *kwnames
[] = {
18535 (char *) "self", NULL
18538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18544 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18545 result
= (wxPoint
*) &_result_ref
;
18548 wxPyEndAllowThreads(__tstate
);
18549 if (PyErr_Occurred()) SWIG_fail
;
18551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18558 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18559 PyObject
*resultobj
;
18560 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18561 wxPoint
*arg2
= 0 ;
18563 PyObject
* obj0
= 0 ;
18564 PyObject
* obj1
= 0 ;
18565 char *kwnames
[] = {
18566 (char *) "self",(char *) "pos", NULL
18569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18574 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18578 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18580 wxPyEndAllowThreads(__tstate
);
18581 if (PyErr_Occurred()) SWIG_fail
;
18583 Py_INCREF(Py_None
); resultobj
= Py_None
;
18590 static PyObject
* ContextMenuEvent_swigregister(PyObject
*, PyObject
*args
) {
18592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18593 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18595 return Py_BuildValue((char *)"");
18597 static PyObject
*_wrap_new_IdleEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18598 PyObject
*resultobj
;
18599 wxIdleEvent
*result
;
18600 char *kwnames
[] = {
18604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18607 result
= (wxIdleEvent
*)new wxIdleEvent();
18609 wxPyEndAllowThreads(__tstate
);
18610 if (PyErr_Occurred()) SWIG_fail
;
18612 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18619 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18620 PyObject
*resultobj
;
18621 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18622 bool arg2
= (bool) True
;
18623 PyObject
* obj0
= 0 ;
18624 PyObject
* obj1
= 0 ;
18625 char *kwnames
[] = {
18626 (char *) "self",(char *) "needMore", NULL
18629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18633 arg2
= (bool) SWIG_AsBool(obj1
);
18634 if (PyErr_Occurred()) SWIG_fail
;
18637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18638 (arg1
)->RequestMore(arg2
);
18640 wxPyEndAllowThreads(__tstate
);
18641 if (PyErr_Occurred()) SWIG_fail
;
18643 Py_INCREF(Py_None
); resultobj
= Py_None
;
18650 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18651 PyObject
*resultobj
;
18652 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18654 PyObject
* obj0
= 0 ;
18655 char *kwnames
[] = {
18656 (char *) "self", NULL
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18664 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18666 wxPyEndAllowThreads(__tstate
);
18667 if (PyErr_Occurred()) SWIG_fail
;
18669 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18676 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18679 PyObject
* obj0
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "mode", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18685 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18686 if (PyErr_Occurred()) SWIG_fail
;
18688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18689 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 Py_INCREF(Py_None
); resultobj
= Py_None
;
18701 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
;
18704 char *kwnames
[] = {
18708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18711 result
= (int)wxIdleEvent::GetMode();
18713 wxPyEndAllowThreads(__tstate
);
18714 if (PyErr_Occurred()) SWIG_fail
;
18716 resultobj
= SWIG_FromInt((int)result
);
18723 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18724 PyObject
*resultobj
;
18725 wxWindow
*arg1
= (wxWindow
*) 0 ;
18727 PyObject
* obj0
= 0 ;
18728 char *kwnames
[] = {
18729 (char *) "win", NULL
18732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18737 result
= (bool)wxIdleEvent::CanSend(arg1
);
18739 wxPyEndAllowThreads(__tstate
);
18740 if (PyErr_Occurred()) SWIG_fail
;
18742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18749 static PyObject
* IdleEvent_swigregister(PyObject
*, PyObject
*args
) {
18751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18752 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18754 return Py_BuildValue((char *)"");
18756 static PyObject
*_wrap_new_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18757 PyObject
*resultobj
;
18758 int arg1
= (int) 0 ;
18759 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18761 PyObject
* obj0
= 0 ;
18762 PyObject
* obj1
= 0 ;
18763 char *kwnames
[] = {
18764 (char *) "winid",(char *) "commandType", NULL
18767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18769 arg1
= (int) SWIG_AsInt(obj0
);
18770 if (PyErr_Occurred()) SWIG_fail
;
18773 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
18774 if (PyErr_Occurred()) SWIG_fail
;
18777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18778 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18780 wxPyEndAllowThreads(__tstate
);
18781 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
18790 static PyObject
*_wrap_delete_PyEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18800 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18805 wxPyEndAllowThreads(__tstate
);
18806 if (PyErr_Occurred()) SWIG_fail
;
18808 Py_INCREF(Py_None
); resultobj
= Py_None
;
18815 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18816 PyObject
*resultobj
;
18817 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18818 PyObject
*arg2
= (PyObject
*) 0 ;
18819 PyObject
* obj0
= 0 ;
18820 PyObject
* obj1
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self",(char *) "self", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 (arg1
)->SetSelf(arg2
);
18833 wxPyEndAllowThreads(__tstate
);
18834 if (PyErr_Occurred()) SWIG_fail
;
18836 Py_INCREF(Py_None
); resultobj
= Py_None
;
18843 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18847 PyObject
* obj0
= 0 ;
18848 char *kwnames
[] = {
18849 (char *) "self", NULL
18852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18857 result
= (PyObject
*)(arg1
)->GetSelf();
18859 wxPyEndAllowThreads(__tstate
);
18860 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= result
;
18869 static PyObject
* PyEvent_swigregister(PyObject
*, PyObject
*args
) {
18871 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18872 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18874 return Py_BuildValue((char *)"");
18876 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18877 PyObject
*resultobj
;
18878 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18879 int arg2
= (int) 0 ;
18880 wxPyCommandEvent
*result
;
18881 PyObject
* obj0
= 0 ;
18882 PyObject
* obj1
= 0 ;
18883 char *kwnames
[] = {
18884 (char *) "commandType",(char *) "id", NULL
18887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18889 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18893 arg2
= (int) SWIG_AsInt(obj1
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18898 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18900 wxPyEndAllowThreads(__tstate
);
18901 if (PyErr_Occurred()) SWIG_fail
;
18903 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
18910 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18911 PyObject
*resultobj
;
18912 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18913 PyObject
* obj0
= 0 ;
18914 char *kwnames
[] = {
18915 (char *) "self", NULL
18918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 wxPyEndAllowThreads(__tstate
);
18926 if (PyErr_Occurred()) SWIG_fail
;
18928 Py_INCREF(Py_None
); resultobj
= Py_None
;
18935 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18936 PyObject
*resultobj
;
18937 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18938 PyObject
*arg2
= (PyObject
*) 0 ;
18939 PyObject
* obj0
= 0 ;
18940 PyObject
* obj1
= 0 ;
18941 char *kwnames
[] = {
18942 (char *) "self",(char *) "self", NULL
18945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18951 (arg1
)->SetSelf(arg2
);
18953 wxPyEndAllowThreads(__tstate
);
18954 if (PyErr_Occurred()) SWIG_fail
;
18956 Py_INCREF(Py_None
); resultobj
= Py_None
;
18963 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18964 PyObject
*resultobj
;
18965 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18967 PyObject
* obj0
= 0 ;
18968 char *kwnames
[] = {
18969 (char *) "self", NULL
18972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (PyObject
*)(arg1
)->GetSelf();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18982 resultobj
= result
;
18989 static PyObject
* PyCommandEvent_swigregister(PyObject
*, PyObject
*args
) {
18991 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18992 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18994 return Py_BuildValue((char *)"");
18996 static PyObject
*_wrap_new_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
18997 PyObject
*resultobj
;
18999 char *kwnames
[] = {
19003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19006 result
= (wxPyApp
*)new_wxPyApp();
19008 wxPyEndAllowThreads(__tstate
);
19009 if (PyErr_Occurred()) SWIG_fail
;
19012 resultobj
= wxPyMake_wxObject(result
);
19020 static PyObject
*_wrap_delete_PyApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19021 PyObject
*resultobj
;
19022 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19023 PyObject
* obj0
= 0 ;
19024 char *kwnames
[] = {
19025 (char *) "self", NULL
19028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19029 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19030 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19035 wxPyEndAllowThreads(__tstate
);
19036 if (PyErr_Occurred()) SWIG_fail
;
19038 Py_INCREF(Py_None
); resultobj
= Py_None
;
19045 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19046 PyObject
*resultobj
;
19047 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19048 PyObject
*arg2
= (PyObject
*) 0 ;
19049 PyObject
*arg3
= (PyObject
*) 0 ;
19050 PyObject
* obj0
= 0 ;
19051 PyObject
* obj1
= 0 ;
19052 PyObject
* obj2
= 0 ;
19053 char *kwnames
[] = {
19054 (char *) "self",(char *) "self",(char *) "_class", NULL
19057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19066 wxPyEndAllowThreads(__tstate
);
19067 if (PyErr_Occurred()) SWIG_fail
;
19069 Py_INCREF(Py_None
); resultobj
= Py_None
;
19076 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19077 PyObject
*resultobj
;
19078 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19080 PyObject
* obj0
= 0 ;
19081 char *kwnames
[] = {
19082 (char *) "self", NULL
19085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19090 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19092 wxPyEndAllowThreads(__tstate
);
19093 if (PyErr_Occurred()) SWIG_fail
;
19097 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19099 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19108 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19109 PyObject
*resultobj
;
19110 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19111 wxString
*arg2
= 0 ;
19112 bool temp2
= False
;
19113 PyObject
* obj0
= 0 ;
19114 PyObject
* obj1
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self",(char *) "name", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19123 arg2
= wxString_in_helper(obj1
);
19124 if (arg2
== NULL
) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 (arg1
)->SetAppName((wxString
const &)*arg2
);
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 Py_INCREF(Py_None
); resultobj
= Py_None
;
19149 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19150 PyObject
*resultobj
;
19151 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19153 PyObject
* obj0
= 0 ;
19154 char *kwnames
[] = {
19155 (char *) "self", NULL
19158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19163 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19170 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19172 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19181 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19184 wxString
*arg2
= 0 ;
19185 bool temp2
= False
;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char *kwnames
[] = {
19189 (char *) "self",(char *) "name", NULL
19192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19196 arg2
= wxString_in_helper(obj1
);
19197 if (arg2
== NULL
) SWIG_fail
;
19201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19202 (arg1
)->SetClassName((wxString
const &)*arg2
);
19204 wxPyEndAllowThreads(__tstate
);
19205 if (PyErr_Occurred()) SWIG_fail
;
19207 Py_INCREF(Py_None
); resultobj
= Py_None
;
19222 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19223 PyObject
*resultobj
;
19224 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19226 PyObject
* obj0
= 0 ;
19227 char *kwnames
[] = {
19228 (char *) "self", NULL
19231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19232 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19233 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19238 result
= (wxString
*) &_result_ref
;
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19246 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19248 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19257 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19260 wxString
*arg2
= 0 ;
19261 bool temp2
= False
;
19262 PyObject
* obj0
= 0 ;
19263 PyObject
* obj1
= 0 ;
19264 char *kwnames
[] = {
19265 (char *) "self",(char *) "name", NULL
19268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19272 arg2
= wxString_in_helper(obj1
);
19273 if (arg2
== NULL
) SWIG_fail
;
19277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19278 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19280 wxPyEndAllowThreads(__tstate
);
19281 if (PyErr_Occurred()) SWIG_fail
;
19283 Py_INCREF(Py_None
); resultobj
= Py_None
;
19298 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19299 PyObject
*resultobj
;
19300 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19301 wxAppTraits
*result
;
19302 PyObject
* obj0
= 0 ;
19303 char *kwnames
[] = {
19304 (char *) "self", NULL
19307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19314 wxPyEndAllowThreads(__tstate
);
19315 if (PyErr_Occurred()) SWIG_fail
;
19317 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19324 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19325 PyObject
*resultobj
;
19326 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19327 PyObject
* obj0
= 0 ;
19328 char *kwnames
[] = {
19329 (char *) "self", NULL
19332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19337 (arg1
)->ProcessPendingEvents();
19339 wxPyEndAllowThreads(__tstate
);
19340 if (PyErr_Occurred()) SWIG_fail
;
19342 Py_INCREF(Py_None
); resultobj
= Py_None
;
19349 static PyObject
*_wrap_PyApp_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19350 PyObject
*resultobj
;
19351 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19352 bool arg2
= (bool) False
;
19354 PyObject
* obj0
= 0 ;
19355 PyObject
* obj1
= 0 ;
19356 char *kwnames
[] = {
19357 (char *) "self",(char *) "onlyIfNeeded", NULL
19360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19361 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19362 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19364 arg2
= (bool) SWIG_AsBool(obj1
);
19365 if (PyErr_Occurred()) SWIG_fail
;
19368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19369 result
= (bool)(arg1
)->Yield(arg2
);
19371 wxPyEndAllowThreads(__tstate
);
19372 if (PyErr_Occurred()) SWIG_fail
;
19374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19381 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19384 PyObject
* obj0
= 0 ;
19385 char *kwnames
[] = {
19386 (char *) "self", NULL
19389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->WakeUpIdle();
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19420 result
= (int)(arg1
)->MainLoop();
19422 wxPyEndAllowThreads(__tstate
);
19423 if (PyErr_Occurred()) SWIG_fail
;
19425 resultobj
= SWIG_FromInt((int)result
);
19432 static PyObject
*_wrap_PyApp_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19433 PyObject
*resultobj
;
19434 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19435 PyObject
* obj0
= 0 ;
19436 char *kwnames
[] = {
19437 (char *) "self", NULL
19440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19441 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19442 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19447 wxPyEndAllowThreads(__tstate
);
19448 if (PyErr_Occurred()) SWIG_fail
;
19450 Py_INCREF(Py_None
); resultobj
= Py_None
;
19457 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19458 PyObject
*resultobj
;
19459 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19460 PyObject
* obj0
= 0 ;
19461 char *kwnames
[] = {
19462 (char *) "self", NULL
19465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19470 (arg1
)->ExitMainLoop();
19472 wxPyEndAllowThreads(__tstate
);
19473 if (PyErr_Occurred()) SWIG_fail
;
19475 Py_INCREF(Py_None
); resultobj
= Py_None
;
19482 static PyObject
*_wrap_PyApp_Pending(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19483 PyObject
*resultobj
;
19484 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19486 PyObject
* obj0
= 0 ;
19487 char *kwnames
[] = {
19488 (char *) "self", NULL
19491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19496 result
= (bool)(arg1
)->Pending();
19498 wxPyEndAllowThreads(__tstate
);
19499 if (PyErr_Occurred()) SWIG_fail
;
19501 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19508 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19509 PyObject
*resultobj
;
19510 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char *kwnames
[] = {
19514 (char *) "self", NULL
19517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19522 result
= (bool)(arg1
)->Dispatch();
19524 wxPyEndAllowThreads(__tstate
);
19525 if (PyErr_Occurred()) SWIG_fail
;
19527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19534 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19535 PyObject
*resultobj
;
19536 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19538 PyObject
* obj0
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19548 result
= (bool)(arg1
)->ProcessIdle();
19550 wxPyEndAllowThreads(__tstate
);
19551 if (PyErr_Occurred()) SWIG_fail
;
19553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19560 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19561 PyObject
*resultobj
;
19562 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19563 wxWindow
*arg2
= (wxWindow
*) 0 ;
19564 wxIdleEvent
*arg3
= 0 ;
19566 PyObject
* obj0
= 0 ;
19567 PyObject
* obj1
= 0 ;
19568 PyObject
* obj2
= 0 ;
19569 char *kwnames
[] = {
19570 (char *) "self",(char *) "win",(char *) "event", NULL
19573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19578 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19579 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19581 if (arg3
== NULL
) {
19582 PyErr_SetString(PyExc_TypeError
,"null reference");
19586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19587 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19589 wxPyEndAllowThreads(__tstate
);
19590 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19599 static PyObject
*_wrap_PyApp_IsActive(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19600 PyObject
*resultobj
;
19601 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19603 PyObject
* obj0
= 0 ;
19604 char *kwnames
[] = {
19605 (char *) "self", NULL
19608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19613 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19615 wxPyEndAllowThreads(__tstate
);
19616 if (PyErr_Occurred()) SWIG_fail
;
19618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19625 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19626 PyObject
*resultobj
;
19627 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19628 wxWindow
*arg2
= (wxWindow
*) 0 ;
19629 PyObject
* obj0
= 0 ;
19630 PyObject
* obj1
= 0 ;
19631 char *kwnames
[] = {
19632 (char *) "self",(char *) "win", NULL
19635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19638 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19642 (arg1
)->SetTopWindow(arg2
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 Py_INCREF(Py_None
); resultobj
= Py_None
;
19654 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19668 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19670 wxPyEndAllowThreads(__tstate
);
19671 if (PyErr_Occurred()) SWIG_fail
;
19674 resultobj
= wxPyMake_wxObject(result
);
19682 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19683 PyObject
*resultobj
;
19684 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19686 PyObject
* obj0
= 0 ;
19687 PyObject
* obj1
= 0 ;
19688 char *kwnames
[] = {
19689 (char *) "self",(char *) "flag", NULL
19692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19693 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19694 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19695 arg2
= (bool) SWIG_AsBool(obj1
);
19696 if (PyErr_Occurred()) SWIG_fail
;
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 (arg1
)->SetExitOnFrameDelete(arg2
);
19701 wxPyEndAllowThreads(__tstate
);
19702 if (PyErr_Occurred()) SWIG_fail
;
19704 Py_INCREF(Py_None
); resultobj
= Py_None
;
19711 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19712 PyObject
*resultobj
;
19713 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19715 PyObject
* obj0
= 0 ;
19716 char *kwnames
[] = {
19717 (char *) "self", NULL
19720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19725 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19727 wxPyEndAllowThreads(__tstate
);
19728 if (PyErr_Occurred()) SWIG_fail
;
19730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19737 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char *kwnames
[] = {
19744 (char *) "self",(char *) "flag", NULL
19747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19750 arg2
= (bool) SWIG_AsBool(obj1
);
19751 if (PyErr_Occurred()) SWIG_fail
;
19753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19754 (arg1
)->SetUseBestVisual(arg2
);
19756 wxPyEndAllowThreads(__tstate
);
19757 if (PyErr_Occurred()) SWIG_fail
;
19759 Py_INCREF(Py_None
); resultobj
= Py_None
;
19766 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19780 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19782 wxPyEndAllowThreads(__tstate
);
19783 if (PyErr_Occurred()) SWIG_fail
;
19785 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19792 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19793 PyObject
*resultobj
;
19794 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19796 PyObject
* obj0
= 0 ;
19797 PyObject
* obj1
= 0 ;
19798 char *kwnames
[] = {
19799 (char *) "self",(char *) "mode", NULL
19802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19805 arg2
= (int) SWIG_AsInt(obj1
);
19806 if (PyErr_Occurred()) SWIG_fail
;
19808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19809 (arg1
)->SetPrintMode(arg2
);
19811 wxPyEndAllowThreads(__tstate
);
19812 if (PyErr_Occurred()) SWIG_fail
;
19814 Py_INCREF(Py_None
); resultobj
= Py_None
;
19821 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19822 PyObject
*resultobj
;
19823 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19825 PyObject
* obj0
= 0 ;
19826 char *kwnames
[] = {
19827 (char *) "self", NULL
19830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19835 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19837 wxPyEndAllowThreads(__tstate
);
19838 if (PyErr_Occurred()) SWIG_fail
;
19840 resultobj
= SWIG_FromInt((int)result
);
19847 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19848 PyObject
*resultobj
;
19849 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19851 PyObject
* obj0
= 0 ;
19852 PyObject
* obj1
= 0 ;
19853 char *kwnames
[] = {
19854 (char *) "self",(char *) "mode", NULL
19857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19858 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19859 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19860 arg2
= (int) SWIG_AsInt(obj1
);
19861 if (PyErr_Occurred()) SWIG_fail
;
19863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19864 (arg1
)->SetAssertMode(arg2
);
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 Py_INCREF(Py_None
); resultobj
= Py_None
;
19876 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
;
19878 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19880 PyObject
* obj0
= 0 ;
19881 char *kwnames
[] = {
19882 (char *) "self", NULL
19885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= (int)(arg1
)->GetAssertMode();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19895 resultobj
= SWIG_FromInt((int)result
);
19902 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19903 PyObject
*resultobj
;
19905 char *kwnames
[] = {
19909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19912 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19914 wxPyEndAllowThreads(__tstate
);
19915 if (PyErr_Occurred()) SWIG_fail
;
19917 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19924 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19925 PyObject
*resultobj
;
19927 char *kwnames
[] = {
19931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19934 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19936 wxPyEndAllowThreads(__tstate
);
19937 if (PyErr_Occurred()) SWIG_fail
;
19939 resultobj
= SWIG_FromLong((long)result
);
19946 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19949 char *kwnames
[] = {
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19956 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19958 wxPyEndAllowThreads(__tstate
);
19959 if (PyErr_Occurred()) SWIG_fail
;
19961 resultobj
= SWIG_FromLong((long)result
);
19968 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19969 PyObject
*resultobj
;
19971 char *kwnames
[] = {
19975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19978 result
= (long)wxPyApp::GetMacExitMenuItemId();
19980 wxPyEndAllowThreads(__tstate
);
19981 if (PyErr_Occurred()) SWIG_fail
;
19983 resultobj
= SWIG_FromLong((long)result
);
19990 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
19991 PyObject
*resultobj
;
19993 char *kwnames
[] = {
19997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= wxPyApp::GetMacHelpMenuTitleName();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20007 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20009 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20018 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20019 PyObject
*resultobj
;
20021 PyObject
* obj0
= 0 ;
20022 char *kwnames
[] = {
20023 (char *) "val", NULL
20026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20027 arg1
= (bool) SWIG_AsBool(obj0
);
20028 if (PyErr_Occurred()) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 Py_INCREF(Py_None
); resultobj
= Py_None
;
20043 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "val", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20052 arg1
= (long) SWIG_AsLong(obj0
);
20053 if (PyErr_Occurred()) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 wxPyApp::SetMacAboutMenuItemId(arg1
);
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 Py_INCREF(Py_None
); resultobj
= Py_None
;
20068 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20071 PyObject
* obj0
= 0 ;
20072 char *kwnames
[] = {
20073 (char *) "val", NULL
20076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20077 arg1
= (long) SWIG_AsLong(obj0
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 Py_INCREF(Py_None
); resultobj
= Py_None
;
20093 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20096 PyObject
* obj0
= 0 ;
20097 char *kwnames
[] = {
20098 (char *) "val", NULL
20101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20102 arg1
= (long) SWIG_AsLong(obj0
);
20103 if (PyErr_Occurred()) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 wxPyApp::SetMacExitMenuItemId(arg1
);
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 Py_INCREF(Py_None
); resultobj
= Py_None
;
20118 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxString
*arg1
= 0 ;
20121 bool temp1
= False
;
20122 PyObject
* obj0
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "val", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20129 arg1
= wxString_in_helper(obj0
);
20130 if (arg1
== NULL
) SWIG_fail
;
20134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20135 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20137 wxPyEndAllowThreads(__tstate
);
20138 if (PyErr_Occurred()) SWIG_fail
;
20140 Py_INCREF(Py_None
); resultobj
= Py_None
;
20155 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20156 PyObject
*resultobj
;
20157 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20158 PyObject
* obj0
= 0 ;
20159 char *kwnames
[] = {
20160 (char *) "self", NULL
20163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20168 (arg1
)->_BootstrapApp();
20170 wxPyEndAllowThreads(__tstate
);
20171 if (PyErr_Occurred()) SWIG_fail
;
20173 Py_INCREF(Py_None
); resultobj
= Py_None
;
20180 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20181 PyObject
*resultobj
;
20183 char *kwnames
[] = {
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)PyApp_GetComCtl32Version();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= SWIG_FromInt((int)result
);
20202 static PyObject
* PyApp_swigregister(PyObject
*, PyObject
*args
) {
20204 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20205 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20207 return Py_BuildValue((char *)"");
20209 static PyObject
*_wrap_Exit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20210 PyObject
*resultobj
;
20211 char *kwnames
[] = {
20215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 wxPyEndAllowThreads(__tstate
);
20221 if (PyErr_Occurred()) SWIG_fail
;
20223 Py_INCREF(Py_None
); resultobj
= Py_None
;
20230 static PyObject
*_wrap_Yield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20231 PyObject
*resultobj
;
20233 char *kwnames
[] = {
20237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (bool)wxYield();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20252 static PyObject
*_wrap_YieldIfNeeded(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20255 char *kwnames
[] = {
20259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20262 result
= (bool)wxYieldIfNeeded();
20264 wxPyEndAllowThreads(__tstate
);
20265 if (PyErr_Occurred()) SWIG_fail
;
20267 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20274 static PyObject
*_wrap_SafeYield(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20275 PyObject
*resultobj
;
20276 wxWindow
*arg1
= (wxWindow
*) NULL
;
20277 bool arg2
= (bool) False
;
20279 PyObject
* obj0
= 0 ;
20280 PyObject
* obj1
= 0 ;
20281 char *kwnames
[] = {
20282 (char *) "win",(char *) "onlyIfNeeded", NULL
20285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20287 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20288 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20291 arg2
= (bool) SWIG_AsBool(obj1
);
20292 if (PyErr_Occurred()) SWIG_fail
;
20295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20296 result
= (bool)wxSafeYield(arg1
,arg2
);
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20308 static PyObject
*_wrap_WakeUpIdle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20309 PyObject
*resultobj
;
20310 char *kwnames
[] = {
20314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20319 wxPyEndAllowThreads(__tstate
);
20320 if (PyErr_Occurred()) SWIG_fail
;
20322 Py_INCREF(Py_None
); resultobj
= Py_None
;
20329 static PyObject
*_wrap_PostEvent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20330 PyObject
*resultobj
;
20331 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20332 wxEvent
*arg2
= 0 ;
20333 PyObject
* obj0
= 0 ;
20334 PyObject
* obj1
= 0 ;
20335 char *kwnames
[] = {
20336 (char *) "dest",(char *) "event", NULL
20339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20342 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20343 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20345 if (arg2
== NULL
) {
20346 PyErr_SetString(PyExc_TypeError
,"null reference");
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 wxPostEvent(arg1
,*arg2
);
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20356 Py_INCREF(Py_None
); resultobj
= Py_None
;
20363 static PyObject
*_wrap_App_CleanUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20364 PyObject
*resultobj
;
20365 char *kwnames
[] = {
20369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20374 wxPyEndAllowThreads(__tstate
);
20375 if (PyErr_Occurred()) SWIG_fail
;
20377 Py_INCREF(Py_None
); resultobj
= Py_None
;
20384 static PyObject
*_wrap_GetApp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20385 PyObject
*resultobj
;
20387 char *kwnames
[] = {
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20394 result
= (wxPyApp
*)wxGetApp();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20400 resultobj
= wxPyMake_wxObject(result
);
20408 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20409 PyObject
*resultobj
;
20410 int arg1
= (int) 0 ;
20411 int arg2
= (int) 0 ;
20412 int arg3
= (int) 0 ;
20413 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20414 wxAcceleratorEntry
*result
;
20415 PyObject
* obj0
= 0 ;
20416 PyObject
* obj1
= 0 ;
20417 PyObject
* obj2
= 0 ;
20418 PyObject
* obj3
= 0 ;
20419 char *kwnames
[] = {
20420 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20425 arg1
= (int) SWIG_AsInt(obj0
);
20426 if (PyErr_Occurred()) SWIG_fail
;
20429 arg2
= (int) SWIG_AsInt(obj1
);
20430 if (PyErr_Occurred()) SWIG_fail
;
20433 arg3
= (int) SWIG_AsInt(obj2
);
20434 if (PyErr_Occurred()) SWIG_fail
;
20437 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20442 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20444 wxPyEndAllowThreads(__tstate
);
20445 if (PyErr_Occurred()) SWIG_fail
;
20447 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20454 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20455 PyObject
*resultobj
;
20456 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20457 PyObject
* obj0
= 0 ;
20458 char *kwnames
[] = {
20459 (char *) "self", NULL
20462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20469 wxPyEndAllowThreads(__tstate
);
20470 if (PyErr_Occurred()) SWIG_fail
;
20472 Py_INCREF(Py_None
); resultobj
= Py_None
;
20479 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20480 PyObject
*resultobj
;
20481 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20485 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20486 PyObject
* obj0
= 0 ;
20487 PyObject
* obj1
= 0 ;
20488 PyObject
* obj2
= 0 ;
20489 PyObject
* obj3
= 0 ;
20490 PyObject
* obj4
= 0 ;
20491 char *kwnames
[] = {
20492 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20498 arg2
= (int) SWIG_AsInt(obj1
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20500 arg3
= (int) SWIG_AsInt(obj2
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20502 arg4
= (int) SWIG_AsInt(obj3
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20510 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20512 wxPyEndAllowThreads(__tstate
);
20513 if (PyErr_Occurred()) SWIG_fail
;
20515 Py_INCREF(Py_None
); resultobj
= Py_None
;
20522 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20523 PyObject
*resultobj
;
20524 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20525 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20526 PyObject
* obj0
= 0 ;
20527 PyObject
* obj1
= 0 ;
20528 char *kwnames
[] = {
20529 (char *) "self",(char *) "item", NULL
20532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20533 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20535 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20536 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20539 (arg1
)->SetMenuItem(arg2
);
20541 wxPyEndAllowThreads(__tstate
);
20542 if (PyErr_Occurred()) SWIG_fail
;
20544 Py_INCREF(Py_None
); resultobj
= Py_None
;
20551 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20552 PyObject
*resultobj
;
20553 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20554 wxMenuItem
*result
;
20555 PyObject
* obj0
= 0 ;
20556 char *kwnames
[] = {
20557 (char *) "self", NULL
20560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20565 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20567 wxPyEndAllowThreads(__tstate
);
20568 if (PyErr_Occurred()) SWIG_fail
;
20571 resultobj
= wxPyMake_wxObject(result
);
20579 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20580 PyObject
*resultobj
;
20581 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20583 PyObject
* obj0
= 0 ;
20584 char *kwnames
[] = {
20585 (char *) "self", NULL
20588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= (int)(arg1
)->GetFlags();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20598 resultobj
= SWIG_FromInt((int)result
);
20605 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20606 PyObject
*resultobj
;
20607 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20609 PyObject
* obj0
= 0 ;
20610 char *kwnames
[] = {
20611 (char *) "self", NULL
20614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 result
= (int)(arg1
)->GetKeyCode();
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 resultobj
= SWIG_FromInt((int)result
);
20631 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20642 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20645 result
= (int)(arg1
)->GetCommand();
20647 wxPyEndAllowThreads(__tstate
);
20648 if (PyErr_Occurred()) SWIG_fail
;
20650 resultobj
= SWIG_FromInt((int)result
);
20657 static PyObject
* AcceleratorEntry_swigregister(PyObject
*, PyObject
*args
) {
20659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20660 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20662 return Py_BuildValue((char *)"");
20664 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20665 PyObject
*resultobj
;
20667 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20668 wxAcceleratorTable
*result
;
20669 PyObject
* obj0
= 0 ;
20670 char *kwnames
[] = {
20674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20676 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20677 if (arg2
) arg1
= PyList_Size(obj0
);
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20684 wxPyEndAllowThreads(__tstate
);
20685 if (PyErr_Occurred()) SWIG_fail
;
20687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20700 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20701 PyObject
*resultobj
;
20702 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20715 wxPyEndAllowThreads(__tstate
);
20716 if (PyErr_Occurred()) SWIG_fail
;
20718 Py_INCREF(Py_None
); resultobj
= Py_None
;
20725 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20726 PyObject
*resultobj
;
20727 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20729 PyObject
* obj0
= 0 ;
20730 char *kwnames
[] = {
20731 (char *) "self", NULL
20734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20741 wxPyEndAllowThreads(__tstate
);
20742 if (PyErr_Occurred()) SWIG_fail
;
20744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20751 static PyObject
* AcceleratorTable_swigregister(PyObject
*, PyObject
*args
) {
20753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20754 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20756 return Py_BuildValue((char *)"");
20758 static int _wrap_NullAcceleratorTable_set(PyObject
*) {
20759 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20764 static PyObject
*_wrap_NullAcceleratorTable_get() {
20767 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
20772 static PyObject
*_wrap_GetAccelFromString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxString
*arg1
= 0 ;
20775 wxAcceleratorEntry
*result
;
20776 bool temp1
= False
;
20777 PyObject
* obj0
= 0 ;
20778 char *kwnames
[] = {
20779 (char *) "label", NULL
20782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20784 arg1
= wxString_in_helper(obj0
);
20785 if (arg1
== NULL
) SWIG_fail
;
20789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20790 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20792 wxPyEndAllowThreads(__tstate
);
20793 if (PyErr_Occurred()) SWIG_fail
;
20795 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
20810 static int _wrap_PanelNameStr_set(PyObject
*) {
20811 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20816 static PyObject
*_wrap_PanelNameStr_get() {
20821 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20823 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20830 static PyObject
*_wrap_new_Window(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20831 PyObject
*resultobj
;
20832 wxWindow
*arg1
= (wxWindow
*) 0 ;
20834 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20835 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20836 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20837 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20838 long arg5
= (long) 0 ;
20839 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20840 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20844 bool temp6
= False
;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20847 PyObject
* obj2
= 0 ;
20848 PyObject
* obj3
= 0 ;
20849 PyObject
* obj4
= 0 ;
20850 PyObject
* obj5
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20858 arg2
= (int const) SWIG_AsInt(obj1
);
20859 if (PyErr_Occurred()) SWIG_fail
;
20863 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20869 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20873 arg5
= (long) SWIG_AsLong(obj4
);
20874 if (PyErr_Occurred()) SWIG_fail
;
20878 arg6
= wxString_in_helper(obj5
);
20879 if (arg6
== NULL
) SWIG_fail
;
20884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20885 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20891 resultobj
= wxPyMake_wxObject(result
);
20907 static PyObject
*_wrap_new_PreWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20910 char *kwnames
[] = {
20914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 result
= (wxWindow
*)new wxWindow();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20923 resultobj
= wxPyMake_wxObject(result
);
20931 static PyObject
*_wrap_Window_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
20932 PyObject
*resultobj
;
20933 wxWindow
*arg1
= (wxWindow
*) 0 ;
20934 wxWindow
*arg2
= (wxWindow
*) 0 ;
20936 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20937 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20938 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20939 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20940 long arg6
= (long) 0 ;
20941 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20942 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20946 bool temp7
= False
;
20947 PyObject
* obj0
= 0 ;
20948 PyObject
* obj1
= 0 ;
20949 PyObject
* obj2
= 0 ;
20950 PyObject
* obj3
= 0 ;
20951 PyObject
* obj4
= 0 ;
20952 PyObject
* obj5
= 0 ;
20953 PyObject
* obj6
= 0 ;
20954 char *kwnames
[] = {
20955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20963 arg3
= (int const) SWIG_AsInt(obj2
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20968 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20974 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20978 arg6
= (long) SWIG_AsLong(obj5
);
20979 if (PyErr_Occurred()) SWIG_fail
;
20983 arg7
= wxString_in_helper(obj6
);
20984 if (arg7
== NULL
) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21010 static PyObject
*_wrap_Window_Close(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21011 PyObject
*resultobj
;
21012 wxWindow
*arg1
= (wxWindow
*) 0 ;
21013 bool arg2
= (bool) False
;
21015 PyObject
* obj0
= 0 ;
21016 PyObject
* obj1
= 0 ;
21017 char *kwnames
[] = {
21018 (char *) "self",(char *) "force", NULL
21021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21025 arg2
= (bool) SWIG_AsBool(obj1
);
21026 if (PyErr_Occurred()) SWIG_fail
;
21029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21030 result
= (bool)(arg1
)->Close(arg2
);
21032 wxPyEndAllowThreads(__tstate
);
21033 if (PyErr_Occurred()) SWIG_fail
;
21035 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21042 static PyObject
*_wrap_Window_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21043 PyObject
*resultobj
;
21044 wxWindow
*arg1
= (wxWindow
*) 0 ;
21046 PyObject
* obj0
= 0 ;
21047 char *kwnames
[] = {
21048 (char *) "self", NULL
21051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21056 result
= (bool)(arg1
)->Destroy();
21058 wxPyEndAllowThreads(__tstate
);
21059 if (PyErr_Occurred()) SWIG_fail
;
21061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21068 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21069 PyObject
*resultobj
;
21070 wxWindow
*arg1
= (wxWindow
*) 0 ;
21072 PyObject
* obj0
= 0 ;
21073 char *kwnames
[] = {
21074 (char *) "self", NULL
21077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (bool)(arg1
)->DestroyChildren();
21084 wxPyEndAllowThreads(__tstate
);
21085 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21094 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21095 PyObject
*resultobj
;
21096 wxWindow
*arg1
= (wxWindow
*) 0 ;
21098 PyObject
* obj0
= 0 ;
21099 char *kwnames
[] = {
21100 (char *) "self", NULL
21103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21108 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21110 wxPyEndAllowThreads(__tstate
);
21111 if (PyErr_Occurred()) SWIG_fail
;
21113 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21120 static PyObject
*_wrap_Window_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21121 PyObject
*resultobj
;
21122 wxWindow
*arg1
= (wxWindow
*) 0 ;
21123 wxString
*arg2
= 0 ;
21124 bool temp2
= False
;
21125 PyObject
* obj0
= 0 ;
21126 PyObject
* obj1
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self",(char *) "title", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21133 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21135 arg2
= wxString_in_helper(obj1
);
21136 if (arg2
== NULL
) SWIG_fail
;
21140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21141 (arg1
)->SetTitle((wxString
const &)*arg2
);
21143 wxPyEndAllowThreads(__tstate
);
21144 if (PyErr_Occurred()) SWIG_fail
;
21146 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_Window_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxWindow
*arg1
= (wxWindow
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 char *kwnames
[] = {
21167 (char *) "self", NULL
21170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21175 result
= ((wxWindow
const *)arg1
)->GetTitle();
21177 wxPyEndAllowThreads(__tstate
);
21178 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21184 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21193 static PyObject
*_wrap_Window_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
;
21195 wxWindow
*arg1
= (wxWindow
*) 0 ;
21196 wxString
*arg2
= 0 ;
21197 bool temp2
= False
;
21198 PyObject
* obj0
= 0 ;
21199 PyObject
* obj1
= 0 ;
21200 char *kwnames
[] = {
21201 (char *) "self",(char *) "label", NULL
21204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21205 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21208 arg2
= wxString_in_helper(obj1
);
21209 if (arg2
== NULL
) SWIG_fail
;
21213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21214 (arg1
)->SetLabel((wxString
const &)*arg2
);
21216 wxPyEndAllowThreads(__tstate
);
21217 if (PyErr_Occurred()) SWIG_fail
;
21219 Py_INCREF(Py_None
); resultobj
= Py_None
;
21234 static PyObject
*_wrap_Window_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
;
21236 wxWindow
*arg1
= (wxWindow
*) 0 ;
21238 PyObject
* obj0
= 0 ;
21239 char *kwnames
[] = {
21240 (char *) "self", NULL
21243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21244 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21245 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21248 result
= ((wxWindow
const *)arg1
)->GetLabel();
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21255 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21257 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21266 static PyObject
*_wrap_Window_SetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxWindow
*arg1
= (wxWindow
*) 0 ;
21269 wxString
*arg2
= 0 ;
21270 bool temp2
= False
;
21271 PyObject
* obj0
= 0 ;
21272 PyObject
* obj1
= 0 ;
21273 char *kwnames
[] = {
21274 (char *) "self",(char *) "name", NULL
21277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21281 arg2
= wxString_in_helper(obj1
);
21282 if (arg2
== NULL
) SWIG_fail
;
21286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21287 (arg1
)->SetName((wxString
const &)*arg2
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 Py_INCREF(Py_None
); resultobj
= Py_None
;
21307 static PyObject
*_wrap_Window_GetName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxWindow
*arg1
= (wxWindow
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 char *kwnames
[] = {
21313 (char *) "self", NULL
21316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21321 result
= ((wxWindow
const *)arg1
)->GetName();
21323 wxPyEndAllowThreads(__tstate
);
21324 if (PyErr_Occurred()) SWIG_fail
;
21328 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21330 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21339 static PyObject
*_wrap_Window_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21340 PyObject
*resultobj
;
21341 wxWindow
*arg1
= (wxWindow
*) 0 ;
21343 PyObject
* obj0
= 0 ;
21344 PyObject
* obj1
= 0 ;
21345 char *kwnames
[] = {
21346 (char *) "self",(char *) "winid", NULL
21349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21352 arg2
= (int) SWIG_AsInt(obj1
);
21353 if (PyErr_Occurred()) SWIG_fail
;
21355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21356 (arg1
)->SetId(arg2
);
21358 wxPyEndAllowThreads(__tstate
);
21359 if (PyErr_Occurred()) SWIG_fail
;
21361 Py_INCREF(Py_None
); resultobj
= Py_None
;
21368 static PyObject
*_wrap_Window_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxWindow
*arg1
= (wxWindow
*) 0 ;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21379 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21382 result
= (int)((wxWindow
const *)arg1
)->GetId();
21384 wxPyEndAllowThreads(__tstate
);
21385 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= SWIG_FromInt((int)result
);
21394 static PyObject
*_wrap_Window_NewControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21395 PyObject
*resultobj
;
21397 char *kwnames
[] = {
21401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21404 result
= (int)wxWindow::NewControlId();
21406 wxPyEndAllowThreads(__tstate
);
21407 if (PyErr_Occurred()) SWIG_fail
;
21409 resultobj
= SWIG_FromInt((int)result
);
21416 static PyObject
*_wrap_Window_NextControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21417 PyObject
*resultobj
;
21420 PyObject
* obj0
= 0 ;
21421 char *kwnames
[] = {
21422 (char *) "winid", NULL
21425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21426 arg1
= (int) SWIG_AsInt(obj0
);
21427 if (PyErr_Occurred()) SWIG_fail
;
21429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21430 result
= (int)wxWindow::NextControlId(arg1
);
21432 wxPyEndAllowThreads(__tstate
);
21433 if (PyErr_Occurred()) SWIG_fail
;
21435 resultobj
= SWIG_FromInt((int)result
);
21442 static PyObject
*_wrap_Window_PrevControlId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21443 PyObject
*resultobj
;
21446 PyObject
* obj0
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "winid", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21452 arg1
= (int) SWIG_AsInt(obj0
);
21453 if (PyErr_Occurred()) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (int)wxWindow::PrevControlId(arg1
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= SWIG_FromInt((int)result
);
21468 static PyObject
*_wrap_Window_SetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxWindow
*arg1
= (wxWindow
*) 0 ;
21473 PyObject
* obj0
= 0 ;
21474 PyObject
* obj1
= 0 ;
21475 char *kwnames
[] = {
21476 (char *) "self",(char *) "size", NULL
21479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21484 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21488 (arg1
)->SetSize((wxSize
const &)*arg2
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 Py_INCREF(Py_None
); resultobj
= Py_None
;
21500 static PyObject
*_wrap_Window_SetDimensions(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21501 PyObject
*resultobj
;
21502 wxWindow
*arg1
= (wxWindow
*) 0 ;
21507 int arg6
= (int) wxSIZE_AUTO
;
21508 PyObject
* obj0
= 0 ;
21509 PyObject
* obj1
= 0 ;
21510 PyObject
* obj2
= 0 ;
21511 PyObject
* obj3
= 0 ;
21512 PyObject
* obj4
= 0 ;
21513 PyObject
* obj5
= 0 ;
21514 char *kwnames
[] = {
21515 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21521 arg2
= (int) SWIG_AsInt(obj1
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21523 arg3
= (int) SWIG_AsInt(obj2
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21525 arg4
= (int) SWIG_AsInt(obj3
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21527 arg5
= (int) SWIG_AsInt(obj4
);
21528 if (PyErr_Occurred()) SWIG_fail
;
21530 arg6
= (int) SWIG_AsInt(obj5
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21535 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 Py_INCREF(Py_None
); resultobj
= Py_None
;
21547 static PyObject
*_wrap_Window_SetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21548 PyObject
*resultobj
;
21549 wxWindow
*arg1
= (wxWindow
*) 0 ;
21551 int arg3
= (int) wxSIZE_AUTO
;
21553 PyObject
* obj0
= 0 ;
21554 PyObject
* obj1
= 0 ;
21555 PyObject
* obj2
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21565 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21568 arg3
= (int) SWIG_AsInt(obj2
);
21569 if (PyErr_Occurred()) SWIG_fail
;
21572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21573 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21575 wxPyEndAllowThreads(__tstate
);
21576 if (PyErr_Occurred()) SWIG_fail
;
21578 Py_INCREF(Py_None
); resultobj
= Py_None
;
21585 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21586 PyObject
*resultobj
;
21587 wxWindow
*arg1
= (wxWindow
*) 0 ;
21590 PyObject
* obj0
= 0 ;
21591 PyObject
* obj1
= 0 ;
21592 PyObject
* obj2
= 0 ;
21593 char *kwnames
[] = {
21594 (char *) "self",(char *) "width",(char *) "height", NULL
21597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21600 arg2
= (int) SWIG_AsInt(obj1
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21602 arg3
= (int) SWIG_AsInt(obj2
);
21603 if (PyErr_Occurred()) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 (arg1
)->SetSize(arg2
,arg3
);
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21611 Py_INCREF(Py_None
); resultobj
= Py_None
;
21618 static PyObject
*_wrap_Window_Move(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxWindow
*arg1
= (wxWindow
*) 0 ;
21621 wxPoint
*arg2
= 0 ;
21622 int arg3
= (int) wxSIZE_USE_EXISTING
;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 PyObject
* obj2
= 0 ;
21627 char *kwnames
[] = {
21628 (char *) "self",(char *) "pt",(char *) "flags", NULL
21631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21636 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21639 arg3
= (int) SWIG_AsInt(obj2
);
21640 if (PyErr_Occurred()) SWIG_fail
;
21643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21644 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21646 wxPyEndAllowThreads(__tstate
);
21647 if (PyErr_Occurred()) SWIG_fail
;
21649 Py_INCREF(Py_None
); resultobj
= Py_None
;
21656 static PyObject
*_wrap_Window_MoveXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21657 PyObject
*resultobj
;
21658 wxWindow
*arg1
= (wxWindow
*) 0 ;
21661 int arg4
= (int) wxSIZE_USE_EXISTING
;
21662 PyObject
* obj0
= 0 ;
21663 PyObject
* obj1
= 0 ;
21664 PyObject
* obj2
= 0 ;
21665 PyObject
* obj3
= 0 ;
21666 char *kwnames
[] = {
21667 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21671 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21673 arg2
= (int) SWIG_AsInt(obj1
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21675 arg3
= (int) SWIG_AsInt(obj2
);
21676 if (PyErr_Occurred()) SWIG_fail
;
21678 arg4
= (int) SWIG_AsInt(obj3
);
21679 if (PyErr_Occurred()) SWIG_fail
;
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 (arg1
)->Move(arg2
,arg3
,arg4
);
21685 wxPyEndAllowThreads(__tstate
);
21686 if (PyErr_Occurred()) SWIG_fail
;
21688 Py_INCREF(Py_None
); resultobj
= Py_None
;
21695 static PyObject
*_wrap_Window_Raise(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21696 PyObject
*resultobj
;
21697 wxWindow
*arg1
= (wxWindow
*) 0 ;
21698 PyObject
* obj0
= 0 ;
21699 char *kwnames
[] = {
21700 (char *) "self", NULL
21703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 wxPyEndAllowThreads(__tstate
);
21711 if (PyErr_Occurred()) SWIG_fail
;
21713 Py_INCREF(Py_None
); resultobj
= Py_None
;
21720 static PyObject
*_wrap_Window_Lower(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21721 PyObject
*resultobj
;
21722 wxWindow
*arg1
= (wxWindow
*) 0 ;
21723 PyObject
* obj0
= 0 ;
21724 char *kwnames
[] = {
21725 (char *) "self", NULL
21728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 wxPyEndAllowThreads(__tstate
);
21736 if (PyErr_Occurred()) SWIG_fail
;
21738 Py_INCREF(Py_None
); resultobj
= Py_None
;
21745 static PyObject
*_wrap_Window_SetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21746 PyObject
*resultobj
;
21747 wxWindow
*arg1
= (wxWindow
*) 0 ;
21750 PyObject
* obj0
= 0 ;
21751 PyObject
* obj1
= 0 ;
21752 char *kwnames
[] = {
21753 (char *) "self",(char *) "size", NULL
21756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21761 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxWindow
*arg1
= (wxWindow
*) 0 ;
21782 PyObject
* obj0
= 0 ;
21783 PyObject
* obj1
= 0 ;
21784 PyObject
* obj2
= 0 ;
21785 char *kwnames
[] = {
21786 (char *) "self",(char *) "width",(char *) "height", NULL
21789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21790 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21792 arg2
= (int) SWIG_AsInt(obj1
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21794 arg3
= (int) SWIG_AsInt(obj2
);
21795 if (PyErr_Occurred()) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 (arg1
)->SetClientSize(arg2
,arg3
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 Py_INCREF(Py_None
); resultobj
= Py_None
;
21810 static PyObject
*_wrap_Window_SetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxWindow
*arg1
= (wxWindow
*) 0 ;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self",(char *) "rect", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21826 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21830 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21832 wxPyEndAllowThreads(__tstate
);
21833 if (PyErr_Occurred()) SWIG_fail
;
21835 Py_INCREF(Py_None
); resultobj
= Py_None
;
21842 static PyObject
*_wrap_Window_GetPosition(PyObject
*, 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_GetPosition",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
= (arg1
)->GetPosition();
21858 wxPyEndAllowThreads(__tstate
);
21859 if (PyErr_Occurred()) SWIG_fail
;
21862 wxPoint
* resultptr
;
21863 resultptr
= new wxPoint((wxPoint
&) result
);
21864 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21872 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21873 PyObject
*resultobj
;
21874 wxWindow
*arg1
= (wxWindow
*) 0 ;
21875 int *arg2
= (int *) 0 ;
21876 int *arg3
= (int *) 0 ;
21879 PyObject
* obj0
= 0 ;
21880 char *kwnames
[] = {
21881 (char *) "self", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21888 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 (arg1
)->GetPosition(arg2
,arg3
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 Py_INCREF(Py_None
); resultobj
= Py_None
;
21898 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21899 resultobj
= t_output_helper(resultobj
,o
);
21902 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21903 resultobj
= t_output_helper(resultobj
,o
);
21911 static PyObject
*_wrap_Window_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21912 PyObject
*resultobj
;
21913 wxWindow
*arg1
= (wxWindow
*) 0 ;
21915 PyObject
* obj0
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21925 result
= ((wxWindow
const *)arg1
)->GetSize();
21927 wxPyEndAllowThreads(__tstate
);
21928 if (PyErr_Occurred()) SWIG_fail
;
21931 wxSize
* resultptr
;
21932 resultptr
= new wxSize((wxSize
&) result
);
21933 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21941 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxWindow
*arg1
= (wxWindow
*) 0 ;
21944 int *arg2
= (int *) 0 ;
21945 int *arg3
= (int *) 0 ;
21948 PyObject
* obj0
= 0 ;
21949 char *kwnames
[] = {
21950 (char *) "self", NULL
21955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 Py_INCREF(Py_None
); resultobj
= Py_None
;
21967 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21968 resultobj
= t_output_helper(resultobj
,o
);
21971 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21972 resultobj
= t_output_helper(resultobj
,o
);
21980 static PyObject
*_wrap_Window_GetRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
21981 PyObject
*resultobj
;
21982 wxWindow
*arg1
= (wxWindow
*) 0 ;
21984 PyObject
* obj0
= 0 ;
21985 char *kwnames
[] = {
21986 (char *) "self", NULL
21989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21994 result
= ((wxWindow
const *)arg1
)->GetRect();
21996 wxPyEndAllowThreads(__tstate
);
21997 if (PyErr_Occurred()) SWIG_fail
;
22000 wxRect
* resultptr
;
22001 resultptr
= new wxRect((wxRect
&) result
);
22002 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22010 static PyObject
*_wrap_Window_GetClientSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22011 PyObject
*resultobj
;
22012 wxWindow
*arg1
= (wxWindow
*) 0 ;
22014 PyObject
* obj0
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22024 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22030 wxSize
* resultptr
;
22031 resultptr
= new wxSize((wxSize
&) result
);
22032 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22040 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22041 PyObject
*resultobj
;
22042 wxWindow
*arg1
= (wxWindow
*) 0 ;
22043 int *arg2
= (int *) 0 ;
22044 int *arg3
= (int *) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22055 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22056 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22059 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22061 wxPyEndAllowThreads(__tstate
);
22062 if (PyErr_Occurred()) SWIG_fail
;
22064 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22067 resultobj
= t_output_helper(resultobj
,o
);
22070 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22071 resultobj
= t_output_helper(resultobj
,o
);
22079 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22083 PyObject
* obj0
= 0 ;
22084 char *kwnames
[] = {
22085 (char *) "self", NULL
22088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22089 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 wxPoint
* resultptr
;
22100 resultptr
= new wxPoint((wxPoint
&) result
);
22101 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22109 static PyObject
*_wrap_Window_GetClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxWindow
*arg1
= (wxWindow
*) 0 ;
22113 PyObject
* obj0
= 0 ;
22114 char *kwnames
[] = {
22115 (char *) "self", NULL
22118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22123 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22125 wxPyEndAllowThreads(__tstate
);
22126 if (PyErr_Occurred()) SWIG_fail
;
22129 wxRect
* resultptr
;
22130 resultptr
= new wxRect((wxRect
&) result
);
22131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22139 static PyObject
*_wrap_Window_GetBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22140 PyObject
*resultobj
;
22141 wxWindow
*arg1
= (wxWindow
*) 0 ;
22143 PyObject
* obj0
= 0 ;
22144 char *kwnames
[] = {
22145 (char *) "self", NULL
22148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22159 wxSize
* resultptr
;
22160 resultptr
= new wxSize((wxSize
&) result
);
22161 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22169 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22170 PyObject
*resultobj
;
22171 wxWindow
*arg1
= (wxWindow
*) 0 ;
22172 int *arg2
= (int *) 0 ;
22173 int *arg3
= (int *) 0 ;
22176 PyObject
* obj0
= 0 ;
22177 char *kwnames
[] = {
22178 (char *) "self", NULL
22183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22188 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22190 wxPyEndAllowThreads(__tstate
);
22191 if (PyErr_Occurred()) SWIG_fail
;
22193 Py_INCREF(Py_None
); resultobj
= Py_None
;
22195 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22196 resultobj
= t_output_helper(resultobj
,o
);
22199 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22200 resultobj
= t_output_helper(resultobj
,o
);
22208 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22210 wxWindow
*arg1
= (wxWindow
*) 0 ;
22212 PyObject
* obj0
= 0 ;
22213 char *kwnames
[] = {
22214 (char *) "self", NULL
22217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22222 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22224 wxPyEndAllowThreads(__tstate
);
22225 if (PyErr_Occurred()) SWIG_fail
;
22228 wxSize
* resultptr
;
22229 resultptr
= new wxSize((wxSize
&) result
);
22230 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22238 static PyObject
*_wrap_Window_Center(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxWindow
*arg1
= (wxWindow
*) 0 ;
22241 int arg2
= (int) wxBOTH
;
22242 PyObject
* obj0
= 0 ;
22243 PyObject
* obj1
= 0 ;
22244 char *kwnames
[] = {
22245 (char *) "self",(char *) "direction", NULL
22248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22252 arg2
= (int) SWIG_AsInt(obj1
);
22253 if (PyErr_Occurred()) SWIG_fail
;
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 (arg1
)->Center(arg2
);
22259 wxPyEndAllowThreads(__tstate
);
22260 if (PyErr_Occurred()) SWIG_fail
;
22262 Py_INCREF(Py_None
); resultobj
= Py_None
;
22269 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22270 PyObject
*resultobj
;
22271 wxWindow
*arg1
= (wxWindow
*) 0 ;
22272 int arg2
= (int) wxBOTH
;
22273 PyObject
* obj0
= 0 ;
22274 PyObject
* obj1
= 0 ;
22275 char *kwnames
[] = {
22276 (char *) "self",(char *) "dir", NULL
22279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22283 arg2
= (int) SWIG_AsInt(obj1
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22288 (arg1
)->CenterOnScreen(arg2
);
22290 wxPyEndAllowThreads(__tstate
);
22291 if (PyErr_Occurred()) SWIG_fail
;
22293 Py_INCREF(Py_None
); resultobj
= Py_None
;
22300 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22301 PyObject
*resultobj
;
22302 wxWindow
*arg1
= (wxWindow
*) 0 ;
22303 int arg2
= (int) wxBOTH
;
22304 PyObject
* obj0
= 0 ;
22305 PyObject
* obj1
= 0 ;
22306 char *kwnames
[] = {
22307 (char *) "self",(char *) "dir", NULL
22310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22314 arg2
= (int) SWIG_AsInt(obj1
);
22315 if (PyErr_Occurred()) SWIG_fail
;
22318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22319 (arg1
)->CenterOnParent(arg2
);
22321 wxPyEndAllowThreads(__tstate
);
22322 if (PyErr_Occurred()) SWIG_fail
;
22324 Py_INCREF(Py_None
); resultobj
= Py_None
;
22331 static PyObject
*_wrap_Window_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22332 PyObject
*resultobj
;
22333 wxWindow
*arg1
= (wxWindow
*) 0 ;
22334 PyObject
* obj0
= 0 ;
22335 char *kwnames
[] = {
22336 (char *) "self", NULL
22339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22346 wxPyEndAllowThreads(__tstate
);
22347 if (PyErr_Occurred()) SWIG_fail
;
22349 Py_INCREF(Py_None
); resultobj
= Py_None
;
22356 static PyObject
*_wrap_Window_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22357 PyObject
*resultobj
;
22358 wxWindow
*arg1
= (wxWindow
*) 0 ;
22359 PyObject
* obj0
= 0 ;
22360 char *kwnames
[] = {
22361 (char *) "self", NULL
22364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22369 (arg1
)->FitInside();
22371 wxPyEndAllowThreads(__tstate
);
22372 if (PyErr_Occurred()) SWIG_fail
;
22374 Py_INCREF(Py_None
); resultobj
= Py_None
;
22381 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22382 PyObject
*resultobj
;
22383 wxWindow
*arg1
= (wxWindow
*) 0 ;
22386 int arg4
= (int) -1 ;
22387 int arg5
= (int) -1 ;
22388 int arg6
= (int) -1 ;
22389 int arg7
= (int) -1 ;
22390 PyObject
* obj0
= 0 ;
22391 PyObject
* obj1
= 0 ;
22392 PyObject
* obj2
= 0 ;
22393 PyObject
* obj3
= 0 ;
22394 PyObject
* obj4
= 0 ;
22395 PyObject
* obj5
= 0 ;
22396 PyObject
* obj6
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22404 arg2
= (int) SWIG_AsInt(obj1
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22406 arg3
= (int) SWIG_AsInt(obj2
);
22407 if (PyErr_Occurred()) SWIG_fail
;
22409 arg4
= (int) SWIG_AsInt(obj3
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22413 arg5
= (int) SWIG_AsInt(obj4
);
22414 if (PyErr_Occurred()) SWIG_fail
;
22417 arg6
= (int) SWIG_AsInt(obj5
);
22418 if (PyErr_Occurred()) SWIG_fail
;
22421 arg7
= (int) SWIG_AsInt(obj6
);
22422 if (PyErr_Occurred()) SWIG_fail
;
22425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22426 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22428 wxPyEndAllowThreads(__tstate
);
22429 if (PyErr_Occurred()) SWIG_fail
;
22431 Py_INCREF(Py_None
); resultobj
= Py_None
;
22438 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22439 PyObject
*resultobj
;
22440 wxWindow
*arg1
= (wxWindow
*) 0 ;
22443 int arg4
= (int) -1 ;
22444 int arg5
= (int) -1 ;
22445 PyObject
* obj0
= 0 ;
22446 PyObject
* obj1
= 0 ;
22447 PyObject
* obj2
= 0 ;
22448 PyObject
* obj3
= 0 ;
22449 PyObject
* obj4
= 0 ;
22450 char *kwnames
[] = {
22451 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22455 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22457 arg2
= (int) SWIG_AsInt(obj1
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22459 arg3
= (int) SWIG_AsInt(obj2
);
22460 if (PyErr_Occurred()) SWIG_fail
;
22462 arg4
= (int) SWIG_AsInt(obj3
);
22463 if (PyErr_Occurred()) SWIG_fail
;
22466 arg5
= (int) SWIG_AsInt(obj4
);
22467 if (PyErr_Occurred()) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxWindow
*arg1
= (wxWindow
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22497 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22499 wxPyEndAllowThreads(__tstate
);
22500 if (PyErr_Occurred()) SWIG_fail
;
22502 resultobj
= SWIG_FromInt((int)result
);
22509 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22510 PyObject
*resultobj
;
22511 wxWindow
*arg1
= (wxWindow
*) 0 ;
22513 PyObject
* obj0
= 0 ;
22514 char *kwnames
[] = {
22515 (char *) "self", NULL
22518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= SWIG_FromInt((int)result
);
22535 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxWindow
*arg1
= (wxWindow
*) 0 ;
22539 PyObject
* obj0
= 0 ;
22540 char *kwnames
[] = {
22541 (char *) "self", NULL
22544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22549 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22551 wxPyEndAllowThreads(__tstate
);
22552 if (PyErr_Occurred()) SWIG_fail
;
22554 resultobj
= SWIG_FromInt((int)result
);
22561 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22562 PyObject
*resultobj
;
22563 wxWindow
*arg1
= (wxWindow
*) 0 ;
22565 PyObject
* obj0
= 0 ;
22566 char *kwnames
[] = {
22567 (char *) "self", NULL
22570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22575 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22577 wxPyEndAllowThreads(__tstate
);
22578 if (PyErr_Occurred()) SWIG_fail
;
22580 resultobj
= SWIG_FromInt((int)result
);
22587 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22588 PyObject
*resultobj
;
22589 wxWindow
*arg1
= (wxWindow
*) 0 ;
22591 PyObject
* obj0
= 0 ;
22592 char *kwnames
[] = {
22593 (char *) "self", NULL
22596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22601 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22603 wxPyEndAllowThreads(__tstate
);
22604 if (PyErr_Occurred()) SWIG_fail
;
22607 wxSize
* resultptr
;
22608 resultptr
= new wxSize((wxSize
&) result
);
22609 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22617 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22618 PyObject
*resultobj
;
22619 wxWindow
*arg1
= (wxWindow
*) 0 ;
22622 PyObject
* obj0
= 0 ;
22623 PyObject
* obj1
= 0 ;
22624 char *kwnames
[] = {
22625 (char *) "self",(char *) "size", NULL
22628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22633 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 Py_INCREF(Py_None
); resultobj
= Py_None
;
22649 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxWindow
*arg1
= (wxWindow
*) 0 ;
22654 PyObject
* obj0
= 0 ;
22655 PyObject
* obj1
= 0 ;
22656 PyObject
* obj2
= 0 ;
22657 char *kwnames
[] = {
22658 (char *) "self",(char *) "w",(char *) "h", NULL
22661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22664 arg2
= (int) SWIG_AsInt(obj1
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22666 arg3
= (int) SWIG_AsInt(obj2
);
22667 if (PyErr_Occurred()) SWIG_fail
;
22669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22670 (arg1
)->SetVirtualSize(arg2
,arg3
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 Py_INCREF(Py_None
); resultobj
= Py_None
;
22682 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22683 PyObject
*resultobj
;
22684 wxWindow
*arg1
= (wxWindow
*) 0 ;
22686 PyObject
* obj0
= 0 ;
22687 char *kwnames
[] = {
22688 (char *) "self", NULL
22691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22696 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22698 wxPyEndAllowThreads(__tstate
);
22699 if (PyErr_Occurred()) SWIG_fail
;
22702 wxSize
* resultptr
;
22703 resultptr
= new wxSize((wxSize
&) result
);
22704 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22712 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22713 PyObject
*resultobj
;
22714 wxWindow
*arg1
= (wxWindow
*) 0 ;
22715 int *arg2
= (int *) 0 ;
22716 int *arg3
= (int *) 0 ;
22719 PyObject
* obj0
= 0 ;
22720 char *kwnames
[] = {
22721 (char *) "self", NULL
22726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22731 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22733 wxPyEndAllowThreads(__tstate
);
22734 if (PyErr_Occurred()) SWIG_fail
;
22736 Py_INCREF(Py_None
); resultobj
= Py_None
;
22738 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22739 resultobj
= t_output_helper(resultobj
,o
);
22742 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22743 resultobj
= t_output_helper(resultobj
,o
);
22751 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22752 PyObject
*resultobj
;
22753 wxWindow
*arg1
= (wxWindow
*) 0 ;
22755 PyObject
* obj0
= 0 ;
22756 char *kwnames
[] = {
22757 (char *) "self", NULL
22760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22765 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22767 wxPyEndAllowThreads(__tstate
);
22768 if (PyErr_Occurred()) SWIG_fail
;
22771 wxSize
* resultptr
;
22772 resultptr
= new wxSize((wxSize
&) result
);
22773 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22781 static PyObject
*_wrap_Window_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxWindow
*arg1
= (wxWindow
*) 0 ;
22784 bool arg2
= (bool) True
;
22786 PyObject
* obj0
= 0 ;
22787 PyObject
* obj1
= 0 ;
22788 char *kwnames
[] = {
22789 (char *) "self",(char *) "show", NULL
22792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22796 arg2
= (bool) SWIG_AsBool(obj1
);
22797 if (PyErr_Occurred()) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= (bool)(arg1
)->Show(arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22813 static PyObject
*_wrap_Window_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22817 PyObject
* obj0
= 0 ;
22818 char *kwnames
[] = {
22819 (char *) "self", NULL
22822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22827 result
= (bool)(arg1
)->Hide();
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22839 static PyObject
*_wrap_Window_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 bool arg2
= (bool) True
;
22844 PyObject
* obj0
= 0 ;
22845 PyObject
* obj1
= 0 ;
22846 char *kwnames
[] = {
22847 (char *) "self",(char *) "enable", NULL
22850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22854 arg2
= (bool) SWIG_AsBool(obj1
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (bool)(arg1
)->Enable(arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22871 static PyObject
*_wrap_Window_Disable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxWindow
*arg1
= (wxWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (bool)(arg1
)->Disable();
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22897 static PyObject
*_wrap_Window_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22911 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22913 wxPyEndAllowThreads(__tstate
);
22914 if (PyErr_Occurred()) SWIG_fail
;
22916 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22923 static PyObject
*_wrap_Window_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22924 PyObject
*resultobj
;
22925 wxWindow
*arg1
= (wxWindow
*) 0 ;
22927 PyObject
* obj0
= 0 ;
22928 char *kwnames
[] = {
22929 (char *) "self", NULL
22932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22937 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22939 wxPyEndAllowThreads(__tstate
);
22940 if (PyErr_Occurred()) SWIG_fail
;
22942 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22949 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22950 PyObject
*resultobj
;
22951 wxWindow
*arg1
= (wxWindow
*) 0 ;
22953 PyObject
* obj0
= 0 ;
22954 PyObject
* obj1
= 0 ;
22955 char *kwnames
[] = {
22956 (char *) "self",(char *) "style", NULL
22959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22960 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22962 arg2
= (long) SWIG_AsLong(obj1
);
22963 if (PyErr_Occurred()) SWIG_fail
;
22965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22966 (arg1
)->SetWindowStyleFlag(arg2
);
22968 wxPyEndAllowThreads(__tstate
);
22969 if (PyErr_Occurred()) SWIG_fail
;
22971 Py_INCREF(Py_None
); resultobj
= Py_None
;
22978 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxWindow
*arg1
= (wxWindow
*) 0 ;
22982 PyObject
* obj0
= 0 ;
22983 char *kwnames
[] = {
22984 (char *) "self", NULL
22987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22994 wxPyEndAllowThreads(__tstate
);
22995 if (PyErr_Occurred()) SWIG_fail
;
22997 resultobj
= SWIG_FromLong((long)result
);
23004 static PyObject
*_wrap_Window_HasFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23005 PyObject
*resultobj
;
23006 wxWindow
*arg1
= (wxWindow
*) 0 ;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 char *kwnames
[] = {
23012 (char *) "self",(char *) "flag", NULL
23015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23018 arg2
= (int) SWIG_AsInt(obj1
);
23019 if (PyErr_Occurred()) SWIG_fail
;
23021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23022 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23024 wxPyEndAllowThreads(__tstate
);
23025 if (PyErr_Occurred()) SWIG_fail
;
23027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23034 static PyObject
*_wrap_Window_IsRetained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23035 PyObject
*resultobj
;
23036 wxWindow
*arg1
= (wxWindow
*) 0 ;
23038 PyObject
* obj0
= 0 ;
23039 char *kwnames
[] = {
23040 (char *) "self", NULL
23043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23060 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxWindow
*arg1
= (wxWindow
*) 0 ;
23064 PyObject
* obj0
= 0 ;
23065 PyObject
* obj1
= 0 ;
23066 char *kwnames
[] = {
23067 (char *) "self",(char *) "exStyle", NULL
23070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23071 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23072 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23073 arg2
= (long) SWIG_AsLong(obj1
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 (arg1
)->SetExtraStyle(arg2
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23089 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23090 PyObject
*resultobj
;
23091 wxWindow
*arg1
= (wxWindow
*) 0 ;
23093 PyObject
* obj0
= 0 ;
23094 char *kwnames
[] = {
23095 (char *) "self", NULL
23098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23099 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23100 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23103 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23105 wxPyEndAllowThreads(__tstate
);
23106 if (PyErr_Occurred()) SWIG_fail
;
23108 resultobj
= SWIG_FromLong((long)result
);
23115 static PyObject
*_wrap_Window_MakeModal(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23116 PyObject
*resultobj
;
23117 wxWindow
*arg1
= (wxWindow
*) 0 ;
23118 bool arg2
= (bool) True
;
23119 PyObject
* obj0
= 0 ;
23120 PyObject
* obj1
= 0 ;
23121 char *kwnames
[] = {
23122 (char *) "self",(char *) "modal", NULL
23125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23129 arg2
= (bool) SWIG_AsBool(obj1
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23134 (arg1
)->MakeModal(arg2
);
23136 wxPyEndAllowThreads(__tstate
);
23137 if (PyErr_Occurred()) SWIG_fail
;
23139 Py_INCREF(Py_None
); resultobj
= Py_None
;
23146 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23147 PyObject
*resultobj
;
23148 wxWindow
*arg1
= (wxWindow
*) 0 ;
23150 PyObject
* obj0
= 0 ;
23151 PyObject
* obj1
= 0 ;
23152 char *kwnames
[] = {
23153 (char *) "self",(char *) "enableTheme", NULL
23156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23159 arg2
= (bool) SWIG_AsBool(obj1
);
23160 if (PyErr_Occurred()) SWIG_fail
;
23162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23163 (arg1
)->SetThemeEnabled(arg2
);
23165 wxPyEndAllowThreads(__tstate
);
23166 if (PyErr_Occurred()) SWIG_fail
;
23168 Py_INCREF(Py_None
); resultobj
= Py_None
;
23175 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23176 PyObject
*resultobj
;
23177 wxWindow
*arg1
= (wxWindow
*) 0 ;
23179 PyObject
* obj0
= 0 ;
23180 char *kwnames
[] = {
23181 (char *) "self", NULL
23184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23185 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23186 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23189 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23191 wxPyEndAllowThreads(__tstate
);
23192 if (PyErr_Occurred()) SWIG_fail
;
23194 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23201 static PyObject
*_wrap_Window_SetFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23202 PyObject
*resultobj
;
23203 wxWindow
*arg1
= (wxWindow
*) 0 ;
23204 PyObject
* obj0
= 0 ;
23205 char *kwnames
[] = {
23206 (char *) "self", NULL
23209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23210 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23211 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23214 (arg1
)->SetFocus();
23216 wxPyEndAllowThreads(__tstate
);
23217 if (PyErr_Occurred()) SWIG_fail
;
23219 Py_INCREF(Py_None
); resultobj
= Py_None
;
23226 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23227 PyObject
*resultobj
;
23228 wxWindow
*arg1
= (wxWindow
*) 0 ;
23229 PyObject
* obj0
= 0 ;
23230 char *kwnames
[] = {
23231 (char *) "self", NULL
23234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23235 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23236 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23239 (arg1
)->SetFocusFromKbd();
23241 wxPyEndAllowThreads(__tstate
);
23242 if (PyErr_Occurred()) SWIG_fail
;
23244 Py_INCREF(Py_None
); resultobj
= Py_None
;
23251 static PyObject
*_wrap_Window_FindFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23252 PyObject
*resultobj
;
23254 char *kwnames
[] = {
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23261 result
= (wxWindow
*)wxWindow::FindFocus();
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23267 resultobj
= wxPyMake_wxObject(result
);
23275 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23276 PyObject
*resultobj
;
23277 wxWindow
*arg1
= (wxWindow
*) 0 ;
23279 PyObject
* obj0
= 0 ;
23280 char *kwnames
[] = {
23281 (char *) "self", NULL
23284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23289 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23291 wxPyEndAllowThreads(__tstate
);
23292 if (PyErr_Occurred()) SWIG_fail
;
23294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23301 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23302 PyObject
*resultobj
;
23303 wxWindow
*arg1
= (wxWindow
*) 0 ;
23305 PyObject
* obj0
= 0 ;
23306 char *kwnames
[] = {
23307 (char *) "self", NULL
23310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23327 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*, 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_GetDefaultItem",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
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23343 wxPyEndAllowThreads(__tstate
);
23344 if (PyErr_Occurred()) SWIG_fail
;
23347 resultobj
= wxPyMake_wxObject(result
);
23355 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxWindow
*arg1
= (wxWindow
*) 0 ;
23358 wxWindow
*arg2
= (wxWindow
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 PyObject
* obj1
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "child", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23370 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23373 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23375 wxPyEndAllowThreads(__tstate
);
23376 if (PyErr_Occurred()) SWIG_fail
;
23379 resultobj
= wxPyMake_wxObject(result
);
23387 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23388 PyObject
*resultobj
;
23389 wxWindow
*arg1
= (wxWindow
*) 0 ;
23390 wxWindow
*arg2
= (wxWindow
*) 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 char *kwnames
[] = {
23394 (char *) "self",(char *) "win", NULL
23397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23404 (arg1
)->SetTmpDefaultItem(arg2
);
23406 wxPyEndAllowThreads(__tstate
);
23407 if (PyErr_Occurred()) SWIG_fail
;
23409 Py_INCREF(Py_None
); resultobj
= Py_None
;
23416 static PyObject
*_wrap_Window_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23417 PyObject
*resultobj
;
23418 wxWindow
*arg1
= (wxWindow
*) 0 ;
23420 PyObject
* obj0
= 0 ;
23421 char *kwnames
[] = {
23422 (char *) "self", NULL
23425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= result
;
23442 static PyObject
*_wrap_Window_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxWindow
*arg1
= (wxWindow
*) 0 ;
23446 PyObject
* obj0
= 0 ;
23447 char *kwnames
[] = {
23448 (char *) "self", NULL
23451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23462 resultobj
= wxPyMake_wxObject(result
);
23470 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxWindow
*arg1
= (wxWindow
*) 0 ;
23474 PyObject
* obj0
= 0 ;
23475 char *kwnames
[] = {
23476 (char *) "self", NULL
23479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23480 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23481 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23484 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= wxPyMake_wxObject(result
);
23498 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23502 PyObject
* obj0
= 0 ;
23503 char *kwnames
[] = {
23504 (char *) "self", NULL
23507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23514 wxPyEndAllowThreads(__tstate
);
23515 if (PyErr_Occurred()) SWIG_fail
;
23517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23524 static PyObject
*_wrap_Window_Reparent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23525 PyObject
*resultobj
;
23526 wxWindow
*arg1
= (wxWindow
*) 0 ;
23527 wxWindow
*arg2
= (wxWindow
*) 0 ;
23529 PyObject
* obj0
= 0 ;
23530 PyObject
* obj1
= 0 ;
23531 char *kwnames
[] = {
23532 (char *) "self",(char *) "newParent", NULL
23535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23542 result
= (bool)(arg1
)->Reparent(arg2
);
23544 wxPyEndAllowThreads(__tstate
);
23545 if (PyErr_Occurred()) SWIG_fail
;
23547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23554 static PyObject
*_wrap_Window_AddChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23555 PyObject
*resultobj
;
23556 wxWindow
*arg1
= (wxWindow
*) 0 ;
23557 wxWindow
*arg2
= (wxWindow
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 PyObject
* obj1
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self",(char *) "child", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23567 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23568 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23571 (arg1
)->AddChild(arg2
);
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 Py_INCREF(Py_None
); resultobj
= Py_None
;
23583 static PyObject
*_wrap_Window_RemoveChild(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23584 PyObject
*resultobj
;
23585 wxWindow
*arg1
= (wxWindow
*) 0 ;
23586 wxWindow
*arg2
= (wxWindow
*) 0 ;
23587 PyObject
* obj0
= 0 ;
23588 PyObject
* obj1
= 0 ;
23589 char *kwnames
[] = {
23590 (char *) "self",(char *) "child", NULL
23593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23596 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 (arg1
)->RemoveChild(arg2
);
23602 wxPyEndAllowThreads(__tstate
);
23603 if (PyErr_Occurred()) SWIG_fail
;
23605 Py_INCREF(Py_None
); resultobj
= Py_None
;
23612 static PyObject
*_wrap_Window_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxWindow
*arg1
= (wxWindow
*) 0 ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "winid", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23626 arg2
= (long) SWIG_AsLong(obj1
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23636 resultobj
= wxPyMake_wxObject(result
);
23644 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 wxString
*arg2
= 0 ;
23649 bool temp2
= False
;
23650 PyObject
* obj0
= 0 ;
23651 PyObject
* obj1
= 0 ;
23652 char *kwnames
[] = {
23653 (char *) "self",(char *) "name", NULL
23656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23660 arg2
= wxString_in_helper(obj1
);
23661 if (arg2
== NULL
) SWIG_fail
;
23665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23666 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23668 wxPyEndAllowThreads(__tstate
);
23669 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= wxPyMake_wxObject(result
);
23688 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxWindow
*arg1
= (wxWindow
*) 0 ;
23691 wxEvtHandler
*result
;
23692 PyObject
* obj0
= 0 ;
23693 char *kwnames
[] = {
23694 (char *) "self", NULL
23697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23708 resultobj
= wxPyMake_wxObject(result
);
23716 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23717 PyObject
*resultobj
;
23718 wxWindow
*arg1
= (wxWindow
*) 0 ;
23719 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23720 PyObject
* obj0
= 0 ;
23721 PyObject
* obj1
= 0 ;
23722 char *kwnames
[] = {
23723 (char *) "self",(char *) "handler", NULL
23726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23729 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23733 (arg1
)->SetEventHandler(arg2
);
23735 wxPyEndAllowThreads(__tstate
);
23736 if (PyErr_Occurred()) SWIG_fail
;
23738 Py_INCREF(Py_None
); resultobj
= Py_None
;
23745 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23746 PyObject
*resultobj
;
23747 wxWindow
*arg1
= (wxWindow
*) 0 ;
23748 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23749 PyObject
* obj0
= 0 ;
23750 PyObject
* obj1
= 0 ;
23751 char *kwnames
[] = {
23752 (char *) "self",(char *) "handler", NULL
23755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23762 (arg1
)->PushEventHandler(arg2
);
23764 wxPyEndAllowThreads(__tstate
);
23765 if (PyErr_Occurred()) SWIG_fail
;
23767 Py_INCREF(Py_None
); resultobj
= Py_None
;
23774 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23775 PyObject
*resultobj
;
23776 wxWindow
*arg1
= (wxWindow
*) 0 ;
23777 bool arg2
= (bool) False
;
23778 wxEvtHandler
*result
;
23779 PyObject
* obj0
= 0 ;
23780 PyObject
* obj1
= 0 ;
23781 char *kwnames
[] = {
23782 (char *) "self",(char *) "deleteHandler", NULL
23785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23789 arg2
= (bool) SWIG_AsBool(obj1
);
23790 if (PyErr_Occurred()) SWIG_fail
;
23793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23794 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23796 wxPyEndAllowThreads(__tstate
);
23797 if (PyErr_Occurred()) SWIG_fail
;
23800 resultobj
= wxPyMake_wxObject(result
);
23808 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
;
23810 wxWindow
*arg1
= (wxWindow
*) 0 ;
23811 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23813 PyObject
* obj0
= 0 ;
23814 PyObject
* obj1
= 0 ;
23815 char *kwnames
[] = {
23816 (char *) "self",(char *) "handler", NULL
23819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23822 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23826 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23828 wxPyEndAllowThreads(__tstate
);
23829 if (PyErr_Occurred()) SWIG_fail
;
23831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23838 static PyObject
*_wrap_Window_SetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23839 PyObject
*resultobj
;
23840 wxWindow
*arg1
= (wxWindow
*) 0 ;
23841 wxValidator
*arg2
= 0 ;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "validator", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
23852 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23854 if (arg2
== NULL
) {
23855 PyErr_SetString(PyExc_TypeError
,"null reference");
23859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23860 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23862 wxPyEndAllowThreads(__tstate
);
23863 if (PyErr_Occurred()) SWIG_fail
;
23865 Py_INCREF(Py_None
); resultobj
= Py_None
;
23872 static PyObject
*_wrap_Window_GetValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23873 PyObject
*resultobj
;
23874 wxWindow
*arg1
= (wxWindow
*) 0 ;
23875 wxValidator
*result
;
23876 PyObject
* obj0
= 0 ;
23877 char *kwnames
[] = {
23878 (char *) "self", NULL
23881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 result
= (wxValidator
*)(arg1
)->GetValidator();
23888 wxPyEndAllowThreads(__tstate
);
23889 if (PyErr_Occurred()) SWIG_fail
;
23892 resultobj
= wxPyMake_wxObject(result
);
23900 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23901 PyObject
*resultobj
;
23902 wxWindow
*arg1
= (wxWindow
*) 0 ;
23903 wxAcceleratorTable
*arg2
= 0 ;
23904 PyObject
* obj0
= 0 ;
23905 PyObject
* obj1
= 0 ;
23906 char *kwnames
[] = {
23907 (char *) "self",(char *) "accel", NULL
23910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23913 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
23914 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23916 if (arg2
== NULL
) {
23917 PyErr_SetString(PyExc_TypeError
,"null reference");
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 Py_INCREF(Py_None
); resultobj
= Py_None
;
23934 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxWindow
*arg1
= (wxWindow
*) 0 ;
23937 wxAcceleratorTable
*result
;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23948 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23950 wxPyEndAllowThreads(__tstate
);
23951 if (PyErr_Occurred()) SWIG_fail
;
23953 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23960 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23961 PyObject
*resultobj
;
23962 wxWindow
*arg1
= (wxWindow
*) 0 ;
23967 PyObject
* obj0
= 0 ;
23968 PyObject
* obj1
= 0 ;
23969 PyObject
* obj2
= 0 ;
23970 PyObject
* obj3
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23978 arg2
= (int) SWIG_AsInt(obj1
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23980 arg3
= (int) SWIG_AsInt(obj2
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23982 arg4
= (int) SWIG_AsInt(obj3
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23986 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23988 wxPyEndAllowThreads(__tstate
);
23989 if (PyErr_Occurred()) SWIG_fail
;
23991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23998 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
23999 PyObject
*resultobj
;
24000 wxWindow
*arg1
= (wxWindow
*) 0 ;
24003 PyObject
* obj0
= 0 ;
24004 PyObject
* obj1
= 0 ;
24005 char *kwnames
[] = {
24006 (char *) "self",(char *) "hotkeyId", NULL
24009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24010 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24011 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24012 arg2
= (int) SWIG_AsInt(obj1
);
24013 if (PyErr_Occurred()) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24028 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxWindow
*arg1
= (wxWindow
*) 0 ;
24031 wxPoint
*arg2
= 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "pt", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24042 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24045 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24049 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24051 wxPyEndAllowThreads(__tstate
);
24052 if (PyErr_Occurred()) SWIG_fail
;
24055 wxPoint
* resultptr
;
24056 resultptr
= new wxPoint((wxPoint
&) result
);
24057 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24065 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24066 PyObject
*resultobj
;
24067 wxWindow
*arg1
= (wxWindow
*) 0 ;
24071 PyObject
* obj0
= 0 ;
24072 PyObject
* obj1
= 0 ;
24073 char *kwnames
[] = {
24074 (char *) "self",(char *) "sz", NULL
24077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24082 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24092 wxSize
* resultptr
;
24093 resultptr
= new wxSize((wxSize
&) result
);
24094 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24102 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24103 PyObject
*resultobj
;
24104 wxWindow
*arg1
= (wxWindow
*) 0 ;
24105 wxPoint
*arg2
= 0 ;
24108 PyObject
* obj0
= 0 ;
24109 PyObject
* obj1
= 0 ;
24110 char *kwnames
[] = {
24111 (char *) "self",(char *) "pt", NULL
24114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24115 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24116 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24119 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24123 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24125 wxPyEndAllowThreads(__tstate
);
24126 if (PyErr_Occurred()) SWIG_fail
;
24129 wxPoint
* resultptr
;
24130 resultptr
= new wxPoint((wxPoint
&) result
);
24131 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24139 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24140 PyObject
*resultobj
;
24141 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 PyObject
* obj1
= 0 ;
24147 char *kwnames
[] = {
24148 (char *) "self",(char *) "sz", NULL
24151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24156 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 wxSize
* resultptr
;
24167 resultptr
= new wxSize((wxSize
&) result
);
24168 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24176 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxWindow
*arg1
= (wxWindow
*) 0 ;
24179 wxPoint
*arg2
= 0 ;
24182 PyObject
* obj0
= 0 ;
24183 PyObject
* obj1
= 0 ;
24184 char *kwnames
[] = {
24185 (char *) "self",(char *) "pt", NULL
24188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24197 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24199 wxPyEndAllowThreads(__tstate
);
24200 if (PyErr_Occurred()) SWIG_fail
;
24203 wxPoint
* resultptr
;
24204 resultptr
= new wxPoint((wxPoint
&) result
);
24205 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24213 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24214 PyObject
*resultobj
;
24215 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 PyObject
* obj1
= 0 ;
24221 char *kwnames
[] = {
24222 (char *) "self",(char *) "sz", NULL
24225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24230 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24234 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24236 wxPyEndAllowThreads(__tstate
);
24237 if (PyErr_Occurred()) SWIG_fail
;
24240 wxSize
* resultptr
;
24241 resultptr
= new wxSize((wxSize
&) result
);
24242 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24250 static PyObject
*_wrap_Window_WarpPointer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxWindow
*arg1
= (wxWindow
*) 0 ;
24255 PyObject
* obj0
= 0 ;
24256 PyObject
* obj1
= 0 ;
24257 PyObject
* obj2
= 0 ;
24258 char *kwnames
[] = {
24259 (char *) "self",(char *) "x",(char *) "y", NULL
24262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24265 arg2
= (int) SWIG_AsInt(obj1
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24267 arg3
= (int) SWIG_AsInt(obj2
);
24268 if (PyErr_Occurred()) SWIG_fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 (arg1
)->WarpPointer(arg2
,arg3
);
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24276 Py_INCREF(Py_None
); resultobj
= Py_None
;
24283 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24284 PyObject
*resultobj
;
24285 wxWindow
*arg1
= (wxWindow
*) 0 ;
24286 PyObject
* obj0
= 0 ;
24287 char *kwnames
[] = {
24288 (char *) "self", NULL
24291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24296 (arg1
)->CaptureMouse();
24298 wxPyEndAllowThreads(__tstate
);
24299 if (PyErr_Occurred()) SWIG_fail
;
24301 Py_INCREF(Py_None
); resultobj
= Py_None
;
24308 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24309 PyObject
*resultobj
;
24310 wxWindow
*arg1
= (wxWindow
*) 0 ;
24311 PyObject
* obj0
= 0 ;
24312 char *kwnames
[] = {
24313 (char *) "self", NULL
24316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24321 (arg1
)->ReleaseMouse();
24323 wxPyEndAllowThreads(__tstate
);
24324 if (PyErr_Occurred()) SWIG_fail
;
24326 Py_INCREF(Py_None
); resultobj
= Py_None
;
24333 static PyObject
*_wrap_Window_GetCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24336 char *kwnames
[] = {
24340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24343 result
= (wxWindow
*)wxWindow::GetCapture();
24345 wxPyEndAllowThreads(__tstate
);
24346 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= wxPyMake_wxObject(result
);
24357 static PyObject
*_wrap_Window_HasCapture(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24358 PyObject
*resultobj
;
24359 wxWindow
*arg1
= (wxWindow
*) 0 ;
24361 PyObject
* obj0
= 0 ;
24362 char *kwnames
[] = {
24363 (char *) "self", NULL
24366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24376 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24383 static PyObject
*_wrap_Window_Refresh(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24384 PyObject
*resultobj
;
24385 wxWindow
*arg1
= (wxWindow
*) 0 ;
24386 bool arg2
= (bool) True
;
24387 wxRect
*arg3
= (wxRect
*) NULL
;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 PyObject
* obj2
= 0 ;
24391 char *kwnames
[] = {
24392 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24399 arg2
= (bool) SWIG_AsBool(obj1
);
24400 if (PyErr_Occurred()) SWIG_fail
;
24403 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24413 Py_INCREF(Py_None
); resultobj
= Py_None
;
24420 static PyObject
*_wrap_Window_RefreshRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24421 PyObject
*resultobj
;
24422 wxWindow
*arg1
= (wxWindow
*) 0 ;
24425 PyObject
* obj0
= 0 ;
24426 PyObject
* obj1
= 0 ;
24427 char *kwnames
[] = {
24428 (char *) "self",(char *) "rect", NULL
24431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24436 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24440 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24442 wxPyEndAllowThreads(__tstate
);
24443 if (PyErr_Occurred()) SWIG_fail
;
24445 Py_INCREF(Py_None
); resultobj
= Py_None
;
24452 static PyObject
*_wrap_Window_Update(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24453 PyObject
*resultobj
;
24454 wxWindow
*arg1
= (wxWindow
*) 0 ;
24455 PyObject
* obj0
= 0 ;
24456 char *kwnames
[] = {
24457 (char *) "self", NULL
24460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24467 wxPyEndAllowThreads(__tstate
);
24468 if (PyErr_Occurred()) SWIG_fail
;
24470 Py_INCREF(Py_None
); resultobj
= Py_None
;
24477 static PyObject
*_wrap_Window_ClearBackground(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24478 PyObject
*resultobj
;
24479 wxWindow
*arg1
= (wxWindow
*) 0 ;
24480 PyObject
* obj0
= 0 ;
24481 char *kwnames
[] = {
24482 (char *) "self", NULL
24485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24490 (arg1
)->ClearBackground();
24492 wxPyEndAllowThreads(__tstate
);
24493 if (PyErr_Occurred()) SWIG_fail
;
24495 Py_INCREF(Py_None
); resultobj
= Py_None
;
24502 static PyObject
*_wrap_Window_Freeze(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24503 PyObject
*resultobj
;
24504 wxWindow
*arg1
= (wxWindow
*) 0 ;
24505 PyObject
* obj0
= 0 ;
24506 char *kwnames
[] = {
24507 (char *) "self", NULL
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24517 wxPyEndAllowThreads(__tstate
);
24518 if (PyErr_Occurred()) SWIG_fail
;
24520 Py_INCREF(Py_None
); resultobj
= Py_None
;
24527 static PyObject
*_wrap_Window_Thaw(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxWindow
*arg1
= (wxWindow
*) 0 ;
24530 PyObject
* obj0
= 0 ;
24531 char *kwnames
[] = {
24532 (char *) "self", NULL
24535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24545 Py_INCREF(Py_None
); resultobj
= Py_None
;
24552 static PyObject
*_wrap_Window_PrepareDC(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24553 PyObject
*resultobj
;
24554 wxWindow
*arg1
= (wxWindow
*) 0 ;
24556 PyObject
* obj0
= 0 ;
24557 PyObject
* obj1
= 0 ;
24558 char *kwnames
[] = {
24559 (char *) "self",(char *) "dc", NULL
24562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24566 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24568 if (arg2
== NULL
) {
24569 PyErr_SetString(PyExc_TypeError
,"null reference");
24573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24574 (arg1
)->PrepareDC(*arg2
);
24576 wxPyEndAllowThreads(__tstate
);
24577 if (PyErr_Occurred()) SWIG_fail
;
24579 Py_INCREF(Py_None
); resultobj
= Py_None
;
24586 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24587 PyObject
*resultobj
;
24588 wxWindow
*arg1
= (wxWindow
*) 0 ;
24590 PyObject
* obj0
= 0 ;
24591 char *kwnames
[] = {
24592 (char *) "self", NULL
24595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24601 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24602 result
= (wxRegion
*) &_result_ref
;
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24615 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxWindow
*arg1
= (wxWindow
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24626 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24629 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24631 wxPyEndAllowThreads(__tstate
);
24632 if (PyErr_Occurred()) SWIG_fail
;
24635 wxRect
* resultptr
;
24636 resultptr
= new wxRect((wxRect
&) result
);
24637 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24645 static PyObject
*_wrap_Window_IsExposed(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24646 PyObject
*resultobj
;
24647 wxWindow
*arg1
= (wxWindow
*) 0 ;
24650 int arg4
= (int) 1 ;
24651 int arg5
= (int) 1 ;
24653 PyObject
* obj0
= 0 ;
24654 PyObject
* obj1
= 0 ;
24655 PyObject
* obj2
= 0 ;
24656 PyObject
* obj3
= 0 ;
24657 PyObject
* obj4
= 0 ;
24658 char *kwnames
[] = {
24659 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24663 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24665 arg2
= (int) SWIG_AsInt(obj1
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24667 arg3
= (int) SWIG_AsInt(obj2
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24670 arg4
= (int) SWIG_AsInt(obj3
);
24671 if (PyErr_Occurred()) SWIG_fail
;
24674 arg5
= (int) SWIG_AsInt(obj4
);
24675 if (PyErr_Occurred()) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24691 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 wxWindow
*arg1
= (wxWindow
*) 0 ;
24694 wxPoint
*arg2
= 0 ;
24697 PyObject
* obj0
= 0 ;
24698 PyObject
* obj1
= 0 ;
24699 char *kwnames
[] = {
24700 (char *) "self",(char *) "pt", NULL
24703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24708 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24724 static PyObject
*_wrap_Window_isExposedRect(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24725 PyObject
*resultobj
;
24726 wxWindow
*arg1
= (wxWindow
*) 0 ;
24730 PyObject
* obj0
= 0 ;
24731 PyObject
* obj1
= 0 ;
24732 char *kwnames
[] = {
24733 (char *) "self",(char *) "rect", NULL
24736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24741 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24745 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24747 wxPyEndAllowThreads(__tstate
);
24748 if (PyErr_Occurred()) SWIG_fail
;
24750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24757 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24758 PyObject
*resultobj
;
24759 wxWindow
*arg1
= (wxWindow
*) 0 ;
24760 wxColour
*arg2
= 0 ;
24763 PyObject
* obj0
= 0 ;
24764 PyObject
* obj1
= 0 ;
24765 char *kwnames
[] = {
24766 (char *) "self",(char *) "colour", NULL
24769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24774 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24790 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24791 PyObject
*resultobj
;
24792 wxWindow
*arg1
= (wxWindow
*) 0 ;
24793 wxColour
*arg2
= 0 ;
24796 PyObject
* obj0
= 0 ;
24797 PyObject
* obj1
= 0 ;
24798 char *kwnames
[] = {
24799 (char *) "self",(char *) "colour", NULL
24802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24807 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24823 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxWindow
*arg1
= (wxWindow
*) 0 ;
24827 PyObject
* obj0
= 0 ;
24828 char *kwnames
[] = {
24829 (char *) "self", NULL
24832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24837 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 wxColour
* resultptr
;
24844 resultptr
= new wxColour((wxColour
&) result
);
24845 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24853 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24854 PyObject
*resultobj
;
24855 wxWindow
*arg1
= (wxWindow
*) 0 ;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "self", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24867 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 wxColour
* resultptr
;
24874 resultptr
= new wxColour((wxColour
&) result
);
24875 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24883 static PyObject
*_wrap_Window_SetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24884 PyObject
*resultobj
;
24885 wxWindow
*arg1
= (wxWindow
*) 0 ;
24886 wxCursor
*arg2
= 0 ;
24888 PyObject
* obj0
= 0 ;
24889 PyObject
* obj1
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "cursor", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24897 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
24898 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24900 if (arg2
== NULL
) {
24901 PyErr_SetString(PyExc_TypeError
,"null reference");
24905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24906 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24908 wxPyEndAllowThreads(__tstate
);
24909 if (PyErr_Occurred()) SWIG_fail
;
24911 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24918 static PyObject
*_wrap_Window_GetCursor(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24919 PyObject
*resultobj
;
24920 wxWindow
*arg1
= (wxWindow
*) 0 ;
24922 PyObject
* obj0
= 0 ;
24923 char *kwnames
[] = {
24924 (char *) "self", NULL
24927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24933 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24934 result
= (wxCursor
*) &_result_ref
;
24937 wxPyEndAllowThreads(__tstate
);
24938 if (PyErr_Occurred()) SWIG_fail
;
24940 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 0);
24947 static PyObject
*_wrap_Window_SetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24948 PyObject
*resultobj
;
24949 wxWindow
*arg1
= (wxWindow
*) 0 ;
24952 PyObject
* obj0
= 0 ;
24953 PyObject
* obj1
= 0 ;
24954 char *kwnames
[] = {
24955 (char *) "self",(char *) "font", NULL
24958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24961 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
24962 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24964 if (arg2
== NULL
) {
24965 PyErr_SetString(PyExc_TypeError
,"null reference");
24969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24970 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24972 wxPyEndAllowThreads(__tstate
);
24973 if (PyErr_Occurred()) SWIG_fail
;
24975 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24982 static PyObject
*_wrap_Window_GetFont(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
24983 PyObject
*resultobj
;
24984 wxWindow
*arg1
= (wxWindow
*) 0 ;
24986 PyObject
* obj0
= 0 ;
24987 char *kwnames
[] = {
24988 (char *) "self", NULL
24991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24992 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24993 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24997 wxFont
&_result_ref
= (arg1
)->GetFont();
24998 result
= (wxFont
*) &_result_ref
;
25001 wxPyEndAllowThreads(__tstate
);
25002 if (PyErr_Occurred()) SWIG_fail
;
25004 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25011 static PyObject
*_wrap_Window_SetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25012 PyObject
*resultobj
;
25013 wxWindow
*arg1
= (wxWindow
*) 0 ;
25014 wxCaret
*arg2
= (wxCaret
*) 0 ;
25015 PyObject
* obj0
= 0 ;
25016 PyObject
* obj1
= 0 ;
25017 char *kwnames
[] = {
25018 (char *) "self",(char *) "caret", NULL
25021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25028 (arg1
)->SetCaret(arg2
);
25030 wxPyEndAllowThreads(__tstate
);
25031 if (PyErr_Occurred()) SWIG_fail
;
25033 Py_INCREF(Py_None
); resultobj
= Py_None
;
25040 static PyObject
*_wrap_Window_GetCaret(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25041 PyObject
*resultobj
;
25042 wxWindow
*arg1
= (wxWindow
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25054 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25056 wxPyEndAllowThreads(__tstate
);
25057 if (PyErr_Occurred()) SWIG_fail
;
25059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25066 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25067 PyObject
*resultobj
;
25068 wxWindow
*arg1
= (wxWindow
*) 0 ;
25070 PyObject
* obj0
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25080 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25082 wxPyEndAllowThreads(__tstate
);
25083 if (PyErr_Occurred()) SWIG_fail
;
25085 resultobj
= SWIG_FromInt((int)result
);
25092 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25093 PyObject
*resultobj
;
25094 wxWindow
*arg1
= (wxWindow
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 resultobj
= SWIG_FromInt((int)result
);
25118 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25119 PyObject
*resultobj
;
25120 wxWindow
*arg1
= (wxWindow
*) 0 ;
25121 wxString
*arg2
= 0 ;
25122 int *arg3
= (int *) 0 ;
25123 int *arg4
= (int *) 0 ;
25124 bool temp2
= False
;
25127 PyObject
* obj0
= 0 ;
25128 PyObject
* obj1
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "string", NULL
25135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25139 arg2
= wxString_in_helper(obj1
);
25140 if (arg2
== NULL
) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25145 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25152 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25153 resultobj
= t_output_helper(resultobj
,o
);
25156 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25157 resultobj
= t_output_helper(resultobj
,o
);
25173 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25174 PyObject
*resultobj
;
25175 wxWindow
*arg1
= (wxWindow
*) 0 ;
25176 wxString
*arg2
= 0 ;
25177 int *arg3
= (int *) 0 ;
25178 int *arg4
= (int *) 0 ;
25179 int *arg5
= (int *) 0 ;
25180 int *arg6
= (int *) 0 ;
25181 wxFont
*arg7
= (wxFont
*) NULL
;
25182 bool temp2
= False
;
25187 PyObject
* obj0
= 0 ;
25188 PyObject
* obj1
= 0 ;
25189 PyObject
* obj2
= 0 ;
25190 char *kwnames
[] = {
25191 (char *) "self",(char *) "string",(char *) "font", NULL
25198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25202 arg2
= wxString_in_helper(obj1
);
25203 if (arg2
== NULL
) SWIG_fail
;
25207 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25212 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25214 wxPyEndAllowThreads(__tstate
);
25215 if (PyErr_Occurred()) SWIG_fail
;
25217 Py_INCREF(Py_None
); resultobj
= Py_None
;
25219 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25220 resultobj
= t_output_helper(resultobj
,o
);
25223 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25224 resultobj
= t_output_helper(resultobj
,o
);
25227 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25228 resultobj
= t_output_helper(resultobj
,o
);
25231 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25232 resultobj
= t_output_helper(resultobj
,o
);
25248 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25249 PyObject
*resultobj
;
25250 wxWindow
*arg1
= (wxWindow
*) 0 ;
25251 int *arg2
= (int *) 0 ;
25252 int *arg3
= (int *) 0 ;
25255 PyObject
* obj0
= 0 ;
25256 PyObject
* obj1
= 0 ;
25257 PyObject
* obj2
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "x",(char *) "y", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25266 temp2
= PyInt_AsLong(obj1
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25271 temp3
= PyInt_AsLong(obj2
);
25272 if (PyErr_Occurred()) SWIG_fail
;
25276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25277 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25279 wxPyEndAllowThreads(__tstate
);
25280 if (PyErr_Occurred()) SWIG_fail
;
25282 Py_INCREF(Py_None
); resultobj
= Py_None
;
25284 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25285 resultobj
= t_output_helper(resultobj
,o
);
25288 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25289 resultobj
= t_output_helper(resultobj
,o
);
25297 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25298 PyObject
*resultobj
;
25299 wxWindow
*arg1
= (wxWindow
*) 0 ;
25300 int *arg2
= (int *) 0 ;
25301 int *arg3
= (int *) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 PyObject
* obj2
= 0 ;
25307 char *kwnames
[] = {
25308 (char *) "self",(char *) "x",(char *) "y", NULL
25311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25315 temp2
= PyInt_AsLong(obj1
);
25316 if (PyErr_Occurred()) SWIG_fail
;
25320 temp3
= PyInt_AsLong(obj2
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 Py_INCREF(Py_None
); resultobj
= Py_None
;
25333 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25334 resultobj
= t_output_helper(resultobj
,o
);
25337 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25338 resultobj
= t_output_helper(resultobj
,o
);
25346 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxWindow
*arg1
= (wxWindow
*) 0 ;
25349 wxPoint
*arg2
= 0 ;
25352 PyObject
* obj0
= 0 ;
25353 PyObject
* obj1
= 0 ;
25354 char *kwnames
[] = {
25355 (char *) "self",(char *) "pt", NULL
25358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25363 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25367 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25369 wxPyEndAllowThreads(__tstate
);
25370 if (PyErr_Occurred()) SWIG_fail
;
25373 wxPoint
* resultptr
;
25374 resultptr
= new wxPoint((wxPoint
&) result
);
25375 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25383 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxWindow
*arg1
= (wxWindow
*) 0 ;
25386 wxPoint
*arg2
= 0 ;
25389 PyObject
* obj0
= 0 ;
25390 PyObject
* obj1
= 0 ;
25391 char *kwnames
[] = {
25392 (char *) "self",(char *) "pt", NULL
25395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25406 wxPyEndAllowThreads(__tstate
);
25407 if (PyErr_Occurred()) SWIG_fail
;
25410 wxPoint
* resultptr
;
25411 resultptr
= new wxPoint((wxPoint
&) result
);
25412 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25420 static PyObject
*_wrap_Window_HitTestXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25421 PyObject
*resultobj
;
25422 wxWindow
*arg1
= (wxWindow
*) 0 ;
25426 PyObject
* obj0
= 0 ;
25427 PyObject
* obj1
= 0 ;
25428 PyObject
* obj2
= 0 ;
25429 char *kwnames
[] = {
25430 (char *) "self",(char *) "x",(char *) "y", NULL
25433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25436 arg2
= (int) SWIG_AsInt(obj1
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25438 arg3
= (int) SWIG_AsInt(obj2
);
25439 if (PyErr_Occurred()) SWIG_fail
;
25441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25442 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25444 wxPyEndAllowThreads(__tstate
);
25445 if (PyErr_Occurred()) SWIG_fail
;
25447 resultobj
= SWIG_FromInt((int)result
);
25454 static PyObject
*_wrap_Window_HitTest(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25455 PyObject
*resultobj
;
25456 wxWindow
*arg1
= (wxWindow
*) 0 ;
25457 wxPoint
*arg2
= 0 ;
25460 PyObject
* obj0
= 0 ;
25461 PyObject
* obj1
= 0 ;
25462 char *kwnames
[] = {
25463 (char *) "self",(char *) "pt", NULL
25466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25467 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25471 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25475 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25477 wxPyEndAllowThreads(__tstate
);
25478 if (PyErr_Occurred()) SWIG_fail
;
25480 resultobj
= SWIG_FromInt((int)result
);
25487 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*, PyObject
*args
) {
25488 PyObject
*resultobj
;
25489 wxWindow
*arg1
= (wxWindow
*) 0 ;
25492 PyObject
* obj0
= 0 ;
25493 PyObject
* obj1
= 0 ;
25495 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25498 arg2
= (long) SWIG_AsLong(obj1
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25502 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25504 wxPyEndAllowThreads(__tstate
);
25505 if (PyErr_Occurred()) SWIG_fail
;
25507 resultobj
= SWIG_FromInt((int)result
);
25514 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*, PyObject
*args
) {
25515 PyObject
*resultobj
;
25516 wxWindow
*arg1
= (wxWindow
*) 0 ;
25518 PyObject
* obj0
= 0 ;
25520 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25525 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_FromInt((int)result
);
25537 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25542 argc
= PyObject_Length(args
);
25543 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25544 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25558 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25565 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25573 _v
= SWIG_CheckLong(argv
[1]);
25575 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25580 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25585 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25586 PyObject
*resultobj
;
25587 wxWindow
*arg1
= (wxWindow
*) 0 ;
25588 long arg2
= (long) wxUPDATE_UI_NONE
;
25589 PyObject
* obj0
= 0 ;
25590 PyObject
* obj1
= 0 ;
25591 char *kwnames
[] = {
25592 (char *) "self",(char *) "flags", NULL
25595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25599 arg2
= (long) SWIG_AsLong(obj1
);
25600 if (PyErr_Occurred()) SWIG_fail
;
25603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25604 (arg1
)->UpdateWindowUI(arg2
);
25606 wxPyEndAllowThreads(__tstate
);
25607 if (PyErr_Occurred()) SWIG_fail
;
25609 Py_INCREF(Py_None
); resultobj
= Py_None
;
25616 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25617 PyObject
*resultobj
;
25618 wxWindow
*arg1
= (wxWindow
*) 0 ;
25619 wxMenu
*arg2
= (wxMenu
*) 0 ;
25623 PyObject
* obj0
= 0 ;
25624 PyObject
* obj1
= 0 ;
25625 PyObject
* obj2
= 0 ;
25626 PyObject
* obj3
= 0 ;
25627 char *kwnames
[] = {
25628 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25636 arg3
= (int) SWIG_AsInt(obj2
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25638 arg4
= (int) SWIG_AsInt(obj3
);
25639 if (PyErr_Occurred()) SWIG_fail
;
25641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25642 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25644 wxPyEndAllowThreads(__tstate
);
25645 if (PyErr_Occurred()) SWIG_fail
;
25647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25654 static PyObject
*_wrap_Window_PopupMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25655 PyObject
*resultobj
;
25656 wxWindow
*arg1
= (wxWindow
*) 0 ;
25657 wxMenu
*arg2
= (wxMenu
*) 0 ;
25658 wxPoint
*arg3
= 0 ;
25661 PyObject
* obj0
= 0 ;
25662 PyObject
* obj1
= 0 ;
25663 PyObject
* obj2
= 0 ;
25664 char *kwnames
[] = {
25665 (char *) "self",(char *) "menu",(char *) "pos", NULL
25668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25671 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25672 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25675 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25679 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25681 wxPyEndAllowThreads(__tstate
);
25682 if (PyErr_Occurred()) SWIG_fail
;
25684 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25691 static PyObject
*_wrap_Window_GetHandle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25692 PyObject
*resultobj
;
25693 wxWindow
*arg1
= (wxWindow
*) 0 ;
25695 PyObject
* obj0
= 0 ;
25696 char *kwnames
[] = {
25697 (char *) "self", NULL
25700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25701 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25705 result
= (long)wxWindow_GetHandle(arg1
);
25707 wxPyEndAllowThreads(__tstate
);
25708 if (PyErr_Occurred()) SWIG_fail
;
25710 resultobj
= SWIG_FromLong((long)result
);
25717 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25718 PyObject
*resultobj
;
25719 wxWindow
*arg1
= (wxWindow
*) 0 ;
25722 PyObject
* obj0
= 0 ;
25723 PyObject
* obj1
= 0 ;
25724 char *kwnames
[] = {
25725 (char *) "self",(char *) "orient", NULL
25728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25731 arg2
= (int) SWIG_AsInt(obj1
);
25732 if (PyErr_Occurred()) SWIG_fail
;
25734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25735 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25737 wxPyEndAllowThreads(__tstate
);
25738 if (PyErr_Occurred()) SWIG_fail
;
25740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25747 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25748 PyObject
*resultobj
;
25749 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 bool arg6
= (bool) True
;
25755 PyObject
* obj0
= 0 ;
25756 PyObject
* obj1
= 0 ;
25757 PyObject
* obj2
= 0 ;
25758 PyObject
* obj3
= 0 ;
25759 PyObject
* obj4
= 0 ;
25760 PyObject
* obj5
= 0 ;
25761 char *kwnames
[] = {
25762 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25768 arg2
= (int) SWIG_AsInt(obj1
);
25769 if (PyErr_Occurred()) SWIG_fail
;
25770 arg3
= (int) SWIG_AsInt(obj2
);
25771 if (PyErr_Occurred()) SWIG_fail
;
25772 arg4
= (int) SWIG_AsInt(obj3
);
25773 if (PyErr_Occurred()) SWIG_fail
;
25774 arg5
= (int) SWIG_AsInt(obj4
);
25775 if (PyErr_Occurred()) SWIG_fail
;
25777 arg6
= (bool) SWIG_AsBool(obj5
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25782 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25784 wxPyEndAllowThreads(__tstate
);
25785 if (PyErr_Occurred()) SWIG_fail
;
25787 Py_INCREF(Py_None
); resultobj
= Py_None
;
25794 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25795 PyObject
*resultobj
;
25796 wxWindow
*arg1
= (wxWindow
*) 0 ;
25799 bool arg4
= (bool) True
;
25800 PyObject
* obj0
= 0 ;
25801 PyObject
* obj1
= 0 ;
25802 PyObject
* obj2
= 0 ;
25803 PyObject
* obj3
= 0 ;
25804 char *kwnames
[] = {
25805 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
25808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25809 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25811 arg2
= (int) SWIG_AsInt(obj1
);
25812 if (PyErr_Occurred()) SWIG_fail
;
25813 arg3
= (int) SWIG_AsInt(obj2
);
25814 if (PyErr_Occurred()) SWIG_fail
;
25816 arg4
= (bool) SWIG_AsBool(obj3
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25821 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25823 wxPyEndAllowThreads(__tstate
);
25824 if (PyErr_Occurred()) SWIG_fail
;
25826 Py_INCREF(Py_None
); resultobj
= Py_None
;
25833 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25834 PyObject
*resultobj
;
25835 wxWindow
*arg1
= (wxWindow
*) 0 ;
25838 PyObject
* obj0
= 0 ;
25839 PyObject
* obj1
= 0 ;
25840 char *kwnames
[] = {
25841 (char *) "self",(char *) "orientation", NULL
25844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25847 arg2
= (int) SWIG_AsInt(obj1
);
25848 if (PyErr_Occurred()) SWIG_fail
;
25850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25851 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25853 wxPyEndAllowThreads(__tstate
);
25854 if (PyErr_Occurred()) SWIG_fail
;
25856 resultobj
= SWIG_FromInt((int)result
);
25863 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25864 PyObject
*resultobj
;
25865 wxWindow
*arg1
= (wxWindow
*) 0 ;
25868 PyObject
* obj0
= 0 ;
25869 PyObject
* obj1
= 0 ;
25870 char *kwnames
[] = {
25871 (char *) "self",(char *) "orientation", NULL
25874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25877 arg2
= (int) SWIG_AsInt(obj1
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25881 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25883 wxPyEndAllowThreads(__tstate
);
25884 if (PyErr_Occurred()) SWIG_fail
;
25886 resultobj
= SWIG_FromInt((int)result
);
25893 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25894 PyObject
*resultobj
;
25895 wxWindow
*arg1
= (wxWindow
*) 0 ;
25898 PyObject
* obj0
= 0 ;
25899 PyObject
* obj1
= 0 ;
25900 char *kwnames
[] = {
25901 (char *) "self",(char *) "orientation", NULL
25904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25907 arg2
= (int) SWIG_AsInt(obj1
);
25908 if (PyErr_Occurred()) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_FromInt((int)result
);
25923 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25924 PyObject
*resultobj
;
25925 wxWindow
*arg1
= (wxWindow
*) 0 ;
25928 wxRect
*arg4
= (wxRect
*) NULL
;
25929 PyObject
* obj0
= 0 ;
25930 PyObject
* obj1
= 0 ;
25931 PyObject
* obj2
= 0 ;
25932 PyObject
* obj3
= 0 ;
25933 char *kwnames
[] = {
25934 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25938 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25939 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25940 arg2
= (int) SWIG_AsInt(obj1
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25942 arg3
= (int) SWIG_AsInt(obj2
);
25943 if (PyErr_Occurred()) SWIG_fail
;
25945 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
25946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25962 static PyObject
*_wrap_Window_ScrollLines(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxWindow
*arg1
= (wxWindow
*) 0 ;
25967 PyObject
* obj0
= 0 ;
25968 PyObject
* obj1
= 0 ;
25969 char *kwnames
[] = {
25970 (char *) "self",(char *) "lines", NULL
25973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
25974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25976 arg2
= (int) SWIG_AsInt(obj1
);
25977 if (PyErr_Occurred()) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (bool)(arg1
)->ScrollLines(arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25985 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25992 static PyObject
*_wrap_Window_ScrollPages(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
25993 PyObject
*resultobj
;
25994 wxWindow
*arg1
= (wxWindow
*) 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 char *kwnames
[] = {
26000 (char *) "self",(char *) "pages", NULL
26003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26004 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26006 arg2
= (int) SWIG_AsInt(obj1
);
26007 if (PyErr_Occurred()) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (bool)(arg1
)->ScrollPages(arg2
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26015 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26022 static PyObject
*_wrap_Window_LineUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26023 PyObject
*resultobj
;
26024 wxWindow
*arg1
= (wxWindow
*) 0 ;
26026 PyObject
* obj0
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26036 result
= (bool)(arg1
)->LineUp();
26038 wxPyEndAllowThreads(__tstate
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26048 static PyObject
*_wrap_Window_LineDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26049 PyObject
*resultobj
;
26050 wxWindow
*arg1
= (wxWindow
*) 0 ;
26052 PyObject
* obj0
= 0 ;
26053 char *kwnames
[] = {
26054 (char *) "self", NULL
26057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26058 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26059 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26062 result
= (bool)(arg1
)->LineDown();
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26074 static PyObject
*_wrap_Window_PageUp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
;
26076 wxWindow
*arg1
= (wxWindow
*) 0 ;
26078 PyObject
* obj0
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 result
= (bool)(arg1
)->PageUp();
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26100 static PyObject
*_wrap_Window_PageDown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxWindow
*arg1
= (wxWindow
*) 0 ;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 result
= (bool)(arg1
)->PageDown();
26116 wxPyEndAllowThreads(__tstate
);
26117 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26126 static PyObject
*_wrap_Window_SetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26127 PyObject
*resultobj
;
26128 wxWindow
*arg1
= (wxWindow
*) 0 ;
26129 wxString
*arg2
= 0 ;
26130 bool temp2
= False
;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "text", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26141 arg2
= wxString_in_helper(obj1
);
26142 if (arg2
== NULL
) SWIG_fail
;
26146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26147 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26149 wxPyEndAllowThreads(__tstate
);
26150 if (PyErr_Occurred()) SWIG_fail
;
26152 Py_INCREF(Py_None
); resultobj
= Py_None
;
26167 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxWindow
*arg1
= (wxWindow
*) 0 ;
26170 wxString
*arg2
= 0 ;
26171 bool temp2
= False
;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj1
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self",(char *) "text", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26182 arg2
= wxString_in_helper(obj1
);
26183 if (arg2
== NULL
) SWIG_fail
;
26187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26188 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26190 wxPyEndAllowThreads(__tstate
);
26191 if (PyErr_Occurred()) SWIG_fail
;
26193 Py_INCREF(Py_None
); resultobj
= Py_None
;
26208 static PyObject
*_wrap_Window_GetHelpText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26209 PyObject
*resultobj
;
26210 wxWindow
*arg1
= (wxWindow
*) 0 ;
26212 PyObject
* obj0
= 0 ;
26213 char *kwnames
[] = {
26214 (char *) "self", NULL
26217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26218 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26219 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26222 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26224 wxPyEndAllowThreads(__tstate
);
26225 if (PyErr_Occurred()) SWIG_fail
;
26229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26240 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxWindow
*arg1
= (wxWindow
*) 0 ;
26243 wxString
*arg2
= 0 ;
26244 bool temp2
= False
;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj1
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "tip", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26255 arg2
= wxString_in_helper(obj1
);
26256 if (arg2
== NULL
) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26266 Py_INCREF(Py_None
); resultobj
= Py_None
;
26281 static PyObject
*_wrap_Window_SetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26282 PyObject
*resultobj
;
26283 wxWindow
*arg1
= (wxWindow
*) 0 ;
26284 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char *kwnames
[] = {
26288 (char *) "self",(char *) "tip", NULL
26291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26292 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26293 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26294 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26295 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26298 (arg1
)->SetToolTip(arg2
);
26300 wxPyEndAllowThreads(__tstate
);
26301 if (PyErr_Occurred()) SWIG_fail
;
26303 Py_INCREF(Py_None
); resultobj
= Py_None
;
26310 static PyObject
*_wrap_Window_GetToolTip(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26311 PyObject
*resultobj
;
26312 wxWindow
*arg1
= (wxWindow
*) 0 ;
26314 PyObject
* obj0
= 0 ;
26315 char *kwnames
[] = {
26316 (char *) "self", NULL
26319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26324 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26326 wxPyEndAllowThreads(__tstate
);
26327 if (PyErr_Occurred()) SWIG_fail
;
26330 resultobj
= wxPyMake_wxObject(result
);
26338 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxWindow
*arg1
= (wxWindow
*) 0 ;
26341 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "dropTarget", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26350 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26351 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26352 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26355 (arg1
)->SetDropTarget(arg2
);
26357 wxPyEndAllowThreads(__tstate
);
26358 if (PyErr_Occurred()) SWIG_fail
;
26360 Py_INCREF(Py_None
); resultobj
= Py_None
;
26367 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26368 PyObject
*resultobj
;
26369 wxWindow
*arg1
= (wxWindow
*) 0 ;
26370 wxPyDropTarget
*result
;
26371 PyObject
* obj0
= 0 ;
26372 char *kwnames
[] = {
26373 (char *) "self", NULL
26376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26381 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26383 wxPyEndAllowThreads(__tstate
);
26384 if (PyErr_Occurred()) SWIG_fail
;
26386 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26393 static PyObject
*_wrap_Window_SetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26394 PyObject
*resultobj
;
26395 wxWindow
*arg1
= (wxWindow
*) 0 ;
26396 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 PyObject
* obj1
= 0 ;
26399 char *kwnames
[] = {
26400 (char *) "self",(char *) "constraints", NULL
26403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26406 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 (arg1
)->SetConstraints(arg2
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26415 Py_INCREF(Py_None
); resultobj
= Py_None
;
26422 static PyObject
*_wrap_Window_GetConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26423 PyObject
*resultobj
;
26424 wxWindow
*arg1
= (wxWindow
*) 0 ;
26425 wxLayoutConstraints
*result
;
26426 PyObject
* obj0
= 0 ;
26427 char *kwnames
[] = {
26428 (char *) "self", NULL
26431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26436 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26438 wxPyEndAllowThreads(__tstate
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26448 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26449 PyObject
*resultobj
;
26450 wxWindow
*arg1
= (wxWindow
*) 0 ;
26452 PyObject
* obj0
= 0 ;
26453 PyObject
* obj1
= 0 ;
26454 char *kwnames
[] = {
26455 (char *) "self",(char *) "autoLayout", NULL
26458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26461 arg2
= (bool) SWIG_AsBool(obj1
);
26462 if (PyErr_Occurred()) SWIG_fail
;
26464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26465 (arg1
)->SetAutoLayout(arg2
);
26467 wxPyEndAllowThreads(__tstate
);
26468 if (PyErr_Occurred()) SWIG_fail
;
26470 Py_INCREF(Py_None
); resultobj
= Py_None
;
26477 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26478 PyObject
*resultobj
;
26479 wxWindow
*arg1
= (wxWindow
*) 0 ;
26481 PyObject
* obj0
= 0 ;
26482 char *kwnames
[] = {
26483 (char *) "self", NULL
26486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26491 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26493 wxPyEndAllowThreads(__tstate
);
26494 if (PyErr_Occurred()) SWIG_fail
;
26496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26503 static PyObject
*_wrap_Window_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26504 PyObject
*resultobj
;
26505 wxWindow
*arg1
= (wxWindow
*) 0 ;
26507 PyObject
* obj0
= 0 ;
26508 char *kwnames
[] = {
26509 (char *) "self", NULL
26512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26513 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26517 result
= (bool)(arg1
)->Layout();
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26529 static PyObject
*_wrap_Window_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
;
26531 wxWindow
*arg1
= (wxWindow
*) 0 ;
26532 wxSizer
*arg2
= (wxSizer
*) 0 ;
26533 bool arg3
= (bool) True
;
26534 PyObject
* obj0
= 0 ;
26535 PyObject
* obj1
= 0 ;
26536 PyObject
* obj2
= 0 ;
26537 char *kwnames
[] = {
26538 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26544 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26545 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26547 arg3
= (bool) SWIG_AsBool(obj2
);
26548 if (PyErr_Occurred()) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 (arg1
)->SetSizer(arg2
,arg3
);
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 Py_INCREF(Py_None
); resultobj
= Py_None
;
26564 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26567 wxSizer
*arg2
= (wxSizer
*) 0 ;
26568 bool arg3
= (bool) True
;
26569 PyObject
* obj0
= 0 ;
26570 PyObject
* obj1
= 0 ;
26571 PyObject
* obj2
= 0 ;
26572 char *kwnames
[] = {
26573 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26579 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26582 arg3
= (bool) SWIG_AsBool(obj2
);
26583 if (PyErr_Occurred()) SWIG_fail
;
26586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26587 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26589 wxPyEndAllowThreads(__tstate
);
26590 if (PyErr_Occurred()) SWIG_fail
;
26592 Py_INCREF(Py_None
); resultobj
= Py_None
;
26599 static PyObject
*_wrap_Window_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26600 PyObject
*resultobj
;
26601 wxWindow
*arg1
= (wxWindow
*) 0 ;
26603 PyObject
* obj0
= 0 ;
26604 char *kwnames
[] = {
26605 (char *) "self", NULL
26608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26619 resultobj
= wxPyMake_wxSizer(result
);
26627 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26628 PyObject
*resultobj
;
26629 wxWindow
*arg1
= (wxWindow
*) 0 ;
26630 wxSizer
*arg2
= (wxSizer
*) 0 ;
26631 PyObject
* obj0
= 0 ;
26632 PyObject
* obj1
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self",(char *) "sizer", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26640 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26644 (arg1
)->SetContainingSizer(arg2
);
26646 wxPyEndAllowThreads(__tstate
);
26647 if (PyErr_Occurred()) SWIG_fail
;
26649 Py_INCREF(Py_None
); resultobj
= Py_None
;
26656 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26657 PyObject
*resultobj
;
26658 wxWindow
*arg1
= (wxWindow
*) 0 ;
26660 PyObject
* obj0
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26667 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= wxPyMake_wxSizer(result
);
26684 static PyObject
* Window_swigregister(PyObject
*, PyObject
*args
) {
26686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26687 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26689 return Py_BuildValue((char *)"");
26691 static PyObject
*_wrap_FindWindowById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26692 PyObject
*resultobj
;
26694 wxWindow
*arg2
= (wxWindow
*) NULL
;
26696 PyObject
* obj0
= 0 ;
26697 PyObject
* obj1
= 0 ;
26698 char *kwnames
[] = {
26699 (char *) "id",(char *) "parent", NULL
26702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26703 arg1
= (long) SWIG_AsLong(obj0
);
26704 if (PyErr_Occurred()) SWIG_fail
;
26706 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26707 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26711 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26713 wxPyEndAllowThreads(__tstate
);
26714 if (PyErr_Occurred()) SWIG_fail
;
26717 resultobj
= wxPyMake_wxObject(result
);
26725 static PyObject
*_wrap_FindWindowByName(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26726 PyObject
*resultobj
;
26727 wxString
*arg1
= 0 ;
26728 wxWindow
*arg2
= (wxWindow
*) NULL
;
26730 bool temp1
= False
;
26731 PyObject
* obj0
= 0 ;
26732 PyObject
* obj1
= 0 ;
26733 char *kwnames
[] = {
26734 (char *) "name",(char *) "parent", NULL
26737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26739 arg1
= wxString_in_helper(obj0
);
26740 if (arg1
== NULL
) SWIG_fail
;
26744 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26745 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26749 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26751 wxPyEndAllowThreads(__tstate
);
26752 if (PyErr_Occurred()) SWIG_fail
;
26755 resultobj
= wxPyMake_wxObject(result
);
26771 static PyObject
*_wrap_FindWindowByLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26772 PyObject
*resultobj
;
26773 wxString
*arg1
= 0 ;
26774 wxWindow
*arg2
= (wxWindow
*) NULL
;
26776 bool temp1
= False
;
26777 PyObject
* obj0
= 0 ;
26778 PyObject
* obj1
= 0 ;
26779 char *kwnames
[] = {
26780 (char *) "label",(char *) "parent", NULL
26783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26785 arg1
= wxString_in_helper(obj0
);
26786 if (arg1
== NULL
) SWIG_fail
;
26790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26795 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= wxPyMake_wxObject(result
);
26817 static PyObject
*_wrap_Window_FromHWND(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26818 PyObject
*resultobj
;
26819 unsigned long arg1
;
26821 PyObject
* obj0
= 0 ;
26822 char *kwnames
[] = {
26823 (char *) "hWnd", NULL
26826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26827 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26837 resultobj
= wxPyMake_wxObject(result
);
26845 static PyObject
*_wrap_new_Validator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
;
26847 wxValidator
*result
;
26848 char *kwnames
[] = {
26852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26855 result
= (wxValidator
*)new wxValidator();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= wxPyMake_wxObject(result
);
26869 static PyObject
*_wrap_Validator_Clone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26870 PyObject
*resultobj
;
26871 wxValidator
*arg1
= (wxValidator
*) 0 ;
26872 wxValidator
*result
;
26873 PyObject
* obj0
= 0 ;
26874 char *kwnames
[] = {
26875 (char *) "self", NULL
26878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26883 result
= (wxValidator
*)(arg1
)->Clone();
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= wxPyMake_wxObject(result
);
26897 static PyObject
*_wrap_Validator_Validate(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26898 PyObject
*resultobj
;
26899 wxValidator
*arg1
= (wxValidator
*) 0 ;
26900 wxWindow
*arg2
= (wxWindow
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "parent", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26915 result
= (bool)(arg1
)->Validate(arg2
);
26917 wxPyEndAllowThreads(__tstate
);
26918 if (PyErr_Occurred()) SWIG_fail
;
26920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26927 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26928 PyObject
*resultobj
;
26929 wxValidator
*arg1
= (wxValidator
*) 0 ;
26931 PyObject
* obj0
= 0 ;
26932 char *kwnames
[] = {
26933 (char *) "self", NULL
26936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (bool)(arg1
)->TransferToWindow();
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26953 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26954 PyObject
*resultobj
;
26955 wxValidator
*arg1
= (wxValidator
*) 0 ;
26957 PyObject
* obj0
= 0 ;
26958 char *kwnames
[] = {
26959 (char *) "self", NULL
26962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
26963 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26964 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26967 result
= (bool)(arg1
)->TransferFromWindow();
26969 wxPyEndAllowThreads(__tstate
);
26970 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26979 static PyObject
*_wrap_Validator_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
26980 PyObject
*resultobj
;
26981 wxValidator
*arg1
= (wxValidator
*) 0 ;
26983 PyObject
* obj0
= 0 ;
26984 char *kwnames
[] = {
26985 (char *) "self", NULL
26988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
26989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26993 result
= (wxWindow
*)(arg1
)->GetWindow();
26995 wxPyEndAllowThreads(__tstate
);
26996 if (PyErr_Occurred()) SWIG_fail
;
26999 resultobj
= wxPyMake_wxObject(result
);
27007 static PyObject
*_wrap_Validator_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27008 PyObject
*resultobj
;
27009 wxValidator
*arg1
= (wxValidator
*) 0 ;
27010 wxWindow
*arg2
= (wxWindow
*) 0 ;
27011 PyObject
* obj0
= 0 ;
27012 PyObject
* obj1
= 0 ;
27013 char *kwnames
[] = {
27014 (char *) "self",(char *) "window", NULL
27017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27024 (arg1
)->SetWindow(arg2
);
27026 wxPyEndAllowThreads(__tstate
);
27027 if (PyErr_Occurred()) SWIG_fail
;
27029 Py_INCREF(Py_None
); resultobj
= Py_None
;
27036 static PyObject
*_wrap_Validator_IsSilent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27039 char *kwnames
[] = {
27043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27046 result
= (bool)wxValidator::IsSilent();
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27058 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27059 PyObject
*resultobj
;
27060 int arg1
= (int) True
;
27061 PyObject
* obj0
= 0 ;
27062 char *kwnames
[] = {
27063 (char *) "doIt", NULL
27066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27068 arg1
= (int) SWIG_AsInt(obj0
);
27069 if (PyErr_Occurred()) SWIG_fail
;
27072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27073 wxValidator::SetBellOnError(arg1
);
27075 wxPyEndAllowThreads(__tstate
);
27076 if (PyErr_Occurred()) SWIG_fail
;
27078 Py_INCREF(Py_None
); resultobj
= Py_None
;
27085 static PyObject
* Validator_swigregister(PyObject
*, PyObject
*args
) {
27087 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27088 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27090 return Py_BuildValue((char *)"");
27092 static PyObject
*_wrap_new_PyValidator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27093 PyObject
*resultobj
;
27094 wxPyValidator
*result
;
27095 char *kwnames
[] = {
27099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27102 result
= (wxPyValidator
*)new wxPyValidator();
27104 wxPyEndAllowThreads(__tstate
);
27105 if (PyErr_Occurred()) SWIG_fail
;
27107 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27114 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27115 PyObject
*resultobj
;
27116 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27117 PyObject
*arg2
= (PyObject
*) 0 ;
27118 PyObject
*arg3
= (PyObject
*) 0 ;
27119 int arg4
= (int) True
;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 PyObject
* obj2
= 0 ;
27123 PyObject
* obj3
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27130 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27134 arg4
= (int) SWIG_AsInt(obj3
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27141 wxPyEndAllowThreads(__tstate
);
27142 if (PyErr_Occurred()) SWIG_fail
;
27144 Py_INCREF(Py_None
); resultobj
= Py_None
;
27151 static PyObject
* PyValidator_swigregister(PyObject
*, PyObject
*args
) {
27153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27154 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27156 return Py_BuildValue((char *)"");
27158 static int _wrap_DefaultValidator_set(PyObject
*) {
27159 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27164 static PyObject
*_wrap_DefaultValidator_get() {
27167 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27172 static PyObject
*_wrap_new_Menu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27173 PyObject
*resultobj
;
27174 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27175 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27176 long arg2
= (long) 0 ;
27178 bool temp1
= False
;
27179 PyObject
* obj0
= 0 ;
27180 PyObject
* obj1
= 0 ;
27181 char *kwnames
[] = {
27182 (char *) "title",(char *) "style", NULL
27185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27188 arg1
= wxString_in_helper(obj0
);
27189 if (arg1
== NULL
) SWIG_fail
;
27194 arg2
= (long) SWIG_AsLong(obj1
);
27195 if (PyErr_Occurred()) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= wxPyMake_wxObject(result
);
27221 static PyObject
*_wrap_Menu_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27222 PyObject
*resultobj
;
27223 wxMenu
*arg1
= (wxMenu
*) 0 ;
27225 wxString
*arg3
= 0 ;
27226 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27227 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27228 int arg5
= (int) wxITEM_NORMAL
;
27229 wxMenuItem
*result
;
27230 bool temp3
= False
;
27231 bool temp4
= False
;
27232 PyObject
* obj0
= 0 ;
27233 PyObject
* obj1
= 0 ;
27234 PyObject
* obj2
= 0 ;
27235 PyObject
* obj3
= 0 ;
27236 PyObject
* obj4
= 0 ;
27237 char *kwnames
[] = {
27238 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27244 arg2
= (int) SWIG_AsInt(obj1
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 arg3
= wxString_in_helper(obj2
);
27248 if (arg3
== NULL
) SWIG_fail
;
27253 arg4
= wxString_in_helper(obj3
);
27254 if (arg4
== NULL
) SWIG_fail
;
27259 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= wxPyMake_wxObject(result
);
27294 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27295 PyObject
*resultobj
;
27296 wxMenu
*arg1
= (wxMenu
*) 0 ;
27297 wxMenuItem
*result
;
27298 PyObject
* obj0
= 0 ;
27299 char *kwnames
[] = {
27300 (char *) "self", NULL
27303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27304 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27310 wxPyEndAllowThreads(__tstate
);
27311 if (PyErr_Occurred()) SWIG_fail
;
27314 resultobj
= wxPyMake_wxObject(result
);
27322 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27323 PyObject
*resultobj
;
27324 wxMenu
*arg1
= (wxMenu
*) 0 ;
27326 wxString
*arg3
= 0 ;
27327 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27328 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27329 wxMenuItem
*result
;
27330 bool temp3
= False
;
27331 bool temp4
= False
;
27332 PyObject
* obj0
= 0 ;
27333 PyObject
* obj1
= 0 ;
27334 PyObject
* obj2
= 0 ;
27335 PyObject
* obj3
= 0 ;
27336 char *kwnames
[] = {
27337 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27343 arg2
= (int) SWIG_AsInt(obj1
);
27344 if (PyErr_Occurred()) SWIG_fail
;
27346 arg3
= wxString_in_helper(obj2
);
27347 if (arg3
== NULL
) SWIG_fail
;
27352 arg4
= wxString_in_helper(obj3
);
27353 if (arg4
== NULL
) SWIG_fail
;
27358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27359 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27361 wxPyEndAllowThreads(__tstate
);
27362 if (PyErr_Occurred()) SWIG_fail
;
27365 resultobj
= wxPyMake_wxObject(result
);
27389 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27390 PyObject
*resultobj
;
27391 wxMenu
*arg1
= (wxMenu
*) 0 ;
27393 wxString
*arg3
= 0 ;
27394 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27395 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27396 wxMenuItem
*result
;
27397 bool temp3
= False
;
27398 bool temp4
= False
;
27399 PyObject
* obj0
= 0 ;
27400 PyObject
* obj1
= 0 ;
27401 PyObject
* obj2
= 0 ;
27402 PyObject
* obj3
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27409 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27410 arg2
= (int) SWIG_AsInt(obj1
);
27411 if (PyErr_Occurred()) SWIG_fail
;
27413 arg3
= wxString_in_helper(obj2
);
27414 if (arg3
== NULL
) SWIG_fail
;
27419 arg4
= wxString_in_helper(obj3
);
27420 if (arg4
== NULL
) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27432 resultobj
= wxPyMake_wxObject(result
);
27456 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27457 PyObject
*resultobj
;
27458 wxMenu
*arg1
= (wxMenu
*) 0 ;
27460 wxString
*arg3
= 0 ;
27461 wxMenu
*arg4
= (wxMenu
*) 0 ;
27462 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27463 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27464 wxMenuItem
*result
;
27465 bool temp3
= False
;
27466 bool temp5
= False
;
27467 PyObject
* obj0
= 0 ;
27468 PyObject
* obj1
= 0 ;
27469 PyObject
* obj2
= 0 ;
27470 PyObject
* obj3
= 0 ;
27471 PyObject
* obj4
= 0 ;
27472 char *kwnames
[] = {
27473 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27477 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27479 arg2
= (int) SWIG_AsInt(obj1
);
27480 if (PyErr_Occurred()) SWIG_fail
;
27482 arg3
= wxString_in_helper(obj2
);
27483 if (arg3
== NULL
) SWIG_fail
;
27486 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27490 arg5
= wxString_in_helper(obj4
);
27491 if (arg5
== NULL
) SWIG_fail
;
27496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27497 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27499 wxPyEndAllowThreads(__tstate
);
27500 if (PyErr_Occurred()) SWIG_fail
;
27503 resultobj
= wxPyMake_wxObject(result
);
27527 static PyObject
*_wrap_Menu_AppendItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxMenu
*arg1
= (wxMenu
*) 0 ;
27530 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27531 wxMenuItem
*result
;
27532 PyObject
* obj0
= 0 ;
27533 PyObject
* obj1
= 0 ;
27534 char *kwnames
[] = {
27535 (char *) "self",(char *) "item", NULL
27538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27539 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27540 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27541 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27551 resultobj
= wxPyMake_wxObject(result
);
27559 static PyObject
*_wrap_Menu_Break(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxMenu
*arg1
= (wxMenu
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27574 wxPyEndAllowThreads(__tstate
);
27575 if (PyErr_Occurred()) SWIG_fail
;
27577 Py_INCREF(Py_None
); resultobj
= Py_None
;
27584 static PyObject
*_wrap_Menu_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27585 PyObject
*resultobj
;
27586 wxMenu
*arg1
= (wxMenu
*) 0 ;
27588 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27589 wxMenuItem
*result
;
27590 PyObject
* obj0
= 0 ;
27591 PyObject
* obj1
= 0 ;
27592 PyObject
* obj2
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "self",(char *) "pos",(char *) "item", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27600 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27602 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= wxPyMake_wxObject(result
);
27620 static PyObject
*_wrap_Menu_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxMenu
*arg1
= (wxMenu
*) 0 ;
27625 wxString
*arg4
= 0 ;
27626 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27627 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27628 int arg6
= (int) wxITEM_NORMAL
;
27629 wxMenuItem
*result
;
27630 bool temp4
= False
;
27631 bool temp5
= False
;
27632 PyObject
* obj0
= 0 ;
27633 PyObject
* obj1
= 0 ;
27634 PyObject
* obj2
= 0 ;
27635 PyObject
* obj3
= 0 ;
27636 PyObject
* obj4
= 0 ;
27637 PyObject
* obj5
= 0 ;
27638 char *kwnames
[] = {
27639 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27645 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27646 if (PyErr_Occurred()) SWIG_fail
;
27647 arg3
= (int) SWIG_AsInt(obj2
);
27648 if (PyErr_Occurred()) SWIG_fail
;
27650 arg4
= wxString_in_helper(obj3
);
27651 if (arg4
== NULL
) SWIG_fail
;
27656 arg5
= wxString_in_helper(obj4
);
27657 if (arg5
== NULL
) SWIG_fail
;
27662 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
27663 if (PyErr_Occurred()) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= wxPyMake_wxObject(result
);
27697 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27698 PyObject
*resultobj
;
27699 wxMenu
*arg1
= (wxMenu
*) 0 ;
27701 wxMenuItem
*result
;
27702 PyObject
* obj0
= 0 ;
27703 PyObject
* obj1
= 0 ;
27704 char *kwnames
[] = {
27705 (char *) "self",(char *) "pos", NULL
27708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27711 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27712 if (PyErr_Occurred()) SWIG_fail
;
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27717 wxPyEndAllowThreads(__tstate
);
27718 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= wxPyMake_wxObject(result
);
27729 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27730 PyObject
*resultobj
;
27731 wxMenu
*arg1
= (wxMenu
*) 0 ;
27734 wxString
*arg4
= 0 ;
27735 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27736 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27737 wxMenuItem
*result
;
27738 bool temp4
= False
;
27739 bool temp5
= False
;
27740 PyObject
* obj0
= 0 ;
27741 PyObject
* obj1
= 0 ;
27742 PyObject
* obj2
= 0 ;
27743 PyObject
* obj3
= 0 ;
27744 PyObject
* obj4
= 0 ;
27745 char *kwnames
[] = {
27746 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27750 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27751 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27752 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27753 if (PyErr_Occurred()) SWIG_fail
;
27754 arg3
= (int) SWIG_AsInt(obj2
);
27755 if (PyErr_Occurred()) SWIG_fail
;
27757 arg4
= wxString_in_helper(obj3
);
27758 if (arg4
== NULL
) SWIG_fail
;
27763 arg5
= wxString_in_helper(obj4
);
27764 if (arg5
== NULL
) SWIG_fail
;
27769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27770 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27772 wxPyEndAllowThreads(__tstate
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27776 resultobj
= wxPyMake_wxObject(result
);
27800 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27801 PyObject
*resultobj
;
27802 wxMenu
*arg1
= (wxMenu
*) 0 ;
27805 wxString
*arg4
= 0 ;
27806 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27807 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27808 wxMenuItem
*result
;
27809 bool temp4
= False
;
27810 bool temp5
= False
;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 PyObject
* obj2
= 0 ;
27814 PyObject
* obj3
= 0 ;
27815 PyObject
* obj4
= 0 ;
27816 char *kwnames
[] = {
27817 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27823 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27824 if (PyErr_Occurred()) SWIG_fail
;
27825 arg3
= (int) SWIG_AsInt(obj2
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 arg4
= wxString_in_helper(obj3
);
27829 if (arg4
== NULL
) SWIG_fail
;
27834 arg5
= wxString_in_helper(obj4
);
27835 if (arg5
== NULL
) SWIG_fail
;
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27843 wxPyEndAllowThreads(__tstate
);
27844 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= wxPyMake_wxObject(result
);
27871 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxMenu
*arg1
= (wxMenu
*) 0 ;
27876 wxString
*arg4
= 0 ;
27877 wxMenu
*arg5
= (wxMenu
*) 0 ;
27878 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27879 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27880 wxMenuItem
*result
;
27881 bool temp4
= False
;
27882 bool temp6
= False
;
27883 PyObject
* obj0
= 0 ;
27884 PyObject
* obj1
= 0 ;
27885 PyObject
* obj2
= 0 ;
27886 PyObject
* obj3
= 0 ;
27887 PyObject
* obj4
= 0 ;
27888 PyObject
* obj5
= 0 ;
27889 char *kwnames
[] = {
27890 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27894 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27895 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27896 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27897 if (PyErr_Occurred()) SWIG_fail
;
27898 arg3
= (int) SWIG_AsInt(obj2
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 arg4
= wxString_in_helper(obj3
);
27902 if (arg4
== NULL
) SWIG_fail
;
27905 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
27906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27909 arg6
= wxString_in_helper(obj5
);
27910 if (arg6
== NULL
) SWIG_fail
;
27915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27916 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27918 wxPyEndAllowThreads(__tstate
);
27919 if (PyErr_Occurred()) SWIG_fail
;
27922 resultobj
= wxPyMake_wxObject(result
);
27946 static PyObject
*_wrap_Menu_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxMenu
*arg1
= (wxMenu
*) 0 ;
27949 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27950 wxMenuItem
*result
;
27951 PyObject
* obj0
= 0 ;
27952 PyObject
* obj1
= 0 ;
27953 char *kwnames
[] = {
27954 (char *) "self",(char *) "item", NULL
27957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27960 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27961 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27964 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
27966 wxPyEndAllowThreads(__tstate
);
27967 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= wxPyMake_wxObject(result
);
27978 static PyObject
*_wrap_Menu_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
27979 PyObject
*resultobj
;
27980 wxMenu
*arg1
= (wxMenu
*) 0 ;
27982 wxString
*arg3
= 0 ;
27983 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27984 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27985 int arg5
= (int) wxITEM_NORMAL
;
27986 wxMenuItem
*result
;
27987 bool temp3
= False
;
27988 bool temp4
= False
;
27989 PyObject
* obj0
= 0 ;
27990 PyObject
* obj1
= 0 ;
27991 PyObject
* obj2
= 0 ;
27992 PyObject
* obj3
= 0 ;
27993 PyObject
* obj4
= 0 ;
27994 char *kwnames
[] = {
27995 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27999 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28000 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28001 arg2
= (int) SWIG_AsInt(obj1
);
28002 if (PyErr_Occurred()) SWIG_fail
;
28004 arg3
= wxString_in_helper(obj2
);
28005 if (arg3
== NULL
) SWIG_fail
;
28010 arg4
= wxString_in_helper(obj3
);
28011 if (arg4
== NULL
) SWIG_fail
;
28016 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28017 if (PyErr_Occurred()) SWIG_fail
;
28020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28021 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28023 wxPyEndAllowThreads(__tstate
);
28024 if (PyErr_Occurred()) SWIG_fail
;
28027 resultobj
= wxPyMake_wxObject(result
);
28051 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28052 PyObject
*resultobj
;
28053 wxMenu
*arg1
= (wxMenu
*) 0 ;
28054 wxMenuItem
*result
;
28055 PyObject
* obj0
= 0 ;
28056 char *kwnames
[] = {
28057 (char *) "self", NULL
28060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28061 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28062 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28065 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28067 wxPyEndAllowThreads(__tstate
);
28068 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= wxPyMake_wxObject(result
);
28079 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28080 PyObject
*resultobj
;
28081 wxMenu
*arg1
= (wxMenu
*) 0 ;
28083 wxString
*arg3
= 0 ;
28084 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28085 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28086 wxMenuItem
*result
;
28087 bool temp3
= False
;
28088 bool temp4
= False
;
28089 PyObject
* obj0
= 0 ;
28090 PyObject
* obj1
= 0 ;
28091 PyObject
* obj2
= 0 ;
28092 PyObject
* obj3
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28100 arg2
= (int) SWIG_AsInt(obj1
);
28101 if (PyErr_Occurred()) SWIG_fail
;
28103 arg3
= wxString_in_helper(obj2
);
28104 if (arg3
== NULL
) SWIG_fail
;
28109 arg4
= wxString_in_helper(obj3
);
28110 if (arg4
== NULL
) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28116 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28118 wxPyEndAllowThreads(__tstate
);
28119 if (PyErr_Occurred()) SWIG_fail
;
28122 resultobj
= wxPyMake_wxObject(result
);
28146 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28147 PyObject
*resultobj
;
28148 wxMenu
*arg1
= (wxMenu
*) 0 ;
28150 wxString
*arg3
= 0 ;
28151 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28152 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28153 wxMenuItem
*result
;
28154 bool temp3
= False
;
28155 bool temp4
= False
;
28156 PyObject
* obj0
= 0 ;
28157 PyObject
* obj1
= 0 ;
28158 PyObject
* obj2
= 0 ;
28159 PyObject
* obj3
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28167 arg2
= (int) SWIG_AsInt(obj1
);
28168 if (PyErr_Occurred()) SWIG_fail
;
28170 arg3
= wxString_in_helper(obj2
);
28171 if (arg3
== NULL
) SWIG_fail
;
28176 arg4
= wxString_in_helper(obj3
);
28177 if (arg4
== NULL
) SWIG_fail
;
28182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28183 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28185 wxPyEndAllowThreads(__tstate
);
28186 if (PyErr_Occurred()) SWIG_fail
;
28189 resultobj
= wxPyMake_wxObject(result
);
28213 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28214 PyObject
*resultobj
;
28215 wxMenu
*arg1
= (wxMenu
*) 0 ;
28217 wxString
*arg3
= 0 ;
28218 wxMenu
*arg4
= (wxMenu
*) 0 ;
28219 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28220 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28221 wxMenuItem
*result
;
28222 bool temp3
= False
;
28223 bool temp5
= False
;
28224 PyObject
* obj0
= 0 ;
28225 PyObject
* obj1
= 0 ;
28226 PyObject
* obj2
= 0 ;
28227 PyObject
* obj3
= 0 ;
28228 PyObject
* obj4
= 0 ;
28229 char *kwnames
[] = {
28230 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28236 arg2
= (int) SWIG_AsInt(obj1
);
28237 if (PyErr_Occurred()) SWIG_fail
;
28239 arg3
= wxString_in_helper(obj2
);
28240 if (arg3
== NULL
) SWIG_fail
;
28243 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28244 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28247 arg5
= wxString_in_helper(obj4
);
28248 if (arg5
== NULL
) SWIG_fail
;
28253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28254 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28256 wxPyEndAllowThreads(__tstate
);
28257 if (PyErr_Occurred()) SWIG_fail
;
28260 resultobj
= wxPyMake_wxObject(result
);
28284 static PyObject
*_wrap_Menu_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28285 PyObject
*resultobj
;
28286 wxMenu
*arg1
= (wxMenu
*) 0 ;
28288 wxMenuItem
*result
;
28289 PyObject
* obj0
= 0 ;
28290 PyObject
* obj1
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self",(char *) "id", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28298 arg2
= (int) SWIG_AsInt(obj1
);
28299 if (PyErr_Occurred()) SWIG_fail
;
28301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28302 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28308 resultobj
= wxPyMake_wxObject(result
);
28316 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28317 PyObject
*resultobj
;
28318 wxMenu
*arg1
= (wxMenu
*) 0 ;
28319 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28320 wxMenuItem
*result
;
28321 PyObject
* obj0
= 0 ;
28322 PyObject
* obj1
= 0 ;
28323 char *kwnames
[] = {
28324 (char *) "self",(char *) "item", NULL
28327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28330 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28336 wxPyEndAllowThreads(__tstate
);
28337 if (PyErr_Occurred()) SWIG_fail
;
28340 resultobj
= wxPyMake_wxObject(result
);
28348 static PyObject
*_wrap_Menu_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28349 PyObject
*resultobj
;
28350 wxMenu
*arg1
= (wxMenu
*) 0 ;
28353 PyObject
* obj0
= 0 ;
28354 PyObject
* obj1
= 0 ;
28355 char *kwnames
[] = {
28356 (char *) "self",(char *) "id", NULL
28359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28360 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28361 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28362 arg2
= (int) SWIG_AsInt(obj1
);
28363 if (PyErr_Occurred()) SWIG_fail
;
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 result
= (bool)(arg1
)->Delete(arg2
);
28368 wxPyEndAllowThreads(__tstate
);
28369 if (PyErr_Occurred()) SWIG_fail
;
28371 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28378 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28379 PyObject
*resultobj
;
28380 wxMenu
*arg1
= (wxMenu
*) 0 ;
28381 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28383 PyObject
* obj0
= 0 ;
28384 PyObject
* obj1
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self",(char *) "item", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28392 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (bool)(arg1
)->Delete(arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28408 static PyObject
*_wrap_Menu_Destroy(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxMenu
*arg1
= (wxMenu
*) 0 ;
28411 PyObject
* obj0
= 0 ;
28412 char *kwnames
[] = {
28413 (char *) "self", NULL
28416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 wxMenu_Destroy(arg1
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 Py_INCREF(Py_None
); resultobj
= Py_None
;
28433 static PyObject
*_wrap_Menu_DestroyId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxMenu
*arg1
= (wxMenu
*) 0 ;
28438 PyObject
* obj0
= 0 ;
28439 PyObject
* obj1
= 0 ;
28440 char *kwnames
[] = {
28441 (char *) "self",(char *) "id", NULL
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28447 arg2
= (int) SWIG_AsInt(obj1
);
28448 if (PyErr_Occurred()) SWIG_fail
;
28450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28451 result
= (bool)(arg1
)->Destroy(arg2
);
28453 wxPyEndAllowThreads(__tstate
);
28454 if (PyErr_Occurred()) SWIG_fail
;
28456 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28463 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28464 PyObject
*resultobj
;
28465 wxMenu
*arg1
= (wxMenu
*) 0 ;
28466 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "item", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28476 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28477 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28478 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28481 result
= (bool)(arg1
)->Destroy(arg2
);
28483 wxPyEndAllowThreads(__tstate
);
28484 if (PyErr_Occurred()) SWIG_fail
;
28486 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28493 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28494 PyObject
*resultobj
;
28495 wxMenu
*arg1
= (wxMenu
*) 0 ;
28497 PyObject
* obj0
= 0 ;
28498 char *kwnames
[] = {
28499 (char *) "self", NULL
28502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28503 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28512 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28519 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28520 PyObject
*resultobj
;
28521 wxMenu
*arg1
= (wxMenu
*) 0 ;
28523 PyObject
* obj0
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "self", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28533 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28535 wxPyEndAllowThreads(__tstate
);
28536 if (PyErr_Occurred()) SWIG_fail
;
28538 resultobj
= result
;
28545 static PyObject
*_wrap_Menu_FindItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28546 PyObject
*resultobj
;
28547 wxMenu
*arg1
= (wxMenu
*) 0 ;
28548 wxString
*arg2
= 0 ;
28550 bool temp2
= False
;
28551 PyObject
* obj0
= 0 ;
28552 PyObject
* obj1
= 0 ;
28553 char *kwnames
[] = {
28554 (char *) "self",(char *) "item", NULL
28557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28558 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28559 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28561 arg2
= wxString_in_helper(obj1
);
28562 if (arg2
== NULL
) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28572 resultobj
= SWIG_FromInt((int)result
);
28587 static PyObject
*_wrap_Menu_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxMenu
*arg1
= (wxMenu
*) 0 ;
28591 wxMenuItem
*result
;
28592 PyObject
* obj0
= 0 ;
28593 PyObject
* obj1
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self",(char *) "id", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28601 arg2
= (int) SWIG_AsInt(obj1
);
28602 if (PyErr_Occurred()) SWIG_fail
;
28604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28605 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28611 resultobj
= wxPyMake_wxObject(result
);
28619 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28620 PyObject
*resultobj
;
28621 wxMenu
*arg1
= (wxMenu
*) 0 ;
28623 wxMenuItem
*result
;
28624 PyObject
* obj0
= 0 ;
28625 PyObject
* obj1
= 0 ;
28626 char *kwnames
[] = {
28627 (char *) "self",(char *) "position", NULL
28630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28633 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28634 if (PyErr_Occurred()) SWIG_fail
;
28636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28637 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28639 wxPyEndAllowThreads(__tstate
);
28640 if (PyErr_Occurred()) SWIG_fail
;
28643 resultobj
= wxPyMake_wxObject(result
);
28651 static PyObject
*_wrap_Menu_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28652 PyObject
*resultobj
;
28653 wxMenu
*arg1
= (wxMenu
*) 0 ;
28656 PyObject
* obj0
= 0 ;
28657 PyObject
* obj1
= 0 ;
28658 PyObject
* obj2
= 0 ;
28659 char *kwnames
[] = {
28660 (char *) "self",(char *) "id",(char *) "enable", NULL
28663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28666 arg2
= (int) SWIG_AsInt(obj1
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28668 arg3
= (bool) SWIG_AsBool(obj2
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28672 (arg1
)->Enable(arg2
,arg3
);
28674 wxPyEndAllowThreads(__tstate
);
28675 if (PyErr_Occurred()) SWIG_fail
;
28677 Py_INCREF(Py_None
); resultobj
= Py_None
;
28684 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28685 PyObject
*resultobj
;
28686 wxMenu
*arg1
= (wxMenu
*) 0 ;
28689 PyObject
* obj0
= 0 ;
28690 PyObject
* obj1
= 0 ;
28691 char *kwnames
[] = {
28692 (char *) "self",(char *) "id", NULL
28695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28698 arg2
= (int) SWIG_AsInt(obj1
);
28699 if (PyErr_Occurred()) SWIG_fail
;
28701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28702 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28714 static PyObject
*_wrap_Menu_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28715 PyObject
*resultobj
;
28716 wxMenu
*arg1
= (wxMenu
*) 0 ;
28719 PyObject
* obj0
= 0 ;
28720 PyObject
* obj1
= 0 ;
28721 PyObject
* obj2
= 0 ;
28722 char *kwnames
[] = {
28723 (char *) "self",(char *) "id",(char *) "check", NULL
28726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28729 arg2
= (int) SWIG_AsInt(obj1
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28731 arg3
= (bool) SWIG_AsBool(obj2
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->Check(arg2
,arg3
);
28737 wxPyEndAllowThreads(__tstate
);
28738 if (PyErr_Occurred()) SWIG_fail
;
28740 Py_INCREF(Py_None
); resultobj
= Py_None
;
28747 static PyObject
*_wrap_Menu_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28748 PyObject
*resultobj
;
28749 wxMenu
*arg1
= (wxMenu
*) 0 ;
28752 PyObject
* obj0
= 0 ;
28753 PyObject
* obj1
= 0 ;
28754 char *kwnames
[] = {
28755 (char *) "self",(char *) "id", NULL
28758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28761 arg2
= (int) SWIG_AsInt(obj1
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28765 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28767 wxPyEndAllowThreads(__tstate
);
28768 if (PyErr_Occurred()) SWIG_fail
;
28770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28777 static PyObject
*_wrap_Menu_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28778 PyObject
*resultobj
;
28779 wxMenu
*arg1
= (wxMenu
*) 0 ;
28781 wxString
*arg3
= 0 ;
28782 bool temp3
= False
;
28783 PyObject
* obj0
= 0 ;
28784 PyObject
* obj1
= 0 ;
28785 PyObject
* obj2
= 0 ;
28786 char *kwnames
[] = {
28787 (char *) "self",(char *) "id",(char *) "label", NULL
28790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28793 arg2
= (int) SWIG_AsInt(obj1
);
28794 if (PyErr_Occurred()) SWIG_fail
;
28796 arg3
= wxString_in_helper(obj2
);
28797 if (arg3
== NULL
) SWIG_fail
;
28801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28802 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28804 wxPyEndAllowThreads(__tstate
);
28805 if (PyErr_Occurred()) SWIG_fail
;
28807 Py_INCREF(Py_None
); resultobj
= Py_None
;
28822 static PyObject
*_wrap_Menu_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28823 PyObject
*resultobj
;
28824 wxMenu
*arg1
= (wxMenu
*) 0 ;
28827 PyObject
* obj0
= 0 ;
28828 PyObject
* obj1
= 0 ;
28829 char *kwnames
[] = {
28830 (char *) "self",(char *) "id", NULL
28833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28834 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28835 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28836 arg2
= (int) SWIG_AsInt(obj1
);
28837 if (PyErr_Occurred()) SWIG_fail
;
28839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28840 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28842 wxPyEndAllowThreads(__tstate
);
28843 if (PyErr_Occurred()) SWIG_fail
;
28847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28858 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28859 PyObject
*resultobj
;
28860 wxMenu
*arg1
= (wxMenu
*) 0 ;
28862 wxString
*arg3
= 0 ;
28863 bool temp3
= False
;
28864 PyObject
* obj0
= 0 ;
28865 PyObject
* obj1
= 0 ;
28866 PyObject
* obj2
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self",(char *) "id",(char *) "helpString", NULL
28871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28874 arg2
= (int) SWIG_AsInt(obj1
);
28875 if (PyErr_Occurred()) SWIG_fail
;
28877 arg3
= wxString_in_helper(obj2
);
28878 if (arg3
== NULL
) SWIG_fail
;
28882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28883 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28885 wxPyEndAllowThreads(__tstate
);
28886 if (PyErr_Occurred()) SWIG_fail
;
28888 Py_INCREF(Py_None
); resultobj
= Py_None
;
28903 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28904 PyObject
*resultobj
;
28905 wxMenu
*arg1
= (wxMenu
*) 0 ;
28908 PyObject
* obj0
= 0 ;
28909 PyObject
* obj1
= 0 ;
28910 char *kwnames
[] = {
28911 (char *) "self",(char *) "id", NULL
28914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28915 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28916 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28917 arg2
= (int) SWIG_AsInt(obj1
);
28918 if (PyErr_Occurred()) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28928 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28930 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28939 static PyObject
*_wrap_Menu_SetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
;
28941 wxMenu
*arg1
= (wxMenu
*) 0 ;
28942 wxString
*arg2
= 0 ;
28943 bool temp2
= False
;
28944 PyObject
* obj0
= 0 ;
28945 PyObject
* obj1
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self",(char *) "title", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28954 arg2
= wxString_in_helper(obj1
);
28955 if (arg2
== NULL
) SWIG_fail
;
28959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28960 (arg1
)->SetTitle((wxString
const &)*arg2
);
28962 wxPyEndAllowThreads(__tstate
);
28963 if (PyErr_Occurred()) SWIG_fail
;
28965 Py_INCREF(Py_None
); resultobj
= Py_None
;
28980 static PyObject
*_wrap_Menu_GetTitle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
28981 PyObject
*resultobj
;
28982 wxMenu
*arg1
= (wxMenu
*) 0 ;
28984 PyObject
* obj0
= 0 ;
28985 char *kwnames
[] = {
28986 (char *) "self", NULL
28989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
28990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= ((wxMenu
const *)arg1
)->GetTitle();
28996 wxPyEndAllowThreads(__tstate
);
28997 if (PyErr_Occurred()) SWIG_fail
;
29001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29012 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29013 PyObject
*resultobj
;
29014 wxMenu
*arg1
= (wxMenu
*) 0 ;
29015 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 char *kwnames
[] = {
29019 (char *) "self",(char *) "handler", NULL
29022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29025 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29026 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->SetEventHandler(arg2
);
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 Py_INCREF(Py_None
); resultobj
= Py_None
;
29041 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxMenu
*arg1
= (wxMenu
*) 0 ;
29044 wxEvtHandler
*result
;
29045 PyObject
* obj0
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29055 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29061 resultobj
= wxPyMake_wxObject(result
);
29069 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29070 PyObject
*resultobj
;
29071 wxMenu
*arg1
= (wxMenu
*) 0 ;
29072 wxWindow
*arg2
= (wxWindow
*) 0 ;
29073 PyObject
* obj0
= 0 ;
29074 PyObject
* obj1
= 0 ;
29075 char *kwnames
[] = {
29076 (char *) "self",(char *) "win", NULL
29079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29080 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29081 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29082 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29086 (arg1
)->SetInvokingWindow(arg2
);
29088 wxPyEndAllowThreads(__tstate
);
29089 if (PyErr_Occurred()) SWIG_fail
;
29091 Py_INCREF(Py_None
); resultobj
= Py_None
;
29098 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29099 PyObject
*resultobj
;
29100 wxMenu
*arg1
= (wxMenu
*) 0 ;
29102 PyObject
* obj0
= 0 ;
29103 char *kwnames
[] = {
29104 (char *) "self", NULL
29107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29114 wxPyEndAllowThreads(__tstate
);
29115 if (PyErr_Occurred()) SWIG_fail
;
29118 resultobj
= wxPyMake_wxObject(result
);
29126 static PyObject
*_wrap_Menu_GetStyle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29127 PyObject
*resultobj
;
29128 wxMenu
*arg1
= (wxMenu
*) 0 ;
29130 PyObject
* obj0
= 0 ;
29131 char *kwnames
[] = {
29132 (char *) "self", NULL
29135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29136 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29137 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29140 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29142 wxPyEndAllowThreads(__tstate
);
29143 if (PyErr_Occurred()) SWIG_fail
;
29145 resultobj
= SWIG_FromLong((long)result
);
29152 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29153 PyObject
*resultobj
;
29154 wxMenu
*arg1
= (wxMenu
*) 0 ;
29155 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29156 PyObject
* obj0
= 0 ;
29157 PyObject
* obj1
= 0 ;
29158 char *kwnames
[] = {
29159 (char *) "self",(char *) "source", NULL
29162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29166 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29171 (arg1
)->UpdateUI(arg2
);
29173 wxPyEndAllowThreads(__tstate
);
29174 if (PyErr_Occurred()) SWIG_fail
;
29176 Py_INCREF(Py_None
); resultobj
= Py_None
;
29183 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29185 wxMenu
*arg1
= (wxMenu
*) 0 ;
29187 PyObject
* obj0
= 0 ;
29188 char *kwnames
[] = {
29189 (char *) "self", NULL
29192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29197 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29199 wxPyEndAllowThreads(__tstate
);
29200 if (PyErr_Occurred()) SWIG_fail
;
29203 resultobj
= wxPyMake_wxObject(result
);
29211 static PyObject
*_wrap_Menu_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29212 PyObject
*resultobj
;
29213 wxMenu
*arg1
= (wxMenu
*) 0 ;
29214 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29215 PyObject
* obj0
= 0 ;
29216 PyObject
* obj1
= 0 ;
29217 char *kwnames
[] = {
29218 (char *) "self",(char *) "menubar", NULL
29221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29224 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29228 (arg1
)->Attach(arg2
);
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29233 Py_INCREF(Py_None
); resultobj
= Py_None
;
29240 static PyObject
*_wrap_Menu_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29241 PyObject
*resultobj
;
29242 wxMenu
*arg1
= (wxMenu
*) 0 ;
29243 PyObject
* obj0
= 0 ;
29244 char *kwnames
[] = {
29245 (char *) "self", NULL
29248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29255 wxPyEndAllowThreads(__tstate
);
29256 if (PyErr_Occurred()) SWIG_fail
;
29258 Py_INCREF(Py_None
); resultobj
= Py_None
;
29265 static PyObject
*_wrap_Menu_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29266 PyObject
*resultobj
;
29267 wxMenu
*arg1
= (wxMenu
*) 0 ;
29269 PyObject
* obj0
= 0 ;
29270 char *kwnames
[] = {
29271 (char *) "self", NULL
29274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29281 wxPyEndAllowThreads(__tstate
);
29282 if (PyErr_Occurred()) SWIG_fail
;
29284 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29291 static PyObject
*_wrap_Menu_SetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29292 PyObject
*resultobj
;
29293 wxMenu
*arg1
= (wxMenu
*) 0 ;
29294 wxMenu
*arg2
= (wxMenu
*) 0 ;
29295 PyObject
* obj0
= 0 ;
29296 PyObject
* obj1
= 0 ;
29297 char *kwnames
[] = {
29298 (char *) "self",(char *) "parent", NULL
29301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 (arg1
)->SetParent(arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29320 static PyObject
*_wrap_Menu_GetParent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxMenu
*arg1
= (wxMenu
*) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29330 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29331 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29334 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29336 wxPyEndAllowThreads(__tstate
);
29337 if (PyErr_Occurred()) SWIG_fail
;
29340 resultobj
= wxPyMake_wxObject(result
);
29348 static PyObject
* Menu_swigregister(PyObject
*, PyObject
*args
) {
29350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29351 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29353 return Py_BuildValue((char *)"");
29355 static PyObject
*_wrap_new_MenuBar(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29356 PyObject
*resultobj
;
29357 long arg1
= (long) 0 ;
29359 PyObject
* obj0
= 0 ;
29360 char *kwnames
[] = {
29361 (char *) "style", NULL
29364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29366 arg1
= (long) SWIG_AsLong(obj0
);
29367 if (PyErr_Occurred()) SWIG_fail
;
29370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29371 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29373 wxPyEndAllowThreads(__tstate
);
29374 if (PyErr_Occurred()) SWIG_fail
;
29377 resultobj
= wxPyMake_wxObject(result
);
29385 static PyObject
*_wrap_MenuBar_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29386 PyObject
*resultobj
;
29387 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29388 wxMenu
*arg2
= (wxMenu
*) 0 ;
29389 wxString
*arg3
= 0 ;
29391 bool temp3
= False
;
29392 PyObject
* obj0
= 0 ;
29393 PyObject
* obj1
= 0 ;
29394 PyObject
* obj2
= 0 ;
29395 char *kwnames
[] = {
29396 (char *) "self",(char *) "menu",(char *) "title", NULL
29399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29402 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29405 arg3
= wxString_in_helper(obj2
);
29406 if (arg3
== NULL
) SWIG_fail
;
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29413 wxPyEndAllowThreads(__tstate
);
29414 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29431 static PyObject
*_wrap_MenuBar_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29432 PyObject
*resultobj
;
29433 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29435 wxMenu
*arg3
= (wxMenu
*) 0 ;
29436 wxString
*arg4
= 0 ;
29438 bool temp4
= False
;
29439 PyObject
* obj0
= 0 ;
29440 PyObject
* obj1
= 0 ;
29441 PyObject
* obj2
= 0 ;
29442 PyObject
* obj3
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29450 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29451 if (PyErr_Occurred()) SWIG_fail
;
29452 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29455 arg4
= wxString_in_helper(obj3
);
29456 if (arg4
== NULL
) SWIG_fail
;
29460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29461 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29481 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29482 PyObject
*resultobj
;
29483 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29495 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29497 wxPyEndAllowThreads(__tstate
);
29498 if (PyErr_Occurred()) SWIG_fail
;
29500 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29507 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29508 PyObject
*resultobj
;
29509 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29512 PyObject
* obj0
= 0 ;
29513 PyObject
* obj1
= 0 ;
29514 char *kwnames
[] = {
29515 (char *) "self",(char *) "pos", NULL
29518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29521 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29525 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29527 wxPyEndAllowThreads(__tstate
);
29528 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= wxPyMake_wxObject(result
);
29539 static PyObject
*_wrap_MenuBar_Replace(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29540 PyObject
*resultobj
;
29541 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29543 wxMenu
*arg3
= (wxMenu
*) 0 ;
29544 wxString
*arg4
= 0 ;
29546 bool temp4
= False
;
29547 PyObject
* obj0
= 0 ;
29548 PyObject
* obj1
= 0 ;
29549 PyObject
* obj2
= 0 ;
29550 PyObject
* obj3
= 0 ;
29551 char *kwnames
[] = {
29552 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29556 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29557 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29558 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29560 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29563 arg4
= wxString_in_helper(obj3
);
29564 if (arg4
== NULL
) SWIG_fail
;
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29571 wxPyEndAllowThreads(__tstate
);
29572 if (PyErr_Occurred()) SWIG_fail
;
29575 resultobj
= wxPyMake_wxObject(result
);
29591 static PyObject
*_wrap_MenuBar_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29592 PyObject
*resultobj
;
29593 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29596 PyObject
* obj0
= 0 ;
29597 PyObject
* obj1
= 0 ;
29598 char *kwnames
[] = {
29599 (char *) "self",(char *) "pos", NULL
29602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29605 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29606 if (PyErr_Occurred()) SWIG_fail
;
29608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29609 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29611 wxPyEndAllowThreads(__tstate
);
29612 if (PyErr_Occurred()) SWIG_fail
;
29615 resultobj
= wxPyMake_wxObject(result
);
29623 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29624 PyObject
*resultobj
;
29625 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29628 PyObject
* obj0
= 0 ;
29629 PyObject
* obj1
= 0 ;
29630 PyObject
* obj2
= 0 ;
29631 char *kwnames
[] = {
29632 (char *) "self",(char *) "pos",(char *) "enable", NULL
29635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29636 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29638 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29639 if (PyErr_Occurred()) SWIG_fail
;
29640 arg3
= (bool) SWIG_AsBool(obj2
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29644 (arg1
)->EnableTop(arg2
,arg3
);
29646 wxPyEndAllowThreads(__tstate
);
29647 if (PyErr_Occurred()) SWIG_fail
;
29649 Py_INCREF(Py_None
); resultobj
= Py_None
;
29656 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29657 PyObject
*resultobj
;
29658 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29661 PyObject
* obj0
= 0 ;
29662 PyObject
* obj1
= 0 ;
29663 char *kwnames
[] = {
29664 (char *) "self",(char *) "pos", NULL
29667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29668 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29669 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29670 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29671 if (PyErr_Occurred()) SWIG_fail
;
29673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29674 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29676 wxPyEndAllowThreads(__tstate
);
29677 if (PyErr_Occurred()) SWIG_fail
;
29679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29686 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29687 PyObject
*resultobj
;
29688 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29690 wxString
*arg3
= 0 ;
29691 bool temp3
= False
;
29692 PyObject
* obj0
= 0 ;
29693 PyObject
* obj1
= 0 ;
29694 PyObject
* obj2
= 0 ;
29695 char *kwnames
[] = {
29696 (char *) "self",(char *) "pos",(char *) "label", NULL
29699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29700 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29701 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29702 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29703 if (PyErr_Occurred()) SWIG_fail
;
29705 arg3
= wxString_in_helper(obj2
);
29706 if (arg3
== NULL
) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29716 Py_INCREF(Py_None
); resultobj
= Py_None
;
29731 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29732 PyObject
*resultobj
;
29733 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29736 PyObject
* obj0
= 0 ;
29737 PyObject
* obj1
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self",(char *) "pos", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29745 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29749 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29751 wxPyEndAllowThreads(__tstate
);
29752 if (PyErr_Occurred()) SWIG_fail
;
29756 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29758 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29767 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29768 PyObject
*resultobj
;
29769 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29770 wxString
*arg2
= 0 ;
29771 wxString
*arg3
= 0 ;
29773 bool temp2
= False
;
29774 bool temp3
= False
;
29775 PyObject
* obj0
= 0 ;
29776 PyObject
* obj1
= 0 ;
29777 PyObject
* obj2
= 0 ;
29778 char *kwnames
[] = {
29779 (char *) "self",(char *) "menu",(char *) "item", NULL
29782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29786 arg2
= wxString_in_helper(obj1
);
29787 if (arg2
== NULL
) SWIG_fail
;
29791 arg3
= wxString_in_helper(obj2
);
29792 if (arg3
== NULL
) SWIG_fail
;
29796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29797 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29799 wxPyEndAllowThreads(__tstate
);
29800 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= SWIG_FromInt((int)result
);
29825 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29826 PyObject
*resultobj
;
29827 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29829 wxMenuItem
*result
;
29830 PyObject
* obj0
= 0 ;
29831 PyObject
* obj1
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self",(char *) "id", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29838 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29839 arg2
= (int) SWIG_AsInt(obj1
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29843 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29845 wxPyEndAllowThreads(__tstate
);
29846 if (PyErr_Occurred()) SWIG_fail
;
29849 resultobj
= wxPyMake_wxObject(result
);
29857 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29858 PyObject
*resultobj
;
29859 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29860 wxString
*arg2
= 0 ;
29862 bool temp2
= False
;
29863 PyObject
* obj0
= 0 ;
29864 PyObject
* obj1
= 0 ;
29865 char *kwnames
[] = {
29866 (char *) "self",(char *) "title", NULL
29869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29873 arg2
= wxString_in_helper(obj1
);
29874 if (arg2
== NULL
) SWIG_fail
;
29878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29879 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29881 wxPyEndAllowThreads(__tstate
);
29882 if (PyErr_Occurred()) SWIG_fail
;
29884 resultobj
= SWIG_FromInt((int)result
);
29899 static PyObject
*_wrap_MenuBar_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29900 PyObject
*resultobj
;
29901 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 PyObject
* obj2
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self",(char *) "id",(char *) "enable", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29912 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29913 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29914 arg2
= (int) SWIG_AsInt(obj1
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29916 arg3
= (bool) SWIG_AsBool(obj2
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29920 (arg1
)->Enable(arg2
,arg3
);
29922 wxPyEndAllowThreads(__tstate
);
29923 if (PyErr_Occurred()) SWIG_fail
;
29925 Py_INCREF(Py_None
); resultobj
= Py_None
;
29932 static PyObject
*_wrap_MenuBar_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29933 PyObject
*resultobj
;
29934 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 PyObject
* obj1
= 0 ;
29939 PyObject
* obj2
= 0 ;
29940 char *kwnames
[] = {
29941 (char *) "self",(char *) "id",(char *) "check", NULL
29944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29945 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29946 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29947 arg2
= (int) SWIG_AsInt(obj1
);
29948 if (PyErr_Occurred()) SWIG_fail
;
29949 arg3
= (bool) SWIG_AsBool(obj2
);
29950 if (PyErr_Occurred()) SWIG_fail
;
29952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29953 (arg1
)->Check(arg2
,arg3
);
29955 wxPyEndAllowThreads(__tstate
);
29956 if (PyErr_Occurred()) SWIG_fail
;
29958 Py_INCREF(Py_None
); resultobj
= Py_None
;
29965 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29966 PyObject
*resultobj
;
29967 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29970 PyObject
* obj0
= 0 ;
29971 PyObject
* obj1
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self",(char *) "id", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29979 arg2
= (int) SWIG_AsInt(obj1
);
29980 if (PyErr_Occurred()) SWIG_fail
;
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
29985 wxPyEndAllowThreads(__tstate
);
29986 if (PyErr_Occurred()) SWIG_fail
;
29988 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29995 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
29996 PyObject
*resultobj
;
29997 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30000 PyObject
* obj0
= 0 ;
30001 PyObject
* obj1
= 0 ;
30002 char *kwnames
[] = {
30003 (char *) "self",(char *) "id", NULL
30006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30009 arg2
= (int) SWIG_AsInt(obj1
);
30010 if (PyErr_Occurred()) SWIG_fail
;
30012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30013 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30015 wxPyEndAllowThreads(__tstate
);
30016 if (PyErr_Occurred()) SWIG_fail
;
30018 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30025 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30026 PyObject
*resultobj
;
30027 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30029 wxString
*arg3
= 0 ;
30030 bool temp3
= False
;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 PyObject
* obj2
= 0 ;
30034 char *kwnames
[] = {
30035 (char *) "self",(char *) "id",(char *) "label", NULL
30038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30041 arg2
= (int) SWIG_AsInt(obj1
);
30042 if (PyErr_Occurred()) SWIG_fail
;
30044 arg3
= wxString_in_helper(obj2
);
30045 if (arg3
== NULL
) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 Py_INCREF(Py_None
); resultobj
= Py_None
;
30070 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30071 PyObject
*resultobj
;
30072 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30075 PyObject
* obj0
= 0 ;
30076 PyObject
* obj1
= 0 ;
30077 char *kwnames
[] = {
30078 (char *) "self",(char *) "id", NULL
30081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30082 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30083 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30084 arg2
= (int) SWIG_AsInt(obj1
);
30085 if (PyErr_Occurred()) SWIG_fail
;
30087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30088 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30090 wxPyEndAllowThreads(__tstate
);
30091 if (PyErr_Occurred()) SWIG_fail
;
30095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30106 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30107 PyObject
*resultobj
;
30108 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30110 wxString
*arg3
= 0 ;
30111 bool temp3
= False
;
30112 PyObject
* obj0
= 0 ;
30113 PyObject
* obj1
= 0 ;
30114 PyObject
* obj2
= 0 ;
30115 char *kwnames
[] = {
30116 (char *) "self",(char *) "id",(char *) "helpString", NULL
30119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30122 arg2
= (int) SWIG_AsInt(obj1
);
30123 if (PyErr_Occurred()) SWIG_fail
;
30125 arg3
= wxString_in_helper(obj2
);
30126 if (arg3
== NULL
) SWIG_fail
;
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 Py_INCREF(Py_None
); resultobj
= Py_None
;
30151 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30152 PyObject
*resultobj
;
30153 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30156 PyObject
* obj0
= 0 ;
30157 PyObject
* obj1
= 0 ;
30158 char *kwnames
[] = {
30159 (char *) "self",(char *) "id", NULL
30162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30165 arg2
= (int) SWIG_AsInt(obj1
);
30166 if (PyErr_Occurred()) SWIG_fail
;
30168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30169 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30171 wxPyEndAllowThreads(__tstate
);
30172 if (PyErr_Occurred()) SWIG_fail
;
30176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30187 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30188 PyObject
*resultobj
;
30189 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30191 PyObject
* obj0
= 0 ;
30192 char *kwnames
[] = {
30193 (char *) "self", NULL
30196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30201 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30203 wxPyEndAllowThreads(__tstate
);
30204 if (PyErr_Occurred()) SWIG_fail
;
30207 resultobj
= wxPyMake_wxObject(result
);
30215 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
;
30217 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "self", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30229 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30231 wxPyEndAllowThreads(__tstate
);
30232 if (PyErr_Occurred()) SWIG_fail
;
30234 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30241 static PyObject
*_wrap_MenuBar_Attach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30242 PyObject
*resultobj
;
30243 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30244 wxFrame
*arg2
= (wxFrame
*) 0 ;
30245 PyObject
* obj0
= 0 ;
30246 PyObject
* obj1
= 0 ;
30247 char *kwnames
[] = {
30248 (char *) "self",(char *) "frame", NULL
30251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30254 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30258 (arg1
)->Attach(arg2
);
30260 wxPyEndAllowThreads(__tstate
);
30261 if (PyErr_Occurred()) SWIG_fail
;
30263 Py_INCREF(Py_None
); resultobj
= Py_None
;
30270 static PyObject
*_wrap_MenuBar_Detach(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30271 PyObject
*resultobj
;
30272 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30273 PyObject
* obj0
= 0 ;
30274 char *kwnames
[] = {
30275 (char *) "self", NULL
30278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 wxPyEndAllowThreads(__tstate
);
30286 if (PyErr_Occurred()) SWIG_fail
;
30288 Py_INCREF(Py_None
); resultobj
= Py_None
;
30295 static PyObject
* MenuBar_swigregister(PyObject
*, PyObject
*args
) {
30297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30298 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30300 return Py_BuildValue((char *)"");
30302 static PyObject
*_wrap_new_MenuItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxMenu
*arg1
= (wxMenu
*) NULL
;
30305 int arg2
= (int) wxID_SEPARATOR
;
30306 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30307 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30308 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30309 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30310 int arg5
= (int) wxITEM_NORMAL
;
30311 wxMenu
*arg6
= (wxMenu
*) NULL
;
30312 wxMenuItem
*result
;
30313 bool temp3
= False
;
30314 bool temp4
= False
;
30315 PyObject
* obj0
= 0 ;
30316 PyObject
* obj1
= 0 ;
30317 PyObject
* obj2
= 0 ;
30318 PyObject
* obj3
= 0 ;
30319 PyObject
* obj4
= 0 ;
30320 PyObject
* obj5
= 0 ;
30321 char *kwnames
[] = {
30322 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30331 arg2
= (int) SWIG_AsInt(obj1
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30336 arg3
= wxString_in_helper(obj2
);
30337 if (arg3
== NULL
) SWIG_fail
;
30343 arg4
= wxString_in_helper(obj3
);
30344 if (arg4
== NULL
) SWIG_fail
;
30349 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30350 if (PyErr_Occurred()) SWIG_fail
;
30353 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30354 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30364 resultobj
= wxPyMake_wxObject(result
);
30388 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30389 PyObject
*resultobj
;
30390 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30392 PyObject
* obj0
= 0 ;
30393 char *kwnames
[] = {
30394 (char *) "self", NULL
30397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30402 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= wxPyMake_wxObject(result
);
30416 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30417 PyObject
*resultobj
;
30418 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30419 wxMenu
*arg2
= (wxMenu
*) 0 ;
30420 PyObject
* obj0
= 0 ;
30421 PyObject
* obj1
= 0 ;
30422 char *kwnames
[] = {
30423 (char *) "self",(char *) "menu", NULL
30426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30433 (arg1
)->SetMenu(arg2
);
30435 wxPyEndAllowThreads(__tstate
);
30436 if (PyErr_Occurred()) SWIG_fail
;
30438 Py_INCREF(Py_None
); resultobj
= Py_None
;
30445 static PyObject
*_wrap_MenuItem_SetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30446 PyObject
*resultobj
;
30447 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30449 PyObject
* obj0
= 0 ;
30450 PyObject
* obj1
= 0 ;
30451 char *kwnames
[] = {
30452 (char *) "self",(char *) "id", NULL
30455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30458 arg2
= (int) SWIG_AsInt(obj1
);
30459 if (PyErr_Occurred()) SWIG_fail
;
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 (arg1
)->SetId(arg2
);
30464 wxPyEndAllowThreads(__tstate
);
30465 if (PyErr_Occurred()) SWIG_fail
;
30467 Py_INCREF(Py_None
); resultobj
= Py_None
;
30474 static PyObject
*_wrap_MenuItem_GetId(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30475 PyObject
*resultobj
;
30476 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30478 PyObject
* obj0
= 0 ;
30479 char *kwnames
[] = {
30480 (char *) "self", NULL
30483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30488 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_FromInt((int)result
);
30500 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30501 PyObject
*resultobj
;
30502 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30504 PyObject
* obj0
= 0 ;
30505 char *kwnames
[] = {
30506 (char *) "self", NULL
30509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30510 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30511 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30514 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30516 wxPyEndAllowThreads(__tstate
);
30517 if (PyErr_Occurred()) SWIG_fail
;
30519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30526 static PyObject
*_wrap_MenuItem_SetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30527 PyObject
*resultobj
;
30528 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30529 wxString
*arg2
= 0 ;
30530 bool temp2
= False
;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 char *kwnames
[] = {
30534 (char *) "self",(char *) "str", NULL
30537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30541 arg2
= wxString_in_helper(obj1
);
30542 if (arg2
== NULL
) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 (arg1
)->SetText((wxString
const &)*arg2
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 Py_INCREF(Py_None
); resultobj
= Py_None
;
30567 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30568 PyObject
*resultobj
;
30569 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30571 PyObject
* obj0
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30577 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30578 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30581 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30583 wxPyEndAllowThreads(__tstate
);
30584 if (PyErr_Occurred()) SWIG_fail
;
30588 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30590 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30599 static PyObject
*_wrap_MenuItem_GetText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30600 PyObject
*resultobj
;
30601 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30603 PyObject
* obj0
= 0 ;
30604 char *kwnames
[] = {
30605 (char *) "self", NULL
30608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30609 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30610 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30614 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30615 result
= (wxString
*) &_result_ref
;
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30625 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30634 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30635 PyObject
*resultobj
;
30636 wxString
*arg1
= 0 ;
30638 bool temp1
= False
;
30639 PyObject
* obj0
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "text", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30646 arg1
= wxString_in_helper(obj0
);
30647 if (arg1
== NULL
) SWIG_fail
;
30651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30652 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30654 wxPyEndAllowThreads(__tstate
);
30655 if (PyErr_Occurred()) SWIG_fail
;
30659 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30661 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30678 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30679 PyObject
*resultobj
;
30680 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30682 PyObject
* obj0
= 0 ;
30683 char *kwnames
[] = {
30684 (char *) "self", NULL
30687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30688 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30689 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30692 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30694 wxPyEndAllowThreads(__tstate
);
30695 if (PyErr_Occurred()) SWIG_fail
;
30697 resultobj
= SWIG_FromInt((int)result
);
30704 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30705 PyObject
*resultobj
;
30706 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30708 PyObject
* obj0
= 0 ;
30709 PyObject
* obj1
= 0 ;
30710 char *kwnames
[] = {
30711 (char *) "self",(char *) "checkable", NULL
30714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30715 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30716 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30717 arg2
= (bool) SWIG_AsBool(obj1
);
30718 if (PyErr_Occurred()) SWIG_fail
;
30720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30721 (arg1
)->SetCheckable(arg2
);
30723 wxPyEndAllowThreads(__tstate
);
30724 if (PyErr_Occurred()) SWIG_fail
;
30726 Py_INCREF(Py_None
); resultobj
= Py_None
;
30733 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30734 PyObject
*resultobj
;
30735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30737 PyObject
* obj0
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30747 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30749 wxPyEndAllowThreads(__tstate
);
30750 if (PyErr_Occurred()) SWIG_fail
;
30752 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30759 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30770 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30785 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30788 wxMenu
*arg2
= (wxMenu
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 PyObject
* obj1
= 0 ;
30791 char *kwnames
[] = {
30792 (char *) "self",(char *) "menu", NULL
30795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30796 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30798 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30802 (arg1
)->SetSubMenu(arg2
);
30804 wxPyEndAllowThreads(__tstate
);
30805 if (PyErr_Occurred()) SWIG_fail
;
30807 Py_INCREF(Py_None
); resultobj
= Py_None
;
30814 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30818 PyObject
* obj0
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30828 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30830 wxPyEndAllowThreads(__tstate
);
30831 if (PyErr_Occurred()) SWIG_fail
;
30834 resultobj
= wxPyMake_wxObject(result
);
30842 static PyObject
*_wrap_MenuItem_Enable(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30843 PyObject
*resultobj
;
30844 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30845 bool arg2
= (bool) True
;
30846 PyObject
* obj0
= 0 ;
30847 PyObject
* obj1
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self",(char *) "enable", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30856 arg2
= (bool) SWIG_AsBool(obj1
);
30857 if (PyErr_Occurred()) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 (arg1
)->Enable(arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 Py_INCREF(Py_None
); resultobj
= Py_None
;
30873 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
;
30875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30877 PyObject
* obj0
= 0 ;
30878 char *kwnames
[] = {
30879 (char *) "self", NULL
30882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30883 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30884 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30887 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30889 wxPyEndAllowThreads(__tstate
);
30890 if (PyErr_Occurred()) SWIG_fail
;
30892 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30899 static PyObject
*_wrap_MenuItem_Check(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30900 PyObject
*resultobj
;
30901 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30902 bool arg2
= (bool) True
;
30903 PyObject
* obj0
= 0 ;
30904 PyObject
* obj1
= 0 ;
30905 char *kwnames
[] = {
30906 (char *) "self",(char *) "check", NULL
30909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30913 arg2
= (bool) SWIG_AsBool(obj1
);
30914 if (PyErr_Occurred()) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 (arg1
)->Check(arg2
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 Py_INCREF(Py_None
); resultobj
= Py_None
;
30930 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30934 PyObject
* obj0
= 0 ;
30935 char *kwnames
[] = {
30936 (char *) "self", NULL
30939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
30940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30956 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
30965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30974 Py_INCREF(Py_None
); resultobj
= Py_None
;
30981 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
30982 PyObject
*resultobj
;
30983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30984 wxString
*arg2
= 0 ;
30985 bool temp2
= False
;
30986 PyObject
* obj0
= 0 ;
30987 PyObject
* obj1
= 0 ;
30988 char *kwnames
[] = {
30989 (char *) "self",(char *) "str", NULL
30992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
30993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30996 arg2
= wxString_in_helper(obj1
);
30997 if (arg2
== NULL
) SWIG_fail
;
31001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31002 (arg1
)->SetHelp((wxString
const &)*arg2
);
31004 wxPyEndAllowThreads(__tstate
);
31005 if (PyErr_Occurred()) SWIG_fail
;
31007 Py_INCREF(Py_None
); resultobj
= Py_None
;
31022 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31023 PyObject
*resultobj
;
31024 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31026 PyObject
* obj0
= 0 ;
31027 char *kwnames
[] = {
31028 (char *) "self", NULL
31031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31032 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31033 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31037 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31038 result
= (wxString
*) &_result_ref
;
31041 wxPyEndAllowThreads(__tstate
);
31042 if (PyErr_Occurred()) SWIG_fail
;
31046 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31048 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31057 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31060 wxAcceleratorEntry
*result
;
31061 PyObject
* obj0
= 0 ;
31062 char *kwnames
[] = {
31063 (char *) "self", NULL
31066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31067 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31068 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31071 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31073 wxPyEndAllowThreads(__tstate
);
31074 if (PyErr_Occurred()) SWIG_fail
;
31076 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31083 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31086 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 PyObject
* obj1
= 0 ;
31089 char *kwnames
[] = {
31090 (char *) "self",(char *) "accel", NULL
31093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31094 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31095 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31096 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31100 (arg1
)->SetAccel(arg2
);
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31105 Py_INCREF(Py_None
); resultobj
= Py_None
;
31112 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31115 char *kwnames
[] = {
31119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 result
= (int)MenuItem_GetDefaultMarginWidth();
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 resultobj
= SWIG_FromInt((int)result
);
31134 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31135 PyObject
*resultobj
;
31136 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31137 wxBitmap
*arg2
= 0 ;
31138 PyObject
* obj0
= 0 ;
31139 PyObject
* obj1
= 0 ;
31140 char *kwnames
[] = {
31141 (char *) "self",(char *) "bitmap", NULL
31144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31147 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31148 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31150 if (arg2
== NULL
) {
31151 PyErr_SetString(PyExc_TypeError
,"null reference");
31155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31156 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31158 wxPyEndAllowThreads(__tstate
);
31159 if (PyErr_Occurred()) SWIG_fail
;
31161 Py_INCREF(Py_None
); resultobj
= Py_None
;
31168 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31169 PyObject
*resultobj
;
31170 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31172 PyObject
* obj0
= 0 ;
31173 char *kwnames
[] = {
31174 (char *) "self", NULL
31177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31184 result
= (wxBitmap
*) &_result_ref
;
31187 wxPyEndAllowThreads(__tstate
);
31188 if (PyErr_Occurred()) SWIG_fail
;
31190 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
31197 static PyObject
* MenuItem_swigregister(PyObject
*, PyObject
*args
) {
31199 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31200 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31202 return Py_BuildValue((char *)"");
31204 static int _wrap_ControlNameStr_set(PyObject
*) {
31205 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31210 static PyObject
*_wrap_ControlNameStr_get() {
31215 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31217 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31224 static PyObject
*_wrap_new_Control(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31225 PyObject
*resultobj
;
31226 wxWindow
*arg1
= (wxWindow
*) 0 ;
31228 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31229 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31230 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31231 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31232 long arg5
= (long) 0 ;
31233 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31234 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31235 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31236 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31240 bool temp7
= False
;
31241 PyObject
* obj0
= 0 ;
31242 PyObject
* obj1
= 0 ;
31243 PyObject
* obj2
= 0 ;
31244 PyObject
* obj3
= 0 ;
31245 PyObject
* obj4
= 0 ;
31246 PyObject
* obj5
= 0 ;
31247 PyObject
* obj6
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31255 arg2
= (int) SWIG_AsInt(obj1
);
31256 if (PyErr_Occurred()) SWIG_fail
;
31260 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31266 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31270 arg5
= (long) SWIG_AsLong(obj4
);
31271 if (PyErr_Occurred()) SWIG_fail
;
31274 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31275 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31277 if (arg6
== NULL
) {
31278 PyErr_SetString(PyExc_TypeError
,"null reference");
31284 arg7
= wxString_in_helper(obj6
);
31285 if (arg7
== NULL
) SWIG_fail
;
31290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31291 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31293 wxPyEndAllowThreads(__tstate
);
31294 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= wxPyMake_wxObject(result
);
31313 static PyObject
*_wrap_new_PreControl(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31314 PyObject
*resultobj
;
31316 char *kwnames
[] = {
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31323 result
= (wxControl
*)new wxControl();
31325 wxPyEndAllowThreads(__tstate
);
31326 if (PyErr_Occurred()) SWIG_fail
;
31329 resultobj
= wxPyMake_wxObject(result
);
31337 static PyObject
*_wrap_Control_Create(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31338 PyObject
*resultobj
;
31339 wxControl
*arg1
= (wxControl
*) 0 ;
31340 wxWindow
*arg2
= (wxWindow
*) 0 ;
31342 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31343 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31344 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31345 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31346 long arg6
= (long) 0 ;
31347 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31348 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31349 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31350 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31354 bool temp8
= False
;
31355 PyObject
* obj0
= 0 ;
31356 PyObject
* obj1
= 0 ;
31357 PyObject
* obj2
= 0 ;
31358 PyObject
* obj3
= 0 ;
31359 PyObject
* obj4
= 0 ;
31360 PyObject
* obj5
= 0 ;
31361 PyObject
* obj6
= 0 ;
31362 PyObject
* obj7
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31370 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31372 arg3
= (int) SWIG_AsInt(obj2
);
31373 if (PyErr_Occurred()) SWIG_fail
;
31377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31387 arg6
= (long) SWIG_AsLong(obj5
);
31388 if (PyErr_Occurred()) SWIG_fail
;
31391 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31392 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31394 if (arg7
== NULL
) {
31395 PyErr_SetString(PyExc_TypeError
,"null reference");
31401 arg8
= wxString_in_helper(obj7
);
31402 if (arg8
== NULL
) SWIG_fail
;
31407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31408 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31410 wxPyEndAllowThreads(__tstate
);
31411 if (PyErr_Occurred()) SWIG_fail
;
31413 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31428 static PyObject
*_wrap_Control_Command(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31429 PyObject
*resultobj
;
31430 wxControl
*arg1
= (wxControl
*) 0 ;
31431 wxCommandEvent
*arg2
= 0 ;
31432 PyObject
* obj0
= 0 ;
31433 PyObject
* obj1
= 0 ;
31434 char *kwnames
[] = {
31435 (char *) "self",(char *) "event", NULL
31438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31441 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
31442 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31444 if (arg2
== NULL
) {
31445 PyErr_SetString(PyExc_TypeError
,"null reference");
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 (arg1
)->Command(*arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 Py_INCREF(Py_None
); resultobj
= Py_None
;
31462 static PyObject
*_wrap_Control_GetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxControl
*arg1
= (wxControl
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31476 result
= (arg1
)->GetLabel();
31478 wxPyEndAllowThreads(__tstate
);
31479 if (PyErr_Occurred()) SWIG_fail
;
31483 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31485 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31494 static PyObject
*_wrap_Control_SetLabel(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
;
31496 wxControl
*arg1
= (wxControl
*) 0 ;
31497 wxString
*arg2
= 0 ;
31498 bool temp2
= False
;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 char *kwnames
[] = {
31502 (char *) "self",(char *) "label", NULL
31505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
31506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31509 arg2
= wxString_in_helper(obj1
);
31510 if (arg2
== NULL
) SWIG_fail
;
31514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31515 (arg1
)->SetLabel((wxString
const &)*arg2
);
31517 wxPyEndAllowThreads(__tstate
);
31518 if (PyErr_Occurred()) SWIG_fail
;
31520 Py_INCREF(Py_None
); resultobj
= Py_None
;
31535 static PyObject
* Control_swigregister(PyObject
*, PyObject
*args
) {
31537 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31538 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
31540 return Py_BuildValue((char *)"");
31542 static PyObject
*_wrap_ItemContainer_Append(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31543 PyObject
*resultobj
;
31544 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31545 wxString
*arg2
= 0 ;
31546 PyObject
*arg3
= (PyObject
*) NULL
;
31548 bool temp2
= False
;
31549 PyObject
* obj0
= 0 ;
31550 PyObject
* obj1
= 0 ;
31551 PyObject
* obj2
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self",(char *) "item",(char *) "clientData", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31560 arg2
= wxString_in_helper(obj1
);
31561 if (arg2
== NULL
) SWIG_fail
;
31568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31569 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
31571 wxPyEndAllowThreads(__tstate
);
31572 if (PyErr_Occurred()) SWIG_fail
;
31574 resultobj
= SWIG_FromInt((int)result
);
31589 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31592 wxArrayString
*arg2
= 0 ;
31593 bool temp2
= False
;
31594 PyObject
* obj0
= 0 ;
31595 PyObject
* obj1
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "self",(char *) "strings", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31601 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31602 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31604 if (! PySequence_Check(obj1
)) {
31605 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
31608 arg2
= new wxArrayString
;
31610 int i
, len
=PySequence_Length(obj1
);
31611 for (i
=0; i
<len
; i
++) {
31612 PyObject
* item
= PySequence_GetItem(obj1
, i
);
31614 PyObject
* str
= PyObject_Unicode(item
);
31616 PyObject
* str
= PyObject_Str(item
);
31618 arg2
->Add(Py2wxString(str
));
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 (arg1
)->Append((wxArrayString
const &)*arg2
);
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 Py_INCREF(Py_None
); resultobj
= Py_None
;
31632 if (temp2
) delete arg2
;
31637 if (temp2
) delete arg2
;
31643 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31644 PyObject
*resultobj
;
31645 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31646 wxString
*arg2
= 0 ;
31648 PyObject
*arg4
= (PyObject
*) NULL
;
31650 bool temp2
= False
;
31651 PyObject
* obj0
= 0 ;
31652 PyObject
* obj1
= 0 ;
31653 PyObject
* obj2
= 0 ;
31654 PyObject
* obj3
= 0 ;
31655 char *kwnames
[] = {
31656 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
31659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
31660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31663 arg2
= wxString_in_helper(obj1
);
31664 if (arg2
== NULL
) SWIG_fail
;
31667 arg3
= (int) SWIG_AsInt(obj2
);
31668 if (PyErr_Occurred()) SWIG_fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_FromInt((int)result
);
31694 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
;
31696 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31697 PyObject
* obj0
= 0 ;
31698 char *kwnames
[] = {
31699 (char *) "self", NULL
31702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
31703 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31712 Py_INCREF(Py_None
); resultobj
= Py_None
;
31719 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31723 PyObject
* obj0
= 0 ;
31724 PyObject
* obj1
= 0 ;
31725 char *kwnames
[] = {
31726 (char *) "self",(char *) "n", NULL
31729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
31730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31732 arg2
= (int) SWIG_AsInt(obj1
);
31733 if (PyErr_Occurred()) SWIG_fail
;
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 (arg1
)->Delete(arg2
);
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31741 Py_INCREF(Py_None
); resultobj
= Py_None
;
31748 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31749 PyObject
*resultobj
;
31750 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31752 PyObject
* obj0
= 0 ;
31753 char *kwnames
[] = {
31754 (char *) "self", NULL
31757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
31758 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31759 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 resultobj
= SWIG_FromInt((int)result
);
31774 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31778 PyObject
* obj0
= 0 ;
31779 char *kwnames
[] = {
31780 (char *) "self", NULL
31783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
31784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31788 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
31790 wxPyEndAllowThreads(__tstate
);
31791 if (PyErr_Occurred()) SWIG_fail
;
31793 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31800 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31801 PyObject
*resultobj
;
31802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31805 PyObject
* obj0
= 0 ;
31806 PyObject
* obj1
= 0 ;
31807 char *kwnames
[] = {
31808 (char *) "self",(char *) "n", NULL
31811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
31812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31814 arg2
= (int) SWIG_AsInt(obj1
);
31815 if (PyErr_Occurred()) SWIG_fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31836 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31837 PyObject
*resultobj
;
31838 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31839 wxArrayString result
;
31840 PyObject
* obj0
= 0 ;
31841 char *kwnames
[] = {
31842 (char *) "self", NULL
31845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
31846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31856 resultobj
= wxArrayString2PyList_helper(result
);
31864 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31868 wxString
*arg3
= 0 ;
31869 bool temp3
= False
;
31870 PyObject
* obj0
= 0 ;
31871 PyObject
* obj1
= 0 ;
31872 PyObject
* obj2
= 0 ;
31873 char *kwnames
[] = {
31874 (char *) "self",(char *) "n",(char *) "s", NULL
31877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31878 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31879 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31880 arg2
= (int) SWIG_AsInt(obj1
);
31881 if (PyErr_Occurred()) SWIG_fail
;
31883 arg3
= wxString_in_helper(obj2
);
31884 if (arg3
== NULL
) SWIG_fail
;
31888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31889 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
31891 wxPyEndAllowThreads(__tstate
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 Py_INCREF(Py_None
); resultobj
= Py_None
;
31909 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
;
31911 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31912 wxString
*arg2
= 0 ;
31914 bool temp2
= False
;
31915 PyObject
* obj0
= 0 ;
31916 PyObject
* obj1
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self",(char *) "s", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
31922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31925 arg2
= wxString_in_helper(obj1
);
31926 if (arg2
== NULL
) SWIG_fail
;
31930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31931 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
31933 wxPyEndAllowThreads(__tstate
);
31934 if (PyErr_Occurred()) SWIG_fail
;
31936 resultobj
= SWIG_FromInt((int)result
);
31951 static PyObject
*_wrap_ItemContainer_Select(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31952 PyObject
*resultobj
;
31953 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31955 PyObject
* obj0
= 0 ;
31956 PyObject
* obj1
= 0 ;
31957 char *kwnames
[] = {
31958 (char *) "self",(char *) "n", NULL
31961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
31962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31964 arg2
= (int) SWIG_AsInt(obj1
);
31965 if (PyErr_Occurred()) SWIG_fail
;
31967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31968 (arg1
)->Select(arg2
);
31970 wxPyEndAllowThreads(__tstate
);
31971 if (PyErr_Occurred()) SWIG_fail
;
31973 Py_INCREF(Py_None
); resultobj
= Py_None
;
31980 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
31981 PyObject
*resultobj
;
31982 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
31984 PyObject
* obj0
= 0 ;
31985 char *kwnames
[] = {
31986 (char *) "self", NULL
31989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
31990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
31991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31994 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
31996 wxPyEndAllowThreads(__tstate
);
31997 if (PyErr_Occurred()) SWIG_fail
;
31999 resultobj
= SWIG_FromInt((int)result
);
32006 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32007 PyObject
*resultobj
;
32008 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32010 PyObject
* obj0
= 0 ;
32011 char *kwnames
[] = {
32012 (char *) "self", NULL
32015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32020 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32022 wxPyEndAllowThreads(__tstate
);
32023 if (PyErr_Occurred()) SWIG_fail
;
32027 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32029 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32038 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32039 PyObject
*resultobj
;
32040 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32043 PyObject
* obj0
= 0 ;
32044 PyObject
* obj1
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self",(char *) "n", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32052 arg2
= (int) SWIG_AsInt(obj1
);
32053 if (PyErr_Occurred()) SWIG_fail
;
32055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32056 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32058 wxPyEndAllowThreads(__tstate
);
32059 if (PyErr_Occurred()) SWIG_fail
;
32061 resultobj
= result
;
32068 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32069 PyObject
*resultobj
;
32070 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32072 PyObject
*arg3
= (PyObject
*) 0 ;
32073 PyObject
* obj0
= 0 ;
32074 PyObject
* obj1
= 0 ;
32075 PyObject
* obj2
= 0 ;
32076 char *kwnames
[] = {
32077 (char *) "self",(char *) "n",(char *) "clientData", NULL
32080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32083 arg2
= (int) SWIG_AsInt(obj1
);
32084 if (PyErr_Occurred()) SWIG_fail
;
32087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32088 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32090 wxPyEndAllowThreads(__tstate
);
32091 if (PyErr_Occurred()) SWIG_fail
;
32093 Py_INCREF(Py_None
); resultobj
= Py_None
;
32100 static PyObject
* ItemContainer_swigregister(PyObject
*, PyObject
*args
) {
32102 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32103 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32105 return Py_BuildValue((char *)"");
32107 static PyObject
* ControlWithItems_swigregister(PyObject
*, PyObject
*args
) {
32109 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32110 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32112 return Py_BuildValue((char *)"");
32114 static PyObject
*_wrap_new_SizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32115 PyObject
*resultobj
;
32116 wxSizerItem
*result
;
32117 char *kwnames
[] = {
32121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32124 result
= (wxSizerItem
*)new wxSizerItem();
32126 wxPyEndAllowThreads(__tstate
);
32127 if (PyErr_Occurred()) SWIG_fail
;
32129 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32136 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32137 PyObject
*resultobj
;
32143 wxObject
*arg6
= (wxObject
*) 0 ;
32144 wxSizerItem
*result
;
32145 PyObject
* obj0
= 0 ;
32146 PyObject
* obj1
= 0 ;
32147 PyObject
* obj2
= 0 ;
32148 PyObject
* obj3
= 0 ;
32149 PyObject
* obj4
= 0 ;
32150 PyObject
* obj5
= 0 ;
32151 char *kwnames
[] = {
32152 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32156 arg1
= (int) SWIG_AsInt(obj0
);
32157 if (PyErr_Occurred()) SWIG_fail
;
32158 arg2
= (int) SWIG_AsInt(obj1
);
32159 if (PyErr_Occurred()) SWIG_fail
;
32160 arg3
= (int) SWIG_AsInt(obj2
);
32161 if (PyErr_Occurred()) SWIG_fail
;
32162 arg4
= (int) SWIG_AsInt(obj3
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32164 arg5
= (int) SWIG_AsInt(obj4
);
32165 if (PyErr_Occurred()) SWIG_fail
;
32166 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32167 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32170 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32172 wxPyEndAllowThreads(__tstate
);
32173 if (PyErr_Occurred()) SWIG_fail
;
32175 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32182 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32183 PyObject
*resultobj
;
32184 wxWindow
*arg1
= (wxWindow
*) 0 ;
32188 wxObject
*arg5
= (wxObject
*) 0 ;
32189 wxSizerItem
*result
;
32190 PyObject
* obj0
= 0 ;
32191 PyObject
* obj1
= 0 ;
32192 PyObject
* obj2
= 0 ;
32193 PyObject
* obj3
= 0 ;
32194 PyObject
* obj4
= 0 ;
32195 char *kwnames
[] = {
32196 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32202 arg2
= (int) SWIG_AsInt(obj1
);
32203 if (PyErr_Occurred()) SWIG_fail
;
32204 arg3
= (int) SWIG_AsInt(obj2
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32206 arg4
= (int) SWIG_AsInt(obj3
);
32207 if (PyErr_Occurred()) SWIG_fail
;
32208 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32212 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32214 wxPyEndAllowThreads(__tstate
);
32215 if (PyErr_Occurred()) SWIG_fail
;
32217 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32224 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32225 PyObject
*resultobj
;
32226 wxSizer
*arg1
= (wxSizer
*) 0 ;
32230 wxObject
*arg5
= (wxObject
*) 0 ;
32231 wxSizerItem
*result
;
32232 PyObject
* obj0
= 0 ;
32233 PyObject
* obj1
= 0 ;
32234 PyObject
* obj2
= 0 ;
32235 PyObject
* obj3
= 0 ;
32236 PyObject
* obj4
= 0 ;
32237 char *kwnames
[] = {
32238 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32244 arg2
= (int) SWIG_AsInt(obj1
);
32245 if (PyErr_Occurred()) SWIG_fail
;
32246 arg3
= (int) SWIG_AsInt(obj2
);
32247 if (PyErr_Occurred()) SWIG_fail
;
32248 arg4
= (int) SWIG_AsInt(obj3
);
32249 if (PyErr_Occurred()) SWIG_fail
;
32250 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32266 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
;
32268 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32269 PyObject
* obj0
= 0 ;
32270 char *kwnames
[] = {
32271 (char *) "self", NULL
32274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32279 (arg1
)->DeleteWindows();
32281 wxPyEndAllowThreads(__tstate
);
32282 if (PyErr_Occurred()) SWIG_fail
;
32284 Py_INCREF(Py_None
); resultobj
= Py_None
;
32291 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32292 PyObject
*resultobj
;
32293 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32294 PyObject
* obj0
= 0 ;
32295 char *kwnames
[] = {
32296 (char *) "self", NULL
32299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32300 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32301 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32304 (arg1
)->DetachSizer();
32306 wxPyEndAllowThreads(__tstate
);
32307 if (PyErr_Occurred()) SWIG_fail
;
32309 Py_INCREF(Py_None
); resultobj
= Py_None
;
32316 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32317 PyObject
*resultobj
;
32318 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32320 PyObject
* obj0
= 0 ;
32321 char *kwnames
[] = {
32322 (char *) "self", NULL
32325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32330 result
= (arg1
)->GetSize();
32332 wxPyEndAllowThreads(__tstate
);
32333 if (PyErr_Occurred()) SWIG_fail
;
32336 wxSize
* resultptr
;
32337 resultptr
= new wxSize((wxSize
&) result
);
32338 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32346 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32347 PyObject
*resultobj
;
32348 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32350 PyObject
* obj0
= 0 ;
32351 char *kwnames
[] = {
32352 (char *) "self", NULL
32355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32360 result
= (arg1
)->CalcMin();
32362 wxPyEndAllowThreads(__tstate
);
32363 if (PyErr_Occurred()) SWIG_fail
;
32366 wxSize
* resultptr
;
32367 resultptr
= new wxSize((wxSize
&) result
);
32368 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32376 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32377 PyObject
*resultobj
;
32378 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32383 PyObject
* obj0
= 0 ;
32384 PyObject
* obj1
= 0 ;
32385 PyObject
* obj2
= 0 ;
32386 char *kwnames
[] = {
32387 (char *) "self",(char *) "pos",(char *) "size", NULL
32390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32393 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32394 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32396 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32397 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 (arg1
)->SetDimension(arg2
,arg3
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 Py_INCREF(Py_None
); resultobj
= Py_None
;
32413 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32424 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32427 result
= (arg1
)->GetMinSize();
32429 wxPyEndAllowThreads(__tstate
);
32430 if (PyErr_Occurred()) SWIG_fail
;
32433 wxSize
* resultptr
;
32434 resultptr
= new wxSize((wxSize
&) result
);
32435 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32443 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32444 PyObject
*resultobj
;
32445 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32448 PyObject
* obj0
= 0 ;
32449 PyObject
* obj1
= 0 ;
32450 PyObject
* obj2
= 0 ;
32451 char *kwnames
[] = {
32452 (char *) "self",(char *) "x",(char *) "y", NULL
32455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32456 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32457 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32458 arg2
= (int) SWIG_AsInt(obj1
);
32459 if (PyErr_Occurred()) SWIG_fail
;
32460 arg3
= (int) SWIG_AsInt(obj2
);
32461 if (PyErr_Occurred()) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 (arg1
)->SetInitSize(arg2
,arg3
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 Py_INCREF(Py_None
); resultobj
= Py_None
;
32476 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32481 PyObject
* obj0
= 0 ;
32482 PyObject
* obj1
= 0 ;
32483 PyObject
* obj2
= 0 ;
32484 char *kwnames
[] = {
32485 (char *) "self",(char *) "width",(char *) "height", NULL
32488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32491 arg2
= (int) SWIG_AsInt(obj1
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32493 arg3
= (int) SWIG_AsInt(obj2
);
32494 if (PyErr_Occurred()) SWIG_fail
;
32496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32497 (arg1
)->SetRatio(arg2
,arg3
);
32499 wxPyEndAllowThreads(__tstate
);
32500 if (PyErr_Occurred()) SWIG_fail
;
32502 Py_INCREF(Py_None
); resultobj
= Py_None
;
32509 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32510 PyObject
*resultobj
;
32511 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32514 PyObject
* obj0
= 0 ;
32515 PyObject
* obj1
= 0 ;
32516 char *kwnames
[] = {
32517 (char *) "self",(char *) "size", NULL
32520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32521 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32522 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32523 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
32524 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32528 (arg1
)->SetRatio(arg2
);
32530 wxPyEndAllowThreads(__tstate
);
32531 if (PyErr_Occurred()) SWIG_fail
;
32533 Py_INCREF(Py_None
); resultobj
= Py_None
;
32540 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32541 PyObject
*resultobj
;
32542 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32544 PyObject
* obj0
= 0 ;
32545 PyObject
* obj1
= 0 ;
32546 char *kwnames
[] = {
32547 (char *) "self",(char *) "ratio", NULL
32550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
32551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32553 arg2
= (float) SWIG_AsFloat(obj1
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32557 (arg1
)->SetRatio(arg2
);
32559 wxPyEndAllowThreads(__tstate
);
32560 if (PyErr_Occurred()) SWIG_fail
;
32562 Py_INCREF(Py_None
); resultobj
= Py_None
;
32569 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32570 PyObject
*resultobj
;
32571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32573 PyObject
* obj0
= 0 ;
32574 char *kwnames
[] = {
32575 (char *) "self", NULL
32578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
32579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 result
= (float)(arg1
)->GetRatio();
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 resultobj
= SWIG_FromFloat((float)result
);
32595 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32596 PyObject
*resultobj
;
32597 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32599 PyObject
* obj0
= 0 ;
32600 char *kwnames
[] = {
32601 (char *) "self", NULL
32604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
32605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32609 result
= (bool)(arg1
)->IsWindow();
32611 wxPyEndAllowThreads(__tstate
);
32612 if (PyErr_Occurred()) SWIG_fail
;
32614 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32621 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32622 PyObject
*resultobj
;
32623 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32625 PyObject
* obj0
= 0 ;
32626 char *kwnames
[] = {
32627 (char *) "self", NULL
32630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
32631 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32632 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32635 result
= (bool)(arg1
)->IsSizer();
32637 wxPyEndAllowThreads(__tstate
);
32638 if (PyErr_Occurred()) SWIG_fail
;
32640 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32647 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32648 PyObject
*resultobj
;
32649 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32651 PyObject
* obj0
= 0 ;
32652 char *kwnames
[] = {
32653 (char *) "self", NULL
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
32657 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32658 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32661 result
= (bool)(arg1
)->IsSpacer();
32663 wxPyEndAllowThreads(__tstate
);
32664 if (PyErr_Occurred()) SWIG_fail
;
32666 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32673 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32674 PyObject
*resultobj
;
32675 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32677 PyObject
* obj0
= 0 ;
32678 PyObject
* obj1
= 0 ;
32679 char *kwnames
[] = {
32680 (char *) "self",(char *) "proportion", NULL
32683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
32684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32686 arg2
= (int) SWIG_AsInt(obj1
);
32687 if (PyErr_Occurred()) SWIG_fail
;
32689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32690 (arg1
)->SetProportion(arg2
);
32692 wxPyEndAllowThreads(__tstate
);
32693 if (PyErr_Occurred()) SWIG_fail
;
32695 Py_INCREF(Py_None
); resultobj
= Py_None
;
32702 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32703 PyObject
*resultobj
;
32704 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32706 PyObject
* obj0
= 0 ;
32707 char *kwnames
[] = {
32708 (char *) "self", NULL
32711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
32712 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32713 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32716 result
= (int)(arg1
)->GetProportion();
32718 wxPyEndAllowThreads(__tstate
);
32719 if (PyErr_Occurred()) SWIG_fail
;
32721 resultobj
= SWIG_FromInt((int)result
);
32728 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32729 PyObject
*resultobj
;
32730 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32732 PyObject
* obj0
= 0 ;
32733 PyObject
* obj1
= 0 ;
32734 char *kwnames
[] = {
32735 (char *) "self",(char *) "flag", NULL
32738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
32739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32741 arg2
= (int) SWIG_AsInt(obj1
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32745 (arg1
)->SetFlag(arg2
);
32747 wxPyEndAllowThreads(__tstate
);
32748 if (PyErr_Occurred()) SWIG_fail
;
32750 Py_INCREF(Py_None
); resultobj
= Py_None
;
32757 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32758 PyObject
*resultobj
;
32759 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32761 PyObject
* obj0
= 0 ;
32762 char *kwnames
[] = {
32763 (char *) "self", NULL
32766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
32767 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (int)(arg1
)->GetFlag();
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= SWIG_FromInt((int)result
);
32783 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
;
32785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32787 PyObject
* obj0
= 0 ;
32788 PyObject
* obj1
= 0 ;
32789 char *kwnames
[] = {
32790 (char *) "self",(char *) "border", NULL
32793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
32794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32796 arg2
= (int) SWIG_AsInt(obj1
);
32797 if (PyErr_Occurred()) SWIG_fail
;
32799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32800 (arg1
)->SetBorder(arg2
);
32802 wxPyEndAllowThreads(__tstate
);
32803 if (PyErr_Occurred()) SWIG_fail
;
32805 Py_INCREF(Py_None
); resultobj
= Py_None
;
32812 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32813 PyObject
*resultobj
;
32814 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32816 PyObject
* obj0
= 0 ;
32817 char *kwnames
[] = {
32818 (char *) "self", NULL
32821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
32822 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32823 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32826 result
= (int)(arg1
)->GetBorder();
32828 wxPyEndAllowThreads(__tstate
);
32829 if (PyErr_Occurred()) SWIG_fail
;
32831 resultobj
= SWIG_FromInt((int)result
);
32838 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32839 PyObject
*resultobj
;
32840 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32842 PyObject
* obj0
= 0 ;
32843 char *kwnames
[] = {
32844 (char *) "self", NULL
32847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
32848 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32849 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32852 result
= (wxWindow
*)(arg1
)->GetWindow();
32854 wxPyEndAllowThreads(__tstate
);
32855 if (PyErr_Occurred()) SWIG_fail
;
32858 resultobj
= wxPyMake_wxObject(result
);
32866 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32867 PyObject
*resultobj
;
32868 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32869 wxWindow
*arg2
= (wxWindow
*) 0 ;
32870 PyObject
* obj0
= 0 ;
32871 PyObject
* obj1
= 0 ;
32872 char *kwnames
[] = {
32873 (char *) "self",(char *) "window", NULL
32876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
32877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32879 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
32880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32883 (arg1
)->SetWindow(arg2
);
32885 wxPyEndAllowThreads(__tstate
);
32886 if (PyErr_Occurred()) SWIG_fail
;
32888 Py_INCREF(Py_None
); resultobj
= Py_None
;
32895 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32896 PyObject
*resultobj
;
32897 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32899 PyObject
* obj0
= 0 ;
32900 char *kwnames
[] = {
32901 (char *) "self", NULL
32904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
32905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32909 result
= (wxSizer
*)(arg1
)->GetSizer();
32911 wxPyEndAllowThreads(__tstate
);
32912 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= wxPyMake_wxSizer(result
);
32923 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32924 PyObject
*resultobj
;
32925 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32926 wxSizer
*arg2
= (wxSizer
*) 0 ;
32927 PyObject
* obj0
= 0 ;
32928 PyObject
* obj1
= 0 ;
32929 char *kwnames
[] = {
32930 (char *) "self",(char *) "sizer", NULL
32933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
32937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 (arg1
)->SetSizer(arg2
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 Py_INCREF(Py_None
); resultobj
= Py_None
;
32952 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32953 PyObject
*resultobj
;
32954 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32956 PyObject
* obj0
= 0 ;
32957 char *kwnames
[] = {
32958 (char *) "self", NULL
32961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
32962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32967 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
32968 result
= (wxSize
*) &_result_ref
;
32971 wxPyEndAllowThreads(__tstate
);
32972 if (PyErr_Occurred()) SWIG_fail
;
32974 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
32981 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
32982 PyObject
*resultobj
;
32983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32986 PyObject
* obj0
= 0 ;
32987 PyObject
* obj1
= 0 ;
32988 char *kwnames
[] = {
32989 (char *) "self",(char *) "size", NULL
32992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
32993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32997 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33001 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33003 wxPyEndAllowThreads(__tstate
);
33004 if (PyErr_Occurred()) SWIG_fail
;
33006 Py_INCREF(Py_None
); resultobj
= Py_None
;
33013 static PyObject
*_wrap_SizerItem_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33014 PyObject
*resultobj
;
33015 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33017 PyObject
* obj0
= 0 ;
33018 PyObject
* obj1
= 0 ;
33019 char *kwnames
[] = {
33020 (char *) "self",(char *) "show", NULL
33023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33026 arg2
= (bool) SWIG_AsBool(obj1
);
33027 if (PyErr_Occurred()) SWIG_fail
;
33029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33030 (arg1
)->Show(arg2
);
33032 wxPyEndAllowThreads(__tstate
);
33033 if (PyErr_Occurred()) SWIG_fail
;
33035 Py_INCREF(Py_None
); resultobj
= Py_None
;
33042 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33043 PyObject
*resultobj
;
33044 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33046 PyObject
* obj0
= 0 ;
33047 char *kwnames
[] = {
33048 (char *) "self", NULL
33051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33056 result
= (bool)(arg1
)->IsShown();
33058 wxPyEndAllowThreads(__tstate
);
33059 if (PyErr_Occurred()) SWIG_fail
;
33061 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33068 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33069 PyObject
*resultobj
;
33070 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33072 PyObject
* obj0
= 0 ;
33073 char *kwnames
[] = {
33074 (char *) "self", NULL
33077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33078 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33079 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33082 result
= (arg1
)->GetPosition();
33084 wxPyEndAllowThreads(__tstate
);
33085 if (PyErr_Occurred()) SWIG_fail
;
33088 wxPoint
* resultptr
;
33089 resultptr
= new wxPoint((wxPoint
&) result
);
33090 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33098 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33099 PyObject
*resultobj
;
33100 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33102 PyObject
* obj0
= 0 ;
33103 char *kwnames
[] = {
33104 (char *) "self", NULL
33107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33112 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33114 wxPyEndAllowThreads(__tstate
);
33115 if (PyErr_Occurred()) SWIG_fail
;
33117 resultobj
= result
;
33124 static PyObject
* SizerItem_swigregister(PyObject
*, PyObject
*args
) {
33126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33127 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33129 return Py_BuildValue((char *)"");
33131 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33132 PyObject
*resultobj
;
33133 wxSizer
*arg1
= (wxSizer
*) 0 ;
33134 PyObject
*arg2
= (PyObject
*) 0 ;
33135 PyObject
* obj0
= 0 ;
33136 PyObject
* obj1
= 0 ;
33137 char *kwnames
[] = {
33138 (char *) "self",(char *) "_self", NULL
33141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33147 wxSizer__setOORInfo(arg1
,arg2
);
33149 wxPyEndAllowThreads(__tstate
);
33150 if (PyErr_Occurred()) SWIG_fail
;
33152 Py_INCREF(Py_None
); resultobj
= Py_None
;
33159 static PyObject
*_wrap_Sizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33160 PyObject
*resultobj
;
33161 wxSizer
*arg1
= (wxSizer
*) 0 ;
33162 PyObject
*arg2
= (PyObject
*) 0 ;
33163 int arg3
= (int) 0 ;
33164 int arg4
= (int) 0 ;
33165 int arg5
= (int) 0 ;
33166 PyObject
*arg6
= (PyObject
*) NULL
;
33167 PyObject
* obj0
= 0 ;
33168 PyObject
* obj1
= 0 ;
33169 PyObject
* obj2
= 0 ;
33170 PyObject
* obj3
= 0 ;
33171 PyObject
* obj4
= 0 ;
33172 PyObject
* obj5
= 0 ;
33173 char *kwnames
[] = {
33174 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33178 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33179 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33182 arg3
= (int) SWIG_AsInt(obj2
);
33183 if (PyErr_Occurred()) SWIG_fail
;
33186 arg4
= (int) SWIG_AsInt(obj3
);
33187 if (PyErr_Occurred()) SWIG_fail
;
33190 arg5
= (int) SWIG_AsInt(obj4
);
33191 if (PyErr_Occurred()) SWIG_fail
;
33197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33198 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33200 wxPyEndAllowThreads(__tstate
);
33201 if (PyErr_Occurred()) SWIG_fail
;
33203 Py_INCREF(Py_None
); resultobj
= Py_None
;
33210 static PyObject
*_wrap_Sizer_Insert(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33211 PyObject
*resultobj
;
33212 wxSizer
*arg1
= (wxSizer
*) 0 ;
33214 PyObject
*arg3
= (PyObject
*) 0 ;
33215 int arg4
= (int) 0 ;
33216 int arg5
= (int) 0 ;
33217 int arg6
= (int) 0 ;
33218 PyObject
*arg7
= (PyObject
*) NULL
;
33219 PyObject
* obj0
= 0 ;
33220 PyObject
* obj1
= 0 ;
33221 PyObject
* obj2
= 0 ;
33222 PyObject
* obj3
= 0 ;
33223 PyObject
* obj4
= 0 ;
33224 PyObject
* obj5
= 0 ;
33225 PyObject
* obj6
= 0 ;
33226 char *kwnames
[] = {
33227 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33231 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33232 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33233 arg2
= (int) SWIG_AsInt(obj1
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33237 arg4
= (int) SWIG_AsInt(obj3
);
33238 if (PyErr_Occurred()) SWIG_fail
;
33241 arg5
= (int) SWIG_AsInt(obj4
);
33242 if (PyErr_Occurred()) SWIG_fail
;
33245 arg6
= (int) SWIG_AsInt(obj5
);
33246 if (PyErr_Occurred()) SWIG_fail
;
33252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33253 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33255 wxPyEndAllowThreads(__tstate
);
33256 if (PyErr_Occurred()) SWIG_fail
;
33258 Py_INCREF(Py_None
); resultobj
= Py_None
;
33265 static PyObject
*_wrap_Sizer_Prepend(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33266 PyObject
*resultobj
;
33267 wxSizer
*arg1
= (wxSizer
*) 0 ;
33268 PyObject
*arg2
= (PyObject
*) 0 ;
33269 int arg3
= (int) 0 ;
33270 int arg4
= (int) 0 ;
33271 int arg5
= (int) 0 ;
33272 PyObject
*arg6
= (PyObject
*) NULL
;
33273 PyObject
* obj0
= 0 ;
33274 PyObject
* obj1
= 0 ;
33275 PyObject
* obj2
= 0 ;
33276 PyObject
* obj3
= 0 ;
33277 PyObject
* obj4
= 0 ;
33278 PyObject
* obj5
= 0 ;
33279 char *kwnames
[] = {
33280 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33288 arg3
= (int) SWIG_AsInt(obj2
);
33289 if (PyErr_Occurred()) SWIG_fail
;
33292 arg4
= (int) SWIG_AsInt(obj3
);
33293 if (PyErr_Occurred()) SWIG_fail
;
33296 arg5
= (int) SWIG_AsInt(obj4
);
33297 if (PyErr_Occurred()) SWIG_fail
;
33303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33304 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33306 wxPyEndAllowThreads(__tstate
);
33307 if (PyErr_Occurred()) SWIG_fail
;
33309 Py_INCREF(Py_None
); resultobj
= Py_None
;
33316 static PyObject
*_wrap_Sizer_Remove(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33317 PyObject
*resultobj
;
33318 wxSizer
*arg1
= (wxSizer
*) 0 ;
33319 PyObject
*arg2
= (PyObject
*) 0 ;
33321 PyObject
* obj0
= 0 ;
33322 PyObject
* obj1
= 0 ;
33323 char *kwnames
[] = {
33324 (char *) "self",(char *) "item", NULL
33327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33328 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33333 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33335 wxPyEndAllowThreads(__tstate
);
33336 if (PyErr_Occurred()) SWIG_fail
;
33338 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33345 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33346 PyObject
*resultobj
;
33347 wxSizer
*arg1
= (wxSizer
*) 0 ;
33348 PyObject
*arg2
= (PyObject
*) 0 ;
33351 PyObject
* obj0
= 0 ;
33352 PyObject
* obj1
= 0 ;
33353 PyObject
* obj2
= 0 ;
33354 char *kwnames
[] = {
33355 (char *) "self",(char *) "item",(char *) "size", NULL
33358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33364 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33368 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33370 wxPyEndAllowThreads(__tstate
);
33371 if (PyErr_Occurred()) SWIG_fail
;
33373 Py_INCREF(Py_None
); resultobj
= Py_None
;
33380 static PyObject
*_wrap_Sizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33381 PyObject
*resultobj
;
33382 wxSizer
*arg1
= (wxSizer
*) 0 ;
33383 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33384 PyObject
* obj0
= 0 ;
33385 PyObject
* obj1
= 0 ;
33386 char *kwnames
[] = {
33387 (char *) "self",(char *) "item", NULL
33390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33393 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33394 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33399 wxPyEndAllowThreads(__tstate
);
33400 if (PyErr_Occurred()) SWIG_fail
;
33402 Py_INCREF(Py_None
); resultobj
= Py_None
;
33409 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33410 PyObject
*resultobj
;
33411 wxSizer
*arg1
= (wxSizer
*) 0 ;
33413 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33414 PyObject
* obj0
= 0 ;
33415 PyObject
* obj1
= 0 ;
33416 PyObject
* obj2
= 0 ;
33417 char *kwnames
[] = {
33418 (char *) "self",(char *) "index",(char *) "item", NULL
33421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33422 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33423 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33424 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
33425 if (PyErr_Occurred()) SWIG_fail
;
33426 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
33427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33430 (arg1
)->Insert(arg2
,arg3
);
33432 wxPyEndAllowThreads(__tstate
);
33433 if (PyErr_Occurred()) SWIG_fail
;
33435 Py_INCREF(Py_None
); resultobj
= Py_None
;
33442 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33443 PyObject
*resultobj
;
33444 wxSizer
*arg1
= (wxSizer
*) 0 ;
33445 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33446 PyObject
* obj0
= 0 ;
33447 PyObject
* obj1
= 0 ;
33448 char *kwnames
[] = {
33449 (char *) "self",(char *) "item", NULL
33452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33455 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33456 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33459 (arg1
)->Prepend(arg2
);
33461 wxPyEndAllowThreads(__tstate
);
33462 if (PyErr_Occurred()) SWIG_fail
;
33464 Py_INCREF(Py_None
); resultobj
= Py_None
;
33471 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33472 PyObject
*resultobj
;
33473 wxSizer
*arg1
= (wxSizer
*) 0 ;
33478 PyObject
* obj0
= 0 ;
33479 PyObject
* obj1
= 0 ;
33480 PyObject
* obj2
= 0 ;
33481 PyObject
* obj3
= 0 ;
33482 PyObject
* obj4
= 0 ;
33483 char *kwnames
[] = {
33484 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33490 arg2
= (int) SWIG_AsInt(obj1
);
33491 if (PyErr_Occurred()) SWIG_fail
;
33492 arg3
= (int) SWIG_AsInt(obj2
);
33493 if (PyErr_Occurred()) SWIG_fail
;
33494 arg4
= (int) SWIG_AsInt(obj3
);
33495 if (PyErr_Occurred()) SWIG_fail
;
33496 arg5
= (int) SWIG_AsInt(obj4
);
33497 if (PyErr_Occurred()) SWIG_fail
;
33499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33500 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33502 wxPyEndAllowThreads(__tstate
);
33503 if (PyErr_Occurred()) SWIG_fail
;
33505 Py_INCREF(Py_None
); resultobj
= Py_None
;
33512 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33513 PyObject
*resultobj
;
33514 wxSizer
*arg1
= (wxSizer
*) 0 ;
33517 PyObject
* obj0
= 0 ;
33518 PyObject
* obj1
= 0 ;
33519 char *kwnames
[] = {
33520 (char *) "self",(char *) "size", NULL
33523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33524 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33525 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33532 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
33534 wxPyEndAllowThreads(__tstate
);
33535 if (PyErr_Occurred()) SWIG_fail
;
33537 Py_INCREF(Py_None
); resultobj
= Py_None
;
33544 static PyObject
*_wrap_Sizer_GetSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33545 PyObject
*resultobj
;
33546 wxSizer
*arg1
= (wxSizer
*) 0 ;
33548 PyObject
* obj0
= 0 ;
33549 char *kwnames
[] = {
33550 (char *) "self", NULL
33553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
33554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33558 result
= (arg1
)->GetSize();
33560 wxPyEndAllowThreads(__tstate
);
33561 if (PyErr_Occurred()) SWIG_fail
;
33564 wxSize
* resultptr
;
33565 resultptr
= new wxSize((wxSize
&) result
);
33566 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33574 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33575 PyObject
*resultobj
;
33576 wxSizer
*arg1
= (wxSizer
*) 0 ;
33578 PyObject
* obj0
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
33584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33588 result
= (arg1
)->GetPosition();
33590 wxPyEndAllowThreads(__tstate
);
33591 if (PyErr_Occurred()) SWIG_fail
;
33594 wxPoint
* resultptr
;
33595 resultptr
= new wxPoint((wxPoint
&) result
);
33596 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33604 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33605 PyObject
*resultobj
;
33606 wxSizer
*arg1
= (wxSizer
*) 0 ;
33608 PyObject
* obj0
= 0 ;
33609 char *kwnames
[] = {
33610 (char *) "self", NULL
33613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
33614 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33615 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33618 result
= (arg1
)->GetMinSize();
33620 wxPyEndAllowThreads(__tstate
);
33621 if (PyErr_Occurred()) SWIG_fail
;
33624 wxSize
* resultptr
;
33625 resultptr
= new wxSize((wxSize
&) result
);
33626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33634 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33635 PyObject
*resultobj
;
33636 wxSizer
*arg1
= (wxSizer
*) 0 ;
33637 PyObject
* obj0
= 0 ;
33638 char *kwnames
[] = {
33639 (char *) "self", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33647 (arg1
)->RecalcSizes();
33649 wxPyEndAllowThreads(__tstate
);
33650 if (PyErr_Occurred()) SWIG_fail
;
33652 Py_INCREF(Py_None
); resultobj
= Py_None
;
33659 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33660 PyObject
*resultobj
;
33661 wxSizer
*arg1
= (wxSizer
*) 0 ;
33663 PyObject
* obj0
= 0 ;
33664 char *kwnames
[] = {
33665 (char *) "self", NULL
33668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33673 result
= (arg1
)->CalcMin();
33675 wxPyEndAllowThreads(__tstate
);
33676 if (PyErr_Occurred()) SWIG_fail
;
33679 wxSize
* resultptr
;
33680 resultptr
= new wxSize((wxSize
&) result
);
33681 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33689 static PyObject
*_wrap_Sizer_Layout(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33690 PyObject
*resultobj
;
33691 wxSizer
*arg1
= (wxSizer
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
33698 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33699 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33704 wxPyEndAllowThreads(__tstate
);
33705 if (PyErr_Occurred()) SWIG_fail
;
33707 Py_INCREF(Py_None
); resultobj
= Py_None
;
33714 static PyObject
*_wrap_Sizer_Fit(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33715 PyObject
*resultobj
;
33716 wxSizer
*arg1
= (wxSizer
*) 0 ;
33717 wxWindow
*arg2
= (wxWindow
*) 0 ;
33719 PyObject
* obj0
= 0 ;
33720 PyObject
* obj1
= 0 ;
33721 char *kwnames
[] = {
33722 (char *) "self",(char *) "window", NULL
33725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
33726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33732 result
= (arg1
)->Fit(arg2
);
33734 wxPyEndAllowThreads(__tstate
);
33735 if (PyErr_Occurred()) SWIG_fail
;
33738 wxSize
* resultptr
;
33739 resultptr
= new wxSize((wxSize
&) result
);
33740 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
33748 static PyObject
*_wrap_Sizer_FitInside(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33749 PyObject
*resultobj
;
33750 wxSizer
*arg1
= (wxSizer
*) 0 ;
33751 wxWindow
*arg2
= (wxWindow
*) 0 ;
33752 PyObject
* obj0
= 0 ;
33753 PyObject
* obj1
= 0 ;
33754 char *kwnames
[] = {
33755 (char *) "self",(char *) "window", NULL
33758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
33759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 (arg1
)->FitInside(arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 Py_INCREF(Py_None
); resultobj
= Py_None
;
33777 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
;
33779 wxSizer
*arg1
= (wxSizer
*) 0 ;
33780 wxWindow
*arg2
= (wxWindow
*) 0 ;
33781 PyObject
* obj0
= 0 ;
33782 PyObject
* obj1
= 0 ;
33783 char *kwnames
[] = {
33784 (char *) "self",(char *) "window", NULL
33787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33790 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33791 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33794 (arg1
)->SetSizeHints(arg2
);
33796 wxPyEndAllowThreads(__tstate
);
33797 if (PyErr_Occurred()) SWIG_fail
;
33799 Py_INCREF(Py_None
); resultobj
= Py_None
;
33806 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33807 PyObject
*resultobj
;
33808 wxSizer
*arg1
= (wxSizer
*) 0 ;
33809 wxWindow
*arg2
= (wxWindow
*) 0 ;
33810 PyObject
* obj0
= 0 ;
33811 PyObject
* obj1
= 0 ;
33812 char *kwnames
[] = {
33813 (char *) "self",(char *) "window", NULL
33816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
33817 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33818 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33819 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33820 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33823 (arg1
)->SetVirtualSizeHints(arg2
);
33825 wxPyEndAllowThreads(__tstate
);
33826 if (PyErr_Occurred()) SWIG_fail
;
33828 Py_INCREF(Py_None
); resultobj
= Py_None
;
33835 static PyObject
*_wrap_Sizer_Clear(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33836 PyObject
*resultobj
;
33837 wxSizer
*arg1
= (wxSizer
*) 0 ;
33838 bool arg2
= (bool) False
;
33839 PyObject
* obj0
= 0 ;
33840 PyObject
* obj1
= 0 ;
33841 char *kwnames
[] = {
33842 (char *) "self",(char *) "delete_windows", NULL
33845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
33846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33849 arg2
= (bool) SWIG_AsBool(obj1
);
33850 if (PyErr_Occurred()) SWIG_fail
;
33853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33854 (arg1
)->Clear(arg2
);
33856 wxPyEndAllowThreads(__tstate
);
33857 if (PyErr_Occurred()) SWIG_fail
;
33859 Py_INCREF(Py_None
); resultobj
= Py_None
;
33866 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33867 PyObject
*resultobj
;
33868 wxSizer
*arg1
= (wxSizer
*) 0 ;
33869 PyObject
* obj0
= 0 ;
33870 char *kwnames
[] = {
33871 (char *) "self", NULL
33874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
33875 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33876 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33879 (arg1
)->DeleteWindows();
33881 wxPyEndAllowThreads(__tstate
);
33882 if (PyErr_Occurred()) SWIG_fail
;
33884 Py_INCREF(Py_None
); resultobj
= Py_None
;
33891 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33892 PyObject
*resultobj
;
33893 wxSizer
*arg1
= (wxSizer
*) 0 ;
33895 PyObject
* obj0
= 0 ;
33896 char *kwnames
[] = {
33897 (char *) "self", NULL
33900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
33901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33905 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
33907 wxPyEndAllowThreads(__tstate
);
33908 if (PyErr_Occurred()) SWIG_fail
;
33910 resultobj
= result
;
33917 static PyObject
*_wrap_Sizer_Show(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33918 PyObject
*resultobj
;
33919 wxSizer
*arg1
= (wxSizer
*) 0 ;
33920 PyObject
*arg2
= (PyObject
*) 0 ;
33921 bool arg3
= (bool) True
;
33922 PyObject
* obj0
= 0 ;
33923 PyObject
* obj1
= 0 ;
33924 PyObject
* obj2
= 0 ;
33925 char *kwnames
[] = {
33926 (char *) "self",(char *) "item",(char *) "show", NULL
33929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33934 arg3
= (bool) SWIG_AsBool(obj2
);
33935 if (PyErr_Occurred()) SWIG_fail
;
33938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33939 wxSizer_Show(arg1
,arg2
,arg3
);
33941 wxPyEndAllowThreads(__tstate
);
33942 if (PyErr_Occurred()) SWIG_fail
;
33944 Py_INCREF(Py_None
); resultobj
= Py_None
;
33951 static PyObject
*_wrap_Sizer_Hide(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33952 PyObject
*resultobj
;
33953 wxSizer
*arg1
= (wxSizer
*) 0 ;
33954 PyObject
*arg2
= (PyObject
*) 0 ;
33955 PyObject
* obj0
= 0 ;
33956 PyObject
* obj1
= 0 ;
33957 char *kwnames
[] = {
33958 (char *) "self",(char *) "item", NULL
33961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
33962 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33963 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33967 wxSizer_Hide(arg1
,arg2
);
33969 wxPyEndAllowThreads(__tstate
);
33970 if (PyErr_Occurred()) SWIG_fail
;
33972 Py_INCREF(Py_None
); resultobj
= Py_None
;
33979 static PyObject
*_wrap_Sizer_IsShown(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
33980 PyObject
*resultobj
;
33981 wxSizer
*arg1
= (wxSizer
*) 0 ;
33982 PyObject
*arg2
= (PyObject
*) 0 ;
33984 PyObject
* obj0
= 0 ;
33985 PyObject
* obj1
= 0 ;
33986 char *kwnames
[] = {
33987 (char *) "self",(char *) "item", NULL
33990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
33991 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33992 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33996 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
33998 wxPyEndAllowThreads(__tstate
);
33999 if (PyErr_Occurred()) SWIG_fail
;
34001 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34008 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34009 PyObject
*resultobj
;
34010 wxSizer
*arg1
= (wxSizer
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "show", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34021 arg2
= (bool) SWIG_AsBool(obj1
);
34022 if (PyErr_Occurred()) SWIG_fail
;
34024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34025 (arg1
)->ShowItems(arg2
);
34027 wxPyEndAllowThreads(__tstate
);
34028 if (PyErr_Occurred()) SWIG_fail
;
34030 Py_INCREF(Py_None
); resultobj
= Py_None
;
34037 static PyObject
* Sizer_swigregister(PyObject
*, PyObject
*args
) {
34039 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34040 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34042 return Py_BuildValue((char *)"");
34044 static PyObject
*_wrap_new_PySizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34045 PyObject
*resultobj
;
34047 char *kwnames
[] = {
34051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34054 result
= (wxPySizer
*)new wxPySizer();
34056 wxPyEndAllowThreads(__tstate
);
34057 if (PyErr_Occurred()) SWIG_fail
;
34059 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34066 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34067 PyObject
*resultobj
;
34068 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34069 PyObject
*arg2
= (PyObject
*) 0 ;
34070 PyObject
*arg3
= (PyObject
*) 0 ;
34071 PyObject
* obj0
= 0 ;
34072 PyObject
* obj1
= 0 ;
34073 PyObject
* obj2
= 0 ;
34074 char *kwnames
[] = {
34075 (char *) "self",(char *) "self",(char *) "_class", NULL
34078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34085 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34087 wxPyEndAllowThreads(__tstate
);
34088 if (PyErr_Occurred()) SWIG_fail
;
34090 Py_INCREF(Py_None
); resultobj
= Py_None
;
34097 static PyObject
* PySizer_swigregister(PyObject
*, PyObject
*args
) {
34099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34100 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34102 return Py_BuildValue((char *)"");
34104 static PyObject
*_wrap_new_BoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34105 PyObject
*resultobj
;
34106 int arg1
= (int) wxHORIZONTAL
;
34107 wxBoxSizer
*result
;
34108 PyObject
* obj0
= 0 ;
34109 char *kwnames
[] = {
34110 (char *) "orient", NULL
34113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34115 arg1
= (int) SWIG_AsInt(obj0
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34120 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34122 wxPyEndAllowThreads(__tstate
);
34123 if (PyErr_Occurred()) SWIG_fail
;
34125 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34132 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34133 PyObject
*resultobj
;
34134 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34136 PyObject
* obj0
= 0 ;
34137 char *kwnames
[] = {
34138 (char *) "self", NULL
34141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34146 result
= (int)(arg1
)->GetOrientation();
34148 wxPyEndAllowThreads(__tstate
);
34149 if (PyErr_Occurred()) SWIG_fail
;
34151 resultobj
= SWIG_FromInt((int)result
);
34158 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34159 PyObject
*resultobj
;
34160 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34162 PyObject
* obj0
= 0 ;
34163 PyObject
* obj1
= 0 ;
34164 char *kwnames
[] = {
34165 (char *) "self",(char *) "orient", NULL
34168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34171 arg2
= (int) SWIG_AsInt(obj1
);
34172 if (PyErr_Occurred()) SWIG_fail
;
34174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34175 (arg1
)->SetOrientation(arg2
);
34177 wxPyEndAllowThreads(__tstate
);
34178 if (PyErr_Occurred()) SWIG_fail
;
34180 Py_INCREF(Py_None
); resultobj
= Py_None
;
34187 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34188 PyObject
*resultobj
;
34189 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34190 PyObject
* obj0
= 0 ;
34191 char *kwnames
[] = {
34192 (char *) "self", NULL
34195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34196 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34197 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34200 (arg1
)->RecalcSizes();
34202 wxPyEndAllowThreads(__tstate
);
34203 if (PyErr_Occurred()) SWIG_fail
;
34205 Py_INCREF(Py_None
); resultobj
= Py_None
;
34212 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34213 PyObject
*resultobj
;
34214 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34216 PyObject
* obj0
= 0 ;
34217 char *kwnames
[] = {
34218 (char *) "self", NULL
34221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34222 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34223 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34226 result
= (arg1
)->CalcMin();
34228 wxPyEndAllowThreads(__tstate
);
34229 if (PyErr_Occurred()) SWIG_fail
;
34232 wxSize
* resultptr
;
34233 resultptr
= new wxSize((wxSize
&) result
);
34234 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34242 static PyObject
* BoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34245 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34247 return Py_BuildValue((char *)"");
34249 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34250 PyObject
*resultobj
;
34251 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34252 int arg2
= (int) wxHORIZONTAL
;
34253 wxStaticBoxSizer
*result
;
34254 PyObject
* obj0
= 0 ;
34255 PyObject
* obj1
= 0 ;
34256 char *kwnames
[] = {
34257 (char *) "box",(char *) "orient", NULL
34260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34264 arg2
= (int) SWIG_AsInt(obj1
);
34265 if (PyErr_Occurred()) SWIG_fail
;
34268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34269 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34271 wxPyEndAllowThreads(__tstate
);
34272 if (PyErr_Occurred()) SWIG_fail
;
34274 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34281 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34282 PyObject
*resultobj
;
34283 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34284 wxStaticBox
*result
;
34285 PyObject
* obj0
= 0 ;
34286 char *kwnames
[] = {
34287 (char *) "self", NULL
34290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34291 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34295 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34297 wxPyEndAllowThreads(__tstate
);
34298 if (PyErr_Occurred()) SWIG_fail
;
34301 resultobj
= wxPyMake_wxObject(result
);
34309 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34310 PyObject
*resultobj
;
34311 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34312 PyObject
* obj0
= 0 ;
34313 char *kwnames
[] = {
34314 (char *) "self", NULL
34317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34318 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34319 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34322 (arg1
)->RecalcSizes();
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 Py_INCREF(Py_None
); resultobj
= Py_None
;
34334 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34348 result
= (arg1
)->CalcMin();
34350 wxPyEndAllowThreads(__tstate
);
34351 if (PyErr_Occurred()) SWIG_fail
;
34354 wxSize
* resultptr
;
34355 resultptr
= new wxSize((wxSize
&) result
);
34356 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34364 static PyObject
* StaticBoxSizer_swigregister(PyObject
*, PyObject
*args
) {
34366 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34367 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34369 return Py_BuildValue((char *)"");
34371 static PyObject
*_wrap_new_GridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34372 PyObject
*resultobj
;
34373 int arg1
= (int) 1 ;
34374 int arg2
= (int) 0 ;
34375 int arg3
= (int) 0 ;
34376 int arg4
= (int) 0 ;
34377 wxGridSizer
*result
;
34378 PyObject
* obj0
= 0 ;
34379 PyObject
* obj1
= 0 ;
34380 PyObject
* obj2
= 0 ;
34381 PyObject
* obj3
= 0 ;
34382 char *kwnames
[] = {
34383 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34388 arg1
= (int) SWIG_AsInt(obj0
);
34389 if (PyErr_Occurred()) SWIG_fail
;
34392 arg2
= (int) SWIG_AsInt(obj1
);
34393 if (PyErr_Occurred()) SWIG_fail
;
34396 arg3
= (int) SWIG_AsInt(obj2
);
34397 if (PyErr_Occurred()) SWIG_fail
;
34400 arg4
= (int) SWIG_AsInt(obj3
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34405 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34407 wxPyEndAllowThreads(__tstate
);
34408 if (PyErr_Occurred()) SWIG_fail
;
34410 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34417 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34418 PyObject
*resultobj
;
34419 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34420 PyObject
* obj0
= 0 ;
34421 char *kwnames
[] = {
34422 (char *) "self", NULL
34425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34430 (arg1
)->RecalcSizes();
34432 wxPyEndAllowThreads(__tstate
);
34433 if (PyErr_Occurred()) SWIG_fail
;
34435 Py_INCREF(Py_None
); resultobj
= Py_None
;
34442 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34443 PyObject
*resultobj
;
34444 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34446 PyObject
* obj0
= 0 ;
34447 char *kwnames
[] = {
34448 (char *) "self", NULL
34451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34456 result
= (arg1
)->CalcMin();
34458 wxPyEndAllowThreads(__tstate
);
34459 if (PyErr_Occurred()) SWIG_fail
;
34462 wxSize
* resultptr
;
34463 resultptr
= new wxSize((wxSize
&) result
);
34464 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34472 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34473 PyObject
*resultobj
;
34474 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34476 PyObject
* obj0
= 0 ;
34477 PyObject
* obj1
= 0 ;
34478 char *kwnames
[] = {
34479 (char *) "self",(char *) "cols", NULL
34482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34485 arg2
= (int) SWIG_AsInt(obj1
);
34486 if (PyErr_Occurred()) SWIG_fail
;
34488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34489 (arg1
)->SetCols(arg2
);
34491 wxPyEndAllowThreads(__tstate
);
34492 if (PyErr_Occurred()) SWIG_fail
;
34494 Py_INCREF(Py_None
); resultobj
= Py_None
;
34501 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34502 PyObject
*resultobj
;
34503 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34505 PyObject
* obj0
= 0 ;
34506 PyObject
* obj1
= 0 ;
34507 char *kwnames
[] = {
34508 (char *) "self",(char *) "rows", NULL
34511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
34512 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34513 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34514 arg2
= (int) SWIG_AsInt(obj1
);
34515 if (PyErr_Occurred()) SWIG_fail
;
34517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34518 (arg1
)->SetRows(arg2
);
34520 wxPyEndAllowThreads(__tstate
);
34521 if (PyErr_Occurred()) SWIG_fail
;
34523 Py_INCREF(Py_None
); resultobj
= Py_None
;
34530 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34531 PyObject
*resultobj
;
34532 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34534 PyObject
* obj0
= 0 ;
34535 PyObject
* obj1
= 0 ;
34536 char *kwnames
[] = {
34537 (char *) "self",(char *) "gap", NULL
34540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34543 arg2
= (int) SWIG_AsInt(obj1
);
34544 if (PyErr_Occurred()) SWIG_fail
;
34546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34547 (arg1
)->SetVGap(arg2
);
34549 wxPyEndAllowThreads(__tstate
);
34550 if (PyErr_Occurred()) SWIG_fail
;
34552 Py_INCREF(Py_None
); resultobj
= Py_None
;
34559 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34560 PyObject
*resultobj
;
34561 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34563 PyObject
* obj0
= 0 ;
34564 PyObject
* obj1
= 0 ;
34565 char *kwnames
[] = {
34566 (char *) "self",(char *) "gap", NULL
34569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
34570 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34571 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34572 arg2
= (int) SWIG_AsInt(obj1
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34576 (arg1
)->SetHGap(arg2
);
34578 wxPyEndAllowThreads(__tstate
);
34579 if (PyErr_Occurred()) SWIG_fail
;
34581 Py_INCREF(Py_None
); resultobj
= Py_None
;
34588 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34589 PyObject
*resultobj
;
34590 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34592 PyObject
* obj0
= 0 ;
34593 char *kwnames
[] = {
34594 (char *) "self", NULL
34597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
34598 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34599 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34602 result
= (int)(arg1
)->GetCols();
34604 wxPyEndAllowThreads(__tstate
);
34605 if (PyErr_Occurred()) SWIG_fail
;
34607 resultobj
= SWIG_FromInt((int)result
);
34614 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34615 PyObject
*resultobj
;
34616 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34618 PyObject
* obj0
= 0 ;
34619 char *kwnames
[] = {
34620 (char *) "self", NULL
34623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
34624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34628 result
= (int)(arg1
)->GetRows();
34630 wxPyEndAllowThreads(__tstate
);
34631 if (PyErr_Occurred()) SWIG_fail
;
34633 resultobj
= SWIG_FromInt((int)result
);
34640 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34641 PyObject
*resultobj
;
34642 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 char *kwnames
[] = {
34646 (char *) "self", NULL
34649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
34650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34654 result
= (int)(arg1
)->GetVGap();
34656 wxPyEndAllowThreads(__tstate
);
34657 if (PyErr_Occurred()) SWIG_fail
;
34659 resultobj
= SWIG_FromInt((int)result
);
34666 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34667 PyObject
*resultobj
;
34668 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34670 PyObject
* obj0
= 0 ;
34671 char *kwnames
[] = {
34672 (char *) "self", NULL
34675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
34676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34680 result
= (int)(arg1
)->GetHGap();
34682 wxPyEndAllowThreads(__tstate
);
34683 if (PyErr_Occurred()) SWIG_fail
;
34685 resultobj
= SWIG_FromInt((int)result
);
34692 static PyObject
* GridSizer_swigregister(PyObject
*, PyObject
*args
) {
34694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34695 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
34697 return Py_BuildValue((char *)"");
34699 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34700 PyObject
*resultobj
;
34701 int arg1
= (int) 1 ;
34702 int arg2
= (int) 0 ;
34703 int arg3
= (int) 0 ;
34704 int arg4
= (int) 0 ;
34705 wxFlexGridSizer
*result
;
34706 PyObject
* obj0
= 0 ;
34707 PyObject
* obj1
= 0 ;
34708 PyObject
* obj2
= 0 ;
34709 PyObject
* obj3
= 0 ;
34710 char *kwnames
[] = {
34711 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34716 arg1
= (int) SWIG_AsInt(obj0
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34720 arg2
= (int) SWIG_AsInt(obj1
);
34721 if (PyErr_Occurred()) SWIG_fail
;
34724 arg3
= (int) SWIG_AsInt(obj2
);
34725 if (PyErr_Occurred()) SWIG_fail
;
34728 arg4
= (int) SWIG_AsInt(obj3
);
34729 if (PyErr_Occurred()) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
34745 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34757 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34758 (arg1
)->RecalcSizes();
34760 wxPyEndAllowThreads(__tstate
);
34761 if (PyErr_Occurred()) SWIG_fail
;
34763 Py_INCREF(Py_None
); resultobj
= Py_None
;
34770 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34771 PyObject
*resultobj
;
34772 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34774 PyObject
* obj0
= 0 ;
34775 char *kwnames
[] = {
34776 (char *) "self", NULL
34779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34780 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34781 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34784 result
= (arg1
)->CalcMin();
34786 wxPyEndAllowThreads(__tstate
);
34787 if (PyErr_Occurred()) SWIG_fail
;
34790 wxSize
* resultptr
;
34791 resultptr
= new wxSize((wxSize
&) result
);
34792 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34800 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34801 PyObject
*resultobj
;
34802 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34804 int arg3
= (int) 0 ;
34805 PyObject
* obj0
= 0 ;
34806 PyObject
* obj1
= 0 ;
34807 PyObject
* obj2
= 0 ;
34808 char *kwnames
[] = {
34809 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34815 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34816 if (PyErr_Occurred()) SWIG_fail
;
34818 arg3
= (int) SWIG_AsInt(obj2
);
34819 if (PyErr_Occurred()) SWIG_fail
;
34822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34823 (arg1
)->AddGrowableRow(arg2
,arg3
);
34825 wxPyEndAllowThreads(__tstate
);
34826 if (PyErr_Occurred()) SWIG_fail
;
34828 Py_INCREF(Py_None
); resultobj
= Py_None
;
34835 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34836 PyObject
*resultobj
;
34837 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34839 PyObject
* obj0
= 0 ;
34840 PyObject
* obj1
= 0 ;
34841 char *kwnames
[] = {
34842 (char *) "self",(char *) "idx", NULL
34845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
34846 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34847 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34848 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34849 if (PyErr_Occurred()) SWIG_fail
;
34851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34852 (arg1
)->RemoveGrowableRow(arg2
);
34854 wxPyEndAllowThreads(__tstate
);
34855 if (PyErr_Occurred()) SWIG_fail
;
34857 Py_INCREF(Py_None
); resultobj
= Py_None
;
34864 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34868 int arg3
= (int) 0 ;
34869 PyObject
* obj0
= 0 ;
34870 PyObject
* obj1
= 0 ;
34871 PyObject
* obj2
= 0 ;
34872 char *kwnames
[] = {
34873 (char *) "self",(char *) "idx",(char *) "proportion", NULL
34876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34879 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34880 if (PyErr_Occurred()) SWIG_fail
;
34882 arg3
= (int) SWIG_AsInt(obj2
);
34883 if (PyErr_Occurred()) SWIG_fail
;
34886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34887 (arg1
)->AddGrowableCol(arg2
,arg3
);
34889 wxPyEndAllowThreads(__tstate
);
34890 if (PyErr_Occurred()) SWIG_fail
;
34892 Py_INCREF(Py_None
); resultobj
= Py_None
;
34899 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34900 PyObject
*resultobj
;
34901 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34903 PyObject
* obj0
= 0 ;
34904 PyObject
* obj1
= 0 ;
34905 char *kwnames
[] = {
34906 (char *) "self",(char *) "idx", NULL
34909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
34910 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34911 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34912 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34916 (arg1
)->RemoveGrowableCol(arg2
);
34918 wxPyEndAllowThreads(__tstate
);
34919 if (PyErr_Occurred()) SWIG_fail
;
34921 Py_INCREF(Py_None
); resultobj
= Py_None
;
34928 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34929 PyObject
*resultobj
;
34930 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34932 PyObject
* obj0
= 0 ;
34933 PyObject
* obj1
= 0 ;
34934 char *kwnames
[] = {
34935 (char *) "self",(char *) "direction", NULL
34938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
34939 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34940 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34941 arg2
= (int) SWIG_AsInt(obj1
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34945 (arg1
)->SetFlexibleDirection(arg2
);
34947 wxPyEndAllowThreads(__tstate
);
34948 if (PyErr_Occurred()) SWIG_fail
;
34950 Py_INCREF(Py_None
); resultobj
= Py_None
;
34957 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34958 PyObject
*resultobj
;
34959 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34961 PyObject
* obj0
= 0 ;
34962 char *kwnames
[] = {
34963 (char *) "self", NULL
34966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
34967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34971 result
= (int)(arg1
)->GetFlexibleDirection();
34973 wxPyEndAllowThreads(__tstate
);
34974 if (PyErr_Occurred()) SWIG_fail
;
34976 resultobj
= SWIG_FromInt((int)result
);
34983 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
34984 PyObject
*resultobj
;
34985 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj1
= 0 ;
34989 char *kwnames
[] = {
34990 (char *) "self",(char *) "mode", NULL
34993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
34994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
34995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34996 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
34997 if (PyErr_Occurred()) SWIG_fail
;
34999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35000 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35002 wxPyEndAllowThreads(__tstate
);
35003 if (PyErr_Occurred()) SWIG_fail
;
35005 Py_INCREF(Py_None
); resultobj
= Py_None
;
35012 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35013 PyObject
*resultobj
;
35014 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35016 PyObject
* obj0
= 0 ;
35017 char *kwnames
[] = {
35018 (char *) "self", NULL
35021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 resultobj
= SWIG_FromInt((int)result
);
35038 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
;
35040 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35041 wxArrayInt
*result
;
35042 PyObject
* obj0
= 0 ;
35043 char *kwnames
[] = {
35044 (char *) "self", NULL
35047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35053 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35054 result
= (wxArrayInt
*) &_result_ref
;
35057 wxPyEndAllowThreads(__tstate
);
35058 if (PyErr_Occurred()) SWIG_fail
;
35061 resultobj
= PyList_New(0);
35063 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35064 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35065 PyList_Append(resultobj
, val
);
35075 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35076 PyObject
*resultobj
;
35077 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35078 wxArrayInt
*result
;
35079 PyObject
* obj0
= 0 ;
35080 char *kwnames
[] = {
35081 (char *) "self", NULL
35084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35090 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35091 result
= (wxArrayInt
*) &_result_ref
;
35094 wxPyEndAllowThreads(__tstate
);
35095 if (PyErr_Occurred()) SWIG_fail
;
35098 resultobj
= PyList_New(0);
35100 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35101 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35102 PyList_Append(resultobj
, val
);
35112 static PyObject
* FlexGridSizer_swigregister(PyObject
*, PyObject
*args
) {
35114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35115 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35117 return Py_BuildValue((char *)"");
35119 static PyObject
*_wrap_new_GBPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
;
35121 int arg1
= (int) 0 ;
35122 int arg2
= (int) 0 ;
35123 wxGBPosition
*result
;
35124 PyObject
* obj0
= 0 ;
35125 PyObject
* obj1
= 0 ;
35126 char *kwnames
[] = {
35127 (char *) "row",(char *) "col", NULL
35130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35132 arg1
= (int) SWIG_AsInt(obj0
);
35133 if (PyErr_Occurred()) SWIG_fail
;
35136 arg2
= (int) SWIG_AsInt(obj1
);
35137 if (PyErr_Occurred()) SWIG_fail
;
35140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35141 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35143 wxPyEndAllowThreads(__tstate
);
35144 if (PyErr_Occurred()) SWIG_fail
;
35146 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35153 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35154 PyObject
*resultobj
;
35155 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 char *kwnames
[] = {
35159 (char *) "self", NULL
35162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35163 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35164 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35167 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35169 wxPyEndAllowThreads(__tstate
);
35170 if (PyErr_Occurred()) SWIG_fail
;
35172 resultobj
= SWIG_FromInt((int)result
);
35179 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35183 PyObject
* obj0
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35189 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 resultobj
= SWIG_FromInt((int)result
);
35205 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
;
35207 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 PyObject
* obj1
= 0 ;
35211 char *kwnames
[] = {
35212 (char *) "self",(char *) "row", NULL
35215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35218 arg2
= (int) SWIG_AsInt(obj1
);
35219 if (PyErr_Occurred()) SWIG_fail
;
35221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35222 (arg1
)->SetRow(arg2
);
35224 wxPyEndAllowThreads(__tstate
);
35225 if (PyErr_Occurred()) SWIG_fail
;
35227 Py_INCREF(Py_None
); resultobj
= Py_None
;
35234 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35235 PyObject
*resultobj
;
35236 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35238 PyObject
* obj0
= 0 ;
35239 PyObject
* obj1
= 0 ;
35240 char *kwnames
[] = {
35241 (char *) "self",(char *) "col", NULL
35244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35245 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35246 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35247 arg2
= (int) SWIG_AsInt(obj1
);
35248 if (PyErr_Occurred()) SWIG_fail
;
35250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35251 (arg1
)->SetCol(arg2
);
35253 wxPyEndAllowThreads(__tstate
);
35254 if (PyErr_Occurred()) SWIG_fail
;
35256 Py_INCREF(Py_None
); resultobj
= Py_None
;
35263 static PyObject
*_wrap_GBPosition___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35264 PyObject
*resultobj
;
35265 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35266 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35268 PyObject
* obj0
= 0 ;
35269 PyObject
* obj1
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self",(char *) "other", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35277 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35281 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
35283 wxPyEndAllowThreads(__tstate
);
35284 if (PyErr_Occurred()) SWIG_fail
;
35286 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35293 static PyObject
*_wrap_GBPosition___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35294 PyObject
*resultobj
;
35295 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35296 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35298 PyObject
* obj0
= 0 ;
35299 PyObject
* obj1
= 0 ;
35300 char *kwnames
[] = {
35301 (char *) "self",(char *) "other", NULL
35304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35307 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35311 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35313 wxPyEndAllowThreads(__tstate
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35316 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35323 static PyObject
*_wrap_GBPosition_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35324 PyObject
*resultobj
;
35325 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35326 int arg2
= (int) 0 ;
35327 int arg3
= (int) 0 ;
35328 PyObject
* obj0
= 0 ;
35329 PyObject
* obj1
= 0 ;
35330 PyObject
* obj2
= 0 ;
35331 char *kwnames
[] = {
35332 (char *) "self",(char *) "row",(char *) "col", NULL
35335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35339 arg2
= (int) SWIG_AsInt(obj1
);
35340 if (PyErr_Occurred()) SWIG_fail
;
35343 arg3
= (int) SWIG_AsInt(obj2
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35348 wxGBPosition_Set(arg1
,arg2
,arg3
);
35350 wxPyEndAllowThreads(__tstate
);
35351 if (PyErr_Occurred()) SWIG_fail
;
35353 Py_INCREF(Py_None
); resultobj
= Py_None
;
35360 static PyObject
*_wrap_GBPosition_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35361 PyObject
*resultobj
;
35362 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35364 PyObject
* obj0
= 0 ;
35365 char *kwnames
[] = {
35366 (char *) "self", NULL
35369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35374 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35376 wxPyEndAllowThreads(__tstate
);
35377 if (PyErr_Occurred()) SWIG_fail
;
35379 resultobj
= result
;
35386 static PyObject
* GBPosition_swigregister(PyObject
*, PyObject
*args
) {
35388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35389 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35391 return Py_BuildValue((char *)"");
35393 static PyObject
*_wrap_new_GBSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35394 PyObject
*resultobj
;
35395 int arg1
= (int) 1 ;
35396 int arg2
= (int) 1 ;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "rowspan",(char *) "colspan", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35406 arg1
= (int) SWIG_AsInt(obj0
);
35407 if (PyErr_Occurred()) SWIG_fail
;
35410 arg2
= (int) SWIG_AsInt(obj1
);
35411 if (PyErr_Occurred()) SWIG_fail
;
35414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35415 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35417 wxPyEndAllowThreads(__tstate
);
35418 if (PyErr_Occurred()) SWIG_fail
;
35420 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
35427 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35428 PyObject
*resultobj
;
35429 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35431 PyObject
* obj0
= 0 ;
35432 char *kwnames
[] = {
35433 (char *) "self", NULL
35436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35437 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35438 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35441 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35443 wxPyEndAllowThreads(__tstate
);
35444 if (PyErr_Occurred()) SWIG_fail
;
35446 resultobj
= SWIG_FromInt((int)result
);
35453 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35454 PyObject
*resultobj
;
35455 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35457 PyObject
* obj0
= 0 ;
35458 char *kwnames
[] = {
35459 (char *) "self", NULL
35462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35463 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35467 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35469 wxPyEndAllowThreads(__tstate
);
35470 if (PyErr_Occurred()) SWIG_fail
;
35472 resultobj
= SWIG_FromInt((int)result
);
35479 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35480 PyObject
*resultobj
;
35481 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35483 PyObject
* obj0
= 0 ;
35484 PyObject
* obj1
= 0 ;
35485 char *kwnames
[] = {
35486 (char *) "self",(char *) "rowspan", NULL
35489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35492 arg2
= (int) SWIG_AsInt(obj1
);
35493 if (PyErr_Occurred()) SWIG_fail
;
35495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35496 (arg1
)->SetRowspan(arg2
);
35498 wxPyEndAllowThreads(__tstate
);
35499 if (PyErr_Occurred()) SWIG_fail
;
35501 Py_INCREF(Py_None
); resultobj
= Py_None
;
35508 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35509 PyObject
*resultobj
;
35510 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35512 PyObject
* obj0
= 0 ;
35513 PyObject
* obj1
= 0 ;
35514 char *kwnames
[] = {
35515 (char *) "self",(char *) "colspan", NULL
35518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35521 arg2
= (int) SWIG_AsInt(obj1
);
35522 if (PyErr_Occurred()) SWIG_fail
;
35524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35525 (arg1
)->SetColspan(arg2
);
35527 wxPyEndAllowThreads(__tstate
);
35528 if (PyErr_Occurred()) SWIG_fail
;
35530 Py_INCREF(Py_None
); resultobj
= Py_None
;
35537 static PyObject
*_wrap_GBSpan___eq__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35538 PyObject
*resultobj
;
35539 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35540 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35542 PyObject
* obj0
= 0 ;
35543 PyObject
* obj1
= 0 ;
35544 char *kwnames
[] = {
35545 (char *) "self",(char *) "other", NULL
35548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35551 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
35552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35555 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
35557 wxPyEndAllowThreads(__tstate
);
35558 if (PyErr_Occurred()) SWIG_fail
;
35560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35567 static PyObject
*_wrap_GBSpan___ne__(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35568 PyObject
*resultobj
;
35569 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35570 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
35572 PyObject
* obj0
= 0 ;
35573 PyObject
* obj1
= 0 ;
35574 char *kwnames
[] = {
35575 (char *) "self",(char *) "other", NULL
35578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35581 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
35582 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
35587 wxPyEndAllowThreads(__tstate
);
35588 if (PyErr_Occurred()) SWIG_fail
;
35590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35597 static PyObject
*_wrap_GBSpan_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35598 PyObject
*resultobj
;
35599 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35600 int arg2
= (int) 1 ;
35601 int arg3
= (int) 1 ;
35602 PyObject
* obj0
= 0 ;
35603 PyObject
* obj1
= 0 ;
35604 PyObject
* obj2
= 0 ;
35605 char *kwnames
[] = {
35606 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
35609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35613 arg2
= (int) SWIG_AsInt(obj1
);
35614 if (PyErr_Occurred()) SWIG_fail
;
35617 arg3
= (int) SWIG_AsInt(obj2
);
35618 if (PyErr_Occurred()) SWIG_fail
;
35621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35622 wxGBSpan_Set(arg1
,arg2
,arg3
);
35624 wxPyEndAllowThreads(__tstate
);
35625 if (PyErr_Occurred()) SWIG_fail
;
35627 Py_INCREF(Py_None
); resultobj
= Py_None
;
35634 static PyObject
*_wrap_GBSpan_Get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35635 PyObject
*resultobj
;
35636 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35638 PyObject
* obj0
= 0 ;
35639 char *kwnames
[] = {
35640 (char *) "self", NULL
35643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
35644 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35648 result
= (PyObject
*)wxGBSpan_Get(arg1
);
35650 wxPyEndAllowThreads(__tstate
);
35651 if (PyErr_Occurred()) SWIG_fail
;
35653 resultobj
= result
;
35660 static PyObject
* GBSpan_swigregister(PyObject
*, PyObject
*args
) {
35662 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35663 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
35665 return Py_BuildValue((char *)"");
35667 static int _wrap_DefaultSpan_set(PyObject
*) {
35668 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
35673 static PyObject
*_wrap_DefaultSpan_get() {
35676 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
35681 static PyObject
*_wrap_new_GBSizerItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
;
35683 wxGBSizerItem
*result
;
35684 char *kwnames
[] = {
35688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
35690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35691 result
= (wxGBSizerItem
*)new wxGBSizerItem();
35693 wxPyEndAllowThreads(__tstate
);
35694 if (PyErr_Occurred()) SWIG_fail
;
35696 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35703 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35704 PyObject
*resultobj
;
35705 wxWindow
*arg1
= (wxWindow
*) 0 ;
35706 wxGBPosition
*arg2
= 0 ;
35707 wxGBSpan
*arg3
= 0 ;
35710 wxObject
*arg6
= (wxObject
*) 0 ;
35711 wxGBSizerItem
*result
;
35712 wxGBPosition temp2
;
35714 PyObject
* obj0
= 0 ;
35715 PyObject
* obj1
= 0 ;
35716 PyObject
* obj2
= 0 ;
35717 PyObject
* obj3
= 0 ;
35718 PyObject
* obj4
= 0 ;
35719 PyObject
* obj5
= 0 ;
35720 char *kwnames
[] = {
35721 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
35726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35729 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35733 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35735 arg4
= (int) SWIG_AsInt(obj3
);
35736 if (PyErr_Occurred()) SWIG_fail
;
35737 arg5
= (int) SWIG_AsInt(obj4
);
35738 if (PyErr_Occurred()) SWIG_fail
;
35739 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
35740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35743 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35745 wxPyEndAllowThreads(__tstate
);
35746 if (PyErr_Occurred()) SWIG_fail
;
35748 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35755 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35756 PyObject
*resultobj
;
35757 wxSizer
*arg1
= (wxSizer
*) 0 ;
35758 wxGBPosition
*arg2
= 0 ;
35759 wxGBSpan
*arg3
= 0 ;
35762 wxObject
*arg6
= (wxObject
*) 0 ;
35763 wxGBSizerItem
*result
;
35764 wxGBPosition temp2
;
35766 PyObject
* obj0
= 0 ;
35767 PyObject
* obj1
= 0 ;
35768 PyObject
* obj2
= 0 ;
35769 PyObject
* obj3
= 0 ;
35770 PyObject
* obj4
= 0 ;
35771 PyObject
* obj5
= 0 ;
35772 char *kwnames
[] = {
35773 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
35777 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
35778 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35781 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35785 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
35787 arg4
= (int) SWIG_AsInt(obj3
);
35788 if (PyErr_Occurred()) SWIG_fail
;
35789 arg5
= (int) SWIG_AsInt(obj4
);
35790 if (PyErr_Occurred()) SWIG_fail
;
35791 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
35792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35795 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
35797 wxPyEndAllowThreads(__tstate
);
35798 if (PyErr_Occurred()) SWIG_fail
;
35800 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35807 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35808 PyObject
*resultobj
;
35811 wxGBPosition
*arg3
= 0 ;
35812 wxGBSpan
*arg4
= 0 ;
35815 wxObject
*arg7
= (wxObject
*) 0 ;
35816 wxGBSizerItem
*result
;
35817 wxGBPosition temp3
;
35819 PyObject
* obj0
= 0 ;
35820 PyObject
* obj1
= 0 ;
35821 PyObject
* obj2
= 0 ;
35822 PyObject
* obj3
= 0 ;
35823 PyObject
* obj4
= 0 ;
35824 PyObject
* obj5
= 0 ;
35825 PyObject
* obj6
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
35831 arg1
= (int) SWIG_AsInt(obj0
);
35832 if (PyErr_Occurred()) SWIG_fail
;
35833 arg2
= (int) SWIG_AsInt(obj1
);
35834 if (PyErr_Occurred()) SWIG_fail
;
35837 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
35841 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
35843 arg5
= (int) SWIG_AsInt(obj4
);
35844 if (PyErr_Occurred()) SWIG_fail
;
35845 arg6
= (int) SWIG_AsInt(obj5
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35847 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
35848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
35863 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
;
35865 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35866 wxGBPosition result
;
35867 PyObject
* obj0
= 0 ;
35868 char *kwnames
[] = {
35869 (char *) "self", NULL
35872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
35873 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35874 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35877 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
35879 wxPyEndAllowThreads(__tstate
);
35880 if (PyErr_Occurred()) SWIG_fail
;
35883 wxGBPosition
* resultptr
;
35884 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
35885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
35893 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35894 PyObject
*resultobj
;
35895 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35897 PyObject
* obj0
= 0 ;
35898 char *kwnames
[] = {
35899 (char *) "self", NULL
35902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
35903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35907 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
35909 wxPyEndAllowThreads(__tstate
);
35910 if (PyErr_Occurred()) SWIG_fail
;
35913 wxGBSpan
* resultptr
;
35914 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
35915 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
35923 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35924 PyObject
*resultobj
;
35925 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35926 wxGBPosition
*arg2
= 0 ;
35928 wxGBPosition temp2
;
35929 PyObject
* obj0
= 0 ;
35930 PyObject
* obj1
= 0 ;
35931 char *kwnames
[] = {
35932 (char *) "self",(char *) "pos", NULL
35935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
35936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35940 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
35943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35944 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
35946 wxPyEndAllowThreads(__tstate
);
35947 if (PyErr_Occurred()) SWIG_fail
;
35949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35956 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
35957 PyObject
*resultobj
;
35958 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35959 wxGBSpan
*arg2
= 0 ;
35962 PyObject
* obj0
= 0 ;
35963 PyObject
* obj1
= 0 ;
35964 char *kwnames
[] = {
35965 (char *) "self",(char *) "span", NULL
35968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35969 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35970 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35973 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
35976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35977 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
35979 wxPyEndAllowThreads(__tstate
);
35980 if (PyErr_Occurred()) SWIG_fail
;
35982 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35989 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*, PyObject
*args
) {
35990 PyObject
*resultobj
;
35991 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
35992 wxGBSizerItem
*arg2
= 0 ;
35994 PyObject
* obj0
= 0 ;
35995 PyObject
* obj1
= 0 ;
35997 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
35998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
35999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36000 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36001 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36003 if (arg2
== NULL
) {
36004 PyErr_SetString(PyExc_TypeError
,"null reference");
36008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36009 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36011 wxPyEndAllowThreads(__tstate
);
36012 if (PyErr_Occurred()) SWIG_fail
;
36014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36021 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*, PyObject
*args
) {
36022 PyObject
*resultobj
;
36023 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36024 wxGBPosition
*arg2
= 0 ;
36025 wxGBSpan
*arg3
= 0 ;
36027 wxGBPosition temp2
;
36029 PyObject
* obj0
= 0 ;
36030 PyObject
* obj1
= 0 ;
36031 PyObject
* obj2
= 0 ;
36033 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36034 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36035 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36038 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36042 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36046 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36048 wxPyEndAllowThreads(__tstate
);
36049 if (PyErr_Occurred()) SWIG_fail
;
36051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36058 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36063 argc
= PyObject_Length(args
);
36064 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36065 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36071 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36081 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36089 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36097 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36106 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36110 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36113 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36119 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36124 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36125 PyObject
*resultobj
;
36126 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36129 PyObject
* obj0
= 0 ;
36130 PyObject
* obj1
= 0 ;
36131 PyObject
* obj2
= 0 ;
36132 char *kwnames
[] = {
36133 (char *) "self",(char *) "row",(char *) "col", NULL
36136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36140 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36142 if (arg2
== NULL
) {
36143 PyErr_SetString(PyExc_TypeError
,"null reference");
36146 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36147 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36149 if (arg3
== NULL
) {
36150 PyErr_SetString(PyExc_TypeError
,"null reference");
36154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36155 (arg1
)->GetEndPos(*arg2
,*arg3
);
36157 wxPyEndAllowThreads(__tstate
);
36158 if (PyErr_Occurred()) SWIG_fail
;
36160 Py_INCREF(Py_None
); resultobj
= Py_None
;
36167 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36168 PyObject
*resultobj
;
36169 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36170 wxGridBagSizer
*result
;
36171 PyObject
* obj0
= 0 ;
36172 char *kwnames
[] = {
36173 (char *) "self", NULL
36176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36177 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36178 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36181 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36183 wxPyEndAllowThreads(__tstate
);
36184 if (PyErr_Occurred()) SWIG_fail
;
36186 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36193 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36194 PyObject
*resultobj
;
36195 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36196 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36197 PyObject
* obj0
= 0 ;
36198 PyObject
* obj1
= 0 ;
36199 char *kwnames
[] = {
36200 (char *) "self",(char *) "sizer", NULL
36203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36204 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36205 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36206 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36210 (arg1
)->SetGBSizer(arg2
);
36212 wxPyEndAllowThreads(__tstate
);
36213 if (PyErr_Occurred()) SWIG_fail
;
36215 Py_INCREF(Py_None
); resultobj
= Py_None
;
36222 static PyObject
* GBSizerItem_swigregister(PyObject
*, PyObject
*args
) {
36224 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36225 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36227 return Py_BuildValue((char *)"");
36229 static PyObject
*_wrap_new_GridBagSizer(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36230 PyObject
*resultobj
;
36231 int arg1
= (int) 0 ;
36232 int arg2
= (int) 0 ;
36233 wxGridBagSizer
*result
;
36234 PyObject
* obj0
= 0 ;
36235 PyObject
* obj1
= 0 ;
36236 char *kwnames
[] = {
36237 (char *) "vgap",(char *) "hgap", NULL
36240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36242 arg1
= (int) SWIG_AsInt(obj0
);
36243 if (PyErr_Occurred()) SWIG_fail
;
36246 arg2
= (int) SWIG_AsInt(obj1
);
36247 if (PyErr_Occurred()) SWIG_fail
;
36250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36251 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36253 wxPyEndAllowThreads(__tstate
);
36254 if (PyErr_Occurred()) SWIG_fail
;
36256 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36263 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36264 PyObject
*resultobj
;
36265 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36266 PyObject
*arg2
= (PyObject
*) 0 ;
36267 wxGBPosition
*arg3
= 0 ;
36268 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36269 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36270 int arg5
= (int) 0 ;
36271 int arg6
= (int) 0 ;
36272 PyObject
*arg7
= (PyObject
*) NULL
;
36274 wxGBPosition temp3
;
36276 PyObject
* obj0
= 0 ;
36277 PyObject
* obj1
= 0 ;
36278 PyObject
* obj2
= 0 ;
36279 PyObject
* obj3
= 0 ;
36280 PyObject
* obj4
= 0 ;
36281 PyObject
* obj5
= 0 ;
36282 PyObject
* obj6
= 0 ;
36283 char *kwnames
[] = {
36284 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36288 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36289 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36293 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36298 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36302 arg5
= (int) SWIG_AsInt(obj4
);
36303 if (PyErr_Occurred()) SWIG_fail
;
36306 arg6
= (int) SWIG_AsInt(obj5
);
36307 if (PyErr_Occurred()) SWIG_fail
;
36313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36314 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36316 wxPyEndAllowThreads(__tstate
);
36317 if (PyErr_Occurred()) SWIG_fail
;
36319 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36326 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36327 PyObject
*resultobj
;
36328 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36329 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36331 PyObject
* obj0
= 0 ;
36332 PyObject
* obj1
= 0 ;
36333 char *kwnames
[] = {
36334 (char *) "self",(char *) "item", NULL
36337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36344 result
= (bool)(arg1
)->Add(arg2
);
36346 wxPyEndAllowThreads(__tstate
);
36347 if (PyErr_Occurred()) SWIG_fail
;
36349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36356 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36357 PyObject
*resultobj
;
36358 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36360 PyObject
* obj0
= 0 ;
36361 char *kwnames
[] = {
36362 (char *) "self", NULL
36365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36370 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36372 wxPyEndAllowThreads(__tstate
);
36373 if (PyErr_Occurred()) SWIG_fail
;
36376 wxSize
* resultptr
;
36377 resultptr
= new wxSize((wxSize
&) result
);
36378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36386 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
36387 PyObject
*resultobj
;
36388 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36391 PyObject
* obj0
= 0 ;
36392 PyObject
* obj1
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self",(char *) "sz", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36402 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36406 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36408 wxPyEndAllowThreads(__tstate
);
36409 if (PyErr_Occurred()) SWIG_fail
;
36411 Py_INCREF(Py_None
); resultobj
= Py_None
;
36418 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
36419 PyObject
*resultobj
;
36420 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36421 wxWindow
*arg2
= (wxWindow
*) 0 ;
36422 wxGBPosition result
;
36423 PyObject
* obj0
= 0 ;
36424 PyObject
* obj1
= 0 ;
36426 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36427 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36428 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36429 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36433 result
= (arg1
)->GetItemPosition(arg2
);
36435 wxPyEndAllowThreads(__tstate
);
36436 if (PyErr_Occurred()) SWIG_fail
;
36439 wxGBPosition
* resultptr
;
36440 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36441 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36449 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
36450 PyObject
*resultobj
;
36451 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36452 wxSizer
*arg2
= (wxSizer
*) 0 ;
36453 wxGBPosition result
;
36454 PyObject
* obj0
= 0 ;
36455 PyObject
* obj1
= 0 ;
36457 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36460 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36461 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36464 result
= (arg1
)->GetItemPosition(arg2
);
36466 wxPyEndAllowThreads(__tstate
);
36467 if (PyErr_Occurred()) SWIG_fail
;
36470 wxGBPosition
* resultptr
;
36471 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36472 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36480 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
36481 PyObject
*resultobj
;
36482 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36484 wxGBPosition result
;
36485 PyObject
* obj0
= 0 ;
36486 PyObject
* obj1
= 0 ;
36488 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36491 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36492 if (PyErr_Occurred()) SWIG_fail
;
36494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36495 result
= (arg1
)->GetItemPosition(arg2
);
36497 wxPyEndAllowThreads(__tstate
);
36498 if (PyErr_Occurred()) SWIG_fail
;
36501 wxGBPosition
* resultptr
;
36502 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36503 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36511 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
36516 argc
= PyObject_Length(args
);
36517 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36518 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36524 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36534 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36542 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
36550 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36560 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36568 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
36576 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36584 _v
= SWIG_CheckUnsignedLong(argv
[1]);
36586 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
36591 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
36596 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*, PyObject
*args
) {
36597 PyObject
*resultobj
;
36598 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36599 wxWindow
*arg2
= (wxWindow
*) 0 ;
36600 wxGBPosition
*arg3
= 0 ;
36602 wxGBPosition temp3
;
36603 PyObject
* obj0
= 0 ;
36604 PyObject
* obj1
= 0 ;
36605 PyObject
* obj2
= 0 ;
36607 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36614 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36618 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36620 wxPyEndAllowThreads(__tstate
);
36621 if (PyErr_Occurred()) SWIG_fail
;
36623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36630 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*, PyObject
*args
) {
36631 PyObject
*resultobj
;
36632 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36633 wxSizer
*arg2
= (wxSizer
*) 0 ;
36634 wxGBPosition
*arg3
= 0 ;
36636 wxGBPosition temp3
;
36637 PyObject
* obj0
= 0 ;
36638 PyObject
* obj1
= 0 ;
36639 PyObject
* obj2
= 0 ;
36641 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36642 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36644 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36645 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36648 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36652 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36654 wxPyEndAllowThreads(__tstate
);
36655 if (PyErr_Occurred()) SWIG_fail
;
36657 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36664 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*, PyObject
*args
) {
36665 PyObject
*resultobj
;
36666 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36668 wxGBPosition
*arg3
= 0 ;
36670 wxGBPosition temp3
;
36671 PyObject
* obj0
= 0 ;
36672 PyObject
* obj1
= 0 ;
36673 PyObject
* obj2
= 0 ;
36675 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
36676 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36677 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36678 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36682 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36686 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
36688 wxPyEndAllowThreads(__tstate
);
36689 if (PyErr_Occurred()) SWIG_fail
;
36691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36698 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
36703 argc
= PyObject_Length(args
);
36704 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36705 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36711 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36721 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36730 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36733 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
36742 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36752 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36761 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36764 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
36773 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36781 _v
= SWIG_CheckUnsignedLong(argv
[1]);
36784 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
36787 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
36793 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
36798 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
36799 PyObject
*resultobj
;
36800 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36801 wxWindow
*arg2
= (wxWindow
*) 0 ;
36803 PyObject
* obj0
= 0 ;
36804 PyObject
* obj1
= 0 ;
36806 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36810 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36813 result
= (arg1
)->GetItemSpan(arg2
);
36815 wxPyEndAllowThreads(__tstate
);
36816 if (PyErr_Occurred()) SWIG_fail
;
36819 wxGBSpan
* resultptr
;
36820 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36821 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36829 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
36830 PyObject
*resultobj
;
36831 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36832 wxSizer
*arg2
= (wxSizer
*) 0 ;
36834 PyObject
* obj0
= 0 ;
36835 PyObject
* obj1
= 0 ;
36837 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36840 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36844 result
= (arg1
)->GetItemSpan(arg2
);
36846 wxPyEndAllowThreads(__tstate
);
36847 if (PyErr_Occurred()) SWIG_fail
;
36850 wxGBSpan
* resultptr
;
36851 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36852 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36860 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
36861 PyObject
*resultobj
;
36862 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36865 PyObject
* obj0
= 0 ;
36866 PyObject
* obj1
= 0 ;
36868 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
36869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36871 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36872 if (PyErr_Occurred()) SWIG_fail
;
36874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36875 result
= (arg1
)->GetItemSpan(arg2
);
36877 wxPyEndAllowThreads(__tstate
);
36878 if (PyErr_Occurred()) SWIG_fail
;
36881 wxGBSpan
* resultptr
;
36882 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36891 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
36896 argc
= PyObject_Length(args
);
36897 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
36898 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36904 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36914 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
36922 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
36930 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36940 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
36948 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
36956 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
36964 _v
= SWIG_CheckUnsignedLong(argv
[1]);
36966 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
36971 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
36976 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*, PyObject
*args
) {
36977 PyObject
*resultobj
;
36978 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36979 wxWindow
*arg2
= (wxWindow
*) 0 ;
36980 wxGBSpan
*arg3
= 0 ;
36983 PyObject
* obj0
= 0 ;
36984 PyObject
* obj1
= 0 ;
36985 PyObject
* obj2
= 0 ;
36987 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
36988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36990 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36994 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36998 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37000 wxPyEndAllowThreads(__tstate
);
37001 if (PyErr_Occurred()) SWIG_fail
;
37003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37010 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*, PyObject
*args
) {
37011 PyObject
*resultobj
;
37012 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37013 wxSizer
*arg2
= (wxSizer
*) 0 ;
37014 wxGBSpan
*arg3
= 0 ;
37017 PyObject
* obj0
= 0 ;
37018 PyObject
* obj1
= 0 ;
37019 PyObject
* obj2
= 0 ;
37021 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37024 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37028 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37032 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37034 wxPyEndAllowThreads(__tstate
);
37035 if (PyErr_Occurred()) SWIG_fail
;
37037 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37044 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*, PyObject
*args
) {
37045 PyObject
*resultobj
;
37046 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37048 wxGBSpan
*arg3
= 0 ;
37051 PyObject
* obj0
= 0 ;
37052 PyObject
* obj1
= 0 ;
37053 PyObject
* obj2
= 0 ;
37055 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37058 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37059 if (PyErr_Occurred()) SWIG_fail
;
37062 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37066 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37068 wxPyEndAllowThreads(__tstate
);
37069 if (PyErr_Occurred()) SWIG_fail
;
37071 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37078 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37083 argc
= PyObject_Length(args
);
37084 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37085 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37091 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37101 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37110 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37113 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37122 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37132 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37141 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37144 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37153 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37161 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37164 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37167 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37173 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37178 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*, PyObject
*args
) {
37179 PyObject
*resultobj
;
37180 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37181 wxWindow
*arg2
= (wxWindow
*) 0 ;
37182 wxGBSizerItem
*result
;
37183 PyObject
* obj0
= 0 ;
37184 PyObject
* obj1
= 0 ;
37186 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37189 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37190 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37193 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37195 wxPyEndAllowThreads(__tstate
);
37196 if (PyErr_Occurred()) SWIG_fail
;
37198 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37205 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*, PyObject
*args
) {
37206 PyObject
*resultobj
;
37207 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37208 wxSizer
*arg2
= (wxSizer
*) 0 ;
37209 wxGBSizerItem
*result
;
37210 PyObject
* obj0
= 0 ;
37211 PyObject
* obj1
= 0 ;
37213 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37214 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37215 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37216 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37220 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37222 wxPyEndAllowThreads(__tstate
);
37223 if (PyErr_Occurred()) SWIG_fail
;
37225 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37232 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37237 argc
= PyObject_Length(args
);
37238 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37239 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37245 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37255 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37263 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37271 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37281 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37289 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37294 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37299 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37300 PyObject
*resultobj
;
37301 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37302 wxGBPosition
*arg2
= 0 ;
37303 wxGBSizerItem
*result
;
37304 wxGBPosition temp2
;
37305 PyObject
* obj0
= 0 ;
37306 PyObject
* obj1
= 0 ;
37307 char *kwnames
[] = {
37308 (char *) "self",(char *) "pos", NULL
37311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37316 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37320 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37322 wxPyEndAllowThreads(__tstate
);
37323 if (PyErr_Occurred()) SWIG_fail
;
37325 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37332 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37333 PyObject
*resultobj
;
37334 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37335 wxPoint
*arg2
= 0 ;
37336 wxGBSizerItem
*result
;
37338 PyObject
* obj0
= 0 ;
37339 PyObject
* obj1
= 0 ;
37340 char *kwnames
[] = {
37341 (char *) "self",(char *) "pt", NULL
37344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37345 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37346 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37349 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37353 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37355 wxPyEndAllowThreads(__tstate
);
37356 if (PyErr_Occurred()) SWIG_fail
;
37358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37365 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37366 PyObject
*resultobj
;
37367 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37368 wxObject
*arg2
= (wxObject
*) 0 ;
37369 wxGBSizerItem
*result
;
37370 PyObject
* obj0
= 0 ;
37371 PyObject
* obj1
= 0 ;
37372 char *kwnames
[] = {
37373 (char *) "self",(char *) "userData", NULL
37376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37377 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37378 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37379 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37383 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37385 wxPyEndAllowThreads(__tstate
);
37386 if (PyErr_Occurred()) SWIG_fail
;
37388 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37395 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37396 PyObject
*resultobj
;
37397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37398 PyObject
* obj0
= 0 ;
37399 char *kwnames
[] = {
37400 (char *) "self", NULL
37403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37404 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37405 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37408 (arg1
)->RecalcSizes();
37410 wxPyEndAllowThreads(__tstate
);
37411 if (PyErr_Occurred()) SWIG_fail
;
37413 Py_INCREF(Py_None
); resultobj
= Py_None
;
37420 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37421 PyObject
*resultobj
;
37422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37424 PyObject
* obj0
= 0 ;
37425 char *kwnames
[] = {
37426 (char *) "self", NULL
37429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37434 result
= (arg1
)->CalcMin();
37436 wxPyEndAllowThreads(__tstate
);
37437 if (PyErr_Occurred()) SWIG_fail
;
37440 wxSize
* resultptr
;
37441 resultptr
= new wxSize((wxSize
&) result
);
37442 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37450 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*, PyObject
*args
) {
37451 PyObject
*resultobj
;
37452 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37453 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37454 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37456 PyObject
* obj0
= 0 ;
37457 PyObject
* obj1
= 0 ;
37458 PyObject
* obj2
= 0 ;
37460 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37466 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
37467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37471 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37473 wxPyEndAllowThreads(__tstate
);
37474 if (PyErr_Occurred()) SWIG_fail
;
37476 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37483 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*, PyObject
*args
) {
37484 PyObject
*resultobj
;
37485 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37486 wxGBPosition
*arg2
= 0 ;
37487 wxGBSpan
*arg3
= 0 ;
37488 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37490 wxGBPosition temp2
;
37492 PyObject
* obj0
= 0 ;
37493 PyObject
* obj1
= 0 ;
37494 PyObject
* obj2
= 0 ;
37495 PyObject
* obj3
= 0 ;
37497 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37498 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37499 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37502 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37506 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37509 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
37510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37514 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
37516 wxPyEndAllowThreads(__tstate
);
37517 if (PyErr_Occurred()) SWIG_fail
;
37519 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37526 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
37531 argc
= PyObject_Length(args
);
37532 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
37533 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37535 if ((argc
>= 2) && (argc
<= 3)) {
37539 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37549 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37558 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37562 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37570 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
37575 if ((argc
>= 3) && (argc
<= 4)) {
37579 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37588 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
37592 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37596 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37600 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
37608 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
37615 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
37620 static PyObject
* GridBagSizer_swigregister(PyObject
*, PyObject
*args
) {
37622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
37623 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
37625 return Py_BuildValue((char *)"");
37627 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37628 PyObject
*resultobj
;
37629 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37631 wxWindow
*arg3
= (wxWindow
*) 0 ;
37633 int arg5
= (int) 0 ;
37634 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
37635 PyObject
* obj0
= 0 ;
37636 PyObject
* obj1
= 0 ;
37637 PyObject
* obj2
= 0 ;
37638 PyObject
* obj3
= 0 ;
37639 PyObject
* obj4
= 0 ;
37640 PyObject
* obj5
= 0 ;
37641 char *kwnames
[] = {
37642 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
37645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
37646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37648 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
37649 if (PyErr_Occurred()) SWIG_fail
;
37650 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
37651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37652 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
37653 if (PyErr_Occurred()) SWIG_fail
;
37655 arg5
= (int) SWIG_AsInt(obj4
);
37656 if (PyErr_Occurred()) SWIG_fail
;
37659 arg6
= (int) SWIG_AsInt(obj5
);
37660 if (PyErr_Occurred()) SWIG_fail
;
37663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37664 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
37666 wxPyEndAllowThreads(__tstate
);
37667 if (PyErr_Occurred()) SWIG_fail
;
37669 Py_INCREF(Py_None
); resultobj
= Py_None
;
37676 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37677 PyObject
*resultobj
;
37678 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37679 wxWindow
*arg2
= (wxWindow
*) 0 ;
37680 int arg3
= (int) 0 ;
37681 PyObject
* obj0
= 0 ;
37682 PyObject
* obj1
= 0 ;
37683 PyObject
* obj2
= 0 ;
37684 char *kwnames
[] = {
37685 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37689 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37690 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37691 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37694 arg3
= (int) SWIG_AsInt(obj2
);
37695 if (PyErr_Occurred()) SWIG_fail
;
37698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37699 (arg1
)->LeftOf(arg2
,arg3
);
37701 wxPyEndAllowThreads(__tstate
);
37702 if (PyErr_Occurred()) SWIG_fail
;
37704 Py_INCREF(Py_None
); resultobj
= Py_None
;
37711 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37712 PyObject
*resultobj
;
37713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37714 wxWindow
*arg2
= (wxWindow
*) 0 ;
37715 int arg3
= (int) 0 ;
37716 PyObject
* obj0
= 0 ;
37717 PyObject
* obj1
= 0 ;
37718 PyObject
* obj2
= 0 ;
37719 char *kwnames
[] = {
37720 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37724 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37725 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37726 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37729 arg3
= (int) SWIG_AsInt(obj2
);
37730 if (PyErr_Occurred()) SWIG_fail
;
37733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37734 (arg1
)->RightOf(arg2
,arg3
);
37736 wxPyEndAllowThreads(__tstate
);
37737 if (PyErr_Occurred()) SWIG_fail
;
37739 Py_INCREF(Py_None
); resultobj
= Py_None
;
37746 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37747 PyObject
*resultobj
;
37748 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37749 wxWindow
*arg2
= (wxWindow
*) 0 ;
37750 int arg3
= (int) 0 ;
37751 PyObject
* obj0
= 0 ;
37752 PyObject
* obj1
= 0 ;
37753 PyObject
* obj2
= 0 ;
37754 char *kwnames
[] = {
37755 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37761 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37764 arg3
= (int) SWIG_AsInt(obj2
);
37765 if (PyErr_Occurred()) SWIG_fail
;
37768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37769 (arg1
)->Above(arg2
,arg3
);
37771 wxPyEndAllowThreads(__tstate
);
37772 if (PyErr_Occurred()) SWIG_fail
;
37774 Py_INCREF(Py_None
); resultobj
= Py_None
;
37781 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37782 PyObject
*resultobj
;
37783 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37784 wxWindow
*arg2
= (wxWindow
*) 0 ;
37785 int arg3
= (int) 0 ;
37786 PyObject
* obj0
= 0 ;
37787 PyObject
* obj1
= 0 ;
37788 PyObject
* obj2
= 0 ;
37789 char *kwnames
[] = {
37790 (char *) "self",(char *) "sibling",(char *) "marg", NULL
37793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
37794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37796 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37797 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37799 arg3
= (int) SWIG_AsInt(obj2
);
37800 if (PyErr_Occurred()) SWIG_fail
;
37803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37804 (arg1
)->Below(arg2
,arg3
);
37806 wxPyEndAllowThreads(__tstate
);
37807 if (PyErr_Occurred()) SWIG_fail
;
37809 Py_INCREF(Py_None
); resultobj
= Py_None
;
37816 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37817 PyObject
*resultobj
;
37818 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37819 wxWindow
*arg2
= (wxWindow
*) 0 ;
37821 int arg4
= (int) 0 ;
37822 PyObject
* obj0
= 0 ;
37823 PyObject
* obj1
= 0 ;
37824 PyObject
* obj2
= 0 ;
37825 PyObject
* obj3
= 0 ;
37826 char *kwnames
[] = {
37827 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
37830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37833 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37835 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
37836 if (PyErr_Occurred()) SWIG_fail
;
37838 arg4
= (int) SWIG_AsInt(obj3
);
37839 if (PyErr_Occurred()) SWIG_fail
;
37842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37843 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
37845 wxPyEndAllowThreads(__tstate
);
37846 if (PyErr_Occurred()) SWIG_fail
;
37848 Py_INCREF(Py_None
); resultobj
= Py_None
;
37855 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37856 PyObject
*resultobj
;
37857 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37858 wxWindow
*arg2
= (wxWindow
*) 0 ;
37861 PyObject
* obj0
= 0 ;
37862 PyObject
* obj1
= 0 ;
37863 PyObject
* obj2
= 0 ;
37864 PyObject
* obj3
= 0 ;
37865 char *kwnames
[] = {
37866 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
37869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37872 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37874 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
37875 if (PyErr_Occurred()) SWIG_fail
;
37876 arg4
= (int) SWIG_AsInt(obj3
);
37877 if (PyErr_Occurred()) SWIG_fail
;
37879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37880 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
37882 wxPyEndAllowThreads(__tstate
);
37883 if (PyErr_Occurred()) SWIG_fail
;
37885 Py_INCREF(Py_None
); resultobj
= Py_None
;
37892 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37893 PyObject
*resultobj
;
37894 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37896 PyObject
* obj0
= 0 ;
37897 PyObject
* obj1
= 0 ;
37898 char *kwnames
[] = {
37899 (char *) "self",(char *) "val", NULL
37902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
37903 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37904 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37905 arg2
= (int) SWIG_AsInt(obj1
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37909 (arg1
)->Absolute(arg2
);
37911 wxPyEndAllowThreads(__tstate
);
37912 if (PyErr_Occurred()) SWIG_fail
;
37914 Py_INCREF(Py_None
); resultobj
= Py_None
;
37921 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37922 PyObject
*resultobj
;
37923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37924 PyObject
* obj0
= 0 ;
37925 char *kwnames
[] = {
37926 (char *) "self", NULL
37929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
37930 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37931 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37934 (arg1
)->Unconstrained();
37936 wxPyEndAllowThreads(__tstate
);
37937 if (PyErr_Occurred()) SWIG_fail
;
37939 Py_INCREF(Py_None
); resultobj
= Py_None
;
37946 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37947 PyObject
*resultobj
;
37948 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37949 PyObject
* obj0
= 0 ;
37950 char *kwnames
[] = {
37951 (char *) "self", NULL
37954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
37955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37961 wxPyEndAllowThreads(__tstate
);
37962 if (PyErr_Occurred()) SWIG_fail
;
37964 Py_INCREF(Py_None
); resultobj
= Py_None
;
37971 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
37972 PyObject
*resultobj
;
37973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
37975 PyObject
* obj0
= 0 ;
37976 char *kwnames
[] = {
37977 (char *) "self", NULL
37980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
37981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
37982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37985 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
37987 wxPyEndAllowThreads(__tstate
);
37988 if (PyErr_Occurred()) SWIG_fail
;
37991 resultobj
= wxPyMake_wxObject(result
);
37999 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38000 PyObject
*resultobj
;
38001 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38003 PyObject
* obj0
= 0 ;
38004 char *kwnames
[] = {
38005 (char *) "self", NULL
38008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38013 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38015 wxPyEndAllowThreads(__tstate
);
38016 if (PyErr_Occurred()) SWIG_fail
;
38018 resultobj
= SWIG_FromInt((int)result
);
38025 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38026 PyObject
*resultobj
;
38027 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38029 PyObject
* obj0
= 0 ;
38030 PyObject
* obj1
= 0 ;
38031 char *kwnames
[] = {
38032 (char *) "self",(char *) "which", NULL
38035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38038 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38039 if (PyErr_Occurred()) SWIG_fail
;
38041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38042 (arg1
)->SetEdge((wxEdge
)arg2
);
38044 wxPyEndAllowThreads(__tstate
);
38045 if (PyErr_Occurred()) SWIG_fail
;
38047 Py_INCREF(Py_None
); resultobj
= Py_None
;
38054 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38055 PyObject
*resultobj
;
38056 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38058 PyObject
* obj0
= 0 ;
38059 PyObject
* obj1
= 0 ;
38060 char *kwnames
[] = {
38061 (char *) "self",(char *) "v", NULL
38064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38067 arg2
= (int) SWIG_AsInt(obj1
);
38068 if (PyErr_Occurred()) SWIG_fail
;
38070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38071 (arg1
)->SetValue(arg2
);
38073 wxPyEndAllowThreads(__tstate
);
38074 if (PyErr_Occurred()) SWIG_fail
;
38076 Py_INCREF(Py_None
); resultobj
= Py_None
;
38083 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38084 PyObject
*resultobj
;
38085 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38087 PyObject
* obj0
= 0 ;
38088 char *kwnames
[] = {
38089 (char *) "self", NULL
38092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38097 result
= (int)(arg1
)->GetMargin();
38099 wxPyEndAllowThreads(__tstate
);
38100 if (PyErr_Occurred()) SWIG_fail
;
38102 resultobj
= SWIG_FromInt((int)result
);
38109 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38110 PyObject
*resultobj
;
38111 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38113 PyObject
* obj0
= 0 ;
38114 PyObject
* obj1
= 0 ;
38115 char *kwnames
[] = {
38116 (char *) "self",(char *) "m", NULL
38119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38120 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38121 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38122 arg2
= (int) SWIG_AsInt(obj1
);
38123 if (PyErr_Occurred()) SWIG_fail
;
38125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38126 (arg1
)->SetMargin(arg2
);
38128 wxPyEndAllowThreads(__tstate
);
38129 if (PyErr_Occurred()) SWIG_fail
;
38131 Py_INCREF(Py_None
); resultobj
= Py_None
;
38138 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38139 PyObject
*resultobj
;
38140 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38142 PyObject
* obj0
= 0 ;
38143 char *kwnames
[] = {
38144 (char *) "self", NULL
38147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38148 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38149 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38152 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38154 wxPyEndAllowThreads(__tstate
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38157 resultobj
= SWIG_FromInt((int)result
);
38164 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38165 PyObject
*resultobj
;
38166 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38168 PyObject
* obj0
= 0 ;
38169 char *kwnames
[] = {
38170 (char *) "self", NULL
38173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38178 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38180 wxPyEndAllowThreads(__tstate
);
38181 if (PyErr_Occurred()) SWIG_fail
;
38183 resultobj
= SWIG_FromInt((int)result
);
38190 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38191 PyObject
*resultobj
;
38192 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38194 PyObject
* obj0
= 0 ;
38195 char *kwnames
[] = {
38196 (char *) "self", NULL
38199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38200 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38201 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38204 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38206 wxPyEndAllowThreads(__tstate
);
38207 if (PyErr_Occurred()) SWIG_fail
;
38209 resultobj
= SWIG_FromInt((int)result
);
38216 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38217 PyObject
*resultobj
;
38218 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38220 PyObject
* obj0
= 0 ;
38221 char *kwnames
[] = {
38222 (char *) "self", NULL
38225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38230 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38232 wxPyEndAllowThreads(__tstate
);
38233 if (PyErr_Occurred()) SWIG_fail
;
38235 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38242 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38243 PyObject
*resultobj
;
38244 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38246 PyObject
* obj0
= 0 ;
38247 PyObject
* obj1
= 0 ;
38248 char *kwnames
[] = {
38249 (char *) "self",(char *) "d", NULL
38252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38255 arg2
= (bool) SWIG_AsBool(obj1
);
38256 if (PyErr_Occurred()) SWIG_fail
;
38258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38259 (arg1
)->SetDone(arg2
);
38261 wxPyEndAllowThreads(__tstate
);
38262 if (PyErr_Occurred()) SWIG_fail
;
38264 Py_INCREF(Py_None
); resultobj
= Py_None
;
38271 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38272 PyObject
*resultobj
;
38273 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38275 PyObject
* obj0
= 0 ;
38276 char *kwnames
[] = {
38277 (char *) "self", NULL
38280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38281 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38282 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38285 result
= (int)(arg1
)->GetRelationship();
38287 wxPyEndAllowThreads(__tstate
);
38288 if (PyErr_Occurred()) SWIG_fail
;
38290 resultobj
= SWIG_FromInt((int)result
);
38297 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38298 PyObject
*resultobj
;
38299 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38301 PyObject
* obj0
= 0 ;
38302 PyObject
* obj1
= 0 ;
38303 char *kwnames
[] = {
38304 (char *) "self",(char *) "r", NULL
38307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38310 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38311 if (PyErr_Occurred()) SWIG_fail
;
38313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38314 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38316 wxPyEndAllowThreads(__tstate
);
38317 if (PyErr_Occurred()) SWIG_fail
;
38319 Py_INCREF(Py_None
); resultobj
= Py_None
;
38326 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38327 PyObject
*resultobj
;
38328 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38329 wxWindow
*arg2
= (wxWindow
*) 0 ;
38331 PyObject
* obj0
= 0 ;
38332 PyObject
* obj1
= 0 ;
38333 char *kwnames
[] = {
38334 (char *) "self",(char *) "otherW", NULL
38337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38344 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38346 wxPyEndAllowThreads(__tstate
);
38347 if (PyErr_Occurred()) SWIG_fail
;
38349 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38356 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38357 PyObject
*resultobj
;
38358 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38359 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38360 wxWindow
*arg3
= (wxWindow
*) 0 ;
38362 PyObject
* obj0
= 0 ;
38363 PyObject
* obj1
= 0 ;
38364 PyObject
* obj2
= 0 ;
38365 char *kwnames
[] = {
38366 (char *) "self",(char *) "constraints",(char *) "win", NULL
38369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38372 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38374 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38378 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38380 wxPyEndAllowThreads(__tstate
);
38381 if (PyErr_Occurred()) SWIG_fail
;
38383 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38390 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38391 PyObject
*resultobj
;
38392 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38394 wxWindow
*arg3
= (wxWindow
*) 0 ;
38395 wxWindow
*arg4
= (wxWindow
*) 0 ;
38397 PyObject
* obj0
= 0 ;
38398 PyObject
* obj1
= 0 ;
38399 PyObject
* obj2
= 0 ;
38400 PyObject
* obj3
= 0 ;
38401 char *kwnames
[] = {
38402 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38408 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38409 if (PyErr_Occurred()) SWIG_fail
;
38410 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38411 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38412 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38416 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38418 wxPyEndAllowThreads(__tstate
);
38419 if (PyErr_Occurred()) SWIG_fail
;
38421 resultobj
= SWIG_FromInt((int)result
);
38428 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*, PyObject
*args
) {
38430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38431 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38433 return Py_BuildValue((char *)"");
38435 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38436 PyObject
*resultobj
;
38437 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38438 wxIndividualLayoutConstraint
*result
;
38439 PyObject
* obj0
= 0 ;
38440 char *kwnames
[] = {
38441 (char *) "self", NULL
38444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38447 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38449 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38456 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38457 PyObject
*resultobj
;
38458 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38459 wxIndividualLayoutConstraint
*result
;
38460 PyObject
* obj0
= 0 ;
38461 char *kwnames
[] = {
38462 (char *) "self", NULL
38465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38466 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38467 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38468 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38470 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38477 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38478 PyObject
*resultobj
;
38479 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38480 wxIndividualLayoutConstraint
*result
;
38481 PyObject
* obj0
= 0 ;
38482 char *kwnames
[] = {
38483 (char *) "self", NULL
38486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38487 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38488 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38489 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38491 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38498 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38499 PyObject
*resultobj
;
38500 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38501 wxIndividualLayoutConstraint
*result
;
38502 PyObject
* obj0
= 0 ;
38503 char *kwnames
[] = {
38504 (char *) "self", NULL
38507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
38508 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38509 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38510 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
38512 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38519 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38520 PyObject
*resultobj
;
38521 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38522 wxIndividualLayoutConstraint
*result
;
38523 PyObject
* obj0
= 0 ;
38524 char *kwnames
[] = {
38525 (char *) "self", NULL
38528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
38529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38531 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
38533 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38540 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38541 PyObject
*resultobj
;
38542 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38543 wxIndividualLayoutConstraint
*result
;
38544 PyObject
* obj0
= 0 ;
38545 char *kwnames
[] = {
38546 (char *) "self", NULL
38549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
38550 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38551 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38552 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
38554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38561 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38562 PyObject
*resultobj
;
38563 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38564 wxIndividualLayoutConstraint
*result
;
38565 PyObject
* obj0
= 0 ;
38566 char *kwnames
[] = {
38567 (char *) "self", NULL
38570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
38571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38573 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
38575 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38582 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38583 PyObject
*resultobj
;
38584 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38585 wxIndividualLayoutConstraint
*result
;
38586 PyObject
* obj0
= 0 ;
38587 char *kwnames
[] = {
38588 (char *) "self", NULL
38591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
38592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38594 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
38596 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38603 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38604 PyObject
*resultobj
;
38605 wxLayoutConstraints
*result
;
38606 char *kwnames
[] = {
38610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
38612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38613 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
38615 wxPyEndAllowThreads(__tstate
);
38616 if (PyErr_Occurred()) SWIG_fail
;
38618 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
38625 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38626 PyObject
*resultobj
;
38627 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38628 wxWindow
*arg2
= (wxWindow
*) 0 ;
38629 int *arg3
= (int *) 0 ;
38632 PyObject
* obj0
= 0 ;
38633 PyObject
* obj1
= 0 ;
38634 char *kwnames
[] = {
38635 (char *) "self",(char *) "win", NULL
38639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
38640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38643 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38646 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
38648 wxPyEndAllowThreads(__tstate
);
38649 if (PyErr_Occurred()) SWIG_fail
;
38651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38653 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
38654 resultobj
= t_output_helper(resultobj
,o
);
38662 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*, PyObject
*args
, PyObject
*kwargs
) {
38663 PyObject
*resultobj
;
38664 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38666 PyObject
* obj0
= 0 ;
38667 char *kwnames
[] = {
38668 (char *) "self", NULL
38671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
38672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38676 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
38678 wxPyEndAllowThreads(__tstate
);
38679 if (PyErr_Occurred()) SWIG_fail
;
38681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38688 static PyObject
* LayoutConstraints_swigregister(PyObject
*, PyObject
*args
) {
38690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38691 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
38693 return Py_BuildValue((char *)"");
38695 static PyMethodDef SwigMethods
[] = {
38696 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
, NULL
},
38697 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
, NULL
},
38698 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38699 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38700 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
, NULL
},
38701 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38702 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38703 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38704 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38705 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38706 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38707 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38708 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38709 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38710 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38711 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38712 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38713 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38714 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38715 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38716 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38717 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38718 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38719 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
, NULL
},
38720 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38721 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38722 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38723 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38724 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38725 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38726 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38727 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38728 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38729 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38730 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38731 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38732 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
, NULL
},
38733 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38734 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38735 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38736 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38737 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38738 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38739 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38740 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38741 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38742 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38743 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38744 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38745 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38746 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38747 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
, NULL
},
38748 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38749 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38750 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38751 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38752 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38753 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38754 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38755 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38756 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38757 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38758 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38759 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38760 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38761 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38762 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38763 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38764 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38765 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38766 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38767 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38768 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38769 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38770 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38771 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38772 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38773 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38774 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38775 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38776 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38777 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38778 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38779 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38780 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38781 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38782 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38783 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38784 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38785 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38786 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38787 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38788 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38789 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38790 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38791 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38792 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38793 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38794 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38795 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38796 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38797 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38798 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
, NULL
},
38799 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38800 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38801 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38802 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38803 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38804 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38805 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38806 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38807 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38808 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38809 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38810 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38811 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38812 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38813 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38814 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38815 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38816 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38817 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38818 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38819 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38820 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38821 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38822 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38823 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38824 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38825 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38826 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
, NULL
},
38827 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38828 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38829 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38830 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38831 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38832 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38833 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38834 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38835 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38836 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38837 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38838 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38839 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38840 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38841 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38842 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38843 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38844 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
, NULL
},
38845 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38846 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
, NULL
},
38847 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38848 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38849 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38850 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38851 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38852 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38853 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38854 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
, NULL
},
38855 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
38856 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38857 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38858 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38859 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38860 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38861 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38862 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38863 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38864 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38865 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38866 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38867 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
, NULL
},
38868 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38869 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38870 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38871 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38872 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38873 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38874 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38875 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38876 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38877 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38878 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
, NULL
},
38879 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38880 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38881 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38882 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38883 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
, NULL
},
38884 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38885 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38886 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38887 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38888 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38889 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
, NULL
},
38890 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38891 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38892 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38893 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38894 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38895 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38896 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38897 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38898 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38899 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
, NULL
},
38900 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38901 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38902 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38903 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38904 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38905 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38906 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38907 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38908 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38909 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
, NULL
},
38910 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38911 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38912 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38913 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
, NULL
},
38914 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38915 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38916 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38917 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38918 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38919 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38920 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38921 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38922 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38923 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38924 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38925 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38926 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38927 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38928 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38929 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38930 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38931 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38932 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38933 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38934 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38935 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38936 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38937 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38938 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38939 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38940 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38941 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38942 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38943 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38944 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38945 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38946 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38947 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38948 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38949 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38950 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38951 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38952 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38953 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38954 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38955 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38956 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38957 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38958 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38959 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38960 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38961 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38962 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38963 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38964 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38965 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38966 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38967 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38968 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38969 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38970 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38971 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38972 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38973 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38974 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38975 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38976 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38977 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38978 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38979 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38980 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38981 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38982 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38983 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
, NULL
},
38984 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38985 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38986 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
, NULL
},
38987 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38988 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
, NULL
},
38989 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38990 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
, NULL
},
38991 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38992 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
, NULL
},
38993 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38994 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
, NULL
},
38995 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38996 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
, NULL
},
38997 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
38998 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
, NULL
},
38999 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39000 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
, NULL
},
39001 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39002 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
, NULL
},
39003 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39004 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
, NULL
},
39005 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39006 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
, NULL
},
39007 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39008 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39009 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39010 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39011 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39012 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39013 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39014 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39015 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39016 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39017 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39018 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39019 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39020 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
, NULL
},
39021 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39022 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39023 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39024 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39025 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39026 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39027 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39028 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39029 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39030 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39031 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39032 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39033 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39034 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39035 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39036 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39037 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39038 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
, NULL
},
39039 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39040 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39041 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
, NULL
},
39042 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39043 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39044 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
, NULL
},
39045 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39046 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39047 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39048 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39049 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39050 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39051 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39052 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39053 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39054 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39055 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39056 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
, NULL
},
39057 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39058 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39059 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39060 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39061 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
, NULL
},
39062 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39063 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39064 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39065 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39066 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39067 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
, NULL
},
39068 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39069 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39070 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39071 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39072 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39073 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
, NULL
},
39074 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39075 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39076 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39077 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39078 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39079 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39080 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39081 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39082 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39083 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39084 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39085 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39086 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39087 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39088 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39089 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39090 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39091 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39092 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39093 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39094 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39095 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39096 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39097 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39098 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39099 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39100 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39101 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39102 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39103 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39104 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39105 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39106 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39107 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39108 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39109 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39110 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39111 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39112 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39113 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39114 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39115 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39116 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39117 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39118 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39119 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39120 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39121 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39122 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39123 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39124 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39125 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39126 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39127 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39128 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39129 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39130 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39131 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39132 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39133 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39134 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39135 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
, NULL
},
39136 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39137 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39138 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39139 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39140 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39141 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39142 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
, NULL
},
39143 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39144 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39145 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39146 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39147 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39148 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39149 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39150 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39151 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39152 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39153 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39154 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39155 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39156 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39157 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39158 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39159 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39160 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39161 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39162 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39163 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39164 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39165 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39166 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39167 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39168 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39169 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39170 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39171 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39172 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39173 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39174 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39175 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39176 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39177 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
, NULL
},
39178 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39179 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39180 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39181 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39182 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39183 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39184 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39185 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39186 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39187 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
, NULL
},
39188 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39189 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39190 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39191 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39192 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39193 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39194 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39195 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39196 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39197 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
, NULL
},
39198 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39199 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
, NULL
},
39200 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39201 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
, NULL
},
39202 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39203 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39204 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
, NULL
},
39205 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39206 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39207 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39208 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
, NULL
},
39209 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39210 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39211 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
, NULL
},
39212 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39213 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39214 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
, NULL
},
39215 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39216 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
, NULL
},
39217 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39218 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39219 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39220 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39221 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
, NULL
},
39222 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39223 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39224 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39225 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39226 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39227 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39228 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39229 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
, NULL
},
39230 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39231 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39232 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39233 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
, NULL
},
39234 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39235 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39236 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
, NULL
},
39237 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39238 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
, NULL
},
39239 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39240 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39241 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39242 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
, NULL
},
39243 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39244 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39245 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39246 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39247 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39248 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39249 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39250 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39251 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39252 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39253 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39254 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39255 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39256 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39257 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39258 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39259 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
, NULL
},
39260 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39261 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39262 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39263 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39264 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39265 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39266 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39267 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39268 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39269 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39270 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
, NULL
},
39271 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39272 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39273 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39274 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
, NULL
},
39275 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39276 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39277 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39278 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39279 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39280 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39281 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39282 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
, NULL
},
39283 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39284 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39285 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
, NULL
},
39286 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39287 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39288 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
, NULL
},
39289 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39290 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39291 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39292 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
, NULL
},
39293 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39294 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39295 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39296 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39297 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39298 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39299 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
, NULL
},
39300 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39301 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39302 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39303 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39304 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
, NULL
},
39305 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39306 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39307 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39308 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39309 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
, NULL
},
39310 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39311 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39312 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39313 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39314 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39315 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39316 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39317 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39318 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39319 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39320 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39321 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39322 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39323 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39324 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39325 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39326 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39327 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39328 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39329 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39330 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39331 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39332 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39333 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39334 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39335 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39336 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39337 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39338 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39339 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39340 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39341 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39342 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39343 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39344 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39345 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39346 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39347 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39348 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39349 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39350 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39351 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39352 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39353 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
, NULL
},
39354 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39355 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39356 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39357 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39358 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39359 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39360 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39361 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39362 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39363 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39364 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39365 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39366 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39367 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39368 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39369 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39370 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
, NULL
},
39371 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39372 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39373 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39374 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
, NULL
},
39375 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39376 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39377 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39378 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39379 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39380 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39381 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39382 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39383 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39384 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39385 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39386 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39387 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39388 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39389 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39390 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39391 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39392 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39393 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39394 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39395 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39396 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39397 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39398 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39399 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39400 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39401 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39402 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39403 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39404 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39405 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39406 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39407 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39408 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39409 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39410 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39411 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39412 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39413 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39414 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39415 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39416 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39417 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39418 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39419 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39420 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39421 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39422 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39423 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39424 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39425 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39426 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39427 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39428 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39429 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39430 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39431 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39432 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39433 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39434 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39435 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39436 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39437 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39438 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39439 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39440 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39441 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39442 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39443 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39444 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39445 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39446 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39447 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39448 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39449 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39450 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39451 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39452 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39453 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39454 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39455 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39456 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39457 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39458 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39459 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39460 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39461 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39462 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39463 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39464 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39465 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39466 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39467 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39468 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39469 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39470 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39471 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39472 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39473 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39474 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39475 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39476 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39477 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39478 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39479 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39480 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39481 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39482 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39483 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39484 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39485 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39486 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39487 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39488 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39489 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39490 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39491 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39492 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39493 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39494 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39495 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39496 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39497 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39498 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39499 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39500 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39501 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39502 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39503 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39504 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39505 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39506 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39507 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39508 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39509 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39510 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39511 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39512 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39513 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39514 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39515 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39516 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39517 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39518 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39519 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39520 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
, NULL
},
39521 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39522 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39523 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39524 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39525 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39526 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39527 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39528 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39529 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39530 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39531 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39532 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39533 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39534 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39535 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39536 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39537 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39538 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39539 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39540 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39541 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39542 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39543 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39544 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39545 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39546 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39547 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39548 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39549 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39550 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39551 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39552 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39553 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39554 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39555 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39556 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
, NULL
},
39557 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39558 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39559 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39560 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39561 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39562 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39563 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39564 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39565 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39566 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39567 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39568 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39569 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39570 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
, NULL
},
39571 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39572 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39573 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
, NULL
},
39574 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39575 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39576 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39577 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39578 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39579 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39580 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39581 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39582 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39583 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39584 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39585 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39586 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39587 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39588 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39589 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39590 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39591 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39592 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39593 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39594 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39595 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39596 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39597 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39598 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39599 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39600 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39601 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39602 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39603 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39604 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39605 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39606 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39607 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39608 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39609 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39610 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39611 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39612 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39613 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39614 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39615 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39616 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39617 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39618 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39619 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39620 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39621 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39622 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39623 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39624 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39625 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39626 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39627 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39628 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
, NULL
},
39629 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39630 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39631 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39632 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39633 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39634 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39635 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39636 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39637 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39638 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39639 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39640 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39641 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39642 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39643 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39644 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39645 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39646 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39647 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39648 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39649 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39650 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39651 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39652 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39653 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39654 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39655 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
, NULL
},
39656 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39657 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39658 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39659 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39660 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39661 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39662 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39663 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39664 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39665 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39666 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39667 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39668 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39669 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39670 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39671 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39672 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39673 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39674 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39675 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39676 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39677 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39678 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39679 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39680 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39681 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39682 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39683 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39684 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
, NULL
},
39685 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39686 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39687 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39688 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39689 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39690 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39691 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
, NULL
},
39692 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39693 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39694 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39695 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39696 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39697 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39698 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39699 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39700 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39701 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39702 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39703 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39704 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39705 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39706 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39707 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39708 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
, NULL
},
39709 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
, NULL
},
39710 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39711 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39712 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39713 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39714 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39715 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39716 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39717 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39718 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39719 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39720 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39721 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39722 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39723 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39724 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39725 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39726 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39727 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39728 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39729 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39730 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39731 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39732 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39733 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39734 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39735 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39736 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39737 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39738 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39739 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39740 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39741 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39742 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39743 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39744 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
, NULL
},
39745 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39746 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39747 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39748 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39749 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39750 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39751 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39752 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39753 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39754 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39755 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39756 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39757 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39758 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39759 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39760 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39761 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39762 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39763 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39764 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39765 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39766 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39767 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39768 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39769 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39770 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39771 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39772 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39773 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
, NULL
},
39774 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39775 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39776 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
, NULL
},
39777 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39778 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39779 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39780 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39781 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39782 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
, NULL
},
39783 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39784 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39785 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39786 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39787 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
, NULL
},
39788 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39789 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39790 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39791 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39792 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39793 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39794 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39795 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39796 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39797 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39798 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39799 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
, NULL
},
39800 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39801 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39802 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39803 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39804 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39805 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39806 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39807 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39808 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39809 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39810 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39811 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39812 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39813 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
, NULL
},
39814 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39815 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39816 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39817 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39818 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39819 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39820 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39821 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39822 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39823 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
, NULL
},
39824 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39825 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39826 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39827 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39828 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39829 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39830 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39831 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39832 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39833 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
, NULL
},
39834 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39835 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39836 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39837 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39838 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39839 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39840 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39841 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39842 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
, NULL
},
39843 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39844 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39845 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39846 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
, NULL
},
39847 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39848 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39849 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39850 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39851 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39852 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
, NULL
},
39853 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
, NULL
},
39854 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
, NULL
},
39855 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
, NULL
},
39856 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
, NULL
},
39857 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39858 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39859 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39860 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39861 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39862 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
, NULL
},
39863 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
, NULL
},
39864 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39865 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39866 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39867 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39868 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39869 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39870 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39871 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39872 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39873 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39874 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39875 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39876 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39877 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39878 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39879 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39880 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39881 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39882 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39883 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39884 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39885 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39886 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39887 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39888 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39889 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39890 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
, NULL
},
39891 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39892 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39893 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39894 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39895 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39896 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39897 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39898 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39899 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39900 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39901 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
39902 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
, NULL
},
39903 { NULL
, NULL
, 0, NULL
}
39907 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
39909 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
39910 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
39912 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
39913 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
39915 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
39916 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39918 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
39919 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
39921 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
39922 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
39924 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
39925 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
39927 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
39928 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
39930 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
39931 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
39933 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
39934 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
39936 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
39937 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
39939 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
39940 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
39942 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
39943 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
39945 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
39946 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
39948 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
39949 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
39951 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
39952 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
39954 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
39955 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
39957 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
39958 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
39960 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
39961 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
39963 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
39964 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
39966 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
39967 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
39969 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
39970 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
39972 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
39973 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
39975 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
39976 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
39978 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
39979 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
39981 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
39982 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
39984 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
39985 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
39987 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
39988 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
39990 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
39991 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
39993 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
39994 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
39996 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
39997 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
39999 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40000 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40002 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40003 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40005 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40006 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40008 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40009 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40011 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40012 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40014 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40015 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40017 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40018 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40020 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40021 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40023 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40024 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40026 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40027 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40029 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40030 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40032 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40033 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40035 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40036 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40038 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40039 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40041 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40042 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40044 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40045 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40047 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40048 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40050 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40051 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40053 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40054 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40056 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40057 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40059 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40060 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40062 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40063 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40065 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40066 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40068 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40069 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40071 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40072 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40074 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40075 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40077 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40078 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40080 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40081 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40083 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40084 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40086 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40087 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40089 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40090 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40092 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40093 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40095 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40096 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40098 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40099 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40101 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40102 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40104 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40105 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40107 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40108 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40110 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40111 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40113 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40114 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40116 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40117 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40119 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40120 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40122 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40123 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40125 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40126 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40128 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40129 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40131 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40132 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40134 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40135 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40137 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40138 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40140 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40141 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40143 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40144 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40146 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40147 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40149 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40150 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40152 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40153 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40155 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40156 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40158 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40159 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40161 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40164 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40167 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40168 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40170 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40171 return (void *)((wxObject
*) ((wxSizer
*) x
));
40173 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40174 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40176 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40177 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40179 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40180 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40182 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40183 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40185 static void *_p_wxImageTo_p_wxObject(void *x
) {
40186 return (void *)((wxObject
*) ((wxImage
*) x
));
40188 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40189 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40191 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40192 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40194 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40195 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40197 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40198 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40200 static void *_p_wxControlTo_p_wxObject(void *x
) {
40201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40203 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40204 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40206 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40207 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40209 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40210 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40212 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40213 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40215 static void *_p_wxEventTo_p_wxObject(void *x
) {
40216 return (void *)((wxObject
*) ((wxEvent
*) x
));
40218 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40219 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40221 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40222 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40224 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40225 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40227 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40228 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40230 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40231 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40233 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40234 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40236 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40239 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40240 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40242 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40245 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40246 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40248 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40249 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40251 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40252 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40254 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40255 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40257 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40258 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40260 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40261 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40263 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40264 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40266 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40267 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40269 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40270 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40272 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40273 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40275 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40276 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40278 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40279 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40281 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40282 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40284 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40285 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40287 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40288 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40290 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40291 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40293 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40294 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40296 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40297 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40299 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40300 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40302 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40303 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40305 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40306 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40308 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40309 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40311 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40312 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40314 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40315 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40317 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40318 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40320 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40321 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40323 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40324 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40326 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40327 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40329 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40330 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40332 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40333 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40335 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40336 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40338 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40339 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40341 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40342 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40344 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40345 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40347 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40348 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40350 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40351 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40353 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40354 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40356 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40357 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40359 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40360 return (void *)((wxWindow
*) ((wxControl
*) x
));
40362 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40363 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40365 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40366 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40368 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40369 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40371 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40372 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40374 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40375 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40377 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40378 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40380 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40381 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40383 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40384 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40386 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40387 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40389 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40390 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40392 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40393 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40395 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}};
40396 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}};
40397 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}};
40398 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}};
40399 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}};
40400 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}};
40401 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}};
40402 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}};
40403 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}};
40404 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}};
40405 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}};
40406 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}};
40407 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}};
40408 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}};
40409 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}};
40410 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}};
40411 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}};
40412 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}};
40413 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}};
40414 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}};
40415 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}};
40416 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}};
40417 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}};
40418 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}};
40419 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}};
40420 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}};
40421 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}};
40422 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}};
40423 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}};
40424 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}};
40425 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}};
40426 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}};
40427 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}};
40428 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}};
40429 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}};
40430 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}};
40431 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}};
40432 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}};
40433 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}};
40434 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}};
40435 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}};
40436 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}};
40437 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}};
40438 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}};
40439 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}};
40440 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}};
40441 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}};
40442 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}};
40443 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}};
40444 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}};
40445 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}};
40446 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}};
40447 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}};
40448 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}};
40449 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}};
40450 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}};
40451 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}};
40452 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}};
40453 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}};
40454 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}};
40455 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}};
40456 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}};
40457 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}};
40458 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}};
40459 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}};
40460 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}};
40461 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}};
40462 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}};
40463 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}};
40464 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}};
40465 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}};
40466 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}};
40467 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}};
40468 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}};
40469 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}};
40470 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}};
40471 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}};
40472 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}};
40473 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}};
40474 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}};
40475 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}};
40476 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}};
40477 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}};
40478 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}};
40479 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}};
40480 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}};
40481 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}};
40482 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}};
40483 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}};
40484 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}};
40485 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}};
40486 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}};
40487 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}};
40488 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}};
40489 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}};
40490 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}};
40491 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}};
40492 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}};
40493 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}};
40494 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}};
40495 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}};
40496 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}};
40497 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}};
40498 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}};
40499 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}};
40500 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}};
40501 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}};
40502 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}};
40503 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}};
40504 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}};
40505 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}};
40506 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}};
40507 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}};
40508 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}};
40510 static swig_type_info
*swig_types_initial
[] = {
40511 _swigt__p_wxLayoutConstraints
,
40512 _swigt__p_wxRealPoint
,
40513 _swigt__p_wxSizerItem
,
40514 _swigt__p_wxGBSizerItem
,
40515 _swigt__p_wxScrollEvent
,
40516 _swigt__p_wxIndividualLayoutConstraint
,
40518 _swigt__p_wxBoxSizer
,
40519 _swigt__p_wxStaticBoxSizer
,
40520 _swigt__p_wxGridBagSizer
,
40521 _swigt__p_wxAcceleratorEntry
,
40522 _swigt__p_wxUpdateUIEvent
,
40525 _swigt__p_wxGridSizer
,
40526 _swigt__p_wxFlexGridSizer
,
40527 _swigt__p_wxInitDialogEvent
,
40528 _swigt__p_wxItemContainer
,
40529 _swigt__p_wxNcPaintEvent
,
40530 _swigt__p_wxPaintEvent
,
40531 _swigt__p_wxSysColourChangedEvent
,
40532 _swigt__p_wxMouseCaptureChangedEvent
,
40533 _swigt__p_wxDisplayChangedEvent
,
40534 _swigt__p_wxPaletteChangedEvent
,
40535 _swigt__p_wxControl
,
40537 _swigt__p_wxMenuBarBase
,
40538 _swigt__p_wxSetCursorEvent
,
40539 _swigt__p_wxFSFile
,
40541 _swigt__p_wxRegion
,
40542 _swigt__p_wxPoint2D
,
40546 _swigt__p_wxPySizer
,
40547 _swigt__p_wxNotifyEvent
,
40548 _swigt__p_wxPyEvent
,
40549 _swigt__p_wxPropagationDisabler
,
40550 _swigt__p_wxAppTraits
,
40551 _swigt__p_wxArrayString
,
40552 _swigt__p_wxShowEvent
,
40553 _swigt__p_wxToolTip
,
40554 _swigt__p_wxMaximizeEvent
,
40555 _swigt__p_wxIconizeEvent
,
40556 _swigt__p_wxActivateEvent
,
40557 _swigt__p_wxMoveEvent
,
40558 _swigt__p_wxSizeEvent
,
40559 _swigt__p_wxQueryNewPaletteEvent
,
40560 _swigt__p_wxWindowCreateEvent
,
40561 _swigt__p_wxIdleEvent
,
40562 _swigt__p_wxMenuItem
,
40563 _swigt__p_wxStaticBox
,
40565 _swigt__p_wxTIFFHandler
,
40566 _swigt__p_wxXPMHandler
,
40567 _swigt__p_wxPNMHandler
,
40568 _swigt__p_wxJPEGHandler
,
40569 _swigt__p_wxPCXHandler
,
40570 _swigt__p_wxGIFHandler
,
40571 _swigt__p_wxPNGHandler
,
40572 _swigt__p_wxANIHandler
,
40573 _swigt__p_wxMemoryFSHandler
,
40574 _swigt__p_wxEvtHandler
,
40575 _swigt__p_wxCURHandler
,
40576 _swigt__p_wxICOHandler
,
40577 _swigt__p_wxBMPHandler
,
40578 _swigt__p_wxImageHandler
,
40579 _swigt__p_wxFileSystemHandler
,
40580 _swigt__p_wxPyFileSystemHandler
,
40581 _swigt__p_wxInternetFSHandler
,
40582 _swigt__p_wxZipFSHandler
,
40584 _swigt__p_wxGBSpan
,
40585 _swigt__p_wxPropagateOnce
,
40586 _swigt__p_wxAcceleratorTable
,
40588 _swigt__p_wxGBPosition
,
40591 _swigt__p_wxScrollWinEvent
,
40592 _swigt__p_wxImageHistogram
,
40595 _swigt__p_wxCursor
,
40596 _swigt__p_wxObject
,
40597 _swigt__p_wxPyInputStream
,
40598 _swigt__p_wxOutputStream
,
40599 _swigt__p_wxInputStream
,
40600 _swigt__p_wxDateTime
,
40601 _swigt__p_wxKeyEvent
,
40602 _swigt__p_wxNavigationKeyEvent
,
40603 _swigt__p_wxWindowDestroyEvent
,
40604 _swigt__p_wxWindow
,
40605 _swigt__p_wxMenuBar
,
40606 _swigt__p_wxFileSystem
,
40607 _swigt__p_wxBitmap
,
40608 _swigt__p_wxMenuEvent
,
40609 _swigt__p_wxContextMenuEvent
,
40610 _swigt__p_unsigned_char
,
40611 _swigt__p_wxCloseEvent
,
40612 _swigt__p_wxEraseEvent
,
40613 _swigt__p_wxMouseEvent
,
40615 _swigt__p_wxCommandEvent
,
40616 _swigt__p_wxPyCommandEvent
,
40617 _swigt__p_wxPyDropTarget
,
40618 _swigt__p_wxChildFocusEvent
,
40619 _swigt__p_wxFocusEvent
,
40620 _swigt__p_wxDropFilesEvent
,
40621 _swigt__p_wxControlWithItems
,
40622 _swigt__p_wxColour
,
40623 _swigt__p_wxValidator
,
40624 _swigt__p_wxPyValidator
,
40629 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
40631 static swig_const_info swig_const_table
[] = {
40632 {0, 0, 0, 0.0, 0, 0}};
40641 SWIGEXPORT(void) SWIG_init(void) {
40642 static PyObject
*SWIG_globals
= 0;
40643 static int typeinit
= 0;
40646 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
40647 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
40648 d
= PyModule_GetDict(m
);
40651 for (i
= 0; swig_types_initial
[i
]; i
++) {
40652 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
40656 SWIG_InstallConstants(d
,swig_const_table
);
40659 #ifndef wxPyUSE_EXPORT
40660 // Make our API structure a CObject so other modules can import it
40661 // from this module.
40662 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
40663 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
40667 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
40668 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
40669 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
40670 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
40671 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
40672 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
40673 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
40674 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
40675 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
40676 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
40677 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
40678 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
40679 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
40680 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
40681 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
40682 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
40683 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
40684 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
40685 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
40686 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
40687 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
40688 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
40689 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
40690 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
40691 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
40692 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
40693 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
40694 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
40695 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
40696 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
40697 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
40698 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
40699 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
40700 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
40701 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
40702 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
40703 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
40704 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
40705 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
40706 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
40707 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
40708 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
40709 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
40710 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
40711 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
40712 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
40713 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
40714 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
40715 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
40716 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
40717 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
40718 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
40719 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
40720 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
40721 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
40722 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
40723 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
40724 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
40725 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
40726 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
40727 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
40728 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
40729 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
40730 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
40731 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
40732 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
40733 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
40734 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
40735 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
40736 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
40737 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
40738 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
40739 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
40740 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
40741 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
40742 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
40743 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
40744 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
40745 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
40746 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
40747 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
40748 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
40749 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
40750 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
40751 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
40752 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
40753 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
40754 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
40755 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
40756 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
40757 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
40758 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
40759 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
40760 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
40761 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
40762 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
40763 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
40764 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
40765 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
40766 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
40767 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
40768 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
40769 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
40770 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
40771 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
40772 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
40773 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
40774 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
40775 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
40776 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
40777 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
40778 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
40779 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
40780 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
40781 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
40782 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
40783 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
40784 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
40785 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
40786 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
40787 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
40788 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
40789 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
40790 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
40791 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
40792 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
40793 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
40794 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
40795 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
40796 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
40797 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
40798 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
40799 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
40800 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
40801 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
40802 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
40803 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
40804 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
40805 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
40806 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
40807 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
40808 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
40809 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
40810 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
40811 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
40812 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
40813 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
40814 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
40815 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
40816 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
40817 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
40818 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
40819 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
40820 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
40821 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
40822 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
40823 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
40824 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
40825 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
40826 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
40827 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
40828 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
40829 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
40830 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
40831 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
40832 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
40833 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
40834 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
40835 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
40836 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
40837 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
40838 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
40839 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
40840 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
40841 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
40842 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
40843 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
40844 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
40845 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
40846 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
40847 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
40848 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
40849 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
40850 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
40851 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
40852 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
40853 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
40854 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
40855 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
40856 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
40857 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
40858 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
40859 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
40860 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
40861 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
40862 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
40863 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
40864 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
40865 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
40866 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
40867 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
40868 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
40869 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
40870 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
40871 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
40872 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
40873 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
40874 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
40875 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
40876 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
40877 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
40878 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
40879 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
40880 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
40881 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
40882 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
40883 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
40884 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
40885 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
40886 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
40887 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
40888 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
40889 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
40890 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
40891 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
40892 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
40893 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
40894 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
40895 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
40896 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
40897 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
40898 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
40899 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
40900 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
40901 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
40902 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
40903 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
40904 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
40905 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
40906 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
40907 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
40908 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
40909 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
40910 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
40911 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
40912 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
40913 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
40914 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
40915 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
40916 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
40917 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
40918 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
40919 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
40920 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
40921 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
40922 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
40923 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
40924 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
40925 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
40926 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
40927 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
40928 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
40929 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
40930 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
40931 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
40932 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
40933 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
40934 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
40935 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
40936 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
40937 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
40938 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
40939 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
40940 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
40941 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
40942 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
40943 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
40944 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
40945 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
40946 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
40947 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
40948 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
40949 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
40950 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
40951 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
40952 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
40953 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
40954 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
40955 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
40956 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
40957 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
40958 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
40959 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
40960 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
40961 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
40962 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
40963 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
40964 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
40965 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
40966 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
40967 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
40968 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
40969 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
40970 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
40971 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
40972 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
40973 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
40974 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
40975 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
40976 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
40977 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
40978 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
40979 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
40980 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
40981 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
40982 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
40983 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
40984 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
40985 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
40986 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
40987 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
40988 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
40989 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
40990 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
40991 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
40992 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
40993 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
40994 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
40995 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
40996 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
40997 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
40998 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
40999 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41000 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41001 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41002 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41003 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41004 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41005 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41006 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41007 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41008 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41009 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41010 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41011 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41012 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41013 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41014 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41015 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41016 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41017 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41018 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41019 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41020 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41021 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41022 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41023 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41024 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41025 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41026 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41027 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41028 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41029 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41030 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41031 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41032 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41033 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41034 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41035 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41036 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41037 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41038 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41039 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41040 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41041 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41042 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41043 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41044 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41045 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41046 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41047 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41048 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41049 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41050 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41051 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41052 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41053 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41054 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41055 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41056 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41057 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41058 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41059 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41060 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41061 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41062 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41063 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41064 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41065 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41066 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41067 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41068 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41069 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41070 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41071 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41072 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41073 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41074 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41075 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41076 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41077 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41078 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41079 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41080 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41081 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41082 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41083 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41084 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41085 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41086 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41087 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41088 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41089 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41090 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41091 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41092 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41093 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41094 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41095 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41096 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41097 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41098 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41099 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41100 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41101 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41102 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41103 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41104 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41105 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41106 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41107 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41108 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41109 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41110 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41111 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41112 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41113 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41114 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41115 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41116 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41117 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41118 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41119 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41120 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41121 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41122 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41123 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41124 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41125 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41126 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41127 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41128 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41129 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41130 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41131 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41132 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41133 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41134 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41135 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41136 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41137 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41138 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41139 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41140 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41141 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41142 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41143 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41144 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41145 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41146 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41147 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41148 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41149 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41150 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41151 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41152 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41153 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41154 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41155 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41156 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41157 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41158 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41159 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41160 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41161 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41162 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41163 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41164 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41165 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41166 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41167 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41168 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41169 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41170 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41171 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41172 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41173 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41174 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41175 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41176 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41177 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41178 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41179 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41180 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41181 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41182 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41183 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41184 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41185 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41186 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41187 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41188 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41189 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41190 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41191 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41192 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41193 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41194 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41195 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41196 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41197 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41198 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41199 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41200 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41201 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41202 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41203 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41204 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41205 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41206 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41207 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41208 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41209 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41210 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41211 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41212 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41213 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41214 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41215 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41216 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41217 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41218 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41219 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41220 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41221 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41222 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41223 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41224 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41225 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41226 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41227 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41228 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41229 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41230 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41231 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41232 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41233 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41234 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41235 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41236 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41237 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41238 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41239 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41240 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41241 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41242 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41243 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41244 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41245 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41246 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41247 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41248 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41249 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41250 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41251 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41252 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41253 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41254 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41255 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41256 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41257 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41258 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41259 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41260 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41261 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41262 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41264 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41267 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41269 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41270 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41271 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41272 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41273 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41274 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41275 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41276 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41277 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41278 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41279 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41280 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41281 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41282 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41283 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41284 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41285 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41286 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41287 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41288 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41289 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41290 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41291 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41292 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41293 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41294 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41295 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41296 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41297 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41298 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41299 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41300 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41301 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41302 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41303 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41304 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41305 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41306 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41307 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41308 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41309 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41310 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41311 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41312 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41313 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41314 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41315 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41316 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41317 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41318 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41319 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41320 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41321 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41322 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41323 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41324 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41325 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41326 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41327 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41328 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41329 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41330 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41331 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41332 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41333 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41334 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41335 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41336 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41337 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41338 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41339 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41340 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41341 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41342 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41343 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41344 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41345 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41346 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41347 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41348 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41349 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41350 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41351 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41352 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41353 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41354 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41355 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41356 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41357 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41358 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41359 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41360 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41361 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41362 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41363 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41364 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41365 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41366 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41367 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41368 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41369 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41370 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41371 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41372 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41373 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41374 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41375 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41376 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41377 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41378 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41379 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41380 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41381 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41382 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41383 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41384 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41385 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41386 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41387 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41388 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41389 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41390 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41391 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41392 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41393 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41394 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41395 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41396 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41397 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41398 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41399 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41400 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41401 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41402 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
41403 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
41404 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
41405 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41406 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
41407 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41408 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41409 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
41410 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41411 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41412 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41413 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41414 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
41415 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
41416 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
41417 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41418 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41419 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41420 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41421 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
41422 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41423 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
41424 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41425 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
41426 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
41427 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
41428 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
41429 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
41430 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
41431 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
41432 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
41433 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
41434 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
41435 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
41436 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
41437 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
41438 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
41439 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
41440 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
41441 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
41442 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
41443 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
41445 // Initialize threading, some globals and such
41449 // Although these are defined in __version__ they need to be here too so
41450 // that an assert can be done to ensure that the wxPython and the wxWindows
41452 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41453 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41454 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));