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();
1327 void wxApp_CleanUp() {
1332 wxPyApp
* wxGetApp() {
1333 return (wxPyApp
*)wxTheApp
;
1338 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
1339 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
1340 wxWindowList
& list
= self
->GetChildren();
1341 return wxPy_ConvertList(&list
);
1343 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
1350 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1357 long wxWindow_GetHandle(wxWindow
*self
){
1358 return wxPyGetWinHandle(self
);
1361 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1362 return wxWindow::FindWindowById(id
, parent
);
1365 wxWindow
* wxFindWindowByName( const wxString
& name
,
1366 const wxWindow
*parent
= NULL
) {
1367 return wxWindow::FindWindowByName(name
, parent
);
1370 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1371 const wxWindow
*parent
= NULL
) {
1372 return wxWindow::FindWindowByLabel(label
, parent
);
1376 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1378 wxWindow
* win
= new wxWindow
;
1379 win
->SetHWND((WXHWND
)hWnd
);
1380 win
->SubclassWin((WXHWND
)hWnd
);
1383 wxPyRaiseNotImplemented();
1389 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1390 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1391 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1393 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1395 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1396 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1397 wxMenuItemList
& list
= self
->GetMenuItems();
1398 return wxPy_ConvertList(&list
);
1400 static const wxString
wxPyControlNameStr(wxControlNameStr
);
1401 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1403 wxPyClientData
* data
= new wxPyClientData(clientData
);
1404 return self
->Append(item
, data
);
1406 return self
->Append(item
);
1408 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1410 wxPyClientData
* data
= new wxPyClientData(clientData
);
1411 return self
->Insert(item
, pos
, data
);
1413 return self
->Insert(item
, pos
);
1415 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1416 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1418 Py_INCREF(data
->m_obj
);
1425 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1426 wxPyClientData
* data
= new wxPyClientData(clientData
);
1427 self
->SetClientObject(n
, data
);
1435 SWIG_FloatCast(double value
)
1438 if (!PyErr_Occurred()) {
1439 if (value
< FLT_MIN
) {
1441 PyString_FromFormat("value %g is less than float minimum %g",
1443 PyErr_SetObject(PyExc_OverflowError
, err
);
1445 } else if (value
> FLT_MAX
) {
1447 PyString_FromFormat("value %g is greater than float maximum %g",
1449 PyErr_SetObject(PyExc_OverflowError
, err
);
1452 f
= swig_numeric_cast(float, value
);
1459 SWIGSTATICINLINE(float)
1460 SWIG_AsFloat(PyObject
*obj
)
1462 return SWIG_FloatCast(SWIG_AsDouble(obj
));
1466 SWIGSTATICINLINE(int)
1467 SWIG_CheckFloat(PyObject
* obj
)
1470 if (PyErr_Occurred()) {
1478 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1479 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1481 Py_INCREF(data
->m_obj
);
1489 // Figure out the type of the sizer item
1491 struct wxPySizerItemInfo
{
1493 : window(NULL
), sizer(NULL
), gotSize(False
),
1494 size(wxDefaultSize
), gotPos(False
), pos(-1)
1505 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1507 wxPySizerItemInfo info
;
1509 wxSize
* sizePtr
= &size
;
1511 // Find out what the type of the item is
1513 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1518 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1522 // try wxSize or (w,h)
1523 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1524 info
.size
= *sizePtr
;
1525 info
.gotSize
= True
;
1529 if (checkIdx
&& PyInt_Check(item
)) {
1530 info
.pos
= PyInt_AsLong(item
);
1536 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1537 // no expected type, figure out what kind of error message to generate
1538 if ( !checkSize
&& !checkIdx
)
1539 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1540 else if ( checkSize
&& !checkIdx
)
1541 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1542 else if ( !checkSize
&& checkIdx
)
1543 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1545 // can this one happen?
1546 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1552 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1553 self
->SetClientObject(new wxPyOORClientData(_self
));
1555 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1557 wxPyUserData
* data
= NULL
;
1558 wxPyBeginBlockThreads();
1559 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1560 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1561 data
= new wxPyUserData(userData
);
1562 wxPyEndBlockThreads();
1564 // Now call the real Add method if a valid item type was found
1566 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1567 else if ( info
.sizer
)
1568 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1569 else if (info
.gotSize
)
1570 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1571 proportion
, flag
, border
, data
);
1573 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1575 wxPyUserData
* data
= NULL
;
1576 wxPyBeginBlockThreads();
1577 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1578 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1579 data
= new wxPyUserData(userData
);
1580 wxPyEndBlockThreads();
1582 // Now call the real Insert method if a valid item type was found
1584 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1585 else if ( info
.sizer
)
1586 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1587 else if (info
.gotSize
)
1588 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1589 proportion
, flag
, border
, data
);
1591 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1593 wxPyUserData
* data
= NULL
;
1594 wxPyBeginBlockThreads();
1595 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1596 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1597 data
= new wxPyUserData(userData
);
1598 wxPyEndBlockThreads();
1600 // Now call the real Prepend method if a valid item type was found
1602 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1603 else if ( info
.sizer
)
1604 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1605 else if (info
.gotSize
)
1606 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1607 proportion
, flag
, border
, data
);
1609 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1610 wxPyBeginBlockThreads();
1611 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1612 wxPyEndBlockThreads();
1614 return self
->Remove(info
.window
);
1615 else if ( info
.sizer
)
1616 return self
->Remove(info
.sizer
);
1617 else if ( info
.gotPos
)
1618 return self
->Remove(info
.pos
);
1622 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1623 wxPyBeginBlockThreads();
1624 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1625 wxPyEndBlockThreads();
1627 self
->SetItemMinSize(info
.window
, size
);
1628 else if ( info
.sizer
)
1629 self
->SetItemMinSize(info
.sizer
, size
);
1630 else if ( info
.gotPos
)
1631 self
->SetItemMinSize(info
.pos
, size
);
1633 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1634 wxSizerItemList
& list
= self
->GetChildren();
1635 return wxPy_ConvertList(&list
);
1637 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1638 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1640 self
->Show(info
.window
, show
);
1641 else if ( info
.sizer
)
1642 self
->Show(info
.sizer
, show
);
1644 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1645 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1647 self
->Hide(info
.window
);
1648 else if ( info
.sizer
)
1649 self
->Hide(info
.sizer
);
1651 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1652 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1654 return self
->IsShown(info
.window
);
1655 else if ( info
.sizer
)
1656 return self
->IsShown(info
.sizer
);
1662 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1663 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1664 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1669 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1671 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1674 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1676 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1680 bool wxGBPosition___eq__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
== *other
) : False
; }
1681 bool wxGBPosition___ne__(wxGBPosition
*self
,wxGBPosition
const *other
){ return other
? (*self
!= *other
) : True
; }
1682 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1686 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1687 wxPyBeginBlockThreads();
1688 PyObject
* tup
= PyTuple_New(2);
1689 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1690 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1691 wxPyEndBlockThreads();
1694 bool wxGBSpan___eq__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
== *other
) : False
; }
1695 bool wxGBSpan___ne__(wxGBSpan
*self
,wxGBSpan
const *other
){ return other
? (*self
!= *other
) : True
; }
1696 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1697 self
->SetRowspan(rowspan
);
1698 self
->SetColspan(colspan
);
1700 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1701 wxPyBeginBlockThreads();
1702 PyObject
* tup
= PyTuple_New(2);
1703 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1704 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1705 wxPyEndBlockThreads();
1708 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1710 wxPyUserData
* data
= NULL
;
1711 wxPyBeginBlockThreads();
1712 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1713 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1714 data
= new wxPyUserData(userData
);
1715 wxPyEndBlockThreads();
1717 // Now call the real Add method if a valid item type was found
1719 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1720 else if ( info
.sizer
)
1721 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1722 else if (info
.gotSize
)
1723 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1724 pos
, span
, flag
, border
, data
);
1732 static int _wrap_EmptyString_set(PyObject
*_val
) {
1733 PyErr_SetString(PyExc_TypeError
,"Variable EmptyString is read-only.");
1738 static PyObject
*_wrap_EmptyString_get() {
1743 pyobj
= PyUnicode_FromWideChar((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1745 pyobj
= PyString_FromStringAndSize((&wxPyEmptyString
)->c_str(), (&wxPyEmptyString
)->Len());
1752 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1753 PyObject
*resultobj
;
1754 wxObject
*arg1
= (wxObject
*) 0 ;
1756 PyObject
* obj0
= 0 ;
1758 (char *) "self", NULL
1761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1766 result
= wxObject_GetClassName(arg1
);
1768 wxPyEndAllowThreads(__tstate
);
1769 if (PyErr_Occurred()) SWIG_fail
;
1773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1784 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1785 PyObject
*resultobj
;
1786 wxObject
*arg1
= (wxObject
*) 0 ;
1787 PyObject
* obj0
= 0 ;
1789 (char *) "self", NULL
1792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1793 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxObject
,
1794 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1797 wxObject_Destroy(arg1
);
1799 wxPyEndAllowThreads(__tstate
);
1800 if (PyErr_Occurred()) SWIG_fail
;
1802 Py_INCREF(Py_None
); resultobj
= Py_None
;
1809 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1811 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1812 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1814 return Py_BuildValue((char *)"");
1816 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1817 PyObject
*resultobj
;
1818 wxSize
*arg1
= (wxSize
*) 0 ;
1820 PyObject
* obj0
= 0 ;
1821 PyObject
* obj1
= 0 ;
1823 (char *) "self",(char *) "x", NULL
1826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1827 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1828 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1829 arg2
= (int) SWIG_AsInt(obj1
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1831 if (arg1
) (arg1
)->x
= arg2
;
1833 Py_INCREF(Py_None
); resultobj
= Py_None
;
1840 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxSize
*arg1
= (wxSize
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1852 result
= (int) ((arg1
)->x
);
1854 resultobj
= SWIG_FromInt((int)result
);
1861 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1862 PyObject
*resultobj
;
1863 wxSize
*arg1
= (wxSize
*) 0 ;
1865 PyObject
* obj0
= 0 ;
1866 PyObject
* obj1
= 0 ;
1868 (char *) "self",(char *) "y", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1874 arg2
= (int) SWIG_AsInt(obj1
);
1875 if (PyErr_Occurred()) SWIG_fail
;
1876 if (arg1
) (arg1
)->y
= arg2
;
1878 Py_INCREF(Py_None
); resultobj
= Py_None
;
1885 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1886 PyObject
*resultobj
;
1887 wxSize
*arg1
= (wxSize
*) 0 ;
1889 PyObject
* obj0
= 0 ;
1891 (char *) "self", NULL
1894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1897 result
= (int) ((arg1
)->y
);
1899 resultobj
= SWIG_FromInt((int)result
);
1906 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1907 PyObject
*resultobj
;
1908 int arg1
= (int) 0 ;
1909 int arg2
= (int) 0 ;
1911 PyObject
* obj0
= 0 ;
1912 PyObject
* obj1
= 0 ;
1914 (char *) "w",(char *) "h", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Size",kwnames
,&obj0
,&obj1
)) goto fail
;
1919 arg1
= (int) SWIG_AsInt(obj0
);
1920 if (PyErr_Occurred()) SWIG_fail
;
1923 arg2
= (int) SWIG_AsInt(obj1
);
1924 if (PyErr_Occurred()) SWIG_fail
;
1927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1928 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1930 wxPyEndAllowThreads(__tstate
);
1931 if (PyErr_Occurred()) SWIG_fail
;
1933 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 1);
1940 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1941 PyObject
*resultobj
;
1942 wxSize
*arg1
= (wxSize
*) 0 ;
1943 PyObject
* obj0
= 0 ;
1945 (char *) "self", NULL
1948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 wxPyEndAllowThreads(__tstate
);
1956 if (PyErr_Occurred()) SWIG_fail
;
1958 Py_INCREF(Py_None
); resultobj
= Py_None
;
1965 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1966 PyObject
*resultobj
;
1967 wxSize
*arg1
= (wxSize
*) 0 ;
1971 PyObject
* obj0
= 0 ;
1972 PyObject
* obj1
= 0 ;
1974 (char *) "self",(char *) "sz", NULL
1977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
1979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
1982 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
1998 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxSize
*arg1
= (wxSize
*) 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "sz", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2012 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2015 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2019 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
2021 wxPyEndAllowThreads(__tstate
);
2022 if (PyErr_Occurred()) SWIG_fail
;
2024 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2031 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2032 PyObject
*resultobj
;
2033 wxSize
*arg1
= (wxSize
*) 0 ;
2037 PyObject
* obj0
= 0 ;
2038 PyObject
* obj1
= 0 ;
2040 (char *) "self",(char *) "sz", NULL
2043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2048 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2059 resultptr
= new wxSize((wxSize
&) result
);
2060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2068 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2069 PyObject
*resultobj
;
2070 wxSize
*arg1
= (wxSize
*) 0 ;
2074 PyObject
* obj0
= 0 ;
2075 PyObject
* obj1
= 0 ;
2077 (char *) "self",(char *) "sz", NULL
2080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2085 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2089 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
2091 wxPyEndAllowThreads(__tstate
);
2092 if (PyErr_Occurred()) SWIG_fail
;
2096 resultptr
= new wxSize((wxSize
&) result
);
2097 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
2105 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2106 PyObject
*resultobj
;
2107 wxSize
*arg1
= (wxSize
*) 0 ;
2110 PyObject
* obj0
= 0 ;
2111 PyObject
* obj1
= 0 ;
2113 (char *) "self",(char *) "sz", NULL
2116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2121 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2125 (arg1
)->IncTo((wxSize
const &)*arg2
);
2127 wxPyEndAllowThreads(__tstate
);
2128 if (PyErr_Occurred()) SWIG_fail
;
2130 Py_INCREF(Py_None
); resultobj
= Py_None
;
2137 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2138 PyObject
*resultobj
;
2139 wxSize
*arg1
= (wxSize
*) 0 ;
2142 PyObject
* obj0
= 0 ;
2143 PyObject
* obj1
= 0 ;
2145 (char *) "self",(char *) "sz", NULL
2148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
2149 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2150 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2153 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2157 (arg1
)->DecTo((wxSize
const &)*arg2
);
2159 wxPyEndAllowThreads(__tstate
);
2160 if (PyErr_Occurred()) SWIG_fail
;
2162 Py_INCREF(Py_None
); resultobj
= Py_None
;
2169 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2170 PyObject
*resultobj
;
2171 wxSize
*arg1
= (wxSize
*) 0 ;
2174 PyObject
* obj0
= 0 ;
2175 PyObject
* obj1
= 0 ;
2176 PyObject
* obj2
= 0 ;
2178 (char *) "self",(char *) "w",(char *) "h", NULL
2181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Size_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2184 arg2
= (int) SWIG_AsInt(obj1
);
2185 if (PyErr_Occurred()) SWIG_fail
;
2186 arg3
= (int) SWIG_AsInt(obj2
);
2187 if (PyErr_Occurred()) SWIG_fail
;
2189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2190 (arg1
)->Set(arg2
,arg3
);
2192 wxPyEndAllowThreads(__tstate
);
2193 if (PyErr_Occurred()) SWIG_fail
;
2195 Py_INCREF(Py_None
); resultobj
= Py_None
;
2202 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2203 PyObject
*resultobj
;
2204 wxSize
*arg1
= (wxSize
*) 0 ;
2206 PyObject
* obj0
= 0 ;
2207 PyObject
* obj1
= 0 ;
2209 (char *) "self",(char *) "w", NULL
2212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
2213 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2214 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2215 arg2
= (int) SWIG_AsInt(obj1
);
2216 if (PyErr_Occurred()) SWIG_fail
;
2218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2219 (arg1
)->SetWidth(arg2
);
2221 wxPyEndAllowThreads(__tstate
);
2222 if (PyErr_Occurred()) SWIG_fail
;
2224 Py_INCREF(Py_None
); resultobj
= Py_None
;
2231 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2232 PyObject
*resultobj
;
2233 wxSize
*arg1
= (wxSize
*) 0 ;
2235 PyObject
* obj0
= 0 ;
2236 PyObject
* obj1
= 0 ;
2238 (char *) "self",(char *) "h", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2244 arg2
= (int) SWIG_AsInt(obj1
);
2245 if (PyErr_Occurred()) SWIG_fail
;
2247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2248 (arg1
)->SetHeight(arg2
);
2250 wxPyEndAllowThreads(__tstate
);
2251 if (PyErr_Occurred()) SWIG_fail
;
2253 Py_INCREF(Py_None
); resultobj
= Py_None
;
2260 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2261 PyObject
*resultobj
;
2262 wxSize
*arg1
= (wxSize
*) 0 ;
2264 PyObject
* obj0
= 0 ;
2266 (char *) "self", NULL
2269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
2270 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2271 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2274 result
= (int)((wxSize
const *)arg1
)->GetWidth();
2276 wxPyEndAllowThreads(__tstate
);
2277 if (PyErr_Occurred()) SWIG_fail
;
2279 resultobj
= SWIG_FromInt((int)result
);
2286 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2287 PyObject
*resultobj
;
2288 wxSize
*arg1
= (wxSize
*) 0 ;
2290 PyObject
* obj0
= 0 ;
2292 (char *) "self", NULL
2295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
2296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2300 result
= (int)((wxSize
const *)arg1
)->GetHeight();
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 resultobj
= SWIG_FromInt((int)result
);
2312 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxSize
*arg1
= (wxSize
*) 0 ;
2316 PyObject
* obj0
= 0 ;
2318 (char *) "self", NULL
2321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
2322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSize
,
2323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2326 result
= (PyObject
*)wxSize_Get(arg1
);
2328 wxPyEndAllowThreads(__tstate
);
2329 if (PyErr_Occurred()) SWIG_fail
;
2338 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
2340 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2341 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
2343 return Py_BuildValue((char *)"");
2345 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2349 PyObject
* obj0
= 0 ;
2350 PyObject
* obj1
= 0 ;
2352 (char *) "self",(char *) "x", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2357 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2358 arg2
= (double) SWIG_AsDouble(obj1
);
2359 if (PyErr_Occurred()) SWIG_fail
;
2360 if (arg1
) (arg1
)->x
= arg2
;
2362 Py_INCREF(Py_None
); resultobj
= Py_None
;
2369 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2370 PyObject
*resultobj
;
2371 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2373 PyObject
* obj0
= 0 ;
2375 (char *) "self", NULL
2378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
2379 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2380 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2381 result
= (double) ((arg1
)->x
);
2383 resultobj
= SWIG_FromDouble((double)result
);
2390 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2391 PyObject
*resultobj
;
2392 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2394 PyObject
* obj0
= 0 ;
2395 PyObject
* obj1
= 0 ;
2397 (char *) "self",(char *) "y", NULL
2400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2401 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2403 arg2
= (double) SWIG_AsDouble(obj1
);
2404 if (PyErr_Occurred()) SWIG_fail
;
2405 if (arg1
) (arg1
)->y
= arg2
;
2407 Py_INCREF(Py_None
); resultobj
= Py_None
;
2414 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2415 PyObject
*resultobj
;
2416 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2420 (char *) "self", NULL
2423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
2424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2426 result
= (double) ((arg1
)->y
);
2428 resultobj
= SWIG_FromDouble((double)result
);
2435 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 double arg1
= (double) 0.0 ;
2438 double arg2
= (double) 0.0 ;
2439 wxRealPoint
*result
;
2440 PyObject
* obj0
= 0 ;
2441 PyObject
* obj1
= 0 ;
2443 (char *) "x",(char *) "y", NULL
2446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_RealPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
2448 arg1
= (double) SWIG_AsDouble(obj0
);
2449 if (PyErr_Occurred()) SWIG_fail
;
2452 arg2
= (double) SWIG_AsDouble(obj1
);
2453 if (PyErr_Occurred()) SWIG_fail
;
2456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2457 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2459 wxPyEndAllowThreads(__tstate
);
2460 if (PyErr_Occurred()) SWIG_fail
;
2462 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRealPoint
, 1);
2469 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2470 PyObject
*resultobj
;
2471 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2472 PyObject
* obj0
= 0 ;
2474 (char *) "self", NULL
2477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2484 wxPyEndAllowThreads(__tstate
);
2485 if (PyErr_Occurred()) SWIG_fail
;
2487 Py_INCREF(Py_None
); resultobj
= Py_None
;
2494 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2495 PyObject
*resultobj
;
2496 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2497 wxRealPoint
*arg2
= 0 ;
2500 PyObject
* obj0
= 0 ;
2501 PyObject
* obj1
= 0 ;
2503 (char *) "self",(char *) "pt", NULL
2506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2507 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2508 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2511 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2515 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2517 wxPyEndAllowThreads(__tstate
);
2518 if (PyErr_Occurred()) SWIG_fail
;
2520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2527 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2528 PyObject
*resultobj
;
2529 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2530 wxRealPoint
*arg2
= 0 ;
2533 PyObject
* obj0
= 0 ;
2534 PyObject
* obj1
= 0 ;
2536 (char *) "self",(char *) "pt", NULL
2539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2540 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2541 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2544 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2548 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2550 wxPyEndAllowThreads(__tstate
);
2551 if (PyErr_Occurred()) SWIG_fail
;
2553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2560 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2561 PyObject
*resultobj
;
2562 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2563 wxRealPoint
*arg2
= 0 ;
2566 PyObject
* obj0
= 0 ;
2567 PyObject
* obj1
= 0 ;
2569 (char *) "self",(char *) "pt", NULL
2572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2577 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2581 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2583 wxPyEndAllowThreads(__tstate
);
2584 if (PyErr_Occurred()) SWIG_fail
;
2587 wxRealPoint
* resultptr
;
2588 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2589 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2597 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2598 PyObject
*resultobj
;
2599 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2600 wxRealPoint
*arg2
= 0 ;
2603 PyObject
* obj0
= 0 ;
2604 PyObject
* obj1
= 0 ;
2606 (char *) "self",(char *) "pt", NULL
2609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2610 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2614 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2618 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2620 wxPyEndAllowThreads(__tstate
);
2621 if (PyErr_Occurred()) SWIG_fail
;
2624 wxRealPoint
* resultptr
;
2625 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2626 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRealPoint
, 1);
2634 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2635 PyObject
*resultobj
;
2636 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2639 PyObject
* obj0
= 0 ;
2640 PyObject
* obj1
= 0 ;
2641 PyObject
* obj2
= 0 ;
2643 (char *) "self",(char *) "x",(char *) "y", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:RealPoint_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
2647 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2648 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2649 arg2
= (double) SWIG_AsDouble(obj1
);
2650 if (PyErr_Occurred()) SWIG_fail
;
2651 arg3
= (double) SWIG_AsDouble(obj2
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2655 wxRealPoint_Set(arg1
,arg2
,arg3
);
2657 wxPyEndAllowThreads(__tstate
);
2658 if (PyErr_Occurred()) SWIG_fail
;
2660 Py_INCREF(Py_None
); resultobj
= Py_None
;
2667 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2668 PyObject
*resultobj
;
2669 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2671 PyObject
* obj0
= 0 ;
2673 (char *) "self", NULL
2676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2677 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRealPoint
,
2678 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2681 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2683 wxPyEndAllowThreads(__tstate
);
2684 if (PyErr_Occurred()) SWIG_fail
;
2693 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2696 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2698 return Py_BuildValue((char *)"");
2700 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2701 PyObject
*resultobj
;
2702 wxPoint
*arg1
= (wxPoint
*) 0 ;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "self",(char *) "x", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2713 arg2
= (int) SWIG_AsInt(obj1
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2715 if (arg1
) (arg1
)->x
= arg2
;
2717 Py_INCREF(Py_None
); resultobj
= Py_None
;
2724 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxPoint
*arg1
= (wxPoint
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2735 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2736 result
= (int) ((arg1
)->x
);
2738 resultobj
= SWIG_FromInt((int)result
);
2745 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2746 PyObject
*resultobj
;
2747 wxPoint
*arg1
= (wxPoint
*) 0 ;
2749 PyObject
* obj0
= 0 ;
2750 PyObject
* obj1
= 0 ;
2752 (char *) "self",(char *) "y", NULL
2755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
2756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2758 arg2
= (int) SWIG_AsInt(obj1
);
2759 if (PyErr_Occurred()) SWIG_fail
;
2760 if (arg1
) (arg1
)->y
= arg2
;
2762 Py_INCREF(Py_None
); resultobj
= Py_None
;
2769 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2770 PyObject
*resultobj
;
2771 wxPoint
*arg1
= (wxPoint
*) 0 ;
2773 PyObject
* obj0
= 0 ;
2775 (char *) "self", NULL
2778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2781 result
= (int) ((arg1
)->y
);
2783 resultobj
= SWIG_FromInt((int)result
);
2790 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2791 PyObject
*resultobj
;
2792 int arg1
= (int) 0 ;
2793 int arg2
= (int) 0 ;
2795 PyObject
* obj0
= 0 ;
2796 PyObject
* obj1
= 0 ;
2798 (char *) "x",(char *) "y", NULL
2801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point",kwnames
,&obj0
,&obj1
)) goto fail
;
2803 arg1
= (int) SWIG_AsInt(obj0
);
2804 if (PyErr_Occurred()) SWIG_fail
;
2807 arg2
= (int) SWIG_AsInt(obj1
);
2808 if (PyErr_Occurred()) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 1);
2824 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxPoint
*arg1
= (wxPoint
*) 0 ;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "self", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxPoint
*arg1
= (wxPoint
*) 0 ;
2855 PyObject
* obj0
= 0 ;
2856 PyObject
* obj1
= 0 ;
2858 (char *) "self",(char *) "pt", NULL
2861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2862 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2863 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2866 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2882 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxPoint
*arg1
= (wxPoint
*) 0 ;
2888 PyObject
* obj0
= 0 ;
2889 PyObject
* obj1
= 0 ;
2891 (char *) "self",(char *) "pt", NULL
2894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2899 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2903 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2905 wxPyEndAllowThreads(__tstate
);
2906 if (PyErr_Occurred()) SWIG_fail
;
2908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
2915 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2916 PyObject
*resultobj
;
2917 wxPoint
*arg1
= (wxPoint
*) 0 ;
2921 PyObject
* obj0
= 0 ;
2922 PyObject
* obj1
= 0 ;
2924 (char *) "self",(char *) "pt", NULL
2927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2928 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2929 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2932 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2936 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2938 wxPyEndAllowThreads(__tstate
);
2939 if (PyErr_Occurred()) SWIG_fail
;
2942 wxPoint
* resultptr
;
2943 resultptr
= new wxPoint((wxPoint
&) result
);
2944 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2952 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2953 PyObject
*resultobj
;
2954 wxPoint
*arg1
= (wxPoint
*) 0 ;
2958 PyObject
* obj0
= 0 ;
2959 PyObject
* obj1
= 0 ;
2961 (char *) "self",(char *) "pt", NULL
2964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
2966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
2969 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2973 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2975 wxPyEndAllowThreads(__tstate
);
2976 if (PyErr_Occurred()) SWIG_fail
;
2979 wxPoint
* resultptr
;
2980 resultptr
= new wxPoint((wxPoint
&) result
);
2981 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
2989 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2990 PyObject
*resultobj
;
2991 wxPoint
*arg1
= (wxPoint
*) 0 ;
2995 PyObject
* obj0
= 0 ;
2996 PyObject
* obj1
= 0 ;
2998 (char *) "self",(char *) "pt", NULL
3001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3011 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
3012 result
= (wxPoint
*) &_result_ref
;
3015 wxPyEndAllowThreads(__tstate
);
3016 if (PyErr_Occurred()) SWIG_fail
;
3018 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3025 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3026 PyObject
*resultobj
;
3027 wxPoint
*arg1
= (wxPoint
*) 0 ;
3031 PyObject
* obj0
= 0 ;
3032 PyObject
* obj1
= 0 ;
3034 (char *) "self",(char *) "pt", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3042 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3047 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
3048 result
= (wxPoint
*) &_result_ref
;
3051 wxPyEndAllowThreads(__tstate
);
3052 if (PyErr_Occurred()) SWIG_fail
;
3054 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
3061 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3062 PyObject
*resultobj
;
3063 wxPoint
*arg1
= (wxPoint
*) 0 ;
3066 PyObject
* obj0
= 0 ;
3067 PyObject
* obj1
= 0 ;
3068 PyObject
* obj2
= 0 ;
3070 (char *) "self",(char *) "x",(char *) "y", NULL
3073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Point_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3076 arg2
= (long) SWIG_AsLong(obj1
);
3077 if (PyErr_Occurred()) SWIG_fail
;
3078 arg3
= (long) SWIG_AsLong(obj2
);
3079 if (PyErr_Occurred()) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 wxPoint_Set(arg1
,arg2
,arg3
);
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 Py_INCREF(Py_None
); resultobj
= Py_None
;
3094 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxPoint
*arg1
= (wxPoint
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "self", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint
,
3105 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3108 result
= (PyObject
*)wxPoint_Get(arg1
);
3110 wxPyEndAllowThreads(__tstate
);
3111 if (PyErr_Occurred()) SWIG_fail
;
3120 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
3122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3123 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
3125 return Py_BuildValue((char *)"");
3127 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 int arg1
= (int) 0 ;
3130 int arg2
= (int) 0 ;
3131 int arg3
= (int) 0 ;
3132 int arg4
= (int) 0 ;
3134 PyObject
* obj0
= 0 ;
3135 PyObject
* obj1
= 0 ;
3136 PyObject
* obj2
= 0 ;
3137 PyObject
* obj3
= 0 ;
3139 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_Rect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
3144 arg1
= (int) SWIG_AsInt(obj0
);
3145 if (PyErr_Occurred()) SWIG_fail
;
3148 arg2
= (int) SWIG_AsInt(obj1
);
3149 if (PyErr_Occurred()) SWIG_fail
;
3152 arg3
= (int) SWIG_AsInt(obj2
);
3153 if (PyErr_Occurred()) SWIG_fail
;
3156 arg4
= (int) SWIG_AsInt(obj3
);
3157 if (PyErr_Occurred()) SWIG_fail
;
3160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3161 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
3163 wxPyEndAllowThreads(__tstate
);
3164 if (PyErr_Occurred()) SWIG_fail
;
3166 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3173 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3174 PyObject
*resultobj
;
3180 PyObject
* obj0
= 0 ;
3181 PyObject
* obj1
= 0 ;
3183 (char *) "topLeft",(char *) "bottomRight", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
3189 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3193 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3197 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
3199 wxPyEndAllowThreads(__tstate
);
3200 if (PyErr_Occurred()) SWIG_fail
;
3202 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3209 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3210 PyObject
*resultobj
;
3216 PyObject
* obj0
= 0 ;
3217 PyObject
* obj1
= 0 ;
3219 (char *) "pos",(char *) "size", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
3225 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3229 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3233 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
3235 wxPyEndAllowThreads(__tstate
);
3236 if (PyErr_Occurred()) SWIG_fail
;
3238 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 1);
3245 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3246 PyObject
*resultobj
;
3247 wxRect
*arg1
= (wxRect
*) 0 ;
3248 PyObject
* obj0
= 0 ;
3250 (char *) "self", NULL
3253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
3254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3260 wxPyEndAllowThreads(__tstate
);
3261 if (PyErr_Occurred()) SWIG_fail
;
3263 Py_INCREF(Py_None
); resultobj
= Py_None
;
3270 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3271 PyObject
*resultobj
;
3272 wxRect
*arg1
= (wxRect
*) 0 ;
3274 PyObject
* obj0
= 0 ;
3276 (char *) "self", NULL
3279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
3280 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3281 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3284 result
= (int)((wxRect
const *)arg1
)->GetX();
3286 wxPyEndAllowThreads(__tstate
);
3287 if (PyErr_Occurred()) SWIG_fail
;
3289 resultobj
= SWIG_FromInt((int)result
);
3296 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3297 PyObject
*resultobj
;
3298 wxRect
*arg1
= (wxRect
*) 0 ;
3300 PyObject
* obj0
= 0 ;
3301 PyObject
* obj1
= 0 ;
3303 (char *) "self",(char *) "x", NULL
3306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetX",kwnames
,&obj0
,&obj1
)) goto fail
;
3307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3309 arg2
= (int) SWIG_AsInt(obj1
);
3310 if (PyErr_Occurred()) SWIG_fail
;
3312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3315 wxPyEndAllowThreads(__tstate
);
3316 if (PyErr_Occurred()) SWIG_fail
;
3318 Py_INCREF(Py_None
); resultobj
= Py_None
;
3325 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3326 PyObject
*resultobj
;
3327 wxRect
*arg1
= (wxRect
*) 0 ;
3329 PyObject
* obj0
= 0 ;
3331 (char *) "self", NULL
3334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
3335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3339 result
= (int)(arg1
)->GetY();
3341 wxPyEndAllowThreads(__tstate
);
3342 if (PyErr_Occurred()) SWIG_fail
;
3344 resultobj
= SWIG_FromInt((int)result
);
3351 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3352 PyObject
*resultobj
;
3353 wxRect
*arg1
= (wxRect
*) 0 ;
3355 PyObject
* obj0
= 0 ;
3356 PyObject
* obj1
= 0 ;
3358 (char *) "self",(char *) "y", NULL
3361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetY",kwnames
,&obj0
,&obj1
)) goto fail
;
3362 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3363 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3364 arg2
= (int) SWIG_AsInt(obj1
);
3365 if (PyErr_Occurred()) SWIG_fail
;
3367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 Py_INCREF(Py_None
); resultobj
= Py_None
;
3380 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxRect
*arg1
= (wxRect
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3386 (char *) "self", NULL
3389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
3390 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3391 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3394 result
= (int)((wxRect
const *)arg1
)->GetWidth();
3396 wxPyEndAllowThreads(__tstate
);
3397 if (PyErr_Occurred()) SWIG_fail
;
3399 resultobj
= SWIG_FromInt((int)result
);
3406 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3407 PyObject
*resultobj
;
3408 wxRect
*arg1
= (wxRect
*) 0 ;
3410 PyObject
* obj0
= 0 ;
3411 PyObject
* obj1
= 0 ;
3413 (char *) "self",(char *) "w", NULL
3416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
3417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3419 arg2
= (int) SWIG_AsInt(obj1
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3423 (arg1
)->SetWidth(arg2
);
3425 wxPyEndAllowThreads(__tstate
);
3426 if (PyErr_Occurred()) SWIG_fail
;
3428 Py_INCREF(Py_None
); resultobj
= Py_None
;
3435 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3436 PyObject
*resultobj
;
3437 wxRect
*arg1
= (wxRect
*) 0 ;
3439 PyObject
* obj0
= 0 ;
3441 (char *) "self", NULL
3444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
3445 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3446 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= (int)((wxRect
const *)arg1
)->GetHeight();
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3454 resultobj
= SWIG_FromInt((int)result
);
3461 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3462 PyObject
*resultobj
;
3463 wxRect
*arg1
= (wxRect
*) 0 ;
3465 PyObject
* obj0
= 0 ;
3466 PyObject
* obj1
= 0 ;
3468 (char *) "self",(char *) "h", NULL
3471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetHeight",kwnames
,&obj0
,&obj1
)) goto fail
;
3472 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3474 arg2
= (int) SWIG_AsInt(obj1
);
3475 if (PyErr_Occurred()) SWIG_fail
;
3477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3478 (arg1
)->SetHeight(arg2
);
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 Py_INCREF(Py_None
); resultobj
= Py_None
;
3490 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxRect
*arg1
= (wxRect
*) 0 ;
3494 PyObject
* obj0
= 0 ;
3496 (char *) "self", NULL
3499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
3500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3504 result
= ((wxRect
const *)arg1
)->GetPosition();
3506 wxPyEndAllowThreads(__tstate
);
3507 if (PyErr_Occurred()) SWIG_fail
;
3510 wxPoint
* resultptr
;
3511 resultptr
= new wxPoint((wxPoint
&) result
);
3512 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3520 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3521 PyObject
*resultobj
;
3522 wxRect
*arg1
= (wxRect
*) 0 ;
3525 PyObject
* obj0
= 0 ;
3526 PyObject
* obj1
= 0 ;
3528 (char *) "self",(char *) "p", NULL
3531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
3532 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3533 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3536 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3540 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3542 wxPyEndAllowThreads(__tstate
);
3543 if (PyErr_Occurred()) SWIG_fail
;
3545 Py_INCREF(Py_None
); resultobj
= Py_None
;
3552 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3553 PyObject
*resultobj
;
3554 wxRect
*arg1
= (wxRect
*) 0 ;
3556 PyObject
* obj0
= 0 ;
3558 (char *) "self", NULL
3561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3562 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3563 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3566 result
= ((wxRect
const *)arg1
)->GetSize();
3568 wxPyEndAllowThreads(__tstate
);
3569 if (PyErr_Occurred()) SWIG_fail
;
3573 resultptr
= new wxSize((wxSize
&) result
);
3574 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
3582 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3583 PyObject
*resultobj
;
3584 wxRect
*arg1
= (wxRect
*) 0 ;
3587 PyObject
* obj0
= 0 ;
3588 PyObject
* obj1
= 0 ;
3590 (char *) "self",(char *) "s", NULL
3593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3598 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3602 (arg1
)->SetSize((wxSize
const &)*arg2
);
3604 wxPyEndAllowThreads(__tstate
);
3605 if (PyErr_Occurred()) SWIG_fail
;
3607 Py_INCREF(Py_None
); resultobj
= Py_None
;
3614 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3615 PyObject
*resultobj
;
3616 wxRect
*arg1
= (wxRect
*) 0 ;
3618 PyObject
* obj0
= 0 ;
3620 (char *) "self", NULL
3623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3624 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3625 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3628 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3630 wxPyEndAllowThreads(__tstate
);
3631 if (PyErr_Occurred()) SWIG_fail
;
3634 wxPoint
* resultptr
;
3635 resultptr
= new wxPoint((wxPoint
&) result
);
3636 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3644 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3649 PyObject
* obj0
= 0 ;
3650 PyObject
* obj1
= 0 ;
3652 (char *) "self",(char *) "p", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3660 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3664 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3666 wxPyEndAllowThreads(__tstate
);
3667 if (PyErr_Occurred()) SWIG_fail
;
3669 Py_INCREF(Py_None
); resultobj
= Py_None
;
3676 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3677 PyObject
*resultobj
;
3678 wxRect
*arg1
= (wxRect
*) 0 ;
3680 PyObject
* obj0
= 0 ;
3682 (char *) "self", NULL
3685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3686 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3687 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3690 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3692 wxPyEndAllowThreads(__tstate
);
3693 if (PyErr_Occurred()) SWIG_fail
;
3696 wxPoint
* resultptr
;
3697 resultptr
= new wxPoint((wxPoint
&) result
);
3698 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
3706 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxRect
*arg1
= (wxRect
*) 0 ;
3711 PyObject
* obj0
= 0 ;
3712 PyObject
* obj1
= 0 ;
3714 (char *) "self",(char *) "p", NULL
3717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3722 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3726 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3728 wxPyEndAllowThreads(__tstate
);
3729 if (PyErr_Occurred()) SWIG_fail
;
3731 Py_INCREF(Py_None
); resultobj
= Py_None
;
3738 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3739 PyObject
*resultobj
;
3740 wxRect
*arg1
= (wxRect
*) 0 ;
3742 PyObject
* obj0
= 0 ;
3744 (char *) "self", NULL
3747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3752 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3754 wxPyEndAllowThreads(__tstate
);
3755 if (PyErr_Occurred()) SWIG_fail
;
3757 resultobj
= SWIG_FromInt((int)result
);
3764 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3768 PyObject
* obj0
= 0 ;
3770 (char *) "self", NULL
3773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 result
= (int)((wxRect
const *)arg1
)->GetTop();
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 resultobj
= SWIG_FromInt((int)result
);
3790 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxRect
*arg1
= (wxRect
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3804 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3806 wxPyEndAllowThreads(__tstate
);
3807 if (PyErr_Occurred()) SWIG_fail
;
3809 resultobj
= SWIG_FromInt((int)result
);
3816 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxRect
*arg1
= (wxRect
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3827 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3830 result
= (int)((wxRect
const *)arg1
)->GetRight();
3832 wxPyEndAllowThreads(__tstate
);
3833 if (PyErr_Occurred()) SWIG_fail
;
3835 resultobj
= SWIG_FromInt((int)result
);
3842 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3843 PyObject
*resultobj
;
3844 wxRect
*arg1
= (wxRect
*) 0 ;
3846 PyObject
* obj0
= 0 ;
3847 PyObject
* obj1
= 0 ;
3849 (char *) "self",(char *) "left", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3855 arg2
= (int) SWIG_AsInt(obj1
);
3856 if (PyErr_Occurred()) SWIG_fail
;
3858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3859 (arg1
)->SetLeft(arg2
);
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 Py_INCREF(Py_None
); resultobj
= Py_None
;
3871 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
;
3873 wxRect
*arg1
= (wxRect
*) 0 ;
3875 PyObject
* obj0
= 0 ;
3876 PyObject
* obj1
= 0 ;
3878 (char *) "self",(char *) "right", NULL
3881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3884 arg2
= (int) SWIG_AsInt(obj1
);
3885 if (PyErr_Occurred()) SWIG_fail
;
3887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3888 (arg1
)->SetRight(arg2
);
3890 wxPyEndAllowThreads(__tstate
);
3891 if (PyErr_Occurred()) SWIG_fail
;
3893 Py_INCREF(Py_None
); resultobj
= Py_None
;
3900 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3901 PyObject
*resultobj
;
3902 wxRect
*arg1
= (wxRect
*) 0 ;
3904 PyObject
* obj0
= 0 ;
3905 PyObject
* obj1
= 0 ;
3907 (char *) "self",(char *) "top", NULL
3910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTop",kwnames
,&obj0
,&obj1
)) goto fail
;
3911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3913 arg2
= (int) SWIG_AsInt(obj1
);
3914 if (PyErr_Occurred()) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 (arg1
)->SetTop(arg2
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3922 Py_INCREF(Py_None
); resultobj
= Py_None
;
3929 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3930 PyObject
*resultobj
;
3931 wxRect
*arg1
= (wxRect
*) 0 ;
3933 PyObject
* obj0
= 0 ;
3934 PyObject
* obj1
= 0 ;
3936 (char *) "self",(char *) "bottom", NULL
3939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottom",kwnames
,&obj0
,&obj1
)) goto fail
;
3940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3942 arg2
= (int) SWIG_AsInt(obj1
);
3943 if (PyErr_Occurred()) SWIG_fail
;
3945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3946 (arg1
)->SetBottom(arg2
);
3948 wxPyEndAllowThreads(__tstate
);
3949 if (PyErr_Occurred()) SWIG_fail
;
3951 Py_INCREF(Py_None
); resultobj
= Py_None
;
3958 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3959 PyObject
*resultobj
;
3960 wxRect
*arg1
= (wxRect
*) 0 ;
3964 PyObject
* obj0
= 0 ;
3965 PyObject
* obj1
= 0 ;
3966 PyObject
* obj2
= 0 ;
3968 (char *) "self",(char *) "dx",(char *) "dy", NULL
3971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Inflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
3972 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
3973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
3974 arg2
= (int) SWIG_AsInt(obj1
);
3975 if (PyErr_Occurred()) SWIG_fail
;
3976 arg3
= (int) SWIG_AsInt(obj2
);
3977 if (PyErr_Occurred()) SWIG_fail
;
3979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3982 result
= (wxRect
*) &_result_ref
;
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
3995 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3996 PyObject
*resultobj
;
3997 wxRect
*arg1
= (wxRect
*) 0 ;
4001 PyObject
* obj0
= 0 ;
4002 PyObject
* obj1
= 0 ;
4003 PyObject
* obj2
= 0 ;
4005 (char *) "self",(char *) "dx",(char *) "dy", NULL
4008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_Deflate",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4009 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4010 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4011 arg2
= (int) SWIG_AsInt(obj1
);
4012 if (PyErr_Occurred()) SWIG_fail
;
4013 arg3
= (int) SWIG_AsInt(obj2
);
4014 if (PyErr_Occurred()) SWIG_fail
;
4016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4018 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
4019 result
= (wxRect
*) &_result_ref
;
4022 wxPyEndAllowThreads(__tstate
);
4023 if (PyErr_Occurred()) SWIG_fail
;
4025 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4032 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4033 PyObject
*resultobj
;
4034 wxRect
*arg1
= (wxRect
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4038 PyObject
* obj1
= 0 ;
4039 PyObject
* obj2
= 0 ;
4041 (char *) "self",(char *) "dx",(char *) "dy", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_OffsetXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4047 arg2
= (int) SWIG_AsInt(obj1
);
4048 if (PyErr_Occurred()) SWIG_fail
;
4049 arg3
= (int) SWIG_AsInt(obj2
);
4050 if (PyErr_Occurred()) SWIG_fail
;
4052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4053 (arg1
)->Offset(arg2
,arg3
);
4055 wxPyEndAllowThreads(__tstate
);
4056 if (PyErr_Occurred()) SWIG_fail
;
4058 Py_INCREF(Py_None
); resultobj
= Py_None
;
4065 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4066 PyObject
*resultobj
;
4067 wxRect
*arg1
= (wxRect
*) 0 ;
4070 PyObject
* obj0
= 0 ;
4071 PyObject
* obj1
= 0 ;
4073 (char *) "self",(char *) "pt", NULL
4076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
4077 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4078 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4081 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4085 (arg1
)->Offset((wxPoint
const &)*arg2
);
4087 wxPyEndAllowThreads(__tstate
);
4088 if (PyErr_Occurred()) SWIG_fail
;
4090 Py_INCREF(Py_None
); resultobj
= Py_None
;
4097 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4098 PyObject
*resultobj
;
4099 wxRect
*arg1
= (wxRect
*) 0 ;
4103 PyObject
* obj0
= 0 ;
4104 PyObject
* obj1
= 0 ;
4106 (char *) "self",(char *) "rect", NULL
4109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
4110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4114 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4119 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
4120 result
= (wxRect
*) &_result_ref
;
4123 wxPyEndAllowThreads(__tstate
);
4124 if (PyErr_Occurred()) SWIG_fail
;
4126 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4133 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4134 PyObject
*resultobj
;
4135 wxRect
*arg1
= (wxRect
*) 0 ;
4139 PyObject
* obj0
= 0 ;
4140 PyObject
* obj1
= 0 ;
4142 (char *) "self",(char *) "rect", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4147 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4150 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4154 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
4156 wxPyEndAllowThreads(__tstate
);
4157 if (PyErr_Occurred()) SWIG_fail
;
4161 resultptr
= new wxRect((wxRect
&) result
);
4162 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
4170 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4171 PyObject
*resultobj
;
4172 wxRect
*arg1
= (wxRect
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4177 PyObject
* obj1
= 0 ;
4179 (char *) "self",(char *) "rect", NULL
4182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4187 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
4193 result
= (wxRect
*) &_result_ref
;
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
4206 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxRect
*arg1
= (wxRect
*) 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "rect", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4223 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4227 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4232 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4239 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4240 PyObject
*resultobj
;
4241 wxRect
*arg1
= (wxRect
*) 0 ;
4245 PyObject
* obj0
= 0 ;
4246 PyObject
* obj1
= 0 ;
4248 (char *) "self",(char *) "rect", NULL
4251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4256 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4260 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
4262 wxPyEndAllowThreads(__tstate
);
4263 if (PyErr_Occurred()) SWIG_fail
;
4265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4272 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4273 PyObject
*resultobj
;
4274 wxRect
*arg1
= (wxRect
*) 0 ;
4278 PyObject
* obj0
= 0 ;
4279 PyObject
* obj1
= 0 ;
4280 PyObject
* obj2
= 0 ;
4282 (char *) "self",(char *) "x",(char *) "y", NULL
4285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Rect_InsideXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
4286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4288 arg2
= (int) SWIG_AsInt(obj1
);
4289 if (PyErr_Occurred()) SWIG_fail
;
4290 arg3
= (int) SWIG_AsInt(obj2
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4294 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
4296 wxPyEndAllowThreads(__tstate
);
4297 if (PyErr_Occurred()) SWIG_fail
;
4299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4306 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4307 PyObject
*resultobj
;
4308 wxRect
*arg1
= (wxRect
*) 0 ;
4312 PyObject
* obj0
= 0 ;
4313 PyObject
* obj1
= 0 ;
4315 (char *) "self",(char *) "pt", NULL
4318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
4319 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4320 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4323 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
4326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4327 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4339 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxRect
*arg1
= (wxRect
*) 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4348 (char *) "self",(char *) "rect", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
4352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4356 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
4359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4372 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxRect
*arg1
= (wxRect
*) 0 ;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4379 (char *) "self",(char *) "x", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4383 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4385 arg2
= (int) SWIG_AsInt(obj1
);
4386 if (PyErr_Occurred()) SWIG_fail
;
4387 if (arg1
) (arg1
)->x
= arg2
;
4389 Py_INCREF(Py_None
); resultobj
= Py_None
;
4396 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4397 PyObject
*resultobj
;
4398 wxRect
*arg1
= (wxRect
*) 0 ;
4400 PyObject
* obj0
= 0 ;
4402 (char *) "self", NULL
4405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
4406 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4407 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4408 result
= (int) ((arg1
)->x
);
4410 resultobj
= SWIG_FromInt((int)result
);
4417 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4418 PyObject
*resultobj
;
4419 wxRect
*arg1
= (wxRect
*) 0 ;
4421 PyObject
* obj0
= 0 ;
4422 PyObject
* obj1
= 0 ;
4424 (char *) "self",(char *) "y", NULL
4427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4428 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4429 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4430 arg2
= (int) SWIG_AsInt(obj1
);
4431 if (PyErr_Occurred()) SWIG_fail
;
4432 if (arg1
) (arg1
)->y
= arg2
;
4434 Py_INCREF(Py_None
); resultobj
= Py_None
;
4441 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxRect
*arg1
= (wxRect
*) 0 ;
4445 PyObject
* obj0
= 0 ;
4447 (char *) "self", NULL
4450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
4451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4453 result
= (int) ((arg1
)->y
);
4455 resultobj
= SWIG_FromInt((int)result
);
4462 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4463 PyObject
*resultobj
;
4464 wxRect
*arg1
= (wxRect
*) 0 ;
4466 PyObject
* obj0
= 0 ;
4467 PyObject
* obj1
= 0 ;
4469 (char *) "self",(char *) "width", NULL
4472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_width_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4475 arg2
= (int) SWIG_AsInt(obj1
);
4476 if (PyErr_Occurred()) SWIG_fail
;
4477 if (arg1
) (arg1
)->width
= arg2
;
4479 Py_INCREF(Py_None
); resultobj
= Py_None
;
4486 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4487 PyObject
*resultobj
;
4488 wxRect
*arg1
= (wxRect
*) 0 ;
4490 PyObject
* obj0
= 0 ;
4492 (char *) "self", NULL
4495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
4496 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4497 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4498 result
= (int) ((arg1
)->width
);
4500 resultobj
= SWIG_FromInt((int)result
);
4507 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4508 PyObject
*resultobj
;
4509 wxRect
*arg1
= (wxRect
*) 0 ;
4511 PyObject
* obj0
= 0 ;
4512 PyObject
* obj1
= 0 ;
4514 (char *) "self",(char *) "height", NULL
4517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_height_set",kwnames
,&obj0
,&obj1
)) goto fail
;
4518 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4519 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4520 arg2
= (int) SWIG_AsInt(obj1
);
4521 if (PyErr_Occurred()) SWIG_fail
;
4522 if (arg1
) (arg1
)->height
= arg2
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxRect
*arg1
= (wxRect
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4543 result
= (int) ((arg1
)->height
);
4545 resultobj
= SWIG_FromInt((int)result
);
4552 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4553 PyObject
*resultobj
;
4554 wxRect
*arg1
= (wxRect
*) 0 ;
4555 int arg2
= (int) 0 ;
4556 int arg3
= (int) 0 ;
4557 int arg4
= (int) 0 ;
4558 int arg5
= (int) 0 ;
4559 PyObject
* obj0
= 0 ;
4560 PyObject
* obj1
= 0 ;
4561 PyObject
* obj2
= 0 ;
4562 PyObject
* obj3
= 0 ;
4563 PyObject
* obj4
= 0 ;
4565 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
4568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Rect_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
4569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4572 arg2
= (int) SWIG_AsInt(obj1
);
4573 if (PyErr_Occurred()) SWIG_fail
;
4576 arg3
= (int) SWIG_AsInt(obj2
);
4577 if (PyErr_Occurred()) SWIG_fail
;
4580 arg4
= (int) SWIG_AsInt(obj3
);
4581 if (PyErr_Occurred()) SWIG_fail
;
4584 arg5
= (int) SWIG_AsInt(obj4
);
4585 if (PyErr_Occurred()) SWIG_fail
;
4588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4589 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
4591 wxPyEndAllowThreads(__tstate
);
4592 if (PyErr_Occurred()) SWIG_fail
;
4594 Py_INCREF(Py_None
); resultobj
= Py_None
;
4601 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4602 PyObject
*resultobj
;
4603 wxRect
*arg1
= (wxRect
*) 0 ;
4605 PyObject
* obj0
= 0 ;
4607 (char *) "self", NULL
4610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
4611 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4612 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4615 result
= (PyObject
*)wxRect_Get(arg1
);
4617 wxPyEndAllowThreads(__tstate
);
4618 if (PyErr_Occurred()) SWIG_fail
;
4627 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
4629 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4630 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
4632 return Py_BuildValue((char *)"");
4634 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4635 PyObject
*resultobj
;
4636 wxRect
*arg1
= (wxRect
*) 0 ;
4637 wxRect
*arg2
= (wxRect
*) 0 ;
4639 PyObject
* obj0
= 0 ;
4640 PyObject
* obj1
= 0 ;
4642 (char *) "r1",(char *) "r2", NULL
4645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
4646 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxRect
,
4647 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4648 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
4649 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4664 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 double arg1
= (double) 0.0 ;
4667 double arg2
= (double) 0.0 ;
4669 PyObject
* obj0
= 0 ;
4670 PyObject
* obj1
= 0 ;
4672 (char *) "x",(char *) "y", NULL
4675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Point2D",kwnames
,&obj0
,&obj1
)) goto fail
;
4677 arg1
= (double) SWIG_AsDouble(obj0
);
4678 if (PyErr_Occurred()) SWIG_fail
;
4681 arg2
= (double) SWIG_AsDouble(obj1
);
4682 if (PyErr_Occurred()) SWIG_fail
;
4685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4686 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
4688 wxPyEndAllowThreads(__tstate
);
4689 if (PyErr_Occurred()) SWIG_fail
;
4691 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4698 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4699 PyObject
*resultobj
;
4700 wxPoint2D
*arg1
= 0 ;
4703 PyObject
* obj0
= 0 ;
4708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4711 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4715 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4717 wxPyEndAllowThreads(__tstate
);
4718 if (PyErr_Occurred()) SWIG_fail
;
4720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4727 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4728 PyObject
*resultobj
;
4732 PyObject
* obj0
= 0 ;
4737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4740 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4744 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4746 wxPyEndAllowThreads(__tstate
);
4747 if (PyErr_Occurred()) SWIG_fail
;
4749 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 1);
4756 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4757 PyObject
*resultobj
;
4758 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4759 int *arg2
= (int *) 0 ;
4760 int *arg3
= (int *) 0 ;
4763 PyObject
* obj0
= 0 ;
4765 (char *) "self", NULL
4770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4771 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4772 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4780 Py_INCREF(Py_None
); resultobj
= Py_None
;
4782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4783 resultobj
= t_output_helper(resultobj
,o
);
4786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4787 resultobj
= t_output_helper(resultobj
,o
);
4795 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4796 PyObject
*resultobj
;
4797 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4798 int *arg2
= (int *) 0 ;
4799 int *arg3
= (int *) 0 ;
4802 PyObject
* obj0
= 0 ;
4804 (char *) "self", NULL
4809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4810 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4811 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4814 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4816 wxPyEndAllowThreads(__tstate
);
4817 if (PyErr_Occurred()) SWIG_fail
;
4819 Py_INCREF(Py_None
); resultobj
= Py_None
;
4821 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4822 resultobj
= t_output_helper(resultobj
,o
);
4825 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4826 resultobj
= t_output_helper(resultobj
,o
);
4834 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4835 PyObject
*resultobj
;
4836 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4838 PyObject
* obj0
= 0 ;
4840 (char *) "self", NULL
4843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4848 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_FromDouble((double)result
);
4860 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4861 PyObject
*resultobj
;
4862 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4864 PyObject
* obj0
= 0 ;
4866 (char *) "self", NULL
4869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4870 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4871 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4874 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4876 wxPyEndAllowThreads(__tstate
);
4877 if (PyErr_Occurred()) SWIG_fail
;
4879 resultobj
= SWIG_FromDouble((double)result
);
4886 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4887 PyObject
*resultobj
;
4888 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4890 PyObject
* obj0
= 0 ;
4891 PyObject
* obj1
= 0 ;
4893 (char *) "self",(char *) "length", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorLength",kwnames
,&obj0
,&obj1
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4899 arg2
= (double) SWIG_AsDouble(obj1
);
4900 if (PyErr_Occurred()) SWIG_fail
;
4902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4903 (arg1
)->SetVectorLength(arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 Py_INCREF(Py_None
); resultobj
= Py_None
;
4915 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4916 PyObject
*resultobj
;
4917 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4919 PyObject
* obj0
= 0 ;
4920 PyObject
* obj1
= 0 ;
4922 (char *) "self",(char *) "degrees", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_SetVectorAngle",kwnames
,&obj0
,&obj1
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4928 arg2
= (double) SWIG_AsDouble(obj1
);
4929 if (PyErr_Occurred()) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 (arg1
)->SetVectorAngle(arg2
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4937 Py_INCREF(Py_None
); resultobj
= Py_None
;
4944 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4947 wxPoint2D
*arg2
= 0 ;
4950 PyObject
* obj0
= 0 ;
4951 PyObject
* obj1
= 0 ;
4953 (char *) "self",(char *) "pt", NULL
4956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4961 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4965 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4967 wxPyEndAllowThreads(__tstate
);
4968 if (PyErr_Occurred()) SWIG_fail
;
4970 resultobj
= SWIG_FromDouble((double)result
);
4977 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4978 PyObject
*resultobj
;
4979 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4980 wxPoint2D
*arg2
= 0 ;
4983 PyObject
* obj0
= 0 ;
4984 PyObject
* obj1
= 0 ;
4986 (char *) "self",(char *) "pt", NULL
4989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
4991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
4994 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4998 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
5000 wxPyEndAllowThreads(__tstate
);
5001 if (PyErr_Occurred()) SWIG_fail
;
5003 resultobj
= SWIG_FromDouble((double)result
);
5010 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5011 PyObject
*resultobj
;
5012 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5013 wxPoint2D
*arg2
= 0 ;
5016 PyObject
* obj0
= 0 ;
5017 PyObject
* obj1
= 0 ;
5019 (char *) "self",(char *) "vec", NULL
5022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5027 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5031 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
5033 wxPyEndAllowThreads(__tstate
);
5034 if (PyErr_Occurred()) SWIG_fail
;
5036 resultobj
= SWIG_FromDouble((double)result
);
5043 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5044 PyObject
*resultobj
;
5045 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5046 wxPoint2D
*arg2
= 0 ;
5049 PyObject
* obj0
= 0 ;
5050 PyObject
* obj1
= 0 ;
5052 (char *) "self",(char *) "vec", NULL
5055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
5056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5060 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= SWIG_FromDouble((double)result
);
5076 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5082 (char *) "self", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5090 result
= (arg1
)->operator -();
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5096 wxPoint2D
* resultptr
;
5097 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
5098 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint2D
, 1);
5106 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5109 wxPoint2D
*arg2
= 0 ;
5112 PyObject
* obj0
= 0 ;
5113 PyObject
* obj1
= 0 ;
5115 (char *) "self",(char *) "pt", NULL
5118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
5119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5123 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5128 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
5129 result
= (wxPoint2D
*) &_result_ref
;
5132 wxPyEndAllowThreads(__tstate
);
5133 if (PyErr_Occurred()) SWIG_fail
;
5135 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5142 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5143 PyObject
*resultobj
;
5144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5145 wxPoint2D
*arg2
= 0 ;
5148 PyObject
* obj0
= 0 ;
5149 PyObject
* obj1
= 0 ;
5151 (char *) "self",(char *) "pt", NULL
5154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
5155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5159 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5164 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
5165 result
= (wxPoint2D
*) &_result_ref
;
5168 wxPyEndAllowThreads(__tstate
);
5169 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5178 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5179 PyObject
*resultobj
;
5180 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5181 wxPoint2D
*arg2
= 0 ;
5184 PyObject
* obj0
= 0 ;
5185 PyObject
* obj1
= 0 ;
5187 (char *) "self",(char *) "pt", NULL
5190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
5191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5195 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5200 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
5201 result
= (wxPoint2D
*) &_result_ref
;
5204 wxPyEndAllowThreads(__tstate
);
5205 if (PyErr_Occurred()) SWIG_fail
;
5207 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5214 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5215 PyObject
*resultobj
;
5216 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5217 wxPoint2D
*arg2
= 0 ;
5220 PyObject
* obj0
= 0 ;
5221 PyObject
* obj1
= 0 ;
5223 (char *) "self",(char *) "pt", NULL
5226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
5227 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5231 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5236 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
5237 result
= (wxPoint2D
*) &_result_ref
;
5240 wxPyEndAllowThreads(__tstate
);
5241 if (PyErr_Occurred()) SWIG_fail
;
5243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint2D
, 0);
5250 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5251 PyObject
*resultobj
;
5252 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5253 wxPoint2D
*arg2
= 0 ;
5256 PyObject
* obj0
= 0 ;
5257 PyObject
* obj1
= 0 ;
5259 (char *) "self",(char *) "pt", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
5263 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5264 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5267 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5271 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
5273 wxPyEndAllowThreads(__tstate
);
5274 if (PyErr_Occurred()) SWIG_fail
;
5276 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5283 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5284 PyObject
*resultobj
;
5285 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5286 wxPoint2D
*arg2
= 0 ;
5289 PyObject
* obj0
= 0 ;
5290 PyObject
* obj1
= 0 ;
5292 (char *) "self",(char *) "pt", NULL
5295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
5296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5300 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
5303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5304 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
5306 wxPyEndAllowThreads(__tstate
);
5307 if (PyErr_Occurred()) SWIG_fail
;
5309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5316 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5317 PyObject
*resultobj
;
5318 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5320 PyObject
* obj0
= 0 ;
5321 PyObject
* obj1
= 0 ;
5323 (char *) "self",(char *) "m_x", NULL
5326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5327 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5328 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5329 arg2
= (double) SWIG_AsDouble(obj1
);
5330 if (PyErr_Occurred()) SWIG_fail
;
5331 if (arg1
) (arg1
)->m_x
= arg2
;
5333 Py_INCREF(Py_None
); resultobj
= Py_None
;
5340 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5341 PyObject
*resultobj
;
5342 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5344 PyObject
* obj0
= 0 ;
5346 (char *) "self", NULL
5349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
5350 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5351 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5352 result
= (double) ((arg1
)->m_x
);
5354 resultobj
= SWIG_FromDouble((double)result
);
5361 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
;
5363 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5365 PyObject
* obj0
= 0 ;
5366 PyObject
* obj1
= 0 ;
5368 (char *) "self",(char *) "m_y", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5374 arg2
= (double) SWIG_AsDouble(obj1
);
5375 if (PyErr_Occurred()) SWIG_fail
;
5376 if (arg1
) (arg1
)->m_y
= arg2
;
5378 Py_INCREF(Py_None
); resultobj
= Py_None
;
5385 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5386 PyObject
*resultobj
;
5387 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5389 PyObject
* obj0
= 0 ;
5391 (char *) "self", NULL
5394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
5395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5397 result
= (double) ((arg1
)->m_y
);
5399 resultobj
= SWIG_FromDouble((double)result
);
5406 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5407 PyObject
*resultobj
;
5408 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5409 double arg2
= (double) 0 ;
5410 double arg3
= (double) 0 ;
5411 PyObject
* obj0
= 0 ;
5412 PyObject
* obj1
= 0 ;
5413 PyObject
* obj2
= 0 ;
5415 (char *) "self",(char *) "x",(char *) "y", NULL
5418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Point2D_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5419 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5420 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5422 arg2
= (double) SWIG_AsDouble(obj1
);
5423 if (PyErr_Occurred()) SWIG_fail
;
5426 arg3
= (double) SWIG_AsDouble(obj2
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5431 wxPoint2D_Set(arg1
,arg2
,arg3
);
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5436 Py_INCREF(Py_None
); resultobj
= Py_None
;
5443 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5444 PyObject
*resultobj
;
5445 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
5447 PyObject
* obj0
= 0 ;
5449 (char *) "self", NULL
5452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
5453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPoint2D
,
5454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 result
= (PyObject
*)wxPoint2D_Get(arg1
);
5459 wxPyEndAllowThreads(__tstate
);
5460 if (PyErr_Occurred()) SWIG_fail
;
5469 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
5471 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5472 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
5474 return Py_BuildValue((char *)"");
5476 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
5477 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
5482 static PyObject
*_wrap_DefaultPosition_get() {
5485 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultPosition
), SWIGTYPE_p_wxPoint
, 0);
5490 static int _wrap_DefaultSize_set(PyObject
*_val
) {
5491 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
5496 static PyObject
*_wrap_DefaultSize_get() {
5499 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSize
), SWIGTYPE_p_wxSize
, 0);
5504 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5505 PyObject
*resultobj
;
5506 PyObject
*arg1
= (PyObject
*) 0 ;
5507 wxPyInputStream
*result
;
5508 PyObject
* obj0
= 0 ;
5513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
5516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5517 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
5519 wxPyEndAllowThreads(__tstate
);
5520 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyInputStream
, 1);
5529 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5530 PyObject
*resultobj
;
5531 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5532 PyObject
* obj0
= 0 ;
5534 (char *) "self", NULL
5537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
5538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5544 wxPyEndAllowThreads(__tstate
);
5545 if (PyErr_Occurred()) SWIG_fail
;
5547 Py_INCREF(Py_None
); resultobj
= Py_None
;
5554 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5555 PyObject
*resultobj
;
5556 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5557 PyObject
* obj0
= 0 ;
5559 (char *) "self", NULL
5562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
5563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 wxPyEndAllowThreads(__tstate
);
5570 if (PyErr_Occurred()) SWIG_fail
;
5572 Py_INCREF(Py_None
); resultobj
= Py_None
;
5579 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5580 PyObject
*resultobj
;
5581 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5585 (char *) "self", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5593 result
= (bool)(arg1
)->eof();
5595 wxPyEndAllowThreads(__tstate
);
5596 if (PyErr_Occurred()) SWIG_fail
;
5598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5605 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5606 PyObject
*resultobj
;
5607 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5608 int arg2
= (int) -1 ;
5610 PyObject
* obj0
= 0 ;
5611 PyObject
* obj1
= 0 ;
5613 (char *) "self",(char *) "size", NULL
5616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_read",kwnames
,&obj0
,&obj1
)) goto fail
;
5617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5620 arg2
= (int) SWIG_AsInt(obj1
);
5621 if (PyErr_Occurred()) SWIG_fail
;
5624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5625 result
= (PyObject
*)(arg1
)->read(arg2
);
5627 wxPyEndAllowThreads(__tstate
);
5628 if (PyErr_Occurred()) SWIG_fail
;
5637 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5638 PyObject
*resultobj
;
5639 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5640 int arg2
= (int) -1 ;
5642 PyObject
* obj0
= 0 ;
5643 PyObject
* obj1
= 0 ;
5645 (char *) "self",(char *) "size", NULL
5648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readline",kwnames
,&obj0
,&obj1
)) goto fail
;
5649 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5650 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5652 arg2
= (int) SWIG_AsInt(obj1
);
5653 if (PyErr_Occurred()) SWIG_fail
;
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 result
= (PyObject
*)(arg1
)->readline(arg2
);
5659 wxPyEndAllowThreads(__tstate
);
5660 if (PyErr_Occurred()) SWIG_fail
;
5669 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5670 PyObject
*resultobj
;
5671 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5672 int arg2
= (int) -1 ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "sizehint", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:InputStream_readlines",kwnames
,&obj0
,&obj1
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5682 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5684 arg2
= (int) SWIG_AsInt(obj1
);
5685 if (PyErr_Occurred()) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (PyObject
*)(arg1
)->readlines(arg2
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5701 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5702 PyObject
*resultobj
;
5703 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5705 int arg3
= (int) 0 ;
5706 PyObject
* obj0
= 0 ;
5707 PyObject
* obj1
= 0 ;
5708 PyObject
* obj2
= 0 ;
5710 (char *) "self",(char *) "offset",(char *) "whence", NULL
5713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_seek",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5714 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5715 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5716 arg2
= (int) SWIG_AsInt(obj1
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5719 arg3
= (int) SWIG_AsInt(obj2
);
5720 if (PyErr_Occurred()) SWIG_fail
;
5723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5724 (arg1
)->seek(arg2
,arg3
);
5726 wxPyEndAllowThreads(__tstate
);
5727 if (PyErr_Occurred()) SWIG_fail
;
5729 Py_INCREF(Py_None
); resultobj
= Py_None
;
5736 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5737 PyObject
*resultobj
;
5738 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5740 PyObject
* obj0
= 0 ;
5742 (char *) "self", NULL
5745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
5746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5750 result
= (int)(arg1
)->tell();
5752 wxPyEndAllowThreads(__tstate
);
5753 if (PyErr_Occurred()) SWIG_fail
;
5755 resultobj
= SWIG_FromInt((int)result
);
5762 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5763 PyObject
*resultobj
;
5764 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5766 PyObject
* obj0
= 0 ;
5768 (char *) "self", NULL
5771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 result
= (char)(arg1
)->Peek();
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5781 resultobj
= SWIG_FromChar((char)result
);
5788 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5789 PyObject
*resultobj
;
5790 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5792 PyObject
* obj0
= 0 ;
5794 (char *) "self", NULL
5797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5802 result
= (char)(arg1
)->GetC();
5804 wxPyEndAllowThreads(__tstate
);
5805 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= SWIG_FromChar((char)result
);
5814 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5818 PyObject
* obj0
= 0 ;
5820 (char *) "self", NULL
5823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5828 result
= (size_t)(arg1
)->LastRead();
5830 wxPyEndAllowThreads(__tstate
);
5831 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
5840 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5844 PyObject
* obj0
= 0 ;
5846 (char *) "self", NULL
5849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5854 result
= (bool)(arg1
)->CanRead();
5856 wxPyEndAllowThreads(__tstate
);
5857 if (PyErr_Occurred()) SWIG_fail
;
5859 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5866 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5867 PyObject
*resultobj
;
5868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5870 PyObject
* obj0
= 0 ;
5872 (char *) "self", NULL
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5876 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5877 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5880 result
= (bool)(arg1
)->Eof();
5882 wxPyEndAllowThreads(__tstate
);
5883 if (PyErr_Occurred()) SWIG_fail
;
5885 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5892 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5897 PyObject
* obj0
= 0 ;
5898 PyObject
* obj1
= 0 ;
5900 (char *) "self",(char *) "c", NULL
5903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InputStream_Ungetch",kwnames
,&obj0
,&obj1
)) goto fail
;
5904 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5905 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5906 arg2
= (char) SWIG_AsChar(obj1
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5910 result
= (bool)(arg1
)->Ungetch(arg2
);
5912 wxPyEndAllowThreads(__tstate
);
5913 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5922 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
;
5924 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5926 int arg3
= (int) wxFromStart
;
5928 PyObject
* obj0
= 0 ;
5929 PyObject
* obj1
= 0 ;
5930 PyObject
* obj2
= 0 ;
5932 (char *) "self",(char *) "pos",(char *) "mode", NULL
5935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:InputStream_SeekI",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5938 arg2
= (long) SWIG_AsLong(obj1
);
5939 if (PyErr_Occurred()) SWIG_fail
;
5941 arg3
= (wxSeekMode
) SWIG_AsInt(obj2
);
5942 if (PyErr_Occurred()) SWIG_fail
;
5945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5946 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5948 wxPyEndAllowThreads(__tstate
);
5949 if (PyErr_Occurred()) SWIG_fail
;
5951 resultobj
= SWIG_FromLong((long)result
);
5958 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5959 PyObject
*resultobj
;
5960 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5962 PyObject
* obj0
= 0 ;
5964 (char *) "self", NULL
5967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5968 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyInputStream
,
5969 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
5971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5972 result
= (long)(arg1
)->TellI();
5974 wxPyEndAllowThreads(__tstate
);
5975 if (PyErr_Occurred()) SWIG_fail
;
5977 resultobj
= SWIG_FromLong((long)result
);
5984 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5986 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5987 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5989 return Py_BuildValue((char *)"");
5991 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5992 PyObject
*resultobj
;
5993 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5994 PyObject
*arg2
= (PyObject
*) 0 ;
5995 PyObject
* obj0
= 0 ;
5996 PyObject
* obj1
= 0 ;
5998 (char *) "self",(char *) "obj", NULL
6001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
6002 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxOutputStream
,
6003 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6007 wxOutputStream_write(arg1
,arg2
);
6009 wxPyEndAllowThreads(__tstate
);
6010 if (PyErr_Occurred()) SWIG_fail
;
6012 Py_INCREF(Py_None
); resultobj
= Py_None
;
6019 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
6021 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6022 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
6024 return Py_BuildValue((char *)"");
6026 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6027 PyObject
*resultobj
;
6028 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
6029 wxString
*arg2
= 0 ;
6030 wxString
*arg3
= 0 ;
6031 wxString
*arg4
= 0 ;
6034 wxPyInputStream
*temp1
;
6036 bool temp2
= False
;
6037 bool temp3
= False
;
6038 bool temp4
= False
;
6040 PyObject
* obj0
= 0 ;
6041 PyObject
* obj1
= 0 ;
6042 PyObject
* obj2
= 0 ;
6043 PyObject
* obj3
= 0 ;
6044 PyObject
* obj4
= 0 ;
6046 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
6051 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
6052 arg1
= temp1
->m_wxis
;
6055 PyErr_Clear(); // clear the failure of the wxPyConvert above
6056 arg1
= wxPyCBInputStream_create(obj0
, False
);
6058 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
6065 arg2
= wxString_in_helper(obj1
);
6066 if (arg2
== NULL
) SWIG_fail
;
6070 arg3
= wxString_in_helper(obj2
);
6071 if (arg3
== NULL
) SWIG_fail
;
6075 arg4
= wxString_in_helper(obj3
);
6076 if (arg4
== NULL
) SWIG_fail
;
6079 if ((SWIG_ConvertPtr(obj4
,(void **)(&argp5
),SWIGTYPE_p_wxDateTime
,
6080 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6090 resultobj
= wxPyMake_wxObject(result
);
6130 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6132 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6133 PyObject
* obj0
= 0 ;
6135 (char *) "self", NULL
6138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
6139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6145 wxPyEndAllowThreads(__tstate
);
6146 if (PyErr_Occurred()) SWIG_fail
;
6148 Py_INCREF(Py_None
); resultobj
= Py_None
;
6155 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6158 wxInputStream
*result
;
6159 PyObject
* obj0
= 0 ;
6161 (char *) "self", NULL
6164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
6165 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6166 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= (wxInputStream
*)(arg1
)->GetStream();
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6175 wxPyInputStream
* _ptr
= NULL
;
6178 _ptr
= new wxPyInputStream(result
);
6180 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
6188 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6189 PyObject
*resultobj
;
6190 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6192 PyObject
* obj0
= 0 ;
6194 (char *) "self", NULL
6197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
6198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6203 wxString
const &_result_ref
= (arg1
)->GetMimeType();
6204 result
= (wxString
*) &_result_ref
;
6207 wxPyEndAllowThreads(__tstate
);
6208 if (PyErr_Occurred()) SWIG_fail
;
6212 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6214 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6223 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6224 PyObject
*resultobj
;
6225 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6227 PyObject
* obj0
= 0 ;
6229 (char *) "self", NULL
6232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
6233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6238 wxString
const &_result_ref
= (arg1
)->GetLocation();
6239 result
= (wxString
*) &_result_ref
;
6242 wxPyEndAllowThreads(__tstate
);
6243 if (PyErr_Occurred()) SWIG_fail
;
6247 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6249 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6258 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6260 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6262 PyObject
* obj0
= 0 ;
6264 (char *) "self", NULL
6267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
6268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6273 wxString
const &_result_ref
= (arg1
)->GetAnchor();
6274 result
= (wxString
*) &_result_ref
;
6277 wxPyEndAllowThreads(__tstate
);
6278 if (PyErr_Occurred()) SWIG_fail
;
6282 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
6284 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
6293 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6294 PyObject
*resultobj
;
6295 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
6297 PyObject
* obj0
= 0 ;
6299 (char *) "self", NULL
6302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
6303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFSFile
,
6304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6307 result
= (arg1
)->GetModificationTime();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 wxDateTime
* resultptr
;
6314 resultptr
= new wxDateTime((wxDateTime
&) result
);
6315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxDateTime
, 1);
6323 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
6325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6326 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
6328 return Py_BuildValue((char *)"");
6330 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6333 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
6335 return Py_BuildValue((char *)"");
6337 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6338 PyObject
*resultobj
;
6339 wxPyFileSystemHandler
*result
;
6344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
6346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6347 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
6349 wxPyEndAllowThreads(__tstate
);
6350 if (PyErr_Occurred()) SWIG_fail
;
6352 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyFileSystemHandler
, 1);
6359 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6360 PyObject
*resultobj
;
6361 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6362 PyObject
*arg2
= (PyObject
*) 0 ;
6363 PyObject
*arg3
= (PyObject
*) 0 ;
6364 PyObject
* obj0
= 0 ;
6365 PyObject
* obj1
= 0 ;
6366 PyObject
* obj2
= 0 ;
6368 (char *) "self",(char *) "self",(char *) "_class", NULL
6371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6378 (arg1
)->_setCallbackInfo(arg2
,arg3
);
6380 wxPyEndAllowThreads(__tstate
);
6381 if (PyErr_Occurred()) SWIG_fail
;
6383 Py_INCREF(Py_None
); resultobj
= Py_None
;
6390 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6391 PyObject
*resultobj
;
6392 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6393 wxString
*arg2
= 0 ;
6395 bool temp2
= False
;
6396 PyObject
* obj0
= 0 ;
6397 PyObject
* obj1
= 0 ;
6399 (char *) "self",(char *) "location", NULL
6402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6406 arg2
= wxString_in_helper(obj1
);
6407 if (arg2
== NULL
) SWIG_fail
;
6411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6412 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6414 wxPyEndAllowThreads(__tstate
);
6415 if (PyErr_Occurred()) SWIG_fail
;
6417 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6432 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6433 PyObject
*resultobj
;
6434 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6435 wxFileSystem
*arg2
= 0 ;
6436 wxString
*arg3
= 0 ;
6438 bool temp3
= False
;
6439 PyObject
* obj0
= 0 ;
6440 PyObject
* obj1
= 0 ;
6441 PyObject
* obj2
= 0 ;
6443 (char *) "self",(char *) "fs",(char *) "location", NULL
6446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6447 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6448 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6449 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
6450 SWIG_POINTER_EXCEPTION
| 0)) == -1)
6453 PyErr_SetString(PyExc_TypeError
,"null reference");
6457 arg3
= wxString_in_helper(obj2
);
6458 if (arg3
== NULL
) SWIG_fail
;
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6465 wxPyEndAllowThreads(__tstate
);
6466 if (PyErr_Occurred()) SWIG_fail
;
6469 resultobj
= wxPyMake_wxObject(result
);
6485 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6486 PyObject
*resultobj
;
6487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6488 wxString
*arg2
= 0 ;
6489 int arg3
= (int) 0 ;
6491 bool temp2
= False
;
6492 PyObject
* obj0
= 0 ;
6493 PyObject
* obj1
= 0 ;
6494 PyObject
* obj2
= 0 ;
6496 (char *) "self",(char *) "spec",(char *) "flags", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6501 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6503 arg2
= wxString_in_helper(obj1
);
6504 if (arg2
== NULL
) SWIG_fail
;
6508 arg3
= (int) SWIG_AsInt(obj2
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6515 wxPyEndAllowThreads(__tstate
);
6516 if (PyErr_Occurred()) SWIG_fail
;
6520 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6522 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6539 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6540 PyObject
*resultobj
;
6541 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6543 PyObject
* obj0
= 0 ;
6545 (char *) "self", NULL
6548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6549 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6550 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6553 result
= (arg1
)->FindNext();
6555 wxPyEndAllowThreads(__tstate
);
6556 if (PyErr_Occurred()) SWIG_fail
;
6560 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6562 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6571 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6572 PyObject
*resultobj
;
6573 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6574 wxString
*arg2
= 0 ;
6576 bool temp2
= False
;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6580 (char *) "self",(char *) "location", NULL
6583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
6584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6587 arg2
= wxString_in_helper(obj1
);
6588 if (arg2
== NULL
) SWIG_fail
;
6592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6593 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
6595 wxPyEndAllowThreads(__tstate
);
6596 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6602 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6619 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6620 PyObject
*resultobj
;
6621 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6622 wxString
*arg2
= 0 ;
6624 bool temp2
= False
;
6625 PyObject
* obj0
= 0 ;
6626 PyObject
* obj1
= 0 ;
6628 (char *) "self",(char *) "location", NULL
6631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6635 arg2
= wxString_in_helper(obj1
);
6636 if (arg2
== NULL
) SWIG_fail
;
6640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6641 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
6643 wxPyEndAllowThreads(__tstate
);
6644 if (PyErr_Occurred()) SWIG_fail
;
6648 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6650 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6667 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6668 PyObject
*resultobj
;
6669 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6670 wxString
*arg2
= 0 ;
6672 bool temp2
= False
;
6673 PyObject
* obj0
= 0 ;
6674 PyObject
* obj1
= 0 ;
6676 (char *) "self",(char *) "location", NULL
6679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
6680 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6681 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6683 arg2
= wxString_in_helper(obj1
);
6684 if (arg2
== NULL
) SWIG_fail
;
6688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6689 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6715 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6716 PyObject
*resultobj
;
6717 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6718 wxString
*arg2
= 0 ;
6720 bool temp2
= False
;
6721 PyObject
* obj0
= 0 ;
6722 PyObject
* obj1
= 0 ;
6724 (char *) "self",(char *) "location", NULL
6727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
6728 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6729 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6731 arg2
= wxString_in_helper(obj1
);
6732 if (arg2
== NULL
) SWIG_fail
;
6736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6737 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
6739 wxPyEndAllowThreads(__tstate
);
6740 if (PyErr_Occurred()) SWIG_fail
;
6744 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6746 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6763 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6764 PyObject
*resultobj
;
6765 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
6766 wxString
*arg2
= 0 ;
6768 bool temp2
= False
;
6769 PyObject
* obj0
= 0 ;
6770 PyObject
* obj1
= 0 ;
6772 (char *) "self",(char *) "location", NULL
6775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
6776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyFileSystemHandler
,
6777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6779 arg2
= wxString_in_helper(obj1
);
6780 if (arg2
== NULL
) SWIG_fail
;
6784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6785 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
6787 wxPyEndAllowThreads(__tstate
);
6788 if (PyErr_Occurred()) SWIG_fail
;
6792 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6794 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6811 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6813 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6814 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
6816 return Py_BuildValue((char *)"");
6818 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6819 PyObject
*resultobj
;
6820 wxFileSystem
*result
;
6825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
6827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6828 result
= (wxFileSystem
*)new wxFileSystem();
6830 wxPyEndAllowThreads(__tstate
);
6831 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= wxPyMake_wxObject(result
);
6842 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "self", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6857 wxPyEndAllowThreads(__tstate
);
6858 if (PyErr_Occurred()) SWIG_fail
;
6860 Py_INCREF(Py_None
); resultobj
= Py_None
;
6867 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6868 PyObject
*resultobj
;
6869 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6870 wxString
*arg2
= 0 ;
6871 bool arg3
= (bool) False
;
6872 bool temp2
= False
;
6873 PyObject
* obj0
= 0 ;
6874 PyObject
* obj1
= 0 ;
6875 PyObject
* obj2
= 0 ;
6877 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6881 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6882 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6884 arg2
= wxString_in_helper(obj1
);
6885 if (arg2
== NULL
) SWIG_fail
;
6889 arg3
= (bool) SWIG_AsBool(obj2
);
6890 if (PyErr_Occurred()) SWIG_fail
;
6893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6894 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6896 wxPyEndAllowThreads(__tstate
);
6897 if (PyErr_Occurred()) SWIG_fail
;
6899 Py_INCREF(Py_None
); resultobj
= Py_None
;
6914 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6915 PyObject
*resultobj
;
6916 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6918 PyObject
* obj0
= 0 ;
6920 (char *) "self", NULL
6923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6924 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6928 result
= (arg1
)->GetPath();
6930 wxPyEndAllowThreads(__tstate
);
6931 if (PyErr_Occurred()) SWIG_fail
;
6935 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6937 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6946 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6947 PyObject
*resultobj
;
6948 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6949 wxString
*arg2
= 0 ;
6951 bool temp2
= False
;
6952 PyObject
* obj0
= 0 ;
6953 PyObject
* obj1
= 0 ;
6955 (char *) "self",(char *) "location", NULL
6958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6959 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
6960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
6962 arg2
= wxString_in_helper(obj1
);
6963 if (arg2
== NULL
) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6974 resultobj
= wxPyMake_wxObject(result
);
6990 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6991 PyObject
*resultobj
;
6992 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6993 wxString
*arg2
= 0 ;
6994 int arg3
= (int) 0 ;
6996 bool temp2
= False
;
6997 PyObject
* obj0
= 0 ;
6998 PyObject
* obj1
= 0 ;
6999 PyObject
* obj2
= 0 ;
7001 (char *) "self",(char *) "spec",(char *) "flags", NULL
7004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7005 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7006 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7008 arg2
= wxString_in_helper(obj1
);
7009 if (arg2
== NULL
) SWIG_fail
;
7013 arg3
= (int) SWIG_AsInt(obj2
);
7014 if (PyErr_Occurred()) SWIG_fail
;
7017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7018 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7020 wxPyEndAllowThreads(__tstate
);
7021 if (PyErr_Occurred()) SWIG_fail
;
7025 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7027 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7044 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
7048 PyObject
* obj0
= 0 ;
7050 (char *) "self", NULL
7053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
7054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystem
,
7055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7058 result
= (arg1
)->FindNext();
7060 wxPyEndAllowThreads(__tstate
);
7061 if (PyErr_Occurred()) SWIG_fail
;
7065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7076 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7077 PyObject
*resultobj
;
7078 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
7079 PyObject
* obj0
= 0 ;
7081 (char *) "handler", NULL
7084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
7085 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFileSystemHandler
,
7086 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7089 wxFileSystem::AddHandler(arg1
);
7091 wxPyEndAllowThreads(__tstate
);
7092 if (PyErr_Occurred()) SWIG_fail
;
7094 Py_INCREF(Py_None
); resultobj
= Py_None
;
7101 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7102 PyObject
*resultobj
;
7107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
7109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7110 wxFileSystem::CleanUpHandlers();
7112 wxPyEndAllowThreads(__tstate
);
7113 if (PyErr_Occurred()) SWIG_fail
;
7115 Py_INCREF(Py_None
); resultobj
= Py_None
;
7122 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7123 PyObject
*resultobj
;
7124 wxString
*arg1
= 0 ;
7126 bool temp1
= False
;
7127 PyObject
* obj0
= 0 ;
7129 (char *) "filename", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
7134 arg1
= wxString_in_helper(obj0
);
7135 if (arg1
== NULL
) SWIG_fail
;
7139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7140 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
7142 wxPyEndAllowThreads(__tstate
);
7143 if (PyErr_Occurred()) SWIG_fail
;
7147 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7149 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7166 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
7168 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7169 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
7171 return Py_BuildValue((char *)"");
7173 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxString
*arg1
= 0 ;
7177 bool temp1
= False
;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "url", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
7185 arg1
= wxString_in_helper(obj0
);
7186 if (arg1
== NULL
) SWIG_fail
;
7190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7191 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
7193 wxPyEndAllowThreads(__tstate
);
7194 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7200 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7217 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7218 PyObject
*resultobj
;
7219 wxInternetFSHandler
*result
;
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
7226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7227 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
7229 wxPyEndAllowThreads(__tstate
);
7230 if (PyErr_Occurred()) SWIG_fail
;
7232 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInternetFSHandler
, 1);
7239 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7240 PyObject
*resultobj
;
7241 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7242 wxString
*arg2
= 0 ;
7244 bool temp2
= False
;
7245 PyObject
* obj0
= 0 ;
7246 PyObject
* obj1
= 0 ;
7248 (char *) "self",(char *) "location", NULL
7251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7255 arg2
= wxString_in_helper(obj1
);
7256 if (arg2
== NULL
) SWIG_fail
;
7260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7261 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7263 wxPyEndAllowThreads(__tstate
);
7264 if (PyErr_Occurred()) SWIG_fail
;
7266 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7281 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
;
7283 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
7284 wxFileSystem
*arg2
= 0 ;
7285 wxString
*arg3
= 0 ;
7287 bool temp3
= False
;
7288 PyObject
* obj0
= 0 ;
7289 PyObject
* obj1
= 0 ;
7290 PyObject
* obj2
= 0 ;
7292 (char *) "self",(char *) "fs",(char *) "location", NULL
7295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7296 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxInternetFSHandler
,
7297 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7298 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7299 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7302 PyErr_SetString(PyExc_TypeError
,"null reference");
7306 arg3
= wxString_in_helper(obj2
);
7307 if (arg3
== NULL
) SWIG_fail
;
7311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7312 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7314 wxPyEndAllowThreads(__tstate
);
7315 if (PyErr_Occurred()) SWIG_fail
;
7318 resultobj
= wxPyMake_wxObject(result
);
7334 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7336 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7337 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
7339 return Py_BuildValue((char *)"");
7341 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7342 PyObject
*resultobj
;
7343 wxZipFSHandler
*result
;
7348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
7350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7351 result
= (wxZipFSHandler
*)new wxZipFSHandler();
7353 wxPyEndAllowThreads(__tstate
);
7354 if (PyErr_Occurred()) SWIG_fail
;
7356 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxZipFSHandler
, 1);
7363 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7364 PyObject
*resultobj
;
7365 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7366 wxString
*arg2
= 0 ;
7368 bool temp2
= False
;
7369 PyObject
* obj0
= 0 ;
7370 PyObject
* obj1
= 0 ;
7372 (char *) "self",(char *) "location", NULL
7375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7379 arg2
= wxString_in_helper(obj1
);
7380 if (arg2
== NULL
) SWIG_fail
;
7384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7385 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7387 wxPyEndAllowThreads(__tstate
);
7388 if (PyErr_Occurred()) SWIG_fail
;
7390 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7405 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7406 PyObject
*resultobj
;
7407 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7408 wxFileSystem
*arg2
= 0 ;
7409 wxString
*arg3
= 0 ;
7411 bool temp3
= False
;
7412 PyObject
* obj0
= 0 ;
7413 PyObject
* obj1
= 0 ;
7414 PyObject
* obj2
= 0 ;
7416 (char *) "self",(char *) "fs",(char *) "location", NULL
7419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7420 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7421 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7422 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7423 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7426 PyErr_SetString(PyExc_TypeError
,"null reference");
7430 arg3
= wxString_in_helper(obj2
);
7431 if (arg3
== NULL
) SWIG_fail
;
7435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7436 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7438 wxPyEndAllowThreads(__tstate
);
7439 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= wxPyMake_wxObject(result
);
7458 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7459 PyObject
*resultobj
;
7460 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7461 wxString
*arg2
= 0 ;
7462 int arg3
= (int) 0 ;
7464 bool temp2
= False
;
7465 PyObject
* obj0
= 0 ;
7466 PyObject
* obj1
= 0 ;
7467 PyObject
* obj2
= 0 ;
7469 (char *) "self",(char *) "spec",(char *) "flags", NULL
7472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7473 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7474 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7476 arg2
= wxString_in_helper(obj1
);
7477 if (arg2
== NULL
) SWIG_fail
;
7481 arg3
= (int) SWIG_AsInt(obj2
);
7482 if (PyErr_Occurred()) SWIG_fail
;
7485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7486 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7488 wxPyEndAllowThreads(__tstate
);
7489 if (PyErr_Occurred()) SWIG_fail
;
7493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7512 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7513 PyObject
*resultobj
;
7514 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
7516 PyObject
* obj0
= 0 ;
7518 (char *) "self", NULL
7521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7522 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxZipFSHandler
,
7523 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7526 result
= (arg1
)->FindNext();
7528 wxPyEndAllowThreads(__tstate
);
7529 if (PyErr_Occurred()) SWIG_fail
;
7533 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7535 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7544 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7546 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7547 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
7549 return Py_BuildValue((char *)"");
7551 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
;
7553 wxString
*arg1
= 0 ;
7556 bool temp1
= False
;
7557 PyObject
* obj0
= 0 ;
7558 PyObject
* obj1
= 0 ;
7559 PyObject
* obj2
= 0 ;
7561 (char *) "filename",(char *) "image",(char *) "type", NULL
7564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7566 arg1
= wxString_in_helper(obj0
);
7567 if (arg1
== NULL
) SWIG_fail
;
7570 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
7571 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7574 PyErr_SetString(PyExc_TypeError
,"null reference");
7577 arg3
= (long) SWIG_AsLong(obj2
);
7578 if (PyErr_Occurred()) SWIG_fail
;
7580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7581 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
7583 wxPyEndAllowThreads(__tstate
);
7584 if (PyErr_Occurred()) SWIG_fail
;
7586 Py_INCREF(Py_None
); resultobj
= Py_None
;
7601 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7602 PyObject
*resultobj
;
7603 wxString
*arg1
= 0 ;
7604 wxBitmap
*arg2
= 0 ;
7606 bool temp1
= False
;
7607 PyObject
* obj0
= 0 ;
7608 PyObject
* obj1
= 0 ;
7609 PyObject
* obj2
= 0 ;
7611 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
7614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7616 arg1
= wxString_in_helper(obj0
);
7617 if (arg1
== NULL
) SWIG_fail
;
7620 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
7621 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7624 PyErr_SetString(PyExc_TypeError
,"null reference");
7627 arg3
= (long) SWIG_AsLong(obj2
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
7633 wxPyEndAllowThreads(__tstate
);
7634 if (PyErr_Occurred()) SWIG_fail
;
7636 Py_INCREF(Py_None
); resultobj
= Py_None
;
7651 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7652 PyObject
*resultobj
;
7653 wxString
*arg1
= 0 ;
7654 PyObject
*arg2
= (PyObject
*) 0 ;
7655 bool temp1
= False
;
7656 PyObject
* obj0
= 0 ;
7657 PyObject
* obj1
= 0 ;
7659 (char *) "filename",(char *) "data", NULL
7662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
7664 arg1
= wxString_in_helper(obj0
);
7665 if (arg1
== NULL
) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 Py_INCREF(Py_None
); resultobj
= Py_None
;
7691 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7692 PyObject
*resultobj
;
7693 wxMemoryFSHandler
*result
;
7698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
7700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7701 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
7703 wxPyEndAllowThreads(__tstate
);
7704 if (PyErr_Occurred()) SWIG_fail
;
7706 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMemoryFSHandler
, 1);
7713 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7714 PyObject
*resultobj
;
7715 wxString
*arg1
= 0 ;
7716 bool temp1
= False
;
7717 PyObject
* obj0
= 0 ;
7719 (char *) "filename", NULL
7722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
7724 arg1
= wxString_in_helper(obj0
);
7725 if (arg1
== NULL
) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7730 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7750 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7751 PyObject
*resultobj
;
7752 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7753 wxString
*arg2
= 0 ;
7755 bool temp2
= False
;
7756 PyObject
* obj0
= 0 ;
7757 PyObject
* obj1
= 0 ;
7759 (char *) "self",(char *) "location", NULL
7762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
7763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7766 arg2
= wxString_in_helper(obj1
);
7767 if (arg2
== NULL
) SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7792 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7793 PyObject
*resultobj
;
7794 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7795 wxFileSystem
*arg2
= 0 ;
7796 wxString
*arg3
= 0 ;
7798 bool temp3
= False
;
7799 PyObject
* obj0
= 0 ;
7800 PyObject
* obj1
= 0 ;
7801 PyObject
* obj2
= 0 ;
7803 (char *) "self",(char *) "fs",(char *) "location", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7809 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFileSystem
,
7810 SWIG_POINTER_EXCEPTION
| 0)) == -1)
7813 PyErr_SetString(PyExc_TypeError
,"null reference");
7817 arg3
= wxString_in_helper(obj2
);
7818 if (arg3
== NULL
) SWIG_fail
;
7822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7823 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
7825 wxPyEndAllowThreads(__tstate
);
7826 if (PyErr_Occurred()) SWIG_fail
;
7829 resultobj
= wxPyMake_wxObject(result
);
7845 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7846 PyObject
*resultobj
;
7847 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7848 wxString
*arg2
= 0 ;
7849 int arg3
= (int) 0 ;
7851 bool temp2
= False
;
7852 PyObject
* obj0
= 0 ;
7853 PyObject
* obj1
= 0 ;
7854 PyObject
* obj2
= 0 ;
7856 (char *) "self",(char *) "spec",(char *) "flags", NULL
7859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7863 arg2
= wxString_in_helper(obj1
);
7864 if (arg2
== NULL
) SWIG_fail
;
7868 arg3
= (int) SWIG_AsInt(obj2
);
7869 if (PyErr_Occurred()) SWIG_fail
;
7872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7873 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
7875 wxPyEndAllowThreads(__tstate
);
7876 if (PyErr_Occurred()) SWIG_fail
;
7880 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7882 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7899 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7903 PyObject
* obj0
= 0 ;
7905 (char *) "self", NULL
7908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMemoryFSHandler
,
7910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7913 result
= (arg1
)->FindNext();
7915 wxPyEndAllowThreads(__tstate
);
7916 if (PyErr_Occurred()) SWIG_fail
;
7920 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7922 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7931 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7933 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7934 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7936 return Py_BuildValue((char *)"");
7938 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7939 PyObject
*resultobj
;
7940 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7942 PyObject
* obj0
= 0 ;
7944 (char *) "self", NULL
7947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7952 result
= (arg1
)->GetName();
7954 wxPyEndAllowThreads(__tstate
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7959 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7961 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7970 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7974 PyObject
* obj0
= 0 ;
7976 (char *) "self", NULL
7979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7980 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
7981 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (arg1
)->GetExtension();
7986 wxPyEndAllowThreads(__tstate
);
7987 if (PyErr_Occurred()) SWIG_fail
;
7991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8002 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8003 PyObject
*resultobj
;
8004 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8006 PyObject
* obj0
= 0 ;
8008 (char *) "self", NULL
8011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
8012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8016 result
= (long)(arg1
)->GetType();
8018 wxPyEndAllowThreads(__tstate
);
8019 if (PyErr_Occurred()) SWIG_fail
;
8021 resultobj
= SWIG_FromLong((long)result
);
8028 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8029 PyObject
*resultobj
;
8030 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8032 PyObject
* obj0
= 0 ;
8034 (char *) "self", NULL
8037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
8038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8042 result
= (arg1
)->GetMimeType();
8044 wxPyEndAllowThreads(__tstate
);
8045 if (PyErr_Occurred()) SWIG_fail
;
8049 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8051 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8060 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8061 PyObject
*resultobj
;
8062 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8063 wxString
*arg2
= 0 ;
8065 bool temp2
= False
;
8066 PyObject
* obj0
= 0 ;
8067 PyObject
* obj1
= 0 ;
8069 (char *) "self",(char *) "name", NULL
8072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
8073 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8074 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8076 arg2
= wxString_in_helper(obj1
);
8077 if (arg2
== NULL
) SWIG_fail
;
8081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8082 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
8084 wxPyEndAllowThreads(__tstate
);
8085 if (PyErr_Occurred()) SWIG_fail
;
8087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8102 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8105 wxString
*arg2
= 0 ;
8106 bool temp2
= False
;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8110 (char *) "self",(char *) "name", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8115 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8117 arg2
= wxString_in_helper(obj1
);
8118 if (arg2
== NULL
) SWIG_fail
;
8122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8123 (arg1
)->SetName((wxString
const &)*arg2
);
8125 wxPyEndAllowThreads(__tstate
);
8126 if (PyErr_Occurred()) SWIG_fail
;
8128 Py_INCREF(Py_None
); resultobj
= Py_None
;
8143 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8144 PyObject
*resultobj
;
8145 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8146 wxString
*arg2
= 0 ;
8147 bool temp2
= False
;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8151 (char *) "self",(char *) "extension", NULL
8154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
8155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8158 arg2
= wxString_in_helper(obj1
);
8159 if (arg2
== NULL
) SWIG_fail
;
8163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8164 (arg1
)->SetExtension((wxString
const &)*arg2
);
8166 wxPyEndAllowThreads(__tstate
);
8167 if (PyErr_Occurred()) SWIG_fail
;
8169 Py_INCREF(Py_None
); resultobj
= Py_None
;
8184 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8185 PyObject
*resultobj
;
8186 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8188 PyObject
* obj0
= 0 ;
8189 PyObject
* obj1
= 0 ;
8191 (char *) "self",(char *) "type", NULL
8194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetType",kwnames
,&obj0
,&obj1
)) goto fail
;
8195 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8196 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8197 arg2
= (long) SWIG_AsLong(obj1
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8201 (arg1
)->SetType(arg2
);
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 Py_INCREF(Py_None
); resultobj
= Py_None
;
8213 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
;
8215 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
8216 wxString
*arg2
= 0 ;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "mimetype", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
8226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8228 arg2
= wxString_in_helper(obj1
);
8229 if (arg2
== NULL
) SWIG_fail
;
8233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8234 (arg1
)->SetMimeType((wxString
const &)*arg2
);
8236 wxPyEndAllowThreads(__tstate
);
8237 if (PyErr_Occurred()) SWIG_fail
;
8239 Py_INCREF(Py_None
); resultobj
= Py_None
;
8254 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
8256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8257 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
8259 return Py_BuildValue((char *)"");
8261 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxImageHistogram
*result
;
8268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
8270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8271 result
= (wxImageHistogram
*)new wxImageHistogram();
8273 wxPyEndAllowThreads(__tstate
);
8274 if (PyErr_Occurred()) SWIG_fail
;
8276 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImageHistogram
, 1);
8283 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8284 PyObject
*resultobj
;
8285 unsigned char arg1
;
8286 unsigned char arg2
;
8287 unsigned char arg3
;
8288 unsigned long result
;
8289 PyObject
* obj0
= 0 ;
8290 PyObject
* obj1
= 0 ;
8291 PyObject
* obj2
= 0 ;
8293 (char *) "r",(char *) "g",(char *) "b", NULL
8296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8297 arg1
= (unsigned char) SWIG_AsUnsignedChar(obj0
);
8298 if (PyErr_Occurred()) SWIG_fail
;
8299 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8300 if (PyErr_Occurred()) SWIG_fail
;
8301 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8302 if (PyErr_Occurred()) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
8307 wxPyEndAllowThreads(__tstate
);
8308 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
8317 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8318 PyObject
*resultobj
;
8319 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
8320 unsigned char *arg2
= (unsigned char *) 0 ;
8321 unsigned char *arg3
= (unsigned char *) 0 ;
8322 unsigned char *arg4
= (unsigned char *) 0 ;
8323 unsigned char arg5
= (unsigned char) 1 ;
8324 unsigned char arg6
= (unsigned char) 0 ;
8325 unsigned char arg7
= (unsigned char) 0 ;
8327 unsigned char temp2
;
8328 unsigned char temp3
;
8329 unsigned char temp4
;
8330 PyObject
* obj0
= 0 ;
8331 PyObject
* obj1
= 0 ;
8332 PyObject
* obj2
= 0 ;
8333 PyObject
* obj3
= 0 ;
8335 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8342 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHistogram
,
8343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8345 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8349 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
8350 if (PyErr_Occurred()) SWIG_fail
;
8353 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8354 if (PyErr_Occurred()) SWIG_fail
;
8357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8358 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8360 wxPyEndAllowThreads(__tstate
);
8361 if (PyErr_Occurred()) SWIG_fail
;
8363 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8365 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8366 resultobj
= t_output_helper(resultobj
,o
);
8369 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8370 resultobj
= t_output_helper(resultobj
,o
);
8373 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8374 resultobj
= t_output_helper(resultobj
,o
);
8382 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
8384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
8385 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
8387 return Py_BuildValue((char *)"");
8389 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8390 PyObject
*resultobj
;
8391 wxString
*arg1
= 0 ;
8392 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8393 int arg3
= (int) -1 ;
8395 bool temp1
= False
;
8396 PyObject
* obj0
= 0 ;
8397 PyObject
* obj1
= 0 ;
8398 PyObject
* obj2
= 0 ;
8400 (char *) "name",(char *) "type",(char *) "index", NULL
8403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_Image",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8405 arg1
= wxString_in_helper(obj0
);
8406 if (arg1
== NULL
) SWIG_fail
;
8410 arg2
= (long) SWIG_AsLong(obj1
);
8411 if (PyErr_Occurred()) SWIG_fail
;
8414 arg3
= (int) SWIG_AsInt(obj2
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8419 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
8421 wxPyEndAllowThreads(__tstate
);
8422 if (PyErr_Occurred()) SWIG_fail
;
8424 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8439 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxImage
*arg1
= (wxImage
*) 0 ;
8442 PyObject
* obj0
= 0 ;
8444 (char *) "self", NULL
8447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
8448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8454 wxPyEndAllowThreads(__tstate
);
8455 if (PyErr_Occurred()) SWIG_fail
;
8457 Py_INCREF(Py_None
); resultobj
= Py_None
;
8464 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8465 PyObject
*resultobj
;
8466 wxString
*arg1
= 0 ;
8467 wxString
*arg2
= 0 ;
8468 int arg3
= (int) -1 ;
8470 bool temp1
= False
;
8471 bool temp2
= False
;
8472 PyObject
* obj0
= 0 ;
8473 PyObject
* obj1
= 0 ;
8474 PyObject
* obj2
= 0 ;
8476 (char *) "name",(char *) "mimetype",(char *) "index", NULL
8479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8481 arg1
= wxString_in_helper(obj0
);
8482 if (arg1
== NULL
) SWIG_fail
;
8486 arg2
= wxString_in_helper(obj1
);
8487 if (arg2
== NULL
) SWIG_fail
;
8491 arg3
= (int) SWIG_AsInt(obj2
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8496 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
8498 wxPyEndAllowThreads(__tstate
);
8499 if (PyErr_Occurred()) SWIG_fail
;
8501 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8524 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8525 PyObject
*resultobj
;
8526 wxInputStream
*arg1
= 0 ;
8527 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8528 int arg3
= (int) -1 ;
8530 wxPyInputStream
*temp1
;
8532 PyObject
* obj0
= 0 ;
8533 PyObject
* obj1
= 0 ;
8534 PyObject
* obj2
= 0 ;
8536 (char *) "stream",(char *) "type",(char *) "index", NULL
8539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:new_ImageFromStream",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8541 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8542 arg1
= temp1
->m_wxis
;
8545 PyErr_Clear(); // clear the failure of the wxPyConvert above
8546 arg1
= wxPyCBInputStream_create(obj0
, False
);
8548 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8555 arg2
= (long) SWIG_AsLong(obj1
);
8556 if (PyErr_Occurred()) SWIG_fail
;
8559 arg3
= (int) SWIG_AsInt(obj2
);
8560 if (PyErr_Occurred()) SWIG_fail
;
8563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8564 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
8566 wxPyEndAllowThreads(__tstate
);
8567 if (PyErr_Occurred()) SWIG_fail
;
8569 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8584 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8585 PyObject
*resultobj
;
8586 wxInputStream
*arg1
= 0 ;
8587 wxString
*arg2
= 0 ;
8588 int arg3
= (int) -1 ;
8590 wxPyInputStream
*temp1
;
8592 bool temp2
= False
;
8593 PyObject
* obj0
= 0 ;
8594 PyObject
* obj1
= 0 ;
8595 PyObject
* obj2
= 0 ;
8597 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
8600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8602 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8603 arg1
= temp1
->m_wxis
;
8606 PyErr_Clear(); // clear the failure of the wxPyConvert above
8607 arg1
= wxPyCBInputStream_create(obj0
, False
);
8609 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8616 arg2
= wxString_in_helper(obj1
);
8617 if (arg2
== NULL
) SWIG_fail
;
8621 arg3
= (int) SWIG_AsInt(obj2
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8654 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 int arg1
= (int) 0 ;
8657 int arg2
= (int) 0 ;
8658 bool arg3
= (bool) True
;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8662 PyObject
* obj2
= 0 ;
8664 (char *) "width",(char *) "height",(char *) "clear", NULL
8667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_EmptyImage",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8669 arg1
= (int) SWIG_AsInt(obj0
);
8670 if (PyErr_Occurred()) SWIG_fail
;
8673 arg2
= (int) SWIG_AsInt(obj1
);
8674 if (PyErr_Occurred()) SWIG_fail
;
8677 arg3
= (bool) SWIG_AsBool(obj2
);
8678 if (PyErr_Occurred()) SWIG_fail
;
8681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8682 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8684 wxPyEndAllowThreads(__tstate
);
8685 if (PyErr_Occurred()) SWIG_fail
;
8687 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8694 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8695 PyObject
*resultobj
;
8696 wxBitmap
*arg1
= 0 ;
8698 PyObject
* obj0
= 0 ;
8700 (char *) "bitmap", NULL
8703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
8704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBitmap
,
8705 SWIG_POINTER_EXCEPTION
| 0)) == -1)
8708 PyErr_SetString(PyExc_TypeError
,"null reference");
8712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8713 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
8715 wxPyEndAllowThreads(__tstate
);
8716 if (PyErr_Occurred()) SWIG_fail
;
8718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8725 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8726 PyObject
*resultobj
;
8729 unsigned char *arg3
= (unsigned char *) 0 ;
8731 PyObject
* obj0
= 0 ;
8732 PyObject
* obj1
= 0 ;
8733 PyObject
* obj2
= 0 ;
8735 (char *) "width",(char *) "height",(char *) "data", NULL
8738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:new_ImageFromData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8739 arg1
= (int) SWIG_AsInt(obj0
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8741 arg2
= (int) SWIG_AsInt(obj1
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8743 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_unsigned_char
,
8744 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8747 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
8749 wxPyEndAllowThreads(__tstate
);
8750 if (PyErr_Occurred()) SWIG_fail
;
8752 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 1);
8759 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8760 PyObject
*resultobj
;
8761 wxImage
*arg1
= (wxImage
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8765 PyObject
* obj1
= 0 ;
8766 PyObject
* obj2
= 0 ;
8768 (char *) "self",(char *) "width",(char *) "height", NULL
8771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Create",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8774 arg2
= (int) SWIG_AsInt(obj1
);
8775 if (PyErr_Occurred()) SWIG_fail
;
8776 arg3
= (int) SWIG_AsInt(obj2
);
8777 if (PyErr_Occurred()) SWIG_fail
;
8779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8780 (arg1
)->Create(arg2
,arg3
);
8782 wxPyEndAllowThreads(__tstate
);
8783 if (PyErr_Occurred()) SWIG_fail
;
8785 Py_INCREF(Py_None
); resultobj
= Py_None
;
8792 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8793 PyObject
*resultobj
;
8794 wxImage
*arg1
= (wxImage
*) 0 ;
8795 PyObject
* obj0
= 0 ;
8797 (char *) "self", NULL
8800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
8801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8807 wxPyEndAllowThreads(__tstate
);
8808 if (PyErr_Occurred()) SWIG_fail
;
8810 Py_INCREF(Py_None
); resultobj
= Py_None
;
8817 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8818 PyObject
*resultobj
;
8819 wxImage
*arg1
= (wxImage
*) 0 ;
8822 SwigValueWrapper
< wxImage
> result
;
8823 PyObject
* obj0
= 0 ;
8824 PyObject
* obj1
= 0 ;
8825 PyObject
* obj2
= 0 ;
8827 (char *) "self",(char *) "width",(char *) "height", NULL
8830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Scale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8833 arg2
= (int) SWIG_AsInt(obj1
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8835 arg3
= (int) SWIG_AsInt(obj2
);
8836 if (PyErr_Occurred()) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (arg1
)->Scale(arg2
,arg3
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8845 wxImage
* resultptr
;
8846 resultptr
= new wxImage((wxImage
&) result
);
8847 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8855 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxImage
*arg1
= (wxImage
*) 0 ;
8860 SwigValueWrapper
< wxImage
> result
;
8861 PyObject
* obj0
= 0 ;
8862 PyObject
* obj1
= 0 ;
8863 PyObject
* obj2
= 0 ;
8865 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
8868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_ShrinkBy",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8871 arg2
= (int) SWIG_AsInt(obj1
);
8872 if (PyErr_Occurred()) SWIG_fail
;
8873 arg3
= (int) SWIG_AsInt(obj2
);
8874 if (PyErr_Occurred()) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8883 wxImage
* resultptr
;
8884 resultptr
= new wxImage((wxImage
&) result
);
8885 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
8893 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8894 PyObject
*resultobj
;
8895 wxImage
*arg1
= (wxImage
*) 0 ;
8899 PyObject
* obj0
= 0 ;
8900 PyObject
* obj1
= 0 ;
8901 PyObject
* obj2
= 0 ;
8903 (char *) "self",(char *) "width",(char *) "height", NULL
8906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_Rescale",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8909 arg2
= (int) SWIG_AsInt(obj1
);
8910 if (PyErr_Occurred()) SWIG_fail
;
8911 arg3
= (int) SWIG_AsInt(obj2
);
8912 if (PyErr_Occurred()) SWIG_fail
;
8914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
8917 result
= (wxImage
*) &_result_ref
;
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8923 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxImage
, 0);
8930 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImage
*arg1
= (wxImage
*) 0 ;
8935 unsigned char arg4
;
8936 unsigned char arg5
;
8937 unsigned char arg6
;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8941 PyObject
* obj3
= 0 ;
8942 PyObject
* obj4
= 0 ;
8943 PyObject
* obj5
= 0 ;
8945 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
8948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:Image_SetRGB",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
8949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8951 arg2
= (int) SWIG_AsInt(obj1
);
8952 if (PyErr_Occurred()) SWIG_fail
;
8953 arg3
= (int) SWIG_AsInt(obj2
);
8954 if (PyErr_Occurred()) SWIG_fail
;
8955 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
8956 if (PyErr_Occurred()) SWIG_fail
;
8957 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
8958 if (PyErr_Occurred()) SWIG_fail
;
8959 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
8960 if (PyErr_Occurred()) SWIG_fail
;
8962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8963 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
8965 wxPyEndAllowThreads(__tstate
);
8966 if (PyErr_Occurred()) SWIG_fail
;
8968 Py_INCREF(Py_None
); resultobj
= Py_None
;
8975 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8976 PyObject
*resultobj
;
8977 wxImage
*arg1
= (wxImage
*) 0 ;
8980 unsigned char result
;
8981 PyObject
* obj0
= 0 ;
8982 PyObject
* obj1
= 0 ;
8983 PyObject
* obj2
= 0 ;
8985 (char *) "self",(char *) "x",(char *) "y", NULL
8988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetRed",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8989 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
8990 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
8991 arg2
= (int) SWIG_AsInt(obj1
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8993 arg3
= (int) SWIG_AsInt(obj2
);
8994 if (PyErr_Occurred()) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9002 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9009 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxImage
*arg1
= (wxImage
*) 0 ;
9014 unsigned char result
;
9015 PyObject
* obj0
= 0 ;
9016 PyObject
* obj1
= 0 ;
9017 PyObject
* obj2
= 0 ;
9019 (char *) "self",(char *) "x",(char *) "y", NULL
9022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetGreen",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9023 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9024 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9025 arg2
= (int) SWIG_AsInt(obj1
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9027 arg3
= (int) SWIG_AsInt(obj2
);
9028 if (PyErr_Occurred()) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9043 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxImage
*arg1
= (wxImage
*) 0 ;
9048 unsigned char result
;
9049 PyObject
* obj0
= 0 ;
9050 PyObject
* obj1
= 0 ;
9051 PyObject
* obj2
= 0 ;
9053 (char *) "self",(char *) "x",(char *) "y", NULL
9056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetBlue",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9057 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9058 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9059 arg2
= (int) SWIG_AsInt(obj1
);
9060 if (PyErr_Occurred()) SWIG_fail
;
9061 arg3
= (int) SWIG_AsInt(obj2
);
9062 if (PyErr_Occurred()) SWIG_fail
;
9064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9065 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
9067 wxPyEndAllowThreads(__tstate
);
9068 if (PyErr_Occurred()) SWIG_fail
;
9070 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9077 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9078 PyObject
*resultobj
;
9079 wxImage
*arg1
= (wxImage
*) 0 ;
9082 unsigned char arg4
;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9085 PyObject
* obj2
= 0 ;
9086 PyObject
* obj3
= 0 ;
9088 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
9091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetAlpha",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9092 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9093 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9094 arg2
= (int) SWIG_AsInt(obj1
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9096 arg3
= (int) SWIG_AsInt(obj2
);
9097 if (PyErr_Occurred()) SWIG_fail
;
9098 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
9099 if (PyErr_Occurred()) SWIG_fail
;
9101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9102 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 Py_INCREF(Py_None
); resultobj
= Py_None
;
9114 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9115 PyObject
*resultobj
;
9116 wxImage
*arg1
= (wxImage
*) 0 ;
9119 unsigned char result
;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 PyObject
* obj2
= 0 ;
9124 (char *) "self",(char *) "x",(char *) "y", NULL
9127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_GetAlpha",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9130 arg2
= (int) SWIG_AsInt(obj1
);
9131 if (PyErr_Occurred()) SWIG_fail
;
9132 arg3
= (int) SWIG_AsInt(obj2
);
9133 if (PyErr_Occurred()) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
9148 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxImage
*arg1
= (wxImage
*) 0 ;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9159 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (bool)(arg1
)->HasAlpha();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9174 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxImage
*arg1
= (wxImage
*) 0 ;
9177 byte
*arg2
= (byte
*) 0 ;
9178 byte
*arg3
= (byte
*) 0 ;
9179 byte
*arg4
= (byte
*) 0 ;
9180 byte arg5
= (byte
) 0 ;
9181 byte arg6
= (byte
) 0 ;
9182 byte arg7
= (byte
) 0 ;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9189 PyObject
* obj2
= 0 ;
9190 PyObject
* obj3
= 0 ;
9192 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
9198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9202 arg5
= (byte
) SWIG_AsUnsignedChar(obj1
);
9203 if (PyErr_Occurred()) SWIG_fail
;
9206 arg6
= (byte
) SWIG_AsUnsignedChar(obj2
);
9207 if (PyErr_Occurred()) SWIG_fail
;
9210 arg7
= (byte
) SWIG_AsUnsignedChar(obj3
);
9211 if (PyErr_Occurred()) SWIG_fail
;
9214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9215 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9217 wxPyEndAllowThreads(__tstate
);
9218 if (PyErr_Occurred()) SWIG_fail
;
9220 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9222 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
9223 resultobj
= t_output_helper(resultobj
,o
);
9226 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
9227 resultobj
= t_output_helper(resultobj
,o
);
9230 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
9231 resultobj
= t_output_helper(resultobj
,o
);
9239 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxImage
*arg1
= (wxImage
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 PyObject
* obj2
= 0 ;
9250 PyObject
* obj3
= 0 ;
9251 PyObject
* obj4
= 0 ;
9253 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
9256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
9257 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9258 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9259 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9260 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9263 PyErr_SetString(PyExc_TypeError
,"null reference");
9266 arg3
= (byte
) SWIG_AsUnsignedChar(obj2
);
9267 if (PyErr_Occurred()) SWIG_fail
;
9268 arg4
= (byte
) SWIG_AsUnsignedChar(obj3
);
9269 if (PyErr_Occurred()) SWIG_fail
;
9270 arg5
= (byte
) SWIG_AsUnsignedChar(obj4
);
9271 if (PyErr_Occurred()) SWIG_fail
;
9273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9274 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
9276 wxPyEndAllowThreads(__tstate
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9279 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9286 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9287 PyObject
*resultobj
;
9288 wxString
*arg1
= 0 ;
9290 bool temp1
= False
;
9291 PyObject
* obj0
= 0 ;
9293 (char *) "name", NULL
9296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
9298 arg1
= wxString_in_helper(obj0
);
9299 if (arg1
== NULL
) SWIG_fail
;
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
9306 wxPyEndAllowThreads(__tstate
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9309 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9324 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9325 PyObject
*resultobj
;
9326 wxString
*arg1
= 0 ;
9327 long arg2
= (long) wxBITMAP_TYPE_ANY
;
9329 bool temp1
= False
;
9330 PyObject
* obj0
= 0 ;
9331 PyObject
* obj1
= 0 ;
9333 (char *) "name",(char *) "type", NULL
9336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_GetImageCount",kwnames
,&obj0
,&obj1
)) goto fail
;
9338 arg1
= wxString_in_helper(obj0
);
9339 if (arg1
== NULL
) SWIG_fail
;
9343 arg2
= (long) SWIG_AsLong(obj1
);
9344 if (PyErr_Occurred()) SWIG_fail
;
9347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9348 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
9350 wxPyEndAllowThreads(__tstate
);
9351 if (PyErr_Occurred()) SWIG_fail
;
9353 resultobj
= SWIG_FromInt((int)result
);
9368 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9369 PyObject
*resultobj
;
9370 wxImage
*arg1
= (wxImage
*) 0 ;
9371 wxString
*arg2
= 0 ;
9372 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9373 int arg4
= (int) -1 ;
9375 bool temp2
= False
;
9376 PyObject
* obj0
= 0 ;
9377 PyObject
* obj1
= 0 ;
9378 PyObject
* obj2
= 0 ;
9379 PyObject
* obj3
= 0 ;
9381 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
9384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9385 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9386 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9388 arg2
= wxString_in_helper(obj1
);
9389 if (arg2
== NULL
) SWIG_fail
;
9393 arg3
= (long) SWIG_AsLong(obj2
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9397 arg4
= (int) SWIG_AsInt(obj3
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9402 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
9404 wxPyEndAllowThreads(__tstate
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9422 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9423 PyObject
*resultobj
;
9424 wxImage
*arg1
= (wxImage
*) 0 ;
9425 wxString
*arg2
= 0 ;
9426 wxString
*arg3
= 0 ;
9427 int arg4
= (int) -1 ;
9429 bool temp2
= False
;
9430 bool temp3
= False
;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 PyObject
* obj2
= 0 ;
9434 PyObject
* obj3
= 0 ;
9436 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9441 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9443 arg2
= wxString_in_helper(obj1
);
9444 if (arg2
== NULL
) SWIG_fail
;
9448 arg3
= wxString_in_helper(obj2
);
9449 if (arg3
== NULL
) SWIG_fail
;
9453 arg4
= (int) SWIG_AsInt(obj3
);
9454 if (PyErr_Occurred()) SWIG_fail
;
9457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9458 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
9460 wxPyEndAllowThreads(__tstate
);
9461 if (PyErr_Occurred()) SWIG_fail
;
9463 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9486 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9487 PyObject
*resultobj
;
9488 wxImage
*arg1
= (wxImage
*) 0 ;
9489 wxString
*arg2
= 0 ;
9492 bool temp2
= False
;
9493 PyObject
* obj0
= 0 ;
9494 PyObject
* obj1
= 0 ;
9495 PyObject
* obj2
= 0 ;
9497 (char *) "self",(char *) "name",(char *) "type", NULL
9500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9501 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9502 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9504 arg2
= wxString_in_helper(obj1
);
9505 if (arg2
== NULL
) SWIG_fail
;
9508 arg3
= (int) SWIG_AsInt(obj2
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9512 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
9514 wxPyEndAllowThreads(__tstate
);
9515 if (PyErr_Occurred()) SWIG_fail
;
9517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9532 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9533 PyObject
*resultobj
;
9534 wxImage
*arg1
= (wxImage
*) 0 ;
9535 wxString
*arg2
= 0 ;
9536 wxString
*arg3
= 0 ;
9538 bool temp2
= False
;
9539 bool temp3
= False
;
9540 PyObject
* obj0
= 0 ;
9541 PyObject
* obj1
= 0 ;
9542 PyObject
* obj2
= 0 ;
9544 (char *) "self",(char *) "name",(char *) "mimetype", NULL
9547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9551 arg2
= wxString_in_helper(obj1
);
9552 if (arg2
== NULL
) SWIG_fail
;
9556 arg3
= wxString_in_helper(obj2
);
9557 if (arg3
== NULL
) SWIG_fail
;
9561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9562 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9564 wxPyEndAllowThreads(__tstate
);
9565 if (PyErr_Occurred()) SWIG_fail
;
9567 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9590 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9591 PyObject
*resultobj
;
9592 wxInputStream
*arg1
= 0 ;
9594 wxPyInputStream
*temp1
;
9596 PyObject
* obj0
= 0 ;
9598 (char *) "stream", NULL
9601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
9603 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
9604 arg1
= temp1
->m_wxis
;
9607 PyErr_Clear(); // clear the failure of the wxPyConvert above
9608 arg1
= wxPyCBInputStream_create(obj0
, False
);
9610 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9618 result
= (bool)wxImage::CanRead(*arg1
);
9620 wxPyEndAllowThreads(__tstate
);
9621 if (PyErr_Occurred()) SWIG_fail
;
9623 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9638 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9639 PyObject
*resultobj
;
9640 wxImage
*arg1
= (wxImage
*) 0 ;
9641 wxInputStream
*arg2
= 0 ;
9642 long arg3
= (long) wxBITMAP_TYPE_ANY
;
9643 int arg4
= (int) -1 ;
9645 wxPyInputStream
*temp2
;
9647 PyObject
* obj0
= 0 ;
9648 PyObject
* obj1
= 0 ;
9649 PyObject
* obj2
= 0 ;
9650 PyObject
* obj3
= 0 ;
9652 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
9655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Image_LoadStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9656 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9657 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9659 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9660 arg2
= temp2
->m_wxis
;
9663 PyErr_Clear(); // clear the failure of the wxPyConvert above
9664 arg2
= wxPyCBInputStream_create(obj1
, False
);
9666 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9673 arg3
= (long) SWIG_AsLong(obj2
);
9674 if (PyErr_Occurred()) SWIG_fail
;
9677 arg4
= (int) SWIG_AsInt(obj3
);
9678 if (PyErr_Occurred()) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9702 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9704 wxImage
*arg1
= (wxImage
*) 0 ;
9705 wxInputStream
*arg2
= 0 ;
9706 wxString
*arg3
= 0 ;
9707 int arg4
= (int) -1 ;
9709 wxPyInputStream
*temp2
;
9711 bool temp3
= False
;
9712 PyObject
* obj0
= 0 ;
9713 PyObject
* obj1
= 0 ;
9714 PyObject
* obj2
= 0 ;
9715 PyObject
* obj3
= 0 ;
9717 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
9720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9724 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
9725 arg2
= temp2
->m_wxis
;
9728 PyErr_Clear(); // clear the failure of the wxPyConvert above
9729 arg2
= wxPyCBInputStream_create(obj1
, False
);
9731 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
9738 arg3
= wxString_in_helper(obj2
);
9739 if (arg3
== NULL
) SWIG_fail
;
9743 arg4
= (int) SWIG_AsInt(obj3
);
9744 if (PyErr_Occurred()) SWIG_fail
;
9747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9748 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
9750 wxPyEndAllowThreads(__tstate
);
9751 if (PyErr_Occurred()) SWIG_fail
;
9753 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9776 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9777 PyObject
*resultobj
;
9778 wxImage
*arg1
= (wxImage
*) 0 ;
9780 PyObject
* obj0
= 0 ;
9782 (char *) "self", NULL
9785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
9786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9790 result
= (bool)(arg1
)->Ok();
9792 wxPyEndAllowThreads(__tstate
);
9793 if (PyErr_Occurred()) SWIG_fail
;
9795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9802 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9803 PyObject
*resultobj
;
9804 wxImage
*arg1
= (wxImage
*) 0 ;
9806 PyObject
* obj0
= 0 ;
9808 (char *) "self", NULL
9811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
9812 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9813 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 result
= (int)(arg1
)->GetWidth();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 resultobj
= SWIG_FromInt((int)result
);
9828 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9829 PyObject
*resultobj
;
9830 wxImage
*arg1
= (wxImage
*) 0 ;
9832 PyObject
* obj0
= 0 ;
9834 (char *) "self", NULL
9837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
9838 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9839 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9842 result
= (int)(arg1
)->GetHeight();
9844 wxPyEndAllowThreads(__tstate
);
9845 if (PyErr_Occurred()) SWIG_fail
;
9847 resultobj
= SWIG_FromInt((int)result
);
9854 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9855 PyObject
*resultobj
;
9856 wxImage
*arg1
= (wxImage
*) 0 ;
9858 SwigValueWrapper
< wxImage
> result
;
9860 PyObject
* obj0
= 0 ;
9861 PyObject
* obj1
= 0 ;
9863 (char *) "self",(char *) "rect", NULL
9866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
9867 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9871 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 wxImage
* resultptr
;
9882 resultptr
= new wxImage((wxImage
&) result
);
9883 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9891 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImage
*arg1
= (wxImage
*) 0 ;
9894 SwigValueWrapper
< wxImage
> result
;
9895 PyObject
* obj0
= 0 ;
9897 (char *) "self", NULL
9900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
9901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9905 result
= (arg1
)->Copy();
9907 wxPyEndAllowThreads(__tstate
);
9908 if (PyErr_Occurred()) SWIG_fail
;
9911 wxImage
* resultptr
;
9912 resultptr
= new wxImage((wxImage
&) result
);
9913 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
9921 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9922 PyObject
*resultobj
;
9923 wxImage
*arg1
= (wxImage
*) 0 ;
9927 PyObject
* obj0
= 0 ;
9928 PyObject
* obj1
= 0 ;
9929 PyObject
* obj2
= 0 ;
9930 PyObject
* obj3
= 0 ;
9932 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
9935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_Paste",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9936 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9937 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9938 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImage
,
9939 SWIG_POINTER_EXCEPTION
| 0)) == -1)
9942 PyErr_SetString(PyExc_TypeError
,"null reference");
9945 arg3
= (int) SWIG_AsInt(obj2
);
9946 if (PyErr_Occurred()) SWIG_fail
;
9947 arg4
= (int) SWIG_AsInt(obj3
);
9948 if (PyErr_Occurred()) SWIG_fail
;
9950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9951 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
9953 wxPyEndAllowThreads(__tstate
);
9954 if (PyErr_Occurred()) SWIG_fail
;
9956 Py_INCREF(Py_None
); resultobj
= Py_None
;
9963 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9964 PyObject
*resultobj
;
9965 wxImage
*arg1
= (wxImage
*) 0 ;
9967 PyObject
* obj0
= 0 ;
9969 (char *) "self", NULL
9972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
9973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
9974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
9976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9977 result
= (PyObject
*)wxImage_GetData(arg1
);
9979 wxPyEndAllowThreads(__tstate
);
9980 if (PyErr_Occurred()) SWIG_fail
;
9989 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9990 PyObject
*resultobj
;
9991 wxImage
*arg1
= (wxImage
*) 0 ;
9992 PyObject
*arg2
= (PyObject
*) 0 ;
9993 PyObject
* obj0
= 0 ;
9994 PyObject
* obj1
= 0 ;
9996 (char *) "self",(char *) "data", NULL
9999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
10000 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10001 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10005 wxImage_SetData(arg1
,arg2
);
10007 wxPyEndAllowThreads(__tstate
);
10008 if (PyErr_Occurred()) SWIG_fail
;
10010 Py_INCREF(Py_None
); resultobj
= Py_None
;
10017 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10018 PyObject
*resultobj
;
10019 wxImage
*arg1
= (wxImage
*) 0 ;
10021 PyObject
* obj0
= 0 ;
10022 char *kwnames
[] = {
10023 (char *) "self", NULL
10026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
10027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10031 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
10033 wxPyEndAllowThreads(__tstate
);
10034 if (PyErr_Occurred()) SWIG_fail
;
10036 resultobj
= result
;
10043 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10044 PyObject
*resultobj
;
10045 wxImage
*arg1
= (wxImage
*) 0 ;
10046 PyObject
*arg2
= (PyObject
*) 0 ;
10047 PyObject
* obj0
= 0 ;
10048 PyObject
* obj1
= 0 ;
10049 char *kwnames
[] = {
10050 (char *) "self",(char *) "data", NULL
10053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10059 wxImage_SetDataBuffer(arg1
,arg2
);
10061 wxPyEndAllowThreads(__tstate
);
10062 if (PyErr_Occurred()) SWIG_fail
;
10064 Py_INCREF(Py_None
); resultobj
= Py_None
;
10071 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxImage
*arg1
= (wxImage
*) 0 ;
10075 PyObject
* obj0
= 0 ;
10076 char *kwnames
[] = {
10077 (char *) "self", NULL
10080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
10081 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= result
;
10097 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
;
10099 wxImage
*arg1
= (wxImage
*) 0 ;
10100 PyObject
*arg2
= (PyObject
*) 0 ;
10101 PyObject
* obj0
= 0 ;
10102 PyObject
* obj1
= 0 ;
10103 char *kwnames
[] = {
10104 (char *) "self",(char *) "data", NULL
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
10108 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10109 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 wxImage_SetAlphaData(arg1
,arg2
);
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 Py_INCREF(Py_None
); resultobj
= Py_None
;
10125 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10126 PyObject
*resultobj
;
10127 wxImage
*arg1
= (wxImage
*) 0 ;
10129 PyObject
* obj0
= 0 ;
10130 char *kwnames
[] = {
10131 (char *) "self", NULL
10134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
10135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= result
;
10151 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10152 PyObject
*resultobj
;
10153 wxImage
*arg1
= (wxImage
*) 0 ;
10154 PyObject
*arg2
= (PyObject
*) 0 ;
10155 PyObject
* obj0
= 0 ;
10156 PyObject
* obj1
= 0 ;
10157 char *kwnames
[] = {
10158 (char *) "self",(char *) "data", NULL
10161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
10162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10167 wxImage_SetAlphaBuffer(arg1
,arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 Py_INCREF(Py_None
); resultobj
= Py_None
;
10179 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10180 PyObject
*resultobj
;
10181 wxImage
*arg1
= (wxImage
*) 0 ;
10182 unsigned char arg2
;
10183 unsigned char arg3
;
10184 unsigned char arg4
;
10185 PyObject
* obj0
= 0 ;
10186 PyObject
* obj1
= 0 ;
10187 PyObject
* obj2
= 0 ;
10188 PyObject
* obj3
= 0 ;
10189 char *kwnames
[] = {
10190 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10194 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10195 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10196 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10197 if (PyErr_Occurred()) SWIG_fail
;
10198 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10199 if (PyErr_Occurred()) SWIG_fail
;
10200 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10201 if (PyErr_Occurred()) SWIG_fail
;
10203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10204 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 Py_INCREF(Py_None
); resultobj
= Py_None
;
10216 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxImage
*arg1
= (wxImage
*) 0 ;
10219 unsigned char result
;
10220 PyObject
* obj0
= 0 ;
10221 char *kwnames
[] = {
10222 (char *) "self", NULL
10225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
10226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (unsigned char)(arg1
)->GetMaskRed();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10242 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10243 PyObject
*resultobj
;
10244 wxImage
*arg1
= (wxImage
*) 0 ;
10245 unsigned char result
;
10246 PyObject
* obj0
= 0 ;
10247 char *kwnames
[] = {
10248 (char *) "self", NULL
10251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
10252 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10253 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10256 result
= (unsigned char)(arg1
)->GetMaskGreen();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10268 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
;
10270 wxImage
*arg1
= (wxImage
*) 0 ;
10271 unsigned char result
;
10272 PyObject
* obj0
= 0 ;
10273 char *kwnames
[] = {
10274 (char *) "self", NULL
10277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
10278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (unsigned char)(arg1
)->GetMaskBlue();
10284 wxPyEndAllowThreads(__tstate
);
10285 if (PyErr_Occurred()) SWIG_fail
;
10287 resultobj
= SWIG_FromUnsignedChar((unsigned char)result
);
10294 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10295 PyObject
*resultobj
;
10296 wxImage
*arg1
= (wxImage
*) 0 ;
10297 bool arg2
= (bool) True
;
10298 PyObject
* obj0
= 0 ;
10299 PyObject
* obj1
= 0 ;
10300 char *kwnames
[] = {
10301 (char *) "self",(char *) "mask", NULL
10304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
10305 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10306 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10308 arg2
= (bool) SWIG_AsBool(obj1
);
10309 if (PyErr_Occurred()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 (arg1
)->SetMask(arg2
);
10315 wxPyEndAllowThreads(__tstate
);
10316 if (PyErr_Occurred()) SWIG_fail
;
10318 Py_INCREF(Py_None
); resultobj
= Py_None
;
10325 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxImage
*arg1
= (wxImage
*) 0 ;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10339 result
= (bool)(arg1
)->HasMask();
10341 wxPyEndAllowThreads(__tstate
);
10342 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10351 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10352 PyObject
*resultobj
;
10353 wxImage
*arg1
= (wxImage
*) 0 ;
10355 wxPoint
*arg3
= 0 ;
10356 bool arg4
= (bool) True
;
10357 wxPoint
*arg5
= (wxPoint
*) NULL
;
10358 SwigValueWrapper
< wxImage
> result
;
10360 PyObject
* obj0
= 0 ;
10361 PyObject
* obj1
= 0 ;
10362 PyObject
* obj2
= 0 ;
10363 PyObject
* obj3
= 0 ;
10364 PyObject
* obj4
= 0 ;
10365 char *kwnames
[] = {
10366 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
10369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Image_Rotate",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
10370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10372 arg2
= (double) SWIG_AsDouble(obj1
);
10373 if (PyErr_Occurred()) SWIG_fail
;
10376 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10379 arg4
= (bool) SWIG_AsBool(obj3
);
10380 if (PyErr_Occurred()) SWIG_fail
;
10383 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxPoint
,
10384 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10388 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10394 wxImage
* resultptr
;
10395 resultptr
= new wxImage((wxImage
&) result
);
10396 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10404 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10405 PyObject
*resultobj
;
10406 wxImage
*arg1
= (wxImage
*) 0 ;
10407 bool arg2
= (bool) True
;
10408 SwigValueWrapper
< wxImage
> result
;
10409 PyObject
* obj0
= 0 ;
10410 PyObject
* obj1
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self",(char *) "clockwise", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10417 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10419 arg2
= (bool) SWIG_AsBool(obj1
);
10420 if (PyErr_Occurred()) SWIG_fail
;
10423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10424 result
= (arg1
)->Rotate90(arg2
);
10426 wxPyEndAllowThreads(__tstate
);
10427 if (PyErr_Occurred()) SWIG_fail
;
10430 wxImage
* resultptr
;
10431 resultptr
= new wxImage((wxImage
&) result
);
10432 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10440 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10441 PyObject
*resultobj
;
10442 wxImage
*arg1
= (wxImage
*) 0 ;
10443 bool arg2
= (bool) True
;
10444 SwigValueWrapper
< wxImage
> result
;
10445 PyObject
* obj0
= 0 ;
10446 PyObject
* obj1
= 0 ;
10447 char *kwnames
[] = {
10448 (char *) "self",(char *) "horizontally", NULL
10451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
10452 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10453 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10455 arg2
= (bool) SWIG_AsBool(obj1
);
10456 if (PyErr_Occurred()) SWIG_fail
;
10459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10460 result
= (arg1
)->Mirror(arg2
);
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 wxImage
* resultptr
;
10467 resultptr
= new wxImage((wxImage
&) result
);
10468 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10476 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10477 PyObject
*resultobj
;
10478 wxImage
*arg1
= (wxImage
*) 0 ;
10479 unsigned char arg2
;
10480 unsigned char arg3
;
10481 unsigned char arg4
;
10482 unsigned char arg5
;
10483 unsigned char arg6
;
10484 unsigned char arg7
;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 PyObject
* obj2
= 0 ;
10488 PyObject
* obj3
= 0 ;
10489 PyObject
* obj4
= 0 ;
10490 PyObject
* obj5
= 0 ;
10491 PyObject
* obj6
= 0 ;
10492 char *kwnames
[] = {
10493 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
10496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
10497 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10498 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10499 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10501 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10503 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10505 arg5
= (unsigned char) SWIG_AsUnsignedChar(obj4
);
10506 if (PyErr_Occurred()) SWIG_fail
;
10507 arg6
= (unsigned char) SWIG_AsUnsignedChar(obj5
);
10508 if (PyErr_Occurred()) SWIG_fail
;
10509 arg7
= (unsigned char) SWIG_AsUnsignedChar(obj6
);
10510 if (PyErr_Occurred()) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxImage
*arg1
= (wxImage
*) 0 ;
10528 unsigned char arg2
;
10529 unsigned char arg3
;
10530 unsigned char arg4
;
10531 SwigValueWrapper
< wxImage
> result
;
10532 PyObject
* obj0
= 0 ;
10533 PyObject
* obj1
= 0 ;
10534 PyObject
* obj2
= 0 ;
10535 PyObject
* obj3
= 0 ;
10536 char *kwnames
[] = {
10537 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
10540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
10541 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10542 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10543 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
10544 if (PyErr_Occurred()) SWIG_fail
;
10545 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
10546 if (PyErr_Occurred()) SWIG_fail
;
10547 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
10548 if (PyErr_Occurred()) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10557 wxImage
* resultptr
;
10558 resultptr
= new wxImage((wxImage
&) result
);
10559 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxImage
, 1);
10567 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10568 PyObject
*resultobj
;
10569 wxImage
*arg1
= (wxImage
*) 0 ;
10570 wxString
*arg2
= 0 ;
10571 wxString
*arg3
= 0 ;
10572 bool temp2
= False
;
10573 bool temp3
= False
;
10574 PyObject
* obj0
= 0 ;
10575 PyObject
* obj1
= 0 ;
10576 PyObject
* obj2
= 0 ;
10577 char *kwnames
[] = {
10578 (char *) "self",(char *) "name",(char *) "value", NULL
10581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10582 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10583 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10585 arg2
= wxString_in_helper(obj1
);
10586 if (arg2
== NULL
) SWIG_fail
;
10590 arg3
= wxString_in_helper(obj2
);
10591 if (arg3
== NULL
) SWIG_fail
;
10595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10596 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
10598 wxPyEndAllowThreads(__tstate
);
10599 if (PyErr_Occurred()) SWIG_fail
;
10601 Py_INCREF(Py_None
); resultobj
= Py_None
;
10624 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10625 PyObject
*resultobj
;
10626 wxImage
*arg1
= (wxImage
*) 0 ;
10627 wxString
*arg2
= 0 ;
10629 bool temp2
= False
;
10630 PyObject
* obj0
= 0 ;
10631 PyObject
* obj1
= 0 ;
10632 PyObject
* obj2
= 0 ;
10633 char *kwnames
[] = {
10634 (char *) "self",(char *) "name",(char *) "value", NULL
10637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
10638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10641 arg2
= wxString_in_helper(obj1
);
10642 if (arg2
== NULL
) SWIG_fail
;
10645 arg3
= (int) SWIG_AsInt(obj2
);
10646 if (PyErr_Occurred()) SWIG_fail
;
10648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10649 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
10651 wxPyEndAllowThreads(__tstate
);
10652 if (PyErr_Occurred()) SWIG_fail
;
10654 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxImage
*arg1
= (wxImage
*) 0 ;
10672 wxString
*arg2
= 0 ;
10674 bool temp2
= False
;
10675 PyObject
* obj0
= 0 ;
10676 PyObject
* obj1
= 0 ;
10677 char *kwnames
[] = {
10678 (char *) "self",(char *) "name", NULL
10681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10685 arg2
= wxString_in_helper(obj1
);
10686 if (arg2
== NULL
) SWIG_fail
;
10690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10691 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
10693 wxPyEndAllowThreads(__tstate
);
10694 if (PyErr_Occurred()) SWIG_fail
;
10698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10717 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10718 PyObject
*resultobj
;
10719 wxImage
*arg1
= (wxImage
*) 0 ;
10720 wxString
*arg2
= 0 ;
10722 bool temp2
= False
;
10723 PyObject
* obj0
= 0 ;
10724 PyObject
* obj1
= 0 ;
10725 char *kwnames
[] = {
10726 (char *) "self",(char *) "name", NULL
10729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
10730 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10731 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10733 arg2
= wxString_in_helper(obj1
);
10734 if (arg2
== NULL
) SWIG_fail
;
10738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10739 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
10741 wxPyEndAllowThreads(__tstate
);
10742 if (PyErr_Occurred()) SWIG_fail
;
10744 resultobj
= SWIG_FromInt((int)result
);
10759 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxImage
*arg1
= (wxImage
*) 0 ;
10762 wxString
*arg2
= 0 ;
10764 bool temp2
= False
;
10765 PyObject
* obj0
= 0 ;
10766 PyObject
* obj1
= 0 ;
10767 char *kwnames
[] = {
10768 (char *) "self",(char *) "name", NULL
10771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
10772 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10775 arg2
= wxString_in_helper(obj1
);
10776 if (arg2
== NULL
) SWIG_fail
;
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
10783 wxPyEndAllowThreads(__tstate
);
10784 if (PyErr_Occurred()) SWIG_fail
;
10786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10801 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxImage
*arg1
= (wxImage
*) 0 ;
10804 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
10805 unsigned long result
;
10806 PyObject
* obj0
= 0 ;
10807 PyObject
* obj1
= 0 ;
10808 char *kwnames
[] = {
10809 (char *) "self",(char *) "stopafter", NULL
10812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
10813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10816 arg2
= (unsigned long) SWIG_AsUnsignedLong(obj1
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10821 result
= (unsigned long)(arg1
)->CountColours(arg2
);
10823 wxPyEndAllowThreads(__tstate
);
10824 if (PyErr_Occurred()) SWIG_fail
;
10826 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10833 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10834 PyObject
*resultobj
;
10835 wxImage
*arg1
= (wxImage
*) 0 ;
10836 wxImageHistogram
*arg2
= 0 ;
10837 unsigned long result
;
10838 PyObject
* obj0
= 0 ;
10839 PyObject
* obj1
= 0 ;
10840 char *kwnames
[] = {
10841 (char *) "self",(char *) "h", NULL
10844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
10845 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10846 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10847 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxImageHistogram
,
10848 SWIG_POINTER_EXCEPTION
| 0)) == -1)
10850 if (arg2
== NULL
) {
10851 PyErr_SetString(PyExc_TypeError
,"null reference");
10855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10856 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
10858 wxPyEndAllowThreads(__tstate
);
10859 if (PyErr_Occurred()) SWIG_fail
;
10861 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
10868 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10869 PyObject
*resultobj
;
10870 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10871 PyObject
* obj0
= 0 ;
10872 char *kwnames
[] = {
10873 (char *) "handler", NULL
10876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
10877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10881 wxImage::AddHandler(arg1
);
10883 wxPyEndAllowThreads(__tstate
);
10884 if (PyErr_Occurred()) SWIG_fail
;
10886 Py_INCREF(Py_None
); resultobj
= Py_None
;
10893 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10894 PyObject
*resultobj
;
10895 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
10896 PyObject
* obj0
= 0 ;
10897 char *kwnames
[] = {
10898 (char *) "handler", NULL
10901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
10902 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImageHandler
,
10903 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10906 wxImage::InsertHandler(arg1
);
10908 wxPyEndAllowThreads(__tstate
);
10909 if (PyErr_Occurred()) SWIG_fail
;
10911 Py_INCREF(Py_None
); resultobj
= Py_None
;
10918 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10919 PyObject
*resultobj
;
10920 wxString
*arg1
= 0 ;
10922 bool temp1
= False
;
10923 PyObject
* obj0
= 0 ;
10924 char *kwnames
[] = {
10925 (char *) "name", NULL
10928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
10930 arg1
= wxString_in_helper(obj0
);
10931 if (arg1
== NULL
) SWIG_fail
;
10935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10936 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
10938 wxPyEndAllowThreads(__tstate
);
10939 if (PyErr_Occurred()) SWIG_fail
;
10941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10956 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10959 char *kwnames
[] = {
10963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= wxImage::GetImageExtWildcard();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
10975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
10984 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10985 PyObject
*resultobj
;
10986 wxImage
*arg1
= (wxImage
*) 0 ;
10988 PyObject
* obj0
= 0 ;
10989 char *kwnames
[] = {
10990 (char *) "self", NULL
10993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
10994 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
10995 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= wxImage_ConvertToBitmap(arg1
);
11000 wxPyEndAllowThreads(__tstate
);
11001 if (PyErr_Occurred()) SWIG_fail
;
11004 wxBitmap
* resultptr
;
11005 resultptr
= new wxBitmap((wxBitmap
&) result
);
11006 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11014 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11015 PyObject
*resultobj
;
11016 wxImage
*arg1
= (wxImage
*) 0 ;
11017 unsigned char arg2
;
11018 unsigned char arg3
;
11019 unsigned char arg4
;
11021 PyObject
* obj0
= 0 ;
11022 PyObject
* obj1
= 0 ;
11023 PyObject
* obj2
= 0 ;
11024 PyObject
* obj3
= 0 ;
11025 char *kwnames
[] = {
11026 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
11029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11030 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxImage
,
11031 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11032 arg2
= (unsigned char) SWIG_AsUnsignedChar(obj1
);
11033 if (PyErr_Occurred()) SWIG_fail
;
11034 arg3
= (unsigned char) SWIG_AsUnsignedChar(obj2
);
11035 if (PyErr_Occurred()) SWIG_fail
;
11036 arg4
= (unsigned char) SWIG_AsUnsignedChar(obj3
);
11037 if (PyErr_Occurred()) SWIG_fail
;
11039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11040 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
11042 wxPyEndAllowThreads(__tstate
);
11043 if (PyErr_Occurred()) SWIG_fail
;
11046 wxBitmap
* resultptr
;
11047 resultptr
= new wxBitmap((wxBitmap
&) result
);
11048 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
11056 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
11058 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11059 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
11061 return Py_BuildValue((char *)"");
11063 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11064 PyObject
*resultobj
;
11065 char *kwnames
[] = {
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
11071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11072 wxInitAllImageHandlers();
11074 wxPyEndAllowThreads(__tstate
);
11075 if (PyErr_Occurred()) SWIG_fail
;
11077 Py_INCREF(Py_None
); resultobj
= Py_None
;
11084 static int _wrap_NullImage_set(PyObject
*_val
) {
11085 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
11090 static PyObject
*_wrap_NullImage_get() {
11093 pyobj
= SWIG_NewPointerObj((void *)(&wxNullImage
), SWIGTYPE_p_wxImage
, 0);
11098 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
11099 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
11104 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
11109 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11111 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
11118 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
11119 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
11124 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
11129 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11131 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
11138 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
11139 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
11144 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
11149 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11151 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
11158 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
11159 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
11164 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
11169 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11171 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
11178 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
11179 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
11184 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
11189 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11191 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
11198 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11199 PyObject
*resultobj
;
11200 wxBMPHandler
*result
;
11201 char *kwnames
[] = {
11205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (wxBMPHandler
*)new wxBMPHandler();
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBMPHandler
, 1);
11220 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11222 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11223 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
11225 return Py_BuildValue((char *)"");
11227 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxICOHandler
*result
;
11230 char *kwnames
[] = {
11234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
11236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11237 result
= (wxICOHandler
*)new wxICOHandler();
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxICOHandler
, 1);
11249 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11251 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11252 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
11254 return Py_BuildValue((char *)"");
11256 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11257 PyObject
*resultobj
;
11258 wxCURHandler
*result
;
11259 char *kwnames
[] = {
11263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (wxCURHandler
*)new wxCURHandler();
11268 wxPyEndAllowThreads(__tstate
);
11269 if (PyErr_Occurred()) SWIG_fail
;
11271 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCURHandler
, 1);
11278 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11281 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
11283 return Py_BuildValue((char *)"");
11285 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11286 PyObject
*resultobj
;
11287 wxANIHandler
*result
;
11288 char *kwnames
[] = {
11292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
11294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11295 result
= (wxANIHandler
*)new wxANIHandler();
11297 wxPyEndAllowThreads(__tstate
);
11298 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxANIHandler
, 1);
11307 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11310 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
11312 return Py_BuildValue((char *)"");
11314 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11315 PyObject
*resultobj
;
11316 wxPNGHandler
*result
;
11317 char *kwnames
[] = {
11321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (wxPNGHandler
*)new wxPNGHandler();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNGHandler
, 1);
11336 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11338 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11339 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
11341 return Py_BuildValue((char *)"");
11343 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
;
11345 wxGIFHandler
*result
;
11346 char *kwnames
[] = {
11350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
11352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11353 result
= (wxGIFHandler
*)new wxGIFHandler();
11355 wxPyEndAllowThreads(__tstate
);
11356 if (PyErr_Occurred()) SWIG_fail
;
11358 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGIFHandler
, 1);
11365 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11368 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
11370 return Py_BuildValue((char *)"");
11372 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11373 PyObject
*resultobj
;
11374 wxPCXHandler
*result
;
11375 char *kwnames
[] = {
11379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
11381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11382 result
= (wxPCXHandler
*)new wxPCXHandler();
11384 wxPyEndAllowThreads(__tstate
);
11385 if (PyErr_Occurred()) SWIG_fail
;
11387 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPCXHandler
, 1);
11394 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11396 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11397 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
11399 return Py_BuildValue((char *)"");
11401 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11402 PyObject
*resultobj
;
11403 wxJPEGHandler
*result
;
11404 char *kwnames
[] = {
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 result
= (wxJPEGHandler
*)new wxJPEGHandler();
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxJPEGHandler
, 1);
11423 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11425 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11426 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
11428 return Py_BuildValue((char *)"");
11430 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxPNMHandler
*result
;
11433 char *kwnames
[] = {
11437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (wxPNMHandler
*)new wxPNMHandler();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPNMHandler
, 1);
11452 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11454 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11455 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
11457 return Py_BuildValue((char *)"");
11459 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11460 PyObject
*resultobj
;
11461 wxXPMHandler
*result
;
11462 char *kwnames
[] = {
11466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (wxXPMHandler
*)new wxXPMHandler();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxXPMHandler
, 1);
11481 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11483 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11484 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
11486 return Py_BuildValue((char *)"");
11488 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11489 PyObject
*resultobj
;
11490 wxTIFFHandler
*result
;
11491 char *kwnames
[] = {
11495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
11497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11498 result
= (wxTIFFHandler
*)new wxTIFFHandler();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxTIFFHandler
, 1);
11510 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11513 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
11515 return Py_BuildValue((char *)"");
11517 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxEvtHandler
*result
;
11520 char *kwnames
[] = {
11524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (wxEvtHandler
*)new wxEvtHandler();
11529 wxPyEndAllowThreads(__tstate
);
11530 if (PyErr_Occurred()) SWIG_fail
;
11533 resultobj
= wxPyMake_wxObject(result
);
11541 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11544 wxEvtHandler
*result
;
11545 PyObject
* obj0
= 0 ;
11546 char *kwnames
[] = {
11547 (char *) "self", NULL
11550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
11551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
11557 wxPyEndAllowThreads(__tstate
);
11558 if (PyErr_Occurred()) SWIG_fail
;
11561 resultobj
= wxPyMake_wxObject(result
);
11569 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11570 PyObject
*resultobj
;
11571 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11572 wxEvtHandler
*result
;
11573 PyObject
* obj0
= 0 ;
11574 char *kwnames
[] = {
11575 (char *) "self", NULL
11578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
11579 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11580 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11583 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
11585 wxPyEndAllowThreads(__tstate
);
11586 if (PyErr_Occurred()) SWIG_fail
;
11589 resultobj
= wxPyMake_wxObject(result
);
11597 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11600 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11601 PyObject
* obj0
= 0 ;
11602 PyObject
* obj1
= 0 ;
11603 char *kwnames
[] = {
11604 (char *) "self",(char *) "handler", NULL
11607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11608 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11609 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11610 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11611 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11614 (arg1
)->SetNextHandler(arg2
);
11616 wxPyEndAllowThreads(__tstate
);
11617 if (PyErr_Occurred()) SWIG_fail
;
11619 Py_INCREF(Py_None
); resultobj
= Py_None
;
11626 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11627 PyObject
*resultobj
;
11628 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11629 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
11630 PyObject
* obj0
= 0 ;
11631 PyObject
* obj1
= 0 ;
11632 char *kwnames
[] = {
11633 (char *) "self",(char *) "handler", NULL
11636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
11637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11639 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
11640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11643 (arg1
)->SetPreviousHandler(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 Py_INCREF(Py_None
); resultobj
= Py_None
;
11655 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11656 PyObject
*resultobj
;
11657 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11659 PyObject
* obj0
= 0 ;
11660 char *kwnames
[] = {
11661 (char *) "self", NULL
11664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
11665 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11666 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11669 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
11671 wxPyEndAllowThreads(__tstate
);
11672 if (PyErr_Occurred()) SWIG_fail
;
11674 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11681 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11682 PyObject
*resultobj
;
11683 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 char *kwnames
[] = {
11688 (char *) "self",(char *) "enabled", NULL
11691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
11692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11694 arg2
= (bool) SWIG_AsBool(obj1
);
11695 if (PyErr_Occurred()) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetEvtHandlerEnabled(arg2
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11711 PyObject
*resultobj
;
11712 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11713 wxEvent
*arg2
= 0 ;
11715 PyObject
* obj0
= 0 ;
11716 PyObject
* obj1
= 0 ;
11717 char *kwnames
[] = {
11718 (char *) "self",(char *) "event", NULL
11721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11722 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11723 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11724 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11725 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11727 if (arg2
== NULL
) {
11728 PyErr_SetString(PyExc_TypeError
,"null reference");
11732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11733 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
11735 wxPyEndAllowThreads(__tstate
);
11736 if (PyErr_Occurred()) SWIG_fail
;
11738 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11745 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11746 PyObject
*resultobj
;
11747 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11748 wxEvent
*arg2
= 0 ;
11749 PyObject
* obj0
= 0 ;
11750 PyObject
* obj1
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self",(char *) "event", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11758 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
11759 SWIG_POINTER_EXCEPTION
| 0)) == -1)
11761 if (arg2
== NULL
) {
11762 PyErr_SetString(PyExc_TypeError
,"null reference");
11766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11767 (arg1
)->AddPendingEvent(*arg2
);
11769 wxPyEndAllowThreads(__tstate
);
11770 if (PyErr_Occurred()) SWIG_fail
;
11772 Py_INCREF(Py_None
); resultobj
= Py_None
;
11779 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11780 PyObject
*resultobj
;
11781 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11782 PyObject
* obj0
= 0 ;
11783 char *kwnames
[] = {
11784 (char *) "self", NULL
11787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
11788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11792 (arg1
)->ProcessPendingEvents();
11794 wxPyEndAllowThreads(__tstate
);
11795 if (PyErr_Occurred()) SWIG_fail
;
11797 Py_INCREF(Py_None
); resultobj
= Py_None
;
11804 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11805 PyObject
*resultobj
;
11806 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11810 PyObject
*arg5
= (PyObject
*) 0 ;
11811 PyObject
* obj0
= 0 ;
11812 PyObject
* obj1
= 0 ;
11813 PyObject
* obj2
= 0 ;
11814 PyObject
* obj3
= 0 ;
11815 PyObject
* obj4
= 0 ;
11816 char *kwnames
[] = {
11817 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
11820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:EvtHandler_Connect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
11821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11823 arg2
= (int) SWIG_AsInt(obj1
);
11824 if (PyErr_Occurred()) SWIG_fail
;
11825 arg3
= (int) SWIG_AsInt(obj2
);
11826 if (PyErr_Occurred()) SWIG_fail
;
11827 arg4
= (int) SWIG_AsInt(obj3
);
11828 if (PyErr_Occurred()) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11845 PyObject
*resultobj
;
11846 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11848 int arg3
= (int) -1 ;
11849 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
11851 PyObject
* obj0
= 0 ;
11852 PyObject
* obj1
= 0 ;
11853 PyObject
* obj2
= 0 ;
11854 PyObject
* obj3
= 0 ;
11855 char *kwnames
[] = {
11856 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:EvtHandler_Disconnect",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
11860 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11861 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11862 arg2
= (int) SWIG_AsInt(obj1
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11865 arg3
= (int) SWIG_AsInt(obj2
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11869 arg4
= (wxEventType
) SWIG_AsInt(obj3
);
11870 if (PyErr_Occurred()) SWIG_fail
;
11873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11874 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
11876 wxPyEndAllowThreads(__tstate
);
11877 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11886 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11887 PyObject
*resultobj
;
11888 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
11889 PyObject
*arg2
= (PyObject
*) 0 ;
11890 PyObject
* obj0
= 0 ;
11891 PyObject
* obj1
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self",(char *) "_self", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
11898 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11902 wxEvtHandler__setOORInfo(arg1
,arg2
);
11904 wxPyEndAllowThreads(__tstate
);
11905 if (PyErr_Occurred()) SWIG_fail
;
11907 Py_INCREF(Py_None
); resultobj
= Py_None
;
11914 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
11916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11917 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
11919 return Py_BuildValue((char *)"");
11921 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11922 PyObject
*resultobj
;
11923 wxEventType result
;
11924 char *kwnames
[] = {
11928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
11930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11931 result
= (wxEventType
)wxNewEventType();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_FromInt((int)result
);
11943 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11944 PyObject
*resultobj
;
11945 wxEvent
*arg1
= (wxEvent
*) 0 ;
11946 PyObject
* obj0
= 0 ;
11947 char *kwnames
[] = {
11948 (char *) "self", NULL
11951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
11952 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11953 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11958 wxPyEndAllowThreads(__tstate
);
11959 if (PyErr_Occurred()) SWIG_fail
;
11961 Py_INCREF(Py_None
); resultobj
= Py_None
;
11968 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11969 PyObject
*resultobj
;
11970 wxEvent
*arg1
= (wxEvent
*) 0 ;
11972 PyObject
* obj0
= 0 ;
11973 PyObject
* obj1
= 0 ;
11974 char *kwnames
[] = {
11975 (char *) "self",(char *) "typ", NULL
11978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventType",kwnames
,&obj0
,&obj1
)) goto fail
;
11979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
11980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
11981 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
11982 if (PyErr_Occurred()) SWIG_fail
;
11984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11985 (arg1
)->SetEventType(arg2
);
11987 wxPyEndAllowThreads(__tstate
);
11988 if (PyErr_Occurred()) SWIG_fail
;
11990 Py_INCREF(Py_None
); resultobj
= Py_None
;
11997 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11998 PyObject
*resultobj
;
11999 wxEvent
*arg1
= (wxEvent
*) 0 ;
12000 wxEventType result
;
12001 PyObject
* obj0
= 0 ;
12002 char *kwnames
[] = {
12003 (char *) "self", NULL
12006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
12007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12011 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
12013 wxPyEndAllowThreads(__tstate
);
12014 if (PyErr_Occurred()) SWIG_fail
;
12016 resultobj
= SWIG_FromInt((int)result
);
12023 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12024 PyObject
*resultobj
;
12025 wxEvent
*arg1
= (wxEvent
*) 0 ;
12027 PyObject
* obj0
= 0 ;
12028 char *kwnames
[] = {
12029 (char *) "self", NULL
12032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
12033 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12034 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12037 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12043 resultobj
= wxPyMake_wxObject(result
);
12051 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12052 PyObject
*resultobj
;
12053 wxEvent
*arg1
= (wxEvent
*) 0 ;
12054 wxObject
*arg2
= (wxObject
*) 0 ;
12055 PyObject
* obj0
= 0 ;
12056 PyObject
* obj1
= 0 ;
12057 char *kwnames
[] = {
12058 (char *) "self",(char *) "obj", NULL
12061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
12062 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12063 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12064 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
12065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12068 (arg1
)->SetEventObject(arg2
);
12070 wxPyEndAllowThreads(__tstate
);
12071 if (PyErr_Occurred()) SWIG_fail
;
12073 Py_INCREF(Py_None
); resultobj
= Py_None
;
12080 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12081 PyObject
*resultobj
;
12082 wxEvent
*arg1
= (wxEvent
*) 0 ;
12084 PyObject
* obj0
= 0 ;
12085 char *kwnames
[] = {
12086 (char *) "self", NULL
12089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
12090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= SWIG_FromLong((long)result
);
12106 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxEvent
*arg1
= (wxEvent
*) 0 ;
12109 long arg2
= (long) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 PyObject
* obj1
= 0 ;
12112 char *kwnames
[] = {
12113 (char *) "self",(char *) "ts", NULL
12116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_SetTimestamp",kwnames
,&obj0
,&obj1
)) goto fail
;
12117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12120 arg2
= (long) SWIG_AsLong(obj1
);
12121 if (PyErr_Occurred()) SWIG_fail
;
12124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12125 (arg1
)->SetTimestamp(arg2
);
12127 wxPyEndAllowThreads(__tstate
);
12128 if (PyErr_Occurred()) SWIG_fail
;
12130 Py_INCREF(Py_None
); resultobj
= Py_None
;
12137 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12138 PyObject
*resultobj
;
12139 wxEvent
*arg1
= (wxEvent
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12151 result
= (int)((wxEvent
const *)arg1
)->GetId();
12153 wxPyEndAllowThreads(__tstate
);
12154 if (PyErr_Occurred()) SWIG_fail
;
12156 resultobj
= SWIG_FromInt((int)result
);
12163 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12164 PyObject
*resultobj
;
12165 wxEvent
*arg1
= (wxEvent
*) 0 ;
12167 PyObject
* obj0
= 0 ;
12168 PyObject
* obj1
= 0 ;
12169 char *kwnames
[] = {
12170 (char *) "self",(char *) "Id", NULL
12173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
12174 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12175 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12176 arg2
= (int) SWIG_AsInt(obj1
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 (arg1
)->SetId(arg2
);
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 Py_INCREF(Py_None
); resultobj
= Py_None
;
12192 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxEvent
*arg1
= (wxEvent
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12203 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
12208 wxPyEndAllowThreads(__tstate
);
12209 if (PyErr_Occurred()) SWIG_fail
;
12211 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12218 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12219 PyObject
*resultobj
;
12220 wxEvent
*arg1
= (wxEvent
*) 0 ;
12221 bool arg2
= (bool) True
;
12222 PyObject
* obj0
= 0 ;
12223 PyObject
* obj1
= 0 ;
12224 char *kwnames
[] = {
12225 (char *) "self",(char *) "skip", NULL
12228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
12229 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12230 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12232 arg2
= (bool) SWIG_AsBool(obj1
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 (arg1
)->Skip(arg2
);
12239 wxPyEndAllowThreads(__tstate
);
12240 if (PyErr_Occurred()) SWIG_fail
;
12242 Py_INCREF(Py_None
); resultobj
= Py_None
;
12249 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12250 PyObject
*resultobj
;
12251 wxEvent
*arg1
= (wxEvent
*) 0 ;
12253 PyObject
* obj0
= 0 ;
12254 char *kwnames
[] = {
12255 (char *) "self", NULL
12258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
12259 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12260 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12263 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
12265 wxPyEndAllowThreads(__tstate
);
12266 if (PyErr_Occurred()) SWIG_fail
;
12268 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12275 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12276 PyObject
*resultobj
;
12277 wxEvent
*arg1
= (wxEvent
*) 0 ;
12279 PyObject
* obj0
= 0 ;
12280 char *kwnames
[] = {
12281 (char *) "self", NULL
12284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
12285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12289 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
12291 wxPyEndAllowThreads(__tstate
);
12292 if (PyErr_Occurred()) SWIG_fail
;
12294 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12301 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12302 PyObject
*resultobj
;
12303 wxEvent
*arg1
= (wxEvent
*) 0 ;
12305 PyObject
* obj0
= 0 ;
12306 char *kwnames
[] = {
12307 (char *) "self", NULL
12310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
12311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12315 result
= (int)(arg1
)->StopPropagation();
12317 wxPyEndAllowThreads(__tstate
);
12318 if (PyErr_Occurred()) SWIG_fail
;
12320 resultobj
= SWIG_FromInt((int)result
);
12327 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12328 PyObject
*resultobj
;
12329 wxEvent
*arg1
= (wxEvent
*) 0 ;
12331 PyObject
* obj0
= 0 ;
12332 PyObject
* obj1
= 0 ;
12333 char *kwnames
[] = {
12334 (char *) "self",(char *) "propagationLevel", NULL
12337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_ResumePropagation",kwnames
,&obj0
,&obj1
)) goto fail
;
12338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12340 arg2
= (int) SWIG_AsInt(obj1
);
12341 if (PyErr_Occurred()) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 (arg1
)->ResumePropagation(arg2
);
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 Py_INCREF(Py_None
); resultobj
= Py_None
;
12356 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxEvent
*arg1
= (wxEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12370 result
= (wxEvent
*)(arg1
)->Clone();
12372 wxPyEndAllowThreads(__tstate
);
12373 if (PyErr_Occurred()) SWIG_fail
;
12375 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12382 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
12384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12385 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
12387 return Py_BuildValue((char *)"");
12389 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12390 PyObject
*resultobj
;
12391 wxEvent
*arg1
= 0 ;
12392 wxPropagationDisabler
*result
;
12393 PyObject
* obj0
= 0 ;
12394 char *kwnames
[] = {
12395 (char *) "event", NULL
12398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12399 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12400 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12402 if (arg1
== NULL
) {
12403 PyErr_SetString(PyExc_TypeError
,"null reference");
12407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12408 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagationDisabler
, 1);
12420 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
;
12422 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
12423 PyObject
* obj0
= 0 ;
12424 char *kwnames
[] = {
12425 (char *) "self", NULL
12428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
12429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagationDisabler
,
12430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12435 wxPyEndAllowThreads(__tstate
);
12436 if (PyErr_Occurred()) SWIG_fail
;
12438 Py_INCREF(Py_None
); resultobj
= Py_None
;
12445 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
12447 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12448 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
12450 return Py_BuildValue((char *)"");
12452 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12453 PyObject
*resultobj
;
12454 wxEvent
*arg1
= 0 ;
12455 wxPropagateOnce
*result
;
12456 PyObject
* obj0
= 0 ;
12457 char *kwnames
[] = {
12458 (char *) "event", NULL
12461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvent
,
12463 SWIG_POINTER_EXCEPTION
| 0)) == -1)
12465 if (arg1
== NULL
) {
12466 PyErr_SetString(PyExc_TypeError
,"null reference");
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPropagateOnce
, 1);
12483 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
12486 PyObject
* obj0
= 0 ;
12487 char *kwnames
[] = {
12488 (char *) "self", NULL
12491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
12492 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPropagateOnce
,
12493 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 Py_INCREF(Py_None
); resultobj
= Py_None
;
12508 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
12510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12511 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
12513 return Py_BuildValue((char *)"");
12515 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12516 PyObject
*resultobj
;
12517 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12518 int arg2
= (int) 0 ;
12519 wxCommandEvent
*result
;
12520 PyObject
* obj0
= 0 ;
12521 PyObject
* obj1
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "commandType",(char *) "winid", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12528 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12529 if (PyErr_Occurred()) SWIG_fail
;
12532 arg2
= (int) SWIG_AsInt(obj1
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12537 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
12539 wxPyEndAllowThreads(__tstate
);
12540 if (PyErr_Occurred()) SWIG_fail
;
12542 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCommandEvent
, 1);
12549 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12550 PyObject
*resultobj
;
12551 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12553 PyObject
* obj0
= 0 ;
12554 char *kwnames
[] = {
12555 (char *) "self", NULL
12558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
12559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12563 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
12565 wxPyEndAllowThreads(__tstate
);
12566 if (PyErr_Occurred()) SWIG_fail
;
12568 resultobj
= SWIG_FromInt((int)result
);
12575 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12576 PyObject
*resultobj
;
12577 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12578 wxString
*arg2
= 0 ;
12579 bool temp2
= False
;
12580 PyObject
* obj0
= 0 ;
12581 PyObject
* obj1
= 0 ;
12582 char *kwnames
[] = {
12583 (char *) "self",(char *) "s", NULL
12586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
12587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12590 arg2
= wxString_in_helper(obj1
);
12591 if (arg2
== NULL
) SWIG_fail
;
12595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12596 (arg1
)->SetString((wxString
const &)*arg2
);
12598 wxPyEndAllowThreads(__tstate
);
12599 if (PyErr_Occurred()) SWIG_fail
;
12601 Py_INCREF(Py_None
); resultobj
= Py_None
;
12616 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12617 PyObject
*resultobj
;
12618 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12620 PyObject
* obj0
= 0 ;
12621 char *kwnames
[] = {
12622 (char *) "self", NULL
12625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
12626 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12627 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12630 result
= ((wxCommandEvent
const *)arg1
)->GetString();
12632 wxPyEndAllowThreads(__tstate
);
12633 if (PyErr_Occurred()) SWIG_fail
;
12637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
12639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
12648 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12649 PyObject
*resultobj
;
12650 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12652 PyObject
* obj0
= 0 ;
12653 char *kwnames
[] = {
12654 (char *) "self", NULL
12657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
12658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12662 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
12664 wxPyEndAllowThreads(__tstate
);
12665 if (PyErr_Occurred()) SWIG_fail
;
12667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12674 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12675 PyObject
*resultobj
;
12676 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12678 PyObject
* obj0
= 0 ;
12679 char *kwnames
[] = {
12680 (char *) "self", NULL
12683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
12684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12688 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
12690 wxPyEndAllowThreads(__tstate
);
12691 if (PyErr_Occurred()) SWIG_fail
;
12693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12700 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12701 PyObject
*resultobj
;
12702 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12704 PyObject
* obj0
= 0 ;
12705 PyObject
* obj1
= 0 ;
12706 char *kwnames
[] = {
12707 (char *) "self",(char *) "extraLong", NULL
12710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetExtraLong",kwnames
,&obj0
,&obj1
)) goto fail
;
12711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12713 arg2
= (long) SWIG_AsLong(obj1
);
12714 if (PyErr_Occurred()) SWIG_fail
;
12716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12717 (arg1
)->SetExtraLong(arg2
);
12719 wxPyEndAllowThreads(__tstate
);
12720 if (PyErr_Occurred()) SWIG_fail
;
12722 Py_INCREF(Py_None
); resultobj
= Py_None
;
12729 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12730 PyObject
*resultobj
;
12731 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12733 PyObject
* obj0
= 0 ;
12734 char *kwnames
[] = {
12735 (char *) "self", NULL
12738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
12739 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12740 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12743 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
12745 wxPyEndAllowThreads(__tstate
);
12746 if (PyErr_Occurred()) SWIG_fail
;
12748 resultobj
= SWIG_FromLong((long)result
);
12755 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12756 PyObject
*resultobj
;
12757 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "i", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetInt",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12767 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12768 arg2
= (int) SWIG_AsInt(obj1
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 (arg1
)->SetInt(arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12777 Py_INCREF(Py_None
); resultobj
= Py_None
;
12784 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12785 PyObject
*resultobj
;
12786 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12788 PyObject
* obj0
= 0 ;
12789 char *kwnames
[] = {
12790 (char *) "self", NULL
12793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
12794 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12795 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= SWIG_FromLong((long)result
);
12810 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCommandEvent
,
12821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12824 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12829 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEvent
, 0);
12836 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12838 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12839 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
12841 return Py_BuildValue((char *)"");
12843 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12844 PyObject
*resultobj
;
12845 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12846 int arg2
= (int) 0 ;
12847 wxNotifyEvent
*result
;
12848 PyObject
* obj0
= 0 ;
12849 PyObject
* obj1
= 0 ;
12850 char *kwnames
[] = {
12851 (char *) "commandType",(char *) "winid", NULL
12854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_NotifyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
12856 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12857 if (PyErr_Occurred()) SWIG_fail
;
12860 arg2
= (int) SWIG_AsInt(obj1
);
12861 if (PyErr_Occurred()) SWIG_fail
;
12864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12865 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
12867 wxPyEndAllowThreads(__tstate
);
12868 if (PyErr_Occurred()) SWIG_fail
;
12870 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNotifyEvent
, 1);
12877 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12878 PyObject
*resultobj
;
12879 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12880 PyObject
* obj0
= 0 ;
12881 char *kwnames
[] = {
12882 (char *) "self", NULL
12885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
12886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12892 wxPyEndAllowThreads(__tstate
);
12893 if (PyErr_Occurred()) SWIG_fail
;
12895 Py_INCREF(Py_None
); resultobj
= Py_None
;
12902 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12903 PyObject
*resultobj
;
12904 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12905 PyObject
* obj0
= 0 ;
12906 char *kwnames
[] = {
12907 (char *) "self", NULL
12910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
12911 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12912 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12917 wxPyEndAllowThreads(__tstate
);
12918 if (PyErr_Occurred()) SWIG_fail
;
12920 Py_INCREF(Py_None
); resultobj
= Py_None
;
12927 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12928 PyObject
*resultobj
;
12929 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
12931 PyObject
* obj0
= 0 ;
12932 char *kwnames
[] = {
12933 (char *) "self", NULL
12936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
12937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNotifyEvent
,
12938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
12940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12941 result
= (bool)(arg1
)->IsAllowed();
12943 wxPyEndAllowThreads(__tstate
);
12944 if (PyErr_Occurred()) SWIG_fail
;
12946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12953 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
12955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
12956 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
12958 return Py_BuildValue((char *)"");
12960 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12961 PyObject
*resultobj
;
12962 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
12963 int arg2
= (int) 0 ;
12964 int arg3
= (int) 0 ;
12965 int arg4
= (int) 0 ;
12966 wxScrollEvent
*result
;
12967 PyObject
* obj0
= 0 ;
12968 PyObject
* obj1
= 0 ;
12969 PyObject
* obj2
= 0 ;
12970 PyObject
* obj3
= 0 ;
12971 char *kwnames
[] = {
12972 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
12975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_ScrollEvent",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
12977 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
12978 if (PyErr_Occurred()) SWIG_fail
;
12981 arg2
= (int) SWIG_AsInt(obj1
);
12982 if (PyErr_Occurred()) SWIG_fail
;
12985 arg3
= (int) SWIG_AsInt(obj2
);
12986 if (PyErr_Occurred()) SWIG_fail
;
12989 arg4
= (int) SWIG_AsInt(obj3
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12994 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
12996 wxPyEndAllowThreads(__tstate
);
12997 if (PyErr_Occurred()) SWIG_fail
;
12999 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollEvent
, 1);
13006 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13007 PyObject
*resultobj
;
13008 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13010 PyObject
* obj0
= 0 ;
13011 char *kwnames
[] = {
13012 (char *) "self", NULL
13015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13020 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_FromInt((int)result
);
13032 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13033 PyObject
*resultobj
;
13034 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13036 PyObject
* obj0
= 0 ;
13037 char *kwnames
[] = {
13038 (char *) "self", NULL
13041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
13048 wxPyEndAllowThreads(__tstate
);
13049 if (PyErr_Occurred()) SWIG_fail
;
13051 resultobj
= SWIG_FromInt((int)result
);
13058 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "orient", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13071 arg2
= (int) SWIG_AsInt(obj1
);
13072 if (PyErr_Occurred()) SWIG_fail
;
13074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13075 (arg1
)->SetOrientation(arg2
);
13077 wxPyEndAllowThreads(__tstate
);
13078 if (PyErr_Occurred()) SWIG_fail
;
13080 Py_INCREF(Py_None
); resultobj
= Py_None
;
13087 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13088 PyObject
*resultobj
;
13089 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
13091 PyObject
* obj0
= 0 ;
13092 PyObject
* obj1
= 0 ;
13093 char *kwnames
[] = {
13094 (char *) "self",(char *) "pos", NULL
13097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13098 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollEvent
,
13099 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13100 arg2
= (int) SWIG_AsInt(obj1
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13104 (arg1
)->SetPosition(arg2
);
13106 wxPyEndAllowThreads(__tstate
);
13107 if (PyErr_Occurred()) SWIG_fail
;
13109 Py_INCREF(Py_None
); resultobj
= Py_None
;
13116 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13119 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
13121 return Py_BuildValue((char *)"");
13123 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13124 PyObject
*resultobj
;
13125 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13126 int arg2
= (int) 0 ;
13127 int arg3
= (int) 0 ;
13128 wxScrollWinEvent
*result
;
13129 PyObject
* obj0
= 0 ;
13130 PyObject
* obj1
= 0 ;
13131 PyObject
* obj2
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ScrollWinEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
13138 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13139 if (PyErr_Occurred()) SWIG_fail
;
13142 arg2
= (int) SWIG_AsInt(obj1
);
13143 if (PyErr_Occurred()) SWIG_fail
;
13146 arg3
= (int) SWIG_AsInt(obj2
);
13147 if (PyErr_Occurred()) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
13153 wxPyEndAllowThreads(__tstate
);
13154 if (PyErr_Occurred()) SWIG_fail
;
13156 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxScrollWinEvent
, 1);
13163 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13164 PyObject
*resultobj
;
13165 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13167 PyObject
* obj0
= 0 ;
13168 char *kwnames
[] = {
13169 (char *) "self", NULL
13172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
13173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13177 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
13179 wxPyEndAllowThreads(__tstate
);
13180 if (PyErr_Occurred()) SWIG_fail
;
13182 resultobj
= SWIG_FromInt((int)result
);
13189 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
13205 wxPyEndAllowThreads(__tstate
);
13206 if (PyErr_Occurred()) SWIG_fail
;
13208 resultobj
= SWIG_FromInt((int)result
);
13215 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13216 PyObject
*resultobj
;
13217 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13219 PyObject
* obj0
= 0 ;
13220 PyObject
* obj1
= 0 ;
13221 char *kwnames
[] = {
13222 (char *) "self",(char *) "orient", NULL
13225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
13226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13228 arg2
= (int) SWIG_AsInt(obj1
);
13229 if (PyErr_Occurred()) SWIG_fail
;
13231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13232 (arg1
)->SetOrientation(arg2
);
13234 wxPyEndAllowThreads(__tstate
);
13235 if (PyErr_Occurred()) SWIG_fail
;
13237 Py_INCREF(Py_None
); resultobj
= Py_None
;
13244 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13245 PyObject
*resultobj
;
13246 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
13248 PyObject
* obj0
= 0 ;
13249 PyObject
* obj1
= 0 ;
13250 char *kwnames
[] = {
13251 (char *) "self",(char *) "pos", NULL
13254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
13255 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxScrollWinEvent
,
13256 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13257 arg2
= (int) SWIG_AsInt(obj1
);
13258 if (PyErr_Occurred()) SWIG_fail
;
13260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13261 (arg1
)->SetPosition(arg2
);
13263 wxPyEndAllowThreads(__tstate
);
13264 if (PyErr_Occurred()) SWIG_fail
;
13266 Py_INCREF(Py_None
); resultobj
= Py_None
;
13273 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13275 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13276 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
13278 return Py_BuildValue((char *)"");
13280 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13283 wxMouseEvent
*result
;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "mouseType", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MouseEvent",kwnames
,&obj0
)) goto fail
;
13291 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
13292 if (PyErr_Occurred()) SWIG_fail
;
13295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13296 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
13298 wxPyEndAllowThreads(__tstate
);
13299 if (PyErr_Occurred()) SWIG_fail
;
13302 resultobj
= wxPyMake_wxObject(result
);
13310 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13311 PyObject
*resultobj
;
13312 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13314 PyObject
* obj0
= 0 ;
13315 char *kwnames
[] = {
13316 (char *) "self", NULL
13319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
13320 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13321 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13324 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
13326 wxPyEndAllowThreads(__tstate
);
13327 if (PyErr_Occurred()) SWIG_fail
;
13329 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13336 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13337 PyObject
*resultobj
;
13338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13339 int arg2
= (int) wxMOUSE_BTN_ANY
;
13341 PyObject
* obj0
= 0 ;
13342 PyObject
* obj1
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self",(char *) "but", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13351 arg2
= (int) SWIG_AsInt(obj1
);
13352 if (PyErr_Occurred()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
13358 wxPyEndAllowThreads(__tstate
);
13359 if (PyErr_Occurred()) SWIG_fail
;
13361 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13368 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13369 PyObject
*resultobj
;
13370 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13371 int arg2
= (int) wxMOUSE_BTN_ANY
;
13373 PyObject
* obj0
= 0 ;
13374 PyObject
* obj1
= 0 ;
13375 char *kwnames
[] = {
13376 (char *) "self",(char *) "but", NULL
13379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonDClick",kwnames
,&obj0
,&obj1
)) goto fail
;
13380 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13381 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13383 arg2
= (int) SWIG_AsInt(obj1
);
13384 if (PyErr_Occurred()) SWIG_fail
;
13387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13388 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
13390 wxPyEndAllowThreads(__tstate
);
13391 if (PyErr_Occurred()) SWIG_fail
;
13393 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13400 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13403 int arg2
= (int) wxMOUSE_BTN_ANY
;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "but", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MouseEvent_ButtonUp",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13413 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13415 arg2
= (int) SWIG_AsInt(obj1
);
13416 if (PyErr_Occurred()) SWIG_fail
;
13419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13420 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
13422 wxPyEndAllowThreads(__tstate
);
13423 if (PyErr_Occurred()) SWIG_fail
;
13425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13432 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13433 PyObject
*resultobj
;
13434 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13437 PyObject
* obj0
= 0 ;
13438 PyObject
* obj1
= 0 ;
13439 char *kwnames
[] = {
13440 (char *) "self",(char *) "but", NULL
13443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_Button",kwnames
,&obj0
,&obj1
)) goto fail
;
13444 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13445 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13446 arg2
= (int) SWIG_AsInt(obj1
);
13447 if (PyErr_Occurred()) SWIG_fail
;
13449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13450 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
13452 wxPyEndAllowThreads(__tstate
);
13453 if (PyErr_Occurred()) SWIG_fail
;
13455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13462 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13463 PyObject
*resultobj
;
13464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13467 PyObject
* obj0
= 0 ;
13468 PyObject
* obj1
= 0 ;
13469 char *kwnames
[] = {
13470 (char *) "self",(char *) "but", NULL
13473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&obj1
)) goto fail
;
13474 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13475 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13476 arg2
= (int) SWIG_AsInt(obj1
);
13477 if (PyErr_Occurred()) SWIG_fail
;
13479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13480 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
13482 wxPyEndAllowThreads(__tstate
);
13483 if (PyErr_Occurred()) SWIG_fail
;
13485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13492 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13493 PyObject
*resultobj
;
13494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13496 PyObject
* obj0
= 0 ;
13497 char *kwnames
[] = {
13498 (char *) "self", NULL
13501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
13502 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13503 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13506 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
13508 wxPyEndAllowThreads(__tstate
);
13509 if (PyErr_Occurred()) SWIG_fail
;
13511 resultobj
= SWIG_FromInt((int)result
);
13518 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13519 PyObject
*resultobj
;
13520 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13522 PyObject
* obj0
= 0 ;
13523 char *kwnames
[] = {
13524 (char *) "self", NULL
13527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13528 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13529 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13532 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
13534 wxPyEndAllowThreads(__tstate
);
13535 if (PyErr_Occurred()) SWIG_fail
;
13537 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13544 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13545 PyObject
*resultobj
;
13546 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13548 PyObject
* obj0
= 0 ;
13549 char *kwnames
[] = {
13550 (char *) "self", NULL
13553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13554 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13555 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13558 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
13560 wxPyEndAllowThreads(__tstate
);
13561 if (PyErr_Occurred()) SWIG_fail
;
13563 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13570 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13571 PyObject
*resultobj
;
13572 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13574 PyObject
* obj0
= 0 ;
13575 char *kwnames
[] = {
13576 (char *) "self", NULL
13579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
13586 wxPyEndAllowThreads(__tstate
);
13587 if (PyErr_Occurred()) SWIG_fail
;
13589 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13596 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13597 PyObject
*resultobj
;
13598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13600 PyObject
* obj0
= 0 ;
13601 char *kwnames
[] = {
13602 (char *) "self", NULL
13605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
13612 wxPyEndAllowThreads(__tstate
);
13613 if (PyErr_Occurred()) SWIG_fail
;
13615 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13622 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13623 PyObject
*resultobj
;
13624 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13626 PyObject
* obj0
= 0 ;
13627 char *kwnames
[] = {
13628 (char *) "self", NULL
13631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
13632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13636 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
13638 wxPyEndAllowThreads(__tstate
);
13639 if (PyErr_Occurred()) SWIG_fail
;
13641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13648 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13649 PyObject
*resultobj
;
13650 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13652 PyObject
* obj0
= 0 ;
13653 char *kwnames
[] = {
13654 (char *) "self", NULL
13657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
13658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13662 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
13664 wxPyEndAllowThreads(__tstate
);
13665 if (PyErr_Occurred()) SWIG_fail
;
13667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13674 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13675 PyObject
*resultobj
;
13676 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13678 PyObject
* obj0
= 0 ;
13679 char *kwnames
[] = {
13680 (char *) "self", NULL
13683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
13684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13688 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
13690 wxPyEndAllowThreads(__tstate
);
13691 if (PyErr_Occurred()) SWIG_fail
;
13693 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13700 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13701 PyObject
*resultobj
;
13702 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13704 PyObject
* obj0
= 0 ;
13705 char *kwnames
[] = {
13706 (char *) "self", NULL
13709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
13710 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13711 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13726 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13737 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
13742 wxPyEndAllowThreads(__tstate
);
13743 if (PyErr_Occurred()) SWIG_fail
;
13745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13752 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13753 PyObject
*resultobj
;
13754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13756 PyObject
* obj0
= 0 ;
13757 char *kwnames
[] = {
13758 (char *) "self", NULL
13761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
13762 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13763 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13766 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
13768 wxPyEndAllowThreads(__tstate
);
13769 if (PyErr_Occurred()) SWIG_fail
;
13771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13778 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13779 PyObject
*resultobj
;
13780 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13782 PyObject
* obj0
= 0 ;
13783 char *kwnames
[] = {
13784 (char *) "self", NULL
13787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
13788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13792 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
13794 wxPyEndAllowThreads(__tstate
);
13795 if (PyErr_Occurred()) SWIG_fail
;
13797 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13804 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13805 PyObject
*resultobj
;
13806 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13808 PyObject
* obj0
= 0 ;
13809 char *kwnames
[] = {
13810 (char *) "self", NULL
13813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
13814 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13815 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13818 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
13820 wxPyEndAllowThreads(__tstate
);
13821 if (PyErr_Occurred()) SWIG_fail
;
13823 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13830 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13831 PyObject
*resultobj
;
13832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13834 PyObject
* obj0
= 0 ;
13835 char *kwnames
[] = {
13836 (char *) "self", NULL
13839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
13840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13856 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13867 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13870 result
= (bool)(arg1
)->LeftIsDown();
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13882 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13883 PyObject
*resultobj
;
13884 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13886 PyObject
* obj0
= 0 ;
13887 char *kwnames
[] = {
13888 (char *) "self", NULL
13891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
13892 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13893 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13896 result
= (bool)(arg1
)->MiddleIsDown();
13898 wxPyEndAllowThreads(__tstate
);
13899 if (PyErr_Occurred()) SWIG_fail
;
13901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13908 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13909 PyObject
*resultobj
;
13910 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13912 PyObject
* obj0
= 0 ;
13913 char *kwnames
[] = {
13914 (char *) "self", NULL
13917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
13918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (bool)(arg1
)->RightIsDown();
13924 wxPyEndAllowThreads(__tstate
);
13925 if (PyErr_Occurred()) SWIG_fail
;
13927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13934 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13935 PyObject
*resultobj
;
13936 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13938 PyObject
* obj0
= 0 ;
13939 char *kwnames
[] = {
13940 (char *) "self", NULL
13943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
13944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13948 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
13950 wxPyEndAllowThreads(__tstate
);
13951 if (PyErr_Occurred()) SWIG_fail
;
13953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13960 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13961 PyObject
*resultobj
;
13962 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13964 PyObject
* obj0
= 0 ;
13965 char *kwnames
[] = {
13966 (char *) "self", NULL
13969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
13970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13974 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
13976 wxPyEndAllowThreads(__tstate
);
13977 if (PyErr_Occurred()) SWIG_fail
;
13979 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13986 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
13997 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
14002 wxPyEndAllowThreads(__tstate
);
14003 if (PyErr_Occurred()) SWIG_fail
;
14005 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14012 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14013 PyObject
*resultobj
;
14014 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14016 PyObject
* obj0
= 0 ;
14017 char *kwnames
[] = {
14018 (char *) "self", NULL
14021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
14022 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14026 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
14028 wxPyEndAllowThreads(__tstate
);
14029 if (PyErr_Occurred()) SWIG_fail
;
14031 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14038 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14039 PyObject
*resultobj
;
14040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14042 PyObject
* obj0
= 0 ;
14043 char *kwnames
[] = {
14044 (char *) "self", NULL
14047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (arg1
)->GetPosition();
14054 wxPyEndAllowThreads(__tstate
);
14055 if (PyErr_Occurred()) SWIG_fail
;
14058 wxPoint
* resultptr
;
14059 resultptr
= new wxPoint((wxPoint
&) result
);
14060 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14068 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14069 PyObject
*resultobj
;
14070 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14071 long *arg2
= (long *) 0 ;
14072 long *arg3
= (long *) 0 ;
14075 PyObject
* obj0
= 0 ;
14076 char *kwnames
[] = {
14077 (char *) "self", NULL
14082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
14083 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14084 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14087 (arg1
)->GetPosition(arg2
,arg3
);
14089 wxPyEndAllowThreads(__tstate
);
14090 if (PyErr_Occurred()) SWIG_fail
;
14092 Py_INCREF(Py_None
); resultobj
= Py_None
;
14094 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
14095 resultobj
= t_output_helper(resultobj
,o
);
14098 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
14099 resultobj
= t_output_helper(resultobj
,o
);
14107 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14108 PyObject
*resultobj
;
14109 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14112 PyObject
* obj0
= 0 ;
14113 PyObject
* obj1
= 0 ;
14114 char *kwnames
[] = {
14115 (char *) "self",(char *) "dc", NULL
14118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14121 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
14122 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14124 if (arg2
== NULL
) {
14125 PyErr_SetString(PyExc_TypeError
,"null reference");
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
14132 wxPyEndAllowThreads(__tstate
);
14133 if (PyErr_Occurred()) SWIG_fail
;
14136 wxPoint
* resultptr
;
14137 resultptr
= new wxPoint((wxPoint
&) result
);
14138 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
14146 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14147 PyObject
*resultobj
;
14148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14150 PyObject
* obj0
= 0 ;
14151 char *kwnames
[] = {
14152 (char *) "self", NULL
14155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
14156 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14157 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14160 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
14162 wxPyEndAllowThreads(__tstate
);
14163 if (PyErr_Occurred()) SWIG_fail
;
14165 resultobj
= SWIG_FromInt((int)result
);
14172 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14173 PyObject
*resultobj
;
14174 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14176 PyObject
* obj0
= 0 ;
14177 char *kwnames
[] = {
14178 (char *) "self", NULL
14181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
14182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14186 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
14188 wxPyEndAllowThreads(__tstate
);
14189 if (PyErr_Occurred()) SWIG_fail
;
14191 resultobj
= SWIG_FromInt((int)result
);
14198 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14199 PyObject
*resultobj
;
14200 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14202 PyObject
* obj0
= 0 ;
14203 char *kwnames
[] = {
14204 (char *) "self", NULL
14207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
14208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14212 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
14214 wxPyEndAllowThreads(__tstate
);
14215 if (PyErr_Occurred()) SWIG_fail
;
14217 resultobj
= SWIG_FromInt((int)result
);
14224 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14238 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
14240 wxPyEndAllowThreads(__tstate
);
14241 if (PyErr_Occurred()) SWIG_fail
;
14243 resultobj
= SWIG_FromInt((int)result
);
14250 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14251 PyObject
*resultobj
;
14252 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14254 PyObject
* obj0
= 0 ;
14255 char *kwnames
[] = {
14256 (char *) "self", NULL
14259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
14260 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14261 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14264 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
14266 wxPyEndAllowThreads(__tstate
);
14267 if (PyErr_Occurred()) SWIG_fail
;
14269 resultobj
= SWIG_FromInt((int)result
);
14276 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14277 PyObject
*resultobj
;
14278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "self", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
14286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14290 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
14292 wxPyEndAllowThreads(__tstate
);
14293 if (PyErr_Occurred()) SWIG_fail
;
14295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14302 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14303 PyObject
*resultobj
;
14304 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14306 PyObject
* obj0
= 0 ;
14307 PyObject
* obj1
= 0 ;
14308 char *kwnames
[] = {
14309 (char *) "self",(char *) "m_x", NULL
14312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14315 arg2
= (int) SWIG_AsInt(obj1
);
14316 if (PyErr_Occurred()) SWIG_fail
;
14317 if (arg1
) (arg1
)->m_x
= arg2
;
14319 Py_INCREF(Py_None
); resultobj
= Py_None
;
14326 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14327 PyObject
*resultobj
;
14328 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14330 PyObject
* obj0
= 0 ;
14331 char *kwnames
[] = {
14332 (char *) "self", NULL
14335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14338 result
= (int) ((arg1
)->m_x
);
14340 resultobj
= SWIG_FromInt((int)result
);
14347 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14348 PyObject
*resultobj
;
14349 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14351 PyObject
* obj0
= 0 ;
14352 PyObject
* obj1
= 0 ;
14353 char *kwnames
[] = {
14354 (char *) "self",(char *) "m_y", NULL
14357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14358 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14359 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14360 arg2
= (int) SWIG_AsInt(obj1
);
14361 if (PyErr_Occurred()) SWIG_fail
;
14362 if (arg1
) (arg1
)->m_y
= arg2
;
14364 Py_INCREF(Py_None
); resultobj
= Py_None
;
14371 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14372 PyObject
*resultobj
;
14373 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14375 PyObject
* obj0
= 0 ;
14376 char *kwnames
[] = {
14377 (char *) "self", NULL
14380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14383 result
= (int) ((arg1
)->m_y
);
14385 resultobj
= SWIG_FromInt((int)result
);
14392 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14393 PyObject
*resultobj
;
14394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "m_leftDown", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14404 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14405 arg2
= (bool) SWIG_AsBool(obj1
);
14406 if (PyErr_Occurred()) SWIG_fail
;
14407 if (arg1
) (arg1
)->m_leftDown
= arg2
;
14409 Py_INCREF(Py_None
); resultobj
= Py_None
;
14416 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14417 PyObject
*resultobj
;
14418 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14420 PyObject
* obj0
= 0 ;
14421 char *kwnames
[] = {
14422 (char *) "self", NULL
14425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
14426 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14427 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14428 result
= (bool) ((arg1
)->m_leftDown
);
14430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14437 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 PyObject
* obj1
= 0 ;
14443 char *kwnames
[] = {
14444 (char *) "self",(char *) "m_middleDown", NULL
14447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14450 arg2
= (bool) SWIG_AsBool(obj1
);
14451 if (PyErr_Occurred()) SWIG_fail
;
14452 if (arg1
) (arg1
)->m_middleDown
= arg2
;
14454 Py_INCREF(Py_None
); resultobj
= Py_None
;
14461 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14462 PyObject
*resultobj
;
14463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14465 PyObject
* obj0
= 0 ;
14466 char *kwnames
[] = {
14467 (char *) "self", NULL
14470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
14471 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14472 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14473 result
= (bool) ((arg1
)->m_middleDown
);
14475 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14482 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14483 PyObject
*resultobj
;
14484 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14486 PyObject
* obj0
= 0 ;
14487 PyObject
* obj1
= 0 ;
14488 char *kwnames
[] = {
14489 (char *) "self",(char *) "m_rightDown", NULL
14492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14495 arg2
= (bool) SWIG_AsBool(obj1
);
14496 if (PyErr_Occurred()) SWIG_fail
;
14497 if (arg1
) (arg1
)->m_rightDown
= arg2
;
14499 Py_INCREF(Py_None
); resultobj
= Py_None
;
14506 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14507 PyObject
*resultobj
;
14508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14510 PyObject
* obj0
= 0 ;
14511 char *kwnames
[] = {
14512 (char *) "self", NULL
14515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
14516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14518 result
= (bool) ((arg1
)->m_rightDown
);
14520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14527 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14528 PyObject
*resultobj
;
14529 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14531 PyObject
* obj0
= 0 ;
14532 PyObject
* obj1
= 0 ;
14533 char *kwnames
[] = {
14534 (char *) "self",(char *) "m_controlDown", NULL
14537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14540 arg2
= (bool) SWIG_AsBool(obj1
);
14541 if (PyErr_Occurred()) SWIG_fail
;
14542 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14544 Py_INCREF(Py_None
); resultobj
= Py_None
;
14551 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14552 PyObject
*resultobj
;
14553 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14555 PyObject
* obj0
= 0 ;
14556 char *kwnames
[] = {
14557 (char *) "self", NULL
14560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14563 result
= (bool) ((arg1
)->m_controlDown
);
14565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14572 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14573 PyObject
*resultobj
;
14574 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14576 PyObject
* obj0
= 0 ;
14577 PyObject
* obj1
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self",(char *) "m_shiftDown", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14585 arg2
= (bool) SWIG_AsBool(obj1
);
14586 if (PyErr_Occurred()) SWIG_fail
;
14587 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14589 Py_INCREF(Py_None
); resultobj
= Py_None
;
14596 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14597 PyObject
*resultobj
;
14598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14600 PyObject
* obj0
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14607 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14608 result
= (bool) ((arg1
)->m_shiftDown
);
14610 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14617 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 PyObject
* obj1
= 0 ;
14623 char *kwnames
[] = {
14624 (char *) "self",(char *) "m_altDown", NULL
14627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14630 arg2
= (bool) SWIG_AsBool(obj1
);
14631 if (PyErr_Occurred()) SWIG_fail
;
14632 if (arg1
) (arg1
)->m_altDown
= arg2
;
14634 Py_INCREF(Py_None
); resultobj
= Py_None
;
14641 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14642 PyObject
*resultobj
;
14643 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14645 PyObject
* obj0
= 0 ;
14646 char *kwnames
[] = {
14647 (char *) "self", NULL
14650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14651 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14652 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14653 result
= (bool) ((arg1
)->m_altDown
);
14655 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14662 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "m_metaDown", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14675 arg2
= (bool) SWIG_AsBool(obj1
);
14676 if (PyErr_Occurred()) SWIG_fail
;
14677 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14698 result
= (bool) ((arg1
)->m_metaDown
);
14700 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14707 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14708 PyObject
*resultobj
;
14709 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14711 PyObject
* obj0
= 0 ;
14712 PyObject
* obj1
= 0 ;
14713 char *kwnames
[] = {
14714 (char *) "self",(char *) "m_wheelRotation", NULL
14717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14720 arg2
= (int) SWIG_AsInt(obj1
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14722 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
14724 Py_INCREF(Py_None
); resultobj
= Py_None
;
14731 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14732 PyObject
*resultobj
;
14733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14735 PyObject
* obj0
= 0 ;
14736 char *kwnames
[] = {
14737 (char *) "self", NULL
14740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
14741 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14742 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14743 result
= (int) ((arg1
)->m_wheelRotation
);
14745 resultobj
= SWIG_FromInt((int)result
);
14752 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14753 PyObject
*resultobj
;
14754 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14756 PyObject
* obj0
= 0 ;
14757 PyObject
* obj1
= 0 ;
14758 char *kwnames
[] = {
14759 (char *) "self",(char *) "m_wheelDelta", NULL
14762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14765 arg2
= (int) SWIG_AsInt(obj1
);
14766 if (PyErr_Occurred()) SWIG_fail
;
14767 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
14769 Py_INCREF(Py_None
); resultobj
= Py_None
;
14776 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14777 PyObject
*resultobj
;
14778 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14780 PyObject
* obj0
= 0 ;
14781 char *kwnames
[] = {
14782 (char *) "self", NULL
14785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
14786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14788 result
= (int) ((arg1
)->m_wheelDelta
);
14790 resultobj
= SWIG_FromInt((int)result
);
14797 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14798 PyObject
*resultobj
;
14799 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14801 PyObject
* obj0
= 0 ;
14802 PyObject
* obj1
= 0 ;
14803 char *kwnames
[] = {
14804 (char *) "self",(char *) "m_linesPerAction", NULL
14807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14810 arg2
= (int) SWIG_AsInt(obj1
);
14811 if (PyErr_Occurred()) SWIG_fail
;
14812 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
14814 Py_INCREF(Py_None
); resultobj
= Py_None
;
14821 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14822 PyObject
*resultobj
;
14823 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
14825 PyObject
* obj0
= 0 ;
14826 char *kwnames
[] = {
14827 (char *) "self", NULL
14830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
14831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseEvent
,
14832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14833 result
= (int) ((arg1
)->m_linesPerAction
);
14835 resultobj
= SWIG_FromInt((int)result
);
14842 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14845 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
14847 return Py_BuildValue((char *)"");
14849 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14850 PyObject
*resultobj
;
14851 int arg1
= (int) 0 ;
14852 int arg2
= (int) 0 ;
14853 wxSetCursorEvent
*result
;
14854 PyObject
* obj0
= 0 ;
14855 PyObject
* obj1
= 0 ;
14856 char *kwnames
[] = {
14857 (char *) "x",(char *) "y", NULL
14860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SetCursorEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
14862 arg1
= (int) SWIG_AsInt(obj0
);
14863 if (PyErr_Occurred()) SWIG_fail
;
14866 arg2
= (int) SWIG_AsInt(obj1
);
14867 if (PyErr_Occurred()) SWIG_fail
;
14870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14871 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
14873 wxPyEndAllowThreads(__tstate
);
14874 if (PyErr_Occurred()) SWIG_fail
;
14876 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSetCursorEvent
, 1);
14883 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14887 PyObject
* obj0
= 0 ;
14888 char *kwnames
[] = {
14889 (char *) "self", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
14893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14897 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
14899 wxPyEndAllowThreads(__tstate
);
14900 if (PyErr_Occurred()) SWIG_fail
;
14902 resultobj
= SWIG_FromInt((int)result
);
14909 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14910 PyObject
*resultobj
;
14911 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14913 PyObject
* obj0
= 0 ;
14914 char *kwnames
[] = {
14915 (char *) "self", NULL
14918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
14919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14928 resultobj
= SWIG_FromInt((int)result
);
14935 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14936 PyObject
*resultobj
;
14937 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14938 wxCursor
*arg2
= 0 ;
14939 PyObject
* obj0
= 0 ;
14940 PyObject
* obj1
= 0 ;
14941 char *kwnames
[] = {
14942 (char *) "self",(char *) "cursor", NULL
14945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
14946 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14947 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14948 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
14949 SWIG_POINTER_EXCEPTION
| 0)) == -1)
14951 if (arg2
== NULL
) {
14952 PyErr_SetString(PyExc_TypeError
,"null reference");
14956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14957 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
14959 wxPyEndAllowThreads(__tstate
);
14960 if (PyErr_Occurred()) SWIG_fail
;
14962 Py_INCREF(Py_None
); resultobj
= Py_None
;
14969 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14970 PyObject
*resultobj
;
14971 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
14973 PyObject
* obj0
= 0 ;
14974 char *kwnames
[] = {
14975 (char *) "self", NULL
14978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
14979 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
14980 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
14982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
14985 result
= (wxCursor
*) &_result_ref
;
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 0);
14998 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSetCursorEvent
,
15009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15012 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
15014 wxPyEndAllowThreads(__tstate
);
15015 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15024 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15027 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
15029 return Py_BuildValue((char *)"");
15031 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15032 PyObject
*resultobj
;
15033 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15034 wxKeyEvent
*result
;
15035 PyObject
* obj0
= 0 ;
15036 char *kwnames
[] = {
15037 (char *) "keyType", NULL
15040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_KeyEvent",kwnames
,&obj0
)) goto fail
;
15042 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
15043 if (PyErr_Occurred()) SWIG_fail
;
15046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15047 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
15049 wxPyEndAllowThreads(__tstate
);
15050 if (PyErr_Occurred()) SWIG_fail
;
15052 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxKeyEvent
, 1);
15059 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15060 PyObject
*resultobj
;
15061 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15063 PyObject
* obj0
= 0 ;
15064 char *kwnames
[] = {
15065 (char *) "self", NULL
15068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
15069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15073 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
15075 wxPyEndAllowThreads(__tstate
);
15076 if (PyErr_Occurred()) SWIG_fail
;
15078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15085 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15089 PyObject
* obj0
= 0 ;
15090 char *kwnames
[] = {
15091 (char *) "self", NULL
15094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
15095 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15096 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15099 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
15101 wxPyEndAllowThreads(__tstate
);
15102 if (PyErr_Occurred()) SWIG_fail
;
15104 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15111 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15115 PyObject
* obj0
= 0 ;
15116 char *kwnames
[] = {
15117 (char *) "self", NULL
15120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
15121 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15122 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15125 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
15127 wxPyEndAllowThreads(__tstate
);
15128 if (PyErr_Occurred()) SWIG_fail
;
15130 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15137 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15138 PyObject
*resultobj
;
15139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15141 PyObject
* obj0
= 0 ;
15142 char *kwnames
[] = {
15143 (char *) "self", NULL
15146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
15147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15151 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
15153 wxPyEndAllowThreads(__tstate
);
15154 if (PyErr_Occurred()) SWIG_fail
;
15156 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15163 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15164 PyObject
*resultobj
;
15165 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15167 PyObject
* obj0
= 0 ;
15168 char *kwnames
[] = {
15169 (char *) "self", NULL
15172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
15173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15177 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
15179 wxPyEndAllowThreads(__tstate
);
15180 if (PyErr_Occurred()) SWIG_fail
;
15182 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15189 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15190 PyObject
*resultobj
;
15191 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15193 PyObject
* obj0
= 0 ;
15194 char *kwnames
[] = {
15195 (char *) "self", NULL
15198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
15199 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15200 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15208 resultobj
= SWIG_FromInt((int)result
);
15215 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15216 PyObject
*resultobj
;
15217 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15219 PyObject
* obj0
= 0 ;
15220 char *kwnames
[] = {
15221 (char *) "self", NULL
15224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
15225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15229 result
= (int)wxKeyEvent_GetUniChar(arg1
);
15231 wxPyEndAllowThreads(__tstate
);
15232 if (PyErr_Occurred()) SWIG_fail
;
15234 resultobj
= SWIG_FromInt((int)result
);
15241 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15242 PyObject
*resultobj
;
15243 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15244 unsigned int result
;
15245 PyObject
* obj0
= 0 ;
15246 char *kwnames
[] = {
15247 (char *) "self", NULL
15250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
15251 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15252 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15255 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
15257 wxPyEndAllowThreads(__tstate
);
15258 if (PyErr_Occurred()) SWIG_fail
;
15260 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15267 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15268 PyObject
*resultobj
;
15269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15270 unsigned int result
;
15271 PyObject
* obj0
= 0 ;
15272 char *kwnames
[] = {
15273 (char *) "self", NULL
15276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
15277 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15278 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15281 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
15283 wxPyEndAllowThreads(__tstate
);
15284 if (PyErr_Occurred()) SWIG_fail
;
15286 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15293 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15294 PyObject
*resultobj
;
15295 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15297 PyObject
* obj0
= 0 ;
15298 char *kwnames
[] = {
15299 (char *) "self", NULL
15302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (arg1
)->GetPosition();
15309 wxPyEndAllowThreads(__tstate
);
15310 if (PyErr_Occurred()) SWIG_fail
;
15313 wxPoint
* resultptr
;
15314 resultptr
= new wxPoint((wxPoint
&) result
);
15315 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
15323 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15326 long *arg2
= (long *) 0 ;
15327 long *arg3
= (long *) 0 ;
15330 PyObject
* obj0
= 0 ;
15331 char *kwnames
[] = {
15332 (char *) "self", NULL
15337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
15338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->GetPosition(arg2
,arg3
);
15344 wxPyEndAllowThreads(__tstate
);
15345 if (PyErr_Occurred()) SWIG_fail
;
15347 Py_INCREF(Py_None
); resultobj
= Py_None
;
15349 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
15350 resultobj
= t_output_helper(resultobj
,o
);
15353 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
15354 resultobj
= t_output_helper(resultobj
,o
);
15362 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15363 PyObject
*resultobj
;
15364 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15366 PyObject
* obj0
= 0 ;
15367 char *kwnames
[] = {
15368 (char *) "self", NULL
15371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
15372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= SWIG_FromInt((int)result
);
15388 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15402 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
15404 wxPyEndAllowThreads(__tstate
);
15405 if (PyErr_Occurred()) SWIG_fail
;
15407 resultobj
= SWIG_FromInt((int)result
);
15414 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15415 PyObject
*resultobj
;
15416 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15418 PyObject
* obj0
= 0 ;
15419 PyObject
* obj1
= 0 ;
15420 char *kwnames
[] = {
15421 (char *) "self",(char *) "m_x", NULL
15424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_x_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15427 arg2
= (int) SWIG_AsInt(obj1
);
15428 if (PyErr_Occurred()) SWIG_fail
;
15429 if (arg1
) (arg1
)->m_x
= arg2
;
15431 Py_INCREF(Py_None
); resultobj
= Py_None
;
15438 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15439 PyObject
*resultobj
;
15440 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15442 PyObject
* obj0
= 0 ;
15443 char *kwnames
[] = {
15444 (char *) "self", NULL
15447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
15448 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15449 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15450 result
= (int) ((arg1
)->m_x
);
15452 resultobj
= SWIG_FromInt((int)result
);
15459 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15460 PyObject
*resultobj
;
15461 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char *kwnames
[] = {
15466 (char *) "self",(char *) "m_y", NULL
15469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_y_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15470 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15471 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15472 arg2
= (int) SWIG_AsInt(obj1
);
15473 if (PyErr_Occurred()) SWIG_fail
;
15474 if (arg1
) (arg1
)->m_y
= arg2
;
15476 Py_INCREF(Py_None
); resultobj
= Py_None
;
15483 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15484 PyObject
*resultobj
;
15485 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15487 PyObject
* obj0
= 0 ;
15488 char *kwnames
[] = {
15489 (char *) "self", NULL
15492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
15493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15495 result
= (int) ((arg1
)->m_y
);
15497 resultobj
= SWIG_FromInt((int)result
);
15504 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15505 PyObject
*resultobj
;
15506 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15508 PyObject
* obj0
= 0 ;
15509 PyObject
* obj1
= 0 ;
15510 char *kwnames
[] = {
15511 (char *) "self",(char *) "m_keyCode", NULL
15514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15515 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15516 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15517 arg2
= (long) SWIG_AsLong(obj1
);
15518 if (PyErr_Occurred()) SWIG_fail
;
15519 if (arg1
) (arg1
)->m_keyCode
= arg2
;
15521 Py_INCREF(Py_None
); resultobj
= Py_None
;
15528 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15529 PyObject
*resultobj
;
15530 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15532 PyObject
* obj0
= 0 ;
15533 char *kwnames
[] = {
15534 (char *) "self", NULL
15537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
15538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15540 result
= (long) ((arg1
)->m_keyCode
);
15542 resultobj
= SWIG_FromLong((long)result
);
15549 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15553 PyObject
* obj0
= 0 ;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "self",(char *) "m_controlDown", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15562 arg2
= (bool) SWIG_AsBool(obj1
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15564 if (arg1
) (arg1
)->m_controlDown
= arg2
;
15566 Py_INCREF(Py_None
); resultobj
= Py_None
;
15573 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15574 PyObject
*resultobj
;
15575 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15577 PyObject
* obj0
= 0 ;
15578 char *kwnames
[] = {
15579 (char *) "self", NULL
15582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
15583 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15584 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15585 result
= (bool) ((arg1
)->m_controlDown
);
15587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15594 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15595 PyObject
*resultobj
;
15596 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15598 PyObject
* obj0
= 0 ;
15599 PyObject
* obj1
= 0 ;
15600 char *kwnames
[] = {
15601 (char *) "self",(char *) "m_shiftDown", NULL
15604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15605 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15607 arg2
= (bool) SWIG_AsBool(obj1
);
15608 if (PyErr_Occurred()) SWIG_fail
;
15609 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
15611 Py_INCREF(Py_None
); resultobj
= Py_None
;
15618 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15619 PyObject
*resultobj
;
15620 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15622 PyObject
* obj0
= 0 ;
15623 char *kwnames
[] = {
15624 (char *) "self", NULL
15627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
15628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15630 result
= (bool) ((arg1
)->m_shiftDown
);
15632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15639 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15640 PyObject
*resultobj
;
15641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15643 PyObject
* obj0
= 0 ;
15644 PyObject
* obj1
= 0 ;
15645 char *kwnames
[] = {
15646 (char *) "self",(char *) "m_altDown", NULL
15649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15650 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15651 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15652 arg2
= (bool) SWIG_AsBool(obj1
);
15653 if (PyErr_Occurred()) SWIG_fail
;
15654 if (arg1
) (arg1
)->m_altDown
= arg2
;
15656 Py_INCREF(Py_None
); resultobj
= Py_None
;
15663 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15675 result
= (bool) ((arg1
)->m_altDown
);
15677 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15684 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15688 PyObject
* obj0
= 0 ;
15689 PyObject
* obj1
= 0 ;
15690 char *kwnames
[] = {
15691 (char *) "self",(char *) "m_metaDown", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15697 arg2
= (bool) SWIG_AsBool(obj1
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15699 if (arg1
) (arg1
)->m_metaDown
= arg2
;
15701 Py_INCREF(Py_None
); resultobj
= Py_None
;
15708 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15709 PyObject
*resultobj
;
15710 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15712 PyObject
* obj0
= 0 ;
15713 char *kwnames
[] = {
15714 (char *) "self", NULL
15717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
15718 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15719 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15720 result
= (bool) ((arg1
)->m_metaDown
);
15722 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15729 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 PyObject
* obj1
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self",(char *) "m_scanCode", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15742 arg2
= (bool) SWIG_AsBool(obj1
);
15743 if (PyErr_Occurred()) SWIG_fail
;
15744 if (arg1
) (arg1
)->m_scanCode
= arg2
;
15746 Py_INCREF(Py_None
); resultobj
= Py_None
;
15753 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15754 PyObject
*resultobj
;
15755 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15757 PyObject
* obj0
= 0 ;
15758 char *kwnames
[] = {
15759 (char *) "self", NULL
15762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
15763 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15764 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15765 result
= (bool) ((arg1
)->m_scanCode
);
15767 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15774 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15775 PyObject
*resultobj
;
15776 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15777 unsigned int arg2
;
15778 PyObject
* obj0
= 0 ;
15779 PyObject
* obj1
= 0 ;
15780 char *kwnames
[] = {
15781 (char *) "self",(char *) "m_rawCode", NULL
15784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15785 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15786 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15787 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15789 if (arg1
) (arg1
)->m_rawCode
= arg2
;
15791 Py_INCREF(Py_None
); resultobj
= Py_None
;
15798 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15799 PyObject
*resultobj
;
15800 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15801 unsigned int result
;
15802 PyObject
* obj0
= 0 ;
15803 char *kwnames
[] = {
15804 (char *) "self", NULL
15807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
15808 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15809 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15810 result
= (unsigned int) ((arg1
)->m_rawCode
);
15812 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15819 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15820 PyObject
*resultobj
;
15821 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15822 unsigned int arg2
;
15823 PyObject
* obj0
= 0 ;
15824 PyObject
* obj1
= 0 ;
15825 char *kwnames
[] = {
15826 (char *) "self",(char *) "m_rawFlags", NULL
15829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
15830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15832 arg2
= (unsigned int) SWIG_AsUnsignedInt(obj1
);
15833 if (PyErr_Occurred()) SWIG_fail
;
15834 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
15836 Py_INCREF(Py_None
); resultobj
= Py_None
;
15843 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15844 PyObject
*resultobj
;
15845 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
15846 unsigned int result
;
15847 PyObject
* obj0
= 0 ;
15848 char *kwnames
[] = {
15849 (char *) "self", NULL
15852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
15853 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxKeyEvent
,
15854 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15855 result
= (unsigned int) ((arg1
)->m_rawFlags
);
15857 resultobj
= SWIG_FromUnsignedInt((unsigned int)result
);
15864 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15866 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15867 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
15869 return Py_BuildValue((char *)"");
15871 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15872 PyObject
*resultobj
;
15873 wxSize
const &arg1_defvalue
= wxDefaultSize
;
15874 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
15875 int arg2
= (int) 0 ;
15876 wxSizeEvent
*result
;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "sz",(char *) "winid", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
15888 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
15892 arg2
= (int) SWIG_AsInt(obj1
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15897 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
15899 wxPyEndAllowThreads(__tstate
);
15900 if (PyErr_Occurred()) SWIG_fail
;
15902 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizeEvent
, 1);
15909 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15910 PyObject
*resultobj
;
15911 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15913 PyObject
* obj0
= 0 ;
15914 char *kwnames
[] = {
15915 (char *) "self", NULL
15918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
15919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15923 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
15925 wxPyEndAllowThreads(__tstate
);
15926 if (PyErr_Occurred()) SWIG_fail
;
15929 wxSize
* resultptr
;
15930 resultptr
= new wxSize((wxSize
&) result
);
15931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
15939 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15940 PyObject
*resultobj
;
15941 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15943 PyObject
* obj0
= 0 ;
15944 char *kwnames
[] = {
15945 (char *) "self", NULL
15948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
15949 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15950 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15953 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
15955 wxPyEndAllowThreads(__tstate
);
15956 if (PyErr_Occurred()) SWIG_fail
;
15959 wxRect
* resultptr
;
15960 resultptr
= new wxRect((wxRect
&) result
);
15961 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
15969 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
15974 PyObject
* obj0
= 0 ;
15975 PyObject
* obj1
= 0 ;
15976 char *kwnames
[] = {
15977 (char *) "self",(char *) "rect", NULL
15980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
15981 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
15982 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
15983 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
15984 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
15987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15988 (arg1
)->SetRect(arg2
);
15990 wxPyEndAllowThreads(__tstate
);
15991 if (PyErr_Occurred()) SWIG_fail
;
15993 Py_INCREF(Py_None
); resultobj
= Py_None
;
16000 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16001 PyObject
*resultobj
;
16002 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 PyObject
* obj1
= 0 ;
16007 char *kwnames
[] = {
16008 (char *) "self",(char *) "size", NULL
16011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
16012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16014 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
16015 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16019 wxSizeEvent_SetSize(arg1
,arg2
);
16021 wxPyEndAllowThreads(__tstate
);
16022 if (PyErr_Occurred()) SWIG_fail
;
16024 Py_INCREF(Py_None
); resultobj
= Py_None
;
16031 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16032 PyObject
*resultobj
;
16033 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16034 wxSize
*arg2
= (wxSize
*) 0 ;
16035 PyObject
* obj0
= 0 ;
16036 PyObject
* obj1
= 0 ;
16037 char *kwnames
[] = {
16038 (char *) "self",(char *) "m_size", NULL
16041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16044 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSize
,
16045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16046 if (arg1
) (arg1
)->m_size
= *arg2
;
16048 Py_INCREF(Py_None
); resultobj
= Py_None
;
16055 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16056 PyObject
*resultobj
;
16057 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16059 PyObject
* obj0
= 0 ;
16060 char *kwnames
[] = {
16061 (char *) "self", NULL
16064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
16065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16067 result
= (wxSize
*)& ((arg1
)->m_size
);
16069 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
16076 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16077 PyObject
*resultobj
;
16078 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16079 wxRect
*arg2
= (wxRect
*) 0 ;
16080 PyObject
* obj0
= 0 ;
16081 PyObject
* obj1
= 0 ;
16082 char *kwnames
[] = {
16083 (char *) "self",(char *) "m_rect", NULL
16086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16089 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16090 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16091 if (arg1
) (arg1
)->m_rect
= *arg2
;
16093 Py_INCREF(Py_None
); resultobj
= Py_None
;
16100 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
16104 PyObject
* obj0
= 0 ;
16105 char *kwnames
[] = {
16106 (char *) "self", NULL
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizeEvent
,
16111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16112 result
= (wxRect
*)& ((arg1
)->m_rect
);
16114 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16121 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16124 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
16126 return Py_BuildValue((char *)"");
16128 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16129 PyObject
*resultobj
;
16130 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
16131 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
16132 int arg2
= (int) 0 ;
16133 wxMoveEvent
*result
;
16135 PyObject
* obj0
= 0 ;
16136 PyObject
* obj1
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "pos",(char *) "winid", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MoveEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16145 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
16149 arg2
= (int) SWIG_AsInt(obj1
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16154 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
16156 wxPyEndAllowThreads(__tstate
);
16157 if (PyErr_Occurred()) SWIG_fail
;
16159 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMoveEvent
, 1);
16166 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16167 PyObject
*resultobj
;
16168 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16170 PyObject
* obj0
= 0 ;
16171 char *kwnames
[] = {
16172 (char *) "self", NULL
16175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16176 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16177 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16180 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
16182 wxPyEndAllowThreads(__tstate
);
16183 if (PyErr_Occurred()) SWIG_fail
;
16186 wxPoint
* resultptr
;
16187 resultptr
= new wxPoint((wxPoint
&) result
);
16188 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
16196 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16197 PyObject
*resultobj
;
16198 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16200 PyObject
* obj0
= 0 ;
16201 char *kwnames
[] = {
16202 (char *) "self", NULL
16205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
16206 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16207 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 wxRect
* resultptr
;
16217 resultptr
= new wxRect((wxRect
&) result
);
16218 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
16226 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16227 PyObject
*resultobj
;
16228 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 char *kwnames
[] = {
16234 (char *) "self",(char *) "rect", NULL
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
16238 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16239 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16240 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxRect
,
16241 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16245 (arg1
)->SetRect(arg2
);
16247 wxPyEndAllowThreads(__tstate
);
16248 if (PyErr_Occurred()) SWIG_fail
;
16250 Py_INCREF(Py_None
); resultobj
= Py_None
;
16257 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16258 PyObject
*resultobj
;
16259 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16262 PyObject
* obj0
= 0 ;
16263 PyObject
* obj1
= 0 ;
16264 char *kwnames
[] = {
16265 (char *) "self",(char *) "pos", NULL
16268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16269 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16270 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16271 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
16272 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 wxMoveEvent_SetPosition(arg1
,arg2
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 Py_INCREF(Py_None
); resultobj
= Py_None
;
16288 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16291 wxPoint
*arg2
= (wxPoint
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 PyObject
* obj1
= 0 ;
16294 char *kwnames
[] = {
16295 (char *) "self",(char *) "m_pos", NULL
16298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16299 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16300 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16301 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPoint
,
16302 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16303 if (arg1
) (arg1
)->m_pos
= *arg2
;
16305 Py_INCREF(Py_None
); resultobj
= Py_None
;
16312 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16313 PyObject
*resultobj
;
16314 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16316 PyObject
* obj0
= 0 ;
16317 char *kwnames
[] = {
16318 (char *) "self", NULL
16321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
16322 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16323 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16324 result
= (wxPoint
*)& ((arg1
)->m_pos
);
16326 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
16333 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16334 PyObject
*resultobj
;
16335 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16336 wxRect
*arg2
= (wxRect
*) 0 ;
16337 PyObject
* obj0
= 0 ;
16338 PyObject
* obj1
= 0 ;
16339 char *kwnames
[] = {
16340 (char *) "self",(char *) "m_rect", NULL
16343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
16344 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16345 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16346 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxRect
,
16347 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16348 if (arg1
) (arg1
)->m_rect
= *arg2
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMoveEvent
,
16368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16369 result
= (wxRect
*)& ((arg1
)->m_rect
);
16371 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRect
, 0);
16378 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16381 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
16383 return Py_BuildValue((char *)"");
16385 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 int arg1
= (int) 0 ;
16388 wxPaintEvent
*result
;
16389 PyObject
* obj0
= 0 ;
16390 char *kwnames
[] = {
16391 (char *) "Id", NULL
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaintEvent",kwnames
,&obj0
)) goto fail
;
16396 arg1
= (int) SWIG_AsInt(obj0
);
16397 if (PyErr_Occurred()) SWIG_fail
;
16400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16401 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
16403 wxPyEndAllowThreads(__tstate
);
16404 if (PyErr_Occurred()) SWIG_fail
;
16406 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaintEvent
, 1);
16413 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16416 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
16418 return Py_BuildValue((char *)"");
16420 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 int arg1
= (int) 0 ;
16423 wxNcPaintEvent
*result
;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "winid", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_NcPaintEvent",kwnames
,&obj0
)) goto fail
;
16431 arg1
= (int) SWIG_AsInt(obj0
);
16432 if (PyErr_Occurred()) SWIG_fail
;
16435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16436 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
16438 wxPyEndAllowThreads(__tstate
);
16439 if (PyErr_Occurred()) SWIG_fail
;
16441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNcPaintEvent
, 1);
16448 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16450 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16451 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
16453 return Py_BuildValue((char *)"");
16455 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16456 PyObject
*resultobj
;
16457 int arg1
= (int) 0 ;
16458 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
16459 wxEraseEvent
*result
;
16460 PyObject
* obj0
= 0 ;
16461 PyObject
* obj1
= 0 ;
16462 char *kwnames
[] = {
16463 (char *) "Id",(char *) "dc", NULL
16466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_EraseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16468 arg1
= (int) SWIG_AsInt(obj0
);
16469 if (PyErr_Occurred()) SWIG_fail
;
16472 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
16473 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxEraseEvent
, 1);
16489 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 char *kwnames
[] = {
16495 (char *) "self", NULL
16498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
16499 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEraseEvent
,
16500 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16509 resultobj
= wxPyMake_wxObject(result
);
16517 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16520 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
16522 return Py_BuildValue((char *)"");
16524 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16525 PyObject
*resultobj
;
16526 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16527 int arg2
= (int) 0 ;
16528 wxFocusEvent
*result
;
16529 PyObject
* obj0
= 0 ;
16530 PyObject
* obj1
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "type",(char *) "winid", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FocusEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16537 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16538 if (PyErr_Occurred()) SWIG_fail
;
16541 arg2
= (int) SWIG_AsInt(obj1
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16546 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
16548 wxPyEndAllowThreads(__tstate
);
16549 if (PyErr_Occurred()) SWIG_fail
;
16551 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFocusEvent
, 1);
16558 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16559 PyObject
*resultobj
;
16560 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16562 PyObject
* obj0
= 0 ;
16563 char *kwnames
[] = {
16564 (char *) "self", NULL
16567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16572 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
16574 wxPyEndAllowThreads(__tstate
);
16575 if (PyErr_Occurred()) SWIG_fail
;
16578 resultobj
= wxPyMake_wxObject(result
);
16586 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16587 PyObject
*resultobj
;
16588 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
16589 wxWindow
*arg2
= (wxWindow
*) 0 ;
16590 PyObject
* obj0
= 0 ;
16591 PyObject
* obj1
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "self",(char *) "win", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16597 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFocusEvent
,
16598 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16599 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
16600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16603 (arg1
)->SetWindow(arg2
);
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 Py_INCREF(Py_None
); resultobj
= Py_None
;
16615 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16617 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16618 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
16620 return Py_BuildValue((char *)"");
16622 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16623 PyObject
*resultobj
;
16624 wxWindow
*arg1
= (wxWindow
*) NULL
;
16625 wxChildFocusEvent
*result
;
16626 PyObject
* obj0
= 0 ;
16627 char *kwnames
[] = {
16628 (char *) "win", NULL
16631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
16633 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
16634 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16638 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
16640 wxPyEndAllowThreads(__tstate
);
16641 if (PyErr_Occurred()) SWIG_fail
;
16643 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxChildFocusEvent
, 1);
16650 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16651 PyObject
*resultobj
;
16652 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
16654 PyObject
* obj0
= 0 ;
16655 char *kwnames
[] = {
16656 (char *) "self", NULL
16659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxChildFocusEvent
,
16661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16664 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16670 resultobj
= wxPyMake_wxObject(result
);
16678 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16681 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
16683 return Py_BuildValue((char *)"");
16685 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16686 PyObject
*resultobj
;
16687 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16688 bool arg2
= (bool) True
;
16689 int arg3
= (int) 0 ;
16690 wxActivateEvent
*result
;
16691 PyObject
* obj0
= 0 ;
16692 PyObject
* obj1
= 0 ;
16693 PyObject
* obj2
= 0 ;
16694 char *kwnames
[] = {
16695 (char *) "type",(char *) "active",(char *) "Id", NULL
16698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ActivateEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16700 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16701 if (PyErr_Occurred()) SWIG_fail
;
16704 arg2
= (bool) SWIG_AsBool(obj1
);
16705 if (PyErr_Occurred()) SWIG_fail
;
16708 arg3
= (int) SWIG_AsInt(obj2
);
16709 if (PyErr_Occurred()) SWIG_fail
;
16712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16713 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
16715 wxPyEndAllowThreads(__tstate
);
16716 if (PyErr_Occurred()) SWIG_fail
;
16718 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxActivateEvent
, 1);
16725 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16726 PyObject
*resultobj
;
16727 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
16729 PyObject
* obj0
= 0 ;
16730 char *kwnames
[] = {
16731 (char *) "self", NULL
16734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
16735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxActivateEvent
,
16736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
16741 wxPyEndAllowThreads(__tstate
);
16742 if (PyErr_Occurred()) SWIG_fail
;
16744 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16751 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16753 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16754 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
16756 return Py_BuildValue((char *)"");
16758 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 int arg1
= (int) 0 ;
16761 wxInitDialogEvent
*result
;
16762 PyObject
* obj0
= 0 ;
16763 char *kwnames
[] = {
16764 (char *) "Id", NULL
16767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_InitDialogEvent",kwnames
,&obj0
)) goto fail
;
16769 arg1
= (int) SWIG_AsInt(obj0
);
16770 if (PyErr_Occurred()) SWIG_fail
;
16773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16774 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxInitDialogEvent
, 1);
16786 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16788 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16789 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
16791 return Py_BuildValue((char *)"");
16793 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16794 PyObject
*resultobj
;
16795 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16796 int arg2
= (int) 0 ;
16797 wxMenu
*arg3
= (wxMenu
*) NULL
;
16798 wxMenuEvent
*result
;
16799 PyObject
* obj0
= 0 ;
16800 PyObject
* obj1
= 0 ;
16801 PyObject
* obj2
= 0 ;
16802 char *kwnames
[] = {
16803 (char *) "type",(char *) "winid",(char *) "menu", NULL
16806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_MenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
16808 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16812 arg2
= (int) SWIG_AsInt(obj1
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16816 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
16817 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16821 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
16823 wxPyEndAllowThreads(__tstate
);
16824 if (PyErr_Occurred()) SWIG_fail
;
16826 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMenuEvent
, 1);
16833 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16834 PyObject
*resultobj
;
16835 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16837 PyObject
* obj0
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "self", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
16843 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16844 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16847 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
16849 wxPyEndAllowThreads(__tstate
);
16850 if (PyErr_Occurred()) SWIG_fail
;
16852 resultobj
= SWIG_FromInt((int)result
);
16859 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16860 PyObject
*resultobj
;
16861 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16863 PyObject
* obj0
= 0 ;
16864 char *kwnames
[] = {
16865 (char *) "self", NULL
16868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
16869 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
16875 wxPyEndAllowThreads(__tstate
);
16876 if (PyErr_Occurred()) SWIG_fail
;
16878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16885 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16886 PyObject
*resultobj
;
16887 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
16889 PyObject
* obj0
= 0 ;
16890 char *kwnames
[] = {
16891 (char *) "self", NULL
16894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
16895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuEvent
,
16896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16899 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
16901 wxPyEndAllowThreads(__tstate
);
16902 if (PyErr_Occurred()) SWIG_fail
;
16905 resultobj
= wxPyMake_wxObject(result
);
16913 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16915 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16916 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
16918 return Py_BuildValue((char *)"");
16920 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16921 PyObject
*resultobj
;
16922 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16923 int arg2
= (int) 0 ;
16924 wxCloseEvent
*result
;
16925 PyObject
* obj0
= 0 ;
16926 PyObject
* obj1
= 0 ;
16927 char *kwnames
[] = {
16928 (char *) "type",(char *) "winid", NULL
16931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_CloseEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
16933 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
16934 if (PyErr_Occurred()) SWIG_fail
;
16937 arg2
= (int) SWIG_AsInt(obj1
);
16938 if (PyErr_Occurred()) SWIG_fail
;
16941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16942 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
16944 wxPyEndAllowThreads(__tstate
);
16945 if (PyErr_Occurred()) SWIG_fail
;
16947 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCloseEvent
, 1);
16954 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16955 PyObject
*resultobj
;
16956 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16958 PyObject
* obj0
= 0 ;
16959 PyObject
* obj1
= 0 ;
16960 char *kwnames
[] = {
16961 (char *) "self",(char *) "logOff", NULL
16964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
16965 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16966 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16967 arg2
= (bool) SWIG_AsBool(obj1
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16971 (arg1
)->SetLoggingOff(arg2
);
16973 wxPyEndAllowThreads(__tstate
);
16974 if (PyErr_Occurred()) SWIG_fail
;
16976 Py_INCREF(Py_None
); resultobj
= Py_None
;
16983 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16984 PyObject
*resultobj
;
16985 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
16987 PyObject
* obj0
= 0 ;
16988 char *kwnames
[] = {
16989 (char *) "self", NULL
16992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
16993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
16994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
16996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16997 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
16999 wxPyEndAllowThreads(__tstate
);
17000 if (PyErr_Occurred()) SWIG_fail
;
17002 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17009 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17010 PyObject
*resultobj
;
17011 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17012 bool arg2
= (bool) True
;
17013 PyObject
* obj0
= 0 ;
17014 PyObject
* obj1
= 0 ;
17015 char *kwnames
[] = {
17016 (char *) "self",(char *) "veto", NULL
17019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
17020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17023 arg2
= (bool) SWIG_AsBool(obj1
);
17024 if (PyErr_Occurred()) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 (arg1
)->Veto(arg2
);
17030 wxPyEndAllowThreads(__tstate
);
17031 if (PyErr_Occurred()) SWIG_fail
;
17033 Py_INCREF(Py_None
); resultobj
= Py_None
;
17040 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
;
17042 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17044 PyObject
* obj0
= 0 ;
17045 PyObject
* obj1
= 0 ;
17046 char *kwnames
[] = {
17047 (char *) "self",(char *) "canVeto", NULL
17050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
17051 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17052 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17053 arg2
= (bool) SWIG_AsBool(obj1
);
17054 if (PyErr_Occurred()) SWIG_fail
;
17056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17057 (arg1
)->SetCanVeto(arg2
);
17059 wxPyEndAllowThreads(__tstate
);
17060 if (PyErr_Occurred()) SWIG_fail
;
17062 Py_INCREF(Py_None
); resultobj
= Py_None
;
17069 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17073 PyObject
* obj0
= 0 ;
17074 char *kwnames
[] = {
17075 (char *) "self", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
17079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17083 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
17085 wxPyEndAllowThreads(__tstate
);
17086 if (PyErr_Occurred()) SWIG_fail
;
17088 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17095 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17096 PyObject
*resultobj
;
17097 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
17099 PyObject
* obj0
= 0 ;
17100 char *kwnames
[] = {
17101 (char *) "self", NULL
17104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
17105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxCloseEvent
,
17106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17109 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
17111 wxPyEndAllowThreads(__tstate
);
17112 if (PyErr_Occurred()) SWIG_fail
;
17114 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17121 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17123 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17124 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
17126 return Py_BuildValue((char *)"");
17128 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17129 PyObject
*resultobj
;
17130 int arg1
= (int) 0 ;
17131 bool arg2
= (bool) False
;
17132 wxShowEvent
*result
;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "winid",(char *) "show", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_ShowEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 arg1
= (int) SWIG_AsInt(obj0
);
17142 if (PyErr_Occurred()) SWIG_fail
;
17145 arg2
= (bool) SWIG_AsBool(obj1
);
17146 if (PyErr_Occurred()) SWIG_fail
;
17149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17150 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
17152 wxPyEndAllowThreads(__tstate
);
17153 if (PyErr_Occurred()) SWIG_fail
;
17155 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxShowEvent
, 1);
17162 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17163 PyObject
*resultobj
;
17164 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17166 PyObject
* obj0
= 0 ;
17167 PyObject
* obj1
= 0 ;
17168 char *kwnames
[] = {
17169 (char *) "self",(char *) "show", NULL
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
17173 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17174 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17175 arg2
= (bool) SWIG_AsBool(obj1
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17179 (arg1
)->SetShow(arg2
);
17181 wxPyEndAllowThreads(__tstate
);
17182 if (PyErr_Occurred()) SWIG_fail
;
17184 Py_INCREF(Py_None
); resultobj
= Py_None
;
17191 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
17195 PyObject
* obj0
= 0 ;
17196 char *kwnames
[] = {
17197 (char *) "self", NULL
17200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
17201 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxShowEvent
,
17202 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
17207 wxPyEndAllowThreads(__tstate
);
17208 if (PyErr_Occurred()) SWIG_fail
;
17210 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17217 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17220 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
17222 return Py_BuildValue((char *)"");
17224 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 int arg1
= (int) 0 ;
17227 bool arg2
= (bool) True
;
17228 wxIconizeEvent
*result
;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 char *kwnames
[] = {
17232 (char *) "id",(char *) "iconized", NULL
17235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_IconizeEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17237 arg1
= (int) SWIG_AsInt(obj0
);
17238 if (PyErr_Occurred()) SWIG_fail
;
17241 arg2
= (bool) SWIG_AsBool(obj1
);
17242 if (PyErr_Occurred()) SWIG_fail
;
17245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17246 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
17248 wxPyEndAllowThreads(__tstate
);
17249 if (PyErr_Occurred()) SWIG_fail
;
17251 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIconizeEvent
, 1);
17258 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17259 PyObject
*resultobj
;
17260 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
17262 PyObject
* obj0
= 0 ;
17263 char *kwnames
[] = {
17264 (char *) "self", NULL
17267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
17268 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIconizeEvent
,
17269 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17272 result
= (bool)(arg1
)->Iconized();
17274 wxPyEndAllowThreads(__tstate
);
17275 if (PyErr_Occurred()) SWIG_fail
;
17277 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17284 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17287 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
17289 return Py_BuildValue((char *)"");
17291 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17292 PyObject
*resultobj
;
17293 int arg1
= (int) 0 ;
17294 wxMaximizeEvent
*result
;
17295 PyObject
* obj0
= 0 ;
17296 char *kwnames
[] = {
17297 (char *) "id", NULL
17300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MaximizeEvent",kwnames
,&obj0
)) goto fail
;
17302 arg1
= (int) SWIG_AsInt(obj0
);
17303 if (PyErr_Occurred()) SWIG_fail
;
17306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17307 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
17309 wxPyEndAllowThreads(__tstate
);
17310 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMaximizeEvent
, 1);
17319 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17321 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17322 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
17324 return Py_BuildValue((char *)"");
17326 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17327 PyObject
*resultobj
;
17328 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17330 PyObject
* obj0
= 0 ;
17331 char *kwnames
[] = {
17332 (char *) "self", NULL
17335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
17336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17340 result
= (arg1
)->GetPosition();
17342 wxPyEndAllowThreads(__tstate
);
17343 if (PyErr_Occurred()) SWIG_fail
;
17346 wxPoint
* resultptr
;
17347 resultptr
= new wxPoint((wxPoint
&) result
);
17348 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
17356 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17360 PyObject
* obj0
= 0 ;
17361 char *kwnames
[] = {
17362 (char *) "self", NULL
17365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
17366 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17367 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17370 result
= (int)(arg1
)->GetNumberOfFiles();
17372 wxPyEndAllowThreads(__tstate
);
17373 if (PyErr_Occurred()) SWIG_fail
;
17375 resultobj
= SWIG_FromInt((int)result
);
17382 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17383 PyObject
*resultobj
;
17384 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
17386 PyObject
* obj0
= 0 ;
17387 char *kwnames
[] = {
17388 (char *) "self", NULL
17391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
17392 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxDropFilesEvent
,
17393 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17396 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
17398 wxPyEndAllowThreads(__tstate
);
17399 if (PyErr_Occurred()) SWIG_fail
;
17401 resultobj
= result
;
17408 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17411 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
17413 return Py_BuildValue((char *)"");
17415 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 int arg1
= (int) 0 ;
17418 wxUpdateUIEvent
*result
;
17419 PyObject
* obj0
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "commandId", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_UpdateUIEvent",kwnames
,&obj0
)) goto fail
;
17426 arg1
= (int) SWIG_AsInt(obj0
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxUpdateUIEvent
, 1);
17443 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17444 PyObject
*resultobj
;
17445 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17447 PyObject
* obj0
= 0 ;
17448 char *kwnames
[] = {
17449 (char *) "self", NULL
17452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
17453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17469 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17470 PyObject
*resultobj
;
17471 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17473 PyObject
* obj0
= 0 ;
17474 char *kwnames
[] = {
17475 (char *) "self", NULL
17478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
17479 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17480 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17495 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17499 PyObject
* obj0
= 0 ;
17500 char *kwnames
[] = {
17501 (char *) "self", NULL
17504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
17505 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17506 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17509 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
17511 wxPyEndAllowThreads(__tstate
);
17512 if (PyErr_Occurred()) SWIG_fail
;
17516 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17518 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17527 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17528 PyObject
*resultobj
;
17529 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17531 PyObject
* obj0
= 0 ;
17532 char *kwnames
[] = {
17533 (char *) "self", NULL
17536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
17537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17541 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
17543 wxPyEndAllowThreads(__tstate
);
17544 if (PyErr_Occurred()) SWIG_fail
;
17546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17553 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17554 PyObject
*resultobj
;
17555 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17557 PyObject
* obj0
= 0 ;
17558 char *kwnames
[] = {
17559 (char *) "self", NULL
17562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
17563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17567 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
17569 wxPyEndAllowThreads(__tstate
);
17570 if (PyErr_Occurred()) SWIG_fail
;
17572 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17579 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17580 PyObject
*resultobj
;
17581 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17590 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17593 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
17595 wxPyEndAllowThreads(__tstate
);
17596 if (PyErr_Occurred()) SWIG_fail
;
17598 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17605 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17606 PyObject
*resultobj
;
17607 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 PyObject
* obj1
= 0 ;
17611 char *kwnames
[] = {
17612 (char *) "self",(char *) "check", NULL
17615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
17616 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17617 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17618 arg2
= (bool) SWIG_AsBool(obj1
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17622 (arg1
)->Check(arg2
);
17624 wxPyEndAllowThreads(__tstate
);
17625 if (PyErr_Occurred()) SWIG_fail
;
17627 Py_INCREF(Py_None
); resultobj
= Py_None
;
17634 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17635 PyObject
*resultobj
;
17636 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "enable", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17646 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17647 arg2
= (bool) SWIG_AsBool(obj1
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17651 (arg1
)->Enable(arg2
);
17653 wxPyEndAllowThreads(__tstate
);
17654 if (PyErr_Occurred()) SWIG_fail
;
17656 Py_INCREF(Py_None
); resultobj
= Py_None
;
17663 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17664 PyObject
*resultobj
;
17665 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
17666 wxString
*arg2
= 0 ;
17667 bool temp2
= False
;
17668 PyObject
* obj0
= 0 ;
17669 PyObject
* obj1
= 0 ;
17670 char *kwnames
[] = {
17671 (char *) "self",(char *) "text", NULL
17674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
17675 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxUpdateUIEvent
,
17676 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17678 arg2
= wxString_in_helper(obj1
);
17679 if (arg2
== NULL
) SWIG_fail
;
17683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17684 (arg1
)->SetText((wxString
const &)*arg2
);
17686 wxPyEndAllowThreads(__tstate
);
17687 if (PyErr_Occurred()) SWIG_fail
;
17689 Py_INCREF(Py_None
); resultobj
= Py_None
;
17704 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17705 PyObject
*resultobj
;
17707 PyObject
* obj0
= 0 ;
17708 char *kwnames
[] = {
17709 (char *) "updateInterval", NULL
17712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetUpdateInterval",kwnames
,&obj0
)) goto fail
;
17713 arg1
= (long) SWIG_AsLong(obj0
);
17714 if (PyErr_Occurred()) SWIG_fail
;
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 wxUpdateUIEvent::SetUpdateInterval(arg1
);
17719 wxPyEndAllowThreads(__tstate
);
17720 if (PyErr_Occurred()) SWIG_fail
;
17722 Py_INCREF(Py_None
); resultobj
= Py_None
;
17729 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17730 PyObject
*resultobj
;
17732 char *kwnames
[] = {
17736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
17738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17739 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
17741 wxPyEndAllowThreads(__tstate
);
17742 if (PyErr_Occurred()) SWIG_fail
;
17744 resultobj
= SWIG_FromLong((long)result
);
17751 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17752 PyObject
*resultobj
;
17753 wxWindow
*arg1
= (wxWindow
*) 0 ;
17755 PyObject
* obj0
= 0 ;
17756 char *kwnames
[] = {
17757 (char *) "win", NULL
17760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
17761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
17762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17765 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
17767 wxPyEndAllowThreads(__tstate
);
17768 if (PyErr_Occurred()) SWIG_fail
;
17770 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
17777 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17778 PyObject
*resultobj
;
17779 char *kwnames
[] = {
17783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
17785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17786 wxUpdateUIEvent::ResetUpdateTime();
17788 wxPyEndAllowThreads(__tstate
);
17789 if (PyErr_Occurred()) SWIG_fail
;
17791 Py_INCREF(Py_None
); resultobj
= Py_None
;
17798 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17799 PyObject
*resultobj
;
17801 PyObject
* obj0
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "mode", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_SetMode",kwnames
,&obj0
)) goto fail
;
17807 arg1
= (wxUpdateUIMode
) SWIG_AsInt(obj0
);
17808 if (PyErr_Occurred()) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17826 char *kwnames
[] = {
17830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
17832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17833 result
= (int)wxUpdateUIEvent::GetMode();
17835 wxPyEndAllowThreads(__tstate
);
17836 if (PyErr_Occurred()) SWIG_fail
;
17838 resultobj
= SWIG_FromInt((int)result
);
17845 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17847 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17848 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
17850 return Py_BuildValue((char *)"");
17852 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
;
17854 wxSysColourChangedEvent
*result
;
17855 char *kwnames
[] = {
17859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
17861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17862 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
17864 wxPyEndAllowThreads(__tstate
);
17865 if (PyErr_Occurred()) SWIG_fail
;
17867 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSysColourChangedEvent
, 1);
17874 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17876 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17877 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
17879 return Py_BuildValue((char *)"");
17881 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17882 PyObject
*resultobj
;
17883 int arg1
= (int) 0 ;
17884 wxWindow
*arg2
= (wxWindow
*) NULL
;
17885 wxMouseCaptureChangedEvent
*result
;
17886 PyObject
* obj0
= 0 ;
17887 PyObject
* obj1
= 0 ;
17888 char *kwnames
[] = {
17889 (char *) "winid",(char *) "gainedCapture", NULL
17892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_MouseCaptureChangedEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
17894 arg1
= (int) SWIG_AsInt(obj0
);
17895 if (PyErr_Occurred()) SWIG_fail
;
17898 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
17899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17903 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
17905 wxPyEndAllowThreads(__tstate
);
17906 if (PyErr_Occurred()) SWIG_fail
;
17908 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
17915 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17916 PyObject
*resultobj
;
17917 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
17919 PyObject
* obj0
= 0 ;
17920 char *kwnames
[] = {
17921 (char *) "self", NULL
17924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
17925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMouseCaptureChangedEvent
,
17926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17935 resultobj
= wxPyMake_wxObject(result
);
17943 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17945 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17946 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
17948 return Py_BuildValue((char *)"");
17950 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17951 PyObject
*resultobj
;
17952 wxDisplayChangedEvent
*result
;
17953 char *kwnames
[] = {
17957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxDisplayChangedEvent
, 1);
17972 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17975 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
17977 return Py_BuildValue((char *)"");
17979 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 int arg1
= (int) 0 ;
17982 wxPaletteChangedEvent
*result
;
17983 PyObject
* obj0
= 0 ;
17984 char *kwnames
[] = {
17985 (char *) "id", NULL
17988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_PaletteChangedEvent",kwnames
,&obj0
)) goto fail
;
17990 arg1
= (int) SWIG_AsInt(obj0
);
17991 if (PyErr_Occurred()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPaletteChangedEvent
, 1);
18007 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18010 wxWindow
*arg2
= (wxWindow
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self",(char *) "win", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18020 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 (arg1
)->SetChangedWindow(arg2
);
18026 wxPyEndAllowThreads(__tstate
);
18027 if (PyErr_Occurred()) SWIG_fail
;
18029 Py_INCREF(Py_None
); resultobj
= Py_None
;
18036 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18037 PyObject
*resultobj
;
18038 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
18040 PyObject
* obj0
= 0 ;
18041 char *kwnames
[] = {
18042 (char *) "self", NULL
18045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
18046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPaletteChangedEvent
,
18047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18050 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
18052 wxPyEndAllowThreads(__tstate
);
18053 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= wxPyMake_wxObject(result
);
18064 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18067 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
18069 return Py_BuildValue((char *)"");
18071 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18072 PyObject
*resultobj
;
18073 int arg1
= (int) 0 ;
18074 wxQueryNewPaletteEvent
*result
;
18075 PyObject
* obj0
= 0 ;
18076 char *kwnames
[] = {
18077 (char *) "winid", NULL
18080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryNewPaletteEvent",kwnames
,&obj0
)) goto fail
;
18082 arg1
= (int) SWIG_AsInt(obj0
);
18083 if (PyErr_Occurred()) SWIG_fail
;
18086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18087 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
18089 wxPyEndAllowThreads(__tstate
);
18090 if (PyErr_Occurred()) SWIG_fail
;
18092 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
18099 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18100 PyObject
*resultobj
;
18101 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18103 PyObject
* obj0
= 0 ;
18104 PyObject
* obj1
= 0 ;
18105 char *kwnames
[] = {
18106 (char *) "self",(char *) "realized", NULL
18109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
18110 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18111 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18112 arg2
= (bool) SWIG_AsBool(obj1
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18116 (arg1
)->SetPaletteRealized(arg2
);
18118 wxPyEndAllowThreads(__tstate
);
18119 if (PyErr_Occurred()) SWIG_fail
;
18121 Py_INCREF(Py_None
); resultobj
= Py_None
;
18128 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
;
18130 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
18132 PyObject
* obj0
= 0 ;
18133 char *kwnames
[] = {
18134 (char *) "self", NULL
18137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
18138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxQueryNewPaletteEvent
,
18139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18142 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
18144 wxPyEndAllowThreads(__tstate
);
18145 if (PyErr_Occurred()) SWIG_fail
;
18147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18154 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18157 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
18159 return Py_BuildValue((char *)"");
18161 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18162 PyObject
*resultobj
;
18163 wxNavigationKeyEvent
*result
;
18164 char *kwnames
[] = {
18168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
18170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18171 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
18173 wxPyEndAllowThreads(__tstate
);
18174 if (PyErr_Occurred()) SWIG_fail
;
18176 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxNavigationKeyEvent
, 1);
18183 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18184 PyObject
*resultobj
;
18185 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18187 PyObject
* obj0
= 0 ;
18188 char *kwnames
[] = {
18189 (char *) "self", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
18193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18209 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18211 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18213 PyObject
* obj0
= 0 ;
18214 PyObject
* obj1
= 0 ;
18215 char *kwnames
[] = {
18216 (char *) "self",(char *) "bForward", NULL
18219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
18220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18222 arg2
= (bool) SWIG_AsBool(obj1
);
18223 if (PyErr_Occurred()) SWIG_fail
;
18225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18226 (arg1
)->SetDirection(arg2
);
18228 wxPyEndAllowThreads(__tstate
);
18229 if (PyErr_Occurred()) SWIG_fail
;
18231 Py_INCREF(Py_None
); resultobj
= Py_None
;
18238 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18239 PyObject
*resultobj
;
18240 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18242 PyObject
* obj0
= 0 ;
18243 char *kwnames
[] = {
18244 (char *) "self", NULL
18247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
18248 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18249 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18252 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
18254 wxPyEndAllowThreads(__tstate
);
18255 if (PyErr_Occurred()) SWIG_fail
;
18257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18264 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18265 PyObject
*resultobj
;
18266 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18268 PyObject
* obj0
= 0 ;
18269 PyObject
* obj1
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self",(char *) "bIs", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18277 arg2
= (bool) SWIG_AsBool(obj1
);
18278 if (PyErr_Occurred()) SWIG_fail
;
18280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18281 (arg1
)->SetWindowChange(arg2
);
18283 wxPyEndAllowThreads(__tstate
);
18284 if (PyErr_Occurred()) SWIG_fail
;
18286 Py_INCREF(Py_None
); resultobj
= Py_None
;
18293 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18294 PyObject
*resultobj
;
18295 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18297 PyObject
* obj0
= 0 ;
18298 char *kwnames
[] = {
18299 (char *) "self", NULL
18302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
18303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18307 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
18309 wxPyEndAllowThreads(__tstate
);
18310 if (PyErr_Occurred()) SWIG_fail
;
18313 resultobj
= wxPyMake_wxObject(result
);
18321 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
18324 wxWindow
*arg2
= (wxWindow
*) 0 ;
18325 PyObject
* obj0
= 0 ;
18326 PyObject
* obj1
= 0 ;
18327 char *kwnames
[] = {
18328 (char *) "self",(char *) "win", NULL
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
18332 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxNavigationKeyEvent
,
18333 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18334 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
18335 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18338 (arg1
)->SetCurrentFocus(arg2
);
18340 wxPyEndAllowThreads(__tstate
);
18341 if (PyErr_Occurred()) SWIG_fail
;
18343 Py_INCREF(Py_None
); resultobj
= Py_None
;
18350 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18353 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
18355 return Py_BuildValue((char *)"");
18357 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18358 PyObject
*resultobj
;
18359 wxWindow
*arg1
= (wxWindow
*) NULL
;
18360 wxWindowCreateEvent
*result
;
18361 PyObject
* obj0
= 0 ;
18362 char *kwnames
[] = {
18363 (char *) "win", NULL
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
18368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18373 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
18375 wxPyEndAllowThreads(__tstate
);
18376 if (PyErr_Occurred()) SWIG_fail
;
18378 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowCreateEvent
, 1);
18385 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18386 PyObject
*resultobj
;
18387 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
18389 PyObject
* obj0
= 0 ;
18390 char *kwnames
[] = {
18391 (char *) "self", NULL
18394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18395 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowCreateEvent
,
18396 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
18401 wxPyEndAllowThreads(__tstate
);
18402 if (PyErr_Occurred()) SWIG_fail
;
18405 resultobj
= wxPyMake_wxObject(result
);
18413 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18416 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
18418 return Py_BuildValue((char *)"");
18420 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18421 PyObject
*resultobj
;
18422 wxWindow
*arg1
= (wxWindow
*) NULL
;
18423 wxWindowDestroyEvent
*result
;
18424 PyObject
* obj0
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "win", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18436 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
18438 wxPyEndAllowThreads(__tstate
);
18439 if (PyErr_Occurred()) SWIG_fail
;
18441 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxWindowDestroyEvent
, 1);
18448 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18449 PyObject
*resultobj
;
18450 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
18452 PyObject
* obj0
= 0 ;
18453 char *kwnames
[] = {
18454 (char *) "self", NULL
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
18458 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindowDestroyEvent
,
18459 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
18464 wxPyEndAllowThreads(__tstate
);
18465 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= wxPyMake_wxObject(result
);
18476 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18479 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
18481 return Py_BuildValue((char *)"");
18483 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18484 PyObject
*resultobj
;
18485 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18486 int arg2
= (int) 0 ;
18487 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18488 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18489 wxContextMenuEvent
*result
;
18491 PyObject
* obj0
= 0 ;
18492 PyObject
* obj1
= 0 ;
18493 PyObject
* obj2
= 0 ;
18494 char *kwnames
[] = {
18495 (char *) "type",(char *) "winid",(char *) "pt", NULL
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:new_ContextMenuEvent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
18500 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18501 if (PyErr_Occurred()) SWIG_fail
;
18504 arg2
= (int) SWIG_AsInt(obj1
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18510 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18515 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
18517 wxPyEndAllowThreads(__tstate
);
18518 if (PyErr_Occurred()) SWIG_fail
;
18520 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxContextMenuEvent
, 1);
18527 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18528 PyObject
*resultobj
;
18529 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18531 PyObject
* obj0
= 0 ;
18532 char *kwnames
[] = {
18533 (char *) "self", NULL
18536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
18537 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18538 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18542 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
18543 result
= (wxPoint
*) &_result_ref
;
18546 wxPyEndAllowThreads(__tstate
);
18547 if (PyErr_Occurred()) SWIG_fail
;
18549 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPoint
, 0);
18556 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18557 PyObject
*resultobj
;
18558 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
18559 wxPoint
*arg2
= 0 ;
18561 PyObject
* obj0
= 0 ;
18562 PyObject
* obj1
= 0 ;
18563 char *kwnames
[] = {
18564 (char *) "self",(char *) "pos", NULL
18567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
18568 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxContextMenuEvent
,
18569 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18572 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
18575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
18578 wxPyEndAllowThreads(__tstate
);
18579 if (PyErr_Occurred()) SWIG_fail
;
18581 Py_INCREF(Py_None
); resultobj
= Py_None
;
18588 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18590 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18591 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
18593 return Py_BuildValue((char *)"");
18595 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18596 PyObject
*resultobj
;
18597 wxIdleEvent
*result
;
18598 char *kwnames
[] = {
18602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
18604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18605 result
= (wxIdleEvent
*)new wxIdleEvent();
18607 wxPyEndAllowThreads(__tstate
);
18608 if (PyErr_Occurred()) SWIG_fail
;
18610 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIdleEvent
, 1);
18617 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18618 PyObject
*resultobj
;
18619 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18620 bool arg2
= (bool) True
;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 char *kwnames
[] = {
18624 (char *) "self",(char *) "needMore", NULL
18627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
18628 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18629 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18631 arg2
= (bool) SWIG_AsBool(obj1
);
18632 if (PyErr_Occurred()) SWIG_fail
;
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->RequestMore(arg2
);
18638 wxPyEndAllowThreads(__tstate
);
18639 if (PyErr_Occurred()) SWIG_fail
;
18641 Py_INCREF(Py_None
); resultobj
= Py_None
;
18648 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18649 PyObject
*resultobj
;
18650 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
18652 PyObject
* obj0
= 0 ;
18653 char *kwnames
[] = {
18654 (char *) "self", NULL
18657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
18658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIdleEvent
,
18659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18667 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18674 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18675 PyObject
*resultobj
;
18677 PyObject
* obj0
= 0 ;
18678 char *kwnames
[] = {
18679 (char *) "mode", NULL
18682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_SetMode",kwnames
,&obj0
)) goto fail
;
18683 arg1
= (wxIdleMode
) SWIG_AsInt(obj0
);
18684 if (PyErr_Occurred()) SWIG_fail
;
18686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18687 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
18689 wxPyEndAllowThreads(__tstate
);
18690 if (PyErr_Occurred()) SWIG_fail
;
18692 Py_INCREF(Py_None
); resultobj
= Py_None
;
18699 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18700 PyObject
*resultobj
;
18702 char *kwnames
[] = {
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (int)wxIdleEvent::GetMode();
18711 wxPyEndAllowThreads(__tstate
);
18712 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= SWIG_FromInt((int)result
);
18721 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18722 PyObject
*resultobj
;
18723 wxWindow
*arg1
= (wxWindow
*) 0 ;
18725 PyObject
* obj0
= 0 ;
18726 char *kwnames
[] = {
18727 (char *) "win", NULL
18730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
18731 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
18732 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (bool)wxIdleEvent::CanSend(arg1
);
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18747 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
18752 return Py_BuildValue((char *)"");
18754 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18756 int arg1
= (int) 0 ;
18757 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char *kwnames
[] = {
18762 (char *) "winid",(char *) "commandType", NULL
18765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18767 arg1
= (int) SWIG_AsInt(obj0
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18771 arg2
= (wxEventType
) SWIG_AsInt(obj1
);
18772 if (PyErr_Occurred()) SWIG_fail
;
18775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18776 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
18778 wxPyEndAllowThreads(__tstate
);
18779 if (PyErr_Occurred()) SWIG_fail
;
18781 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyEvent
, 1);
18788 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18789 PyObject
*resultobj
;
18790 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18791 PyObject
* obj0
= 0 ;
18792 char *kwnames
[] = {
18793 (char *) "self", NULL
18796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
18797 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18798 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 Py_INCREF(Py_None
); resultobj
= Py_None
;
18813 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18814 PyObject
*resultobj
;
18815 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18816 PyObject
*arg2
= (PyObject
*) 0 ;
18817 PyObject
* obj0
= 0 ;
18818 PyObject
* obj1
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self",(char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18825 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 (arg1
)->SetSelf(arg2
);
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 Py_INCREF(Py_None
); resultobj
= Py_None
;
18841 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyEvent
,
18852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= (PyObject
*)(arg1
)->GetSelf();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18860 resultobj
= result
;
18867 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18869 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18870 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
18872 return Py_BuildValue((char *)"");
18874 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
18877 int arg2
= (int) 0 ;
18878 wxPyCommandEvent
*result
;
18879 PyObject
* obj0
= 0 ;
18880 PyObject
* obj1
= 0 ;
18881 char *kwnames
[] = {
18882 (char *) "commandType",(char *) "id", NULL
18885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_PyCommandEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18887 arg1
= (wxEventType
) SWIG_AsInt(obj0
);
18888 if (PyErr_Occurred()) SWIG_fail
;
18891 arg2
= (int) SWIG_AsInt(obj1
);
18892 if (PyErr_Occurred()) SWIG_fail
;
18895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18896 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyCommandEvent
, 1);
18908 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18909 PyObject
*resultobj
;
18910 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18911 PyObject
* obj0
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18936 PyObject
*arg2
= (PyObject
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 PyObject
* obj1
= 0 ;
18939 char *kwnames
[] = {
18940 (char *) "self",(char *) "self", NULL
18943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
18944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18949 (arg1
)->SetSelf(arg2
);
18951 wxPyEndAllowThreads(__tstate
);
18952 if (PyErr_Occurred()) SWIG_fail
;
18954 Py_INCREF(Py_None
); resultobj
= Py_None
;
18961 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18962 PyObject
*resultobj
;
18963 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
18965 PyObject
* obj0
= 0 ;
18966 char *kwnames
[] = {
18967 (char *) "self", NULL
18970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
18971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyCommandEvent
,
18972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
18974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18975 result
= (PyObject
*)(arg1
)->GetSelf();
18977 wxPyEndAllowThreads(__tstate
);
18978 if (PyErr_Occurred()) SWIG_fail
;
18980 resultobj
= result
;
18987 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
18989 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18990 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
18992 return Py_BuildValue((char *)"");
18994 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18995 PyObject
*resultobj
;
18997 char *kwnames
[] = {
19001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
19003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19004 result
= (wxPyApp
*)new_wxPyApp();
19006 wxPyEndAllowThreads(__tstate
);
19007 if (PyErr_Occurred()) SWIG_fail
;
19010 resultobj
= wxPyMake_wxObject(result
);
19018 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19019 PyObject
*resultobj
;
19020 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19021 PyObject
* obj0
= 0 ;
19022 char *kwnames
[] = {
19023 (char *) "self", NULL
19026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
19027 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19028 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19033 wxPyEndAllowThreads(__tstate
);
19034 if (PyErr_Occurred()) SWIG_fail
;
19036 Py_INCREF(Py_None
); resultobj
= Py_None
;
19043 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19044 PyObject
*resultobj
;
19045 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19046 PyObject
*arg2
= (PyObject
*) 0 ;
19047 PyObject
*arg3
= (PyObject
*) 0 ;
19048 PyObject
* obj0
= 0 ;
19049 PyObject
* obj1
= 0 ;
19050 PyObject
* obj2
= 0 ;
19051 char *kwnames
[] = {
19052 (char *) "self",(char *) "self",(char *) "_class", NULL
19055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19056 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19057 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19062 (arg1
)->_setCallbackInfo(arg2
,arg3
);
19064 wxPyEndAllowThreads(__tstate
);
19065 if (PyErr_Occurred()) SWIG_fail
;
19067 Py_INCREF(Py_None
); resultobj
= Py_None
;
19074 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19075 PyObject
*resultobj
;
19076 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19078 PyObject
* obj0
= 0 ;
19079 char *kwnames
[] = {
19080 (char *) "self", NULL
19083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
19084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19088 result
= ((wxPyApp
const *)arg1
)->GetAppName();
19090 wxPyEndAllowThreads(__tstate
);
19091 if (PyErr_Occurred()) SWIG_fail
;
19095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19106 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19107 PyObject
*resultobj
;
19108 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19109 wxString
*arg2
= 0 ;
19110 bool temp2
= False
;
19111 PyObject
* obj0
= 0 ;
19112 PyObject
* obj1
= 0 ;
19113 char *kwnames
[] = {
19114 (char *) "self",(char *) "name", NULL
19117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
19118 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19119 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19121 arg2
= wxString_in_helper(obj1
);
19122 if (arg2
== NULL
) SWIG_fail
;
19126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19127 (arg1
)->SetAppName((wxString
const &)*arg2
);
19129 wxPyEndAllowThreads(__tstate
);
19130 if (PyErr_Occurred()) SWIG_fail
;
19132 Py_INCREF(Py_None
); resultobj
= Py_None
;
19147 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19148 PyObject
*resultobj
;
19149 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19151 PyObject
* obj0
= 0 ;
19152 char *kwnames
[] = {
19153 (char *) "self", NULL
19156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
19157 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19161 result
= ((wxPyApp
const *)arg1
)->GetClassName();
19163 wxPyEndAllowThreads(__tstate
);
19164 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19170 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19179 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19180 PyObject
*resultobj
;
19181 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19182 wxString
*arg2
= 0 ;
19183 bool temp2
= False
;
19184 PyObject
* obj0
= 0 ;
19185 PyObject
* obj1
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self",(char *) "name", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19192 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19194 arg2
= wxString_in_helper(obj1
);
19195 if (arg2
== NULL
) SWIG_fail
;
19199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19200 (arg1
)->SetClassName((wxString
const &)*arg2
);
19202 wxPyEndAllowThreads(__tstate
);
19203 if (PyErr_Occurred()) SWIG_fail
;
19205 Py_INCREF(Py_None
); resultobj
= Py_None
;
19220 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19221 PyObject
*resultobj
;
19222 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19224 PyObject
* obj0
= 0 ;
19225 char *kwnames
[] = {
19226 (char *) "self", NULL
19229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
19230 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19231 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19235 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
19236 result
= (wxString
*) &_result_ref
;
19239 wxPyEndAllowThreads(__tstate
);
19240 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19246 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19255 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19256 PyObject
*resultobj
;
19257 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19258 wxString
*arg2
= 0 ;
19259 bool temp2
= False
;
19260 PyObject
* obj0
= 0 ;
19261 PyObject
* obj1
= 0 ;
19262 char *kwnames
[] = {
19263 (char *) "self",(char *) "name", NULL
19266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
19267 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19268 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19270 arg2
= wxString_in_helper(obj1
);
19271 if (arg2
== NULL
) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->SetVendorName((wxString
const &)*arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19299 wxAppTraits
*result
;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19307 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19310 result
= (wxAppTraits
*)(arg1
)->GetTraits();
19312 wxPyEndAllowThreads(__tstate
);
19313 if (PyErr_Occurred()) SWIG_fail
;
19315 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAppTraits
, 0);
19322 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19323 PyObject
*resultobj
;
19324 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19325 PyObject
* obj0
= 0 ;
19326 char *kwnames
[] = {
19327 (char *) "self", NULL
19330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
19331 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19332 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19335 (arg1
)->ProcessPendingEvents();
19337 wxPyEndAllowThreads(__tstate
);
19338 if (PyErr_Occurred()) SWIG_fail
;
19340 Py_INCREF(Py_None
); resultobj
= Py_None
;
19347 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19348 PyObject
*resultobj
;
19349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19350 bool arg2
= (bool) False
;
19352 PyObject
* obj0
= 0 ;
19353 PyObject
* obj1
= 0 ;
19354 char *kwnames
[] = {
19355 (char *) "self",(char *) "onlyIfNeeded", NULL
19358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
19359 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19360 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19362 arg2
= (bool) SWIG_AsBool(obj1
);
19363 if (PyErr_Occurred()) SWIG_fail
;
19366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19367 result
= (bool)(arg1
)->Yield(arg2
);
19369 wxPyEndAllowThreads(__tstate
);
19370 if (PyErr_Occurred()) SWIG_fail
;
19372 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19379 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19382 PyObject
* obj0
= 0 ;
19383 char *kwnames
[] = {
19384 (char *) "self", NULL
19387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
19388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->WakeUpIdle();
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19418 result
= (int)(arg1
)->MainLoop();
19420 wxPyEndAllowThreads(__tstate
);
19421 if (PyErr_Occurred()) SWIG_fail
;
19423 resultobj
= SWIG_FromInt((int)result
);
19430 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19431 PyObject
*resultobj
;
19432 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19433 PyObject
* obj0
= 0 ;
19434 char *kwnames
[] = {
19435 (char *) "self", NULL
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
19439 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19440 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19445 wxPyEndAllowThreads(__tstate
);
19446 if (PyErr_Occurred()) SWIG_fail
;
19448 Py_INCREF(Py_None
); resultobj
= Py_None
;
19455 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19456 PyObject
*resultobj
;
19457 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19458 PyObject
* obj0
= 0 ;
19459 char *kwnames
[] = {
19460 (char *) "self", NULL
19463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
19464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19468 (arg1
)->ExitMainLoop();
19470 wxPyEndAllowThreads(__tstate
);
19471 if (PyErr_Occurred()) SWIG_fail
;
19473 Py_INCREF(Py_None
); resultobj
= Py_None
;
19480 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19481 PyObject
*resultobj
;
19482 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19484 PyObject
* obj0
= 0 ;
19485 char *kwnames
[] = {
19486 (char *) "self", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19494 result
= (bool)(arg1
)->Pending();
19496 wxPyEndAllowThreads(__tstate
);
19497 if (PyErr_Occurred()) SWIG_fail
;
19499 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19506 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
;
19508 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19510 PyObject
* obj0
= 0 ;
19511 char *kwnames
[] = {
19512 (char *) "self", NULL
19515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
19516 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19517 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19520 result
= (bool)(arg1
)->Dispatch();
19522 wxPyEndAllowThreads(__tstate
);
19523 if (PyErr_Occurred()) SWIG_fail
;
19525 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19532 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19533 PyObject
*resultobj
;
19534 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19536 PyObject
* obj0
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19543 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19546 result
= (bool)(arg1
)->ProcessIdle();
19548 wxPyEndAllowThreads(__tstate
);
19549 if (PyErr_Occurred()) SWIG_fail
;
19551 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19558 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19559 PyObject
*resultobj
;
19560 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19561 wxWindow
*arg2
= (wxWindow
*) 0 ;
19562 wxIdleEvent
*arg3
= 0 ;
19564 PyObject
* obj0
= 0 ;
19565 PyObject
* obj1
= 0 ;
19566 PyObject
* obj2
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "win",(char *) "event", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19573 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19574 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19576 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxIdleEvent
,
19577 SWIG_POINTER_EXCEPTION
| 0)) == -1)
19579 if (arg3
== NULL
) {
19580 PyErr_SetString(PyExc_TypeError
,"null reference");
19584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19585 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19597 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19598 PyObject
*resultobj
;
19599 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19601 PyObject
* obj0
= 0 ;
19602 char *kwnames
[] = {
19603 (char *) "self", NULL
19606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
19607 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19608 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19611 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
19613 wxPyEndAllowThreads(__tstate
);
19614 if (PyErr_Occurred()) SWIG_fail
;
19616 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19623 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19624 PyObject
*resultobj
;
19625 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19626 wxWindow
*arg2
= (wxWindow
*) 0 ;
19627 PyObject
* obj0
= 0 ;
19628 PyObject
* obj1
= 0 ;
19629 char *kwnames
[] = {
19630 (char *) "self",(char *) "win", NULL
19633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
19634 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19635 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19636 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
19637 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 (arg1
)->SetTopWindow(arg2
);
19642 wxPyEndAllowThreads(__tstate
);
19643 if (PyErr_Occurred()) SWIG_fail
;
19645 Py_INCREF(Py_None
); resultobj
= Py_None
;
19652 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19653 PyObject
*resultobj
;
19654 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19656 PyObject
* obj0
= 0 ;
19657 char *kwnames
[] = {
19658 (char *) "self", NULL
19661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
19662 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19663 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19666 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
19668 wxPyEndAllowThreads(__tstate
);
19669 if (PyErr_Occurred()) SWIG_fail
;
19672 resultobj
= wxPyMake_wxObject(result
);
19680 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19681 PyObject
*resultobj
;
19682 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19684 PyObject
* obj0
= 0 ;
19685 PyObject
* obj1
= 0 ;
19686 char *kwnames
[] = {
19687 (char *) "self",(char *) "flag", NULL
19690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
19691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19693 arg2
= (bool) SWIG_AsBool(obj1
);
19694 if (PyErr_Occurred()) SWIG_fail
;
19696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19697 (arg1
)->SetExitOnFrameDelete(arg2
);
19699 wxPyEndAllowThreads(__tstate
);
19700 if (PyErr_Occurred()) SWIG_fail
;
19702 Py_INCREF(Py_None
); resultobj
= Py_None
;
19709 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19710 PyObject
*resultobj
;
19711 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19713 PyObject
* obj0
= 0 ;
19714 char *kwnames
[] = {
19715 (char *) "self", NULL
19718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
19719 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19720 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19723 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
19725 wxPyEndAllowThreads(__tstate
);
19726 if (PyErr_Occurred()) SWIG_fail
;
19728 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19735 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19736 PyObject
*resultobj
;
19737 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19739 PyObject
* obj0
= 0 ;
19740 PyObject
* obj1
= 0 ;
19741 char *kwnames
[] = {
19742 (char *) "self",(char *) "flag", NULL
19745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
19746 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19747 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19748 arg2
= (bool) SWIG_AsBool(obj1
);
19749 if (PyErr_Occurred()) SWIG_fail
;
19751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19752 (arg1
)->SetUseBestVisual(arg2
);
19754 wxPyEndAllowThreads(__tstate
);
19755 if (PyErr_Occurred()) SWIG_fail
;
19757 Py_INCREF(Py_None
); resultobj
= Py_None
;
19764 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19765 PyObject
*resultobj
;
19766 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19768 PyObject
* obj0
= 0 ;
19769 char *kwnames
[] = {
19770 (char *) "self", NULL
19773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
19774 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19775 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19778 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
19780 wxPyEndAllowThreads(__tstate
);
19781 if (PyErr_Occurred()) SWIG_fail
;
19783 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19790 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
;
19792 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19794 PyObject
* obj0
= 0 ;
19795 PyObject
* obj1
= 0 ;
19796 char *kwnames
[] = {
19797 (char *) "self",(char *) "mode", NULL
19800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetPrintMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19803 arg2
= (int) SWIG_AsInt(obj1
);
19804 if (PyErr_Occurred()) SWIG_fail
;
19806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19807 (arg1
)->SetPrintMode(arg2
);
19809 wxPyEndAllowThreads(__tstate
);
19810 if (PyErr_Occurred()) SWIG_fail
;
19812 Py_INCREF(Py_None
); resultobj
= Py_None
;
19819 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19820 PyObject
*resultobj
;
19821 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19823 PyObject
* obj0
= 0 ;
19824 char *kwnames
[] = {
19825 (char *) "self", NULL
19828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
19829 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19830 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19833 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
19835 wxPyEndAllowThreads(__tstate
);
19836 if (PyErr_Occurred()) SWIG_fail
;
19838 resultobj
= SWIG_FromInt((int)result
);
19845 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19846 PyObject
*resultobj
;
19847 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19849 PyObject
* obj0
= 0 ;
19850 PyObject
* obj1
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self",(char *) "mode", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAssertMode",kwnames
,&obj0
,&obj1
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19857 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19858 arg2
= (int) SWIG_AsInt(obj1
);
19859 if (PyErr_Occurred()) SWIG_fail
;
19861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19862 (arg1
)->SetAssertMode(arg2
);
19864 wxPyEndAllowThreads(__tstate
);
19865 if (PyErr_Occurred()) SWIG_fail
;
19867 Py_INCREF(Py_None
); resultobj
= Py_None
;
19874 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19875 PyObject
*resultobj
;
19876 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
19878 PyObject
* obj0
= 0 ;
19879 char *kwnames
[] = {
19880 (char *) "self", NULL
19883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
19884 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
19885 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= (int)(arg1
)->GetAssertMode();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19893 resultobj
= SWIG_FromInt((int)result
);
19900 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19901 PyObject
*resultobj
;
19903 char *kwnames
[] = {
19907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
19909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19910 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
19912 wxPyEndAllowThreads(__tstate
);
19913 if (PyErr_Occurred()) SWIG_fail
;
19915 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19922 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19923 PyObject
*resultobj
;
19925 char *kwnames
[] = {
19929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (long)wxPyApp::GetMacAboutMenuItemId();
19934 wxPyEndAllowThreads(__tstate
);
19935 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= SWIG_FromLong((long)result
);
19944 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19947 char *kwnames
[] = {
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
19953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19954 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
19956 wxPyEndAllowThreads(__tstate
);
19957 if (PyErr_Occurred()) SWIG_fail
;
19959 resultobj
= SWIG_FromLong((long)result
);
19966 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19967 PyObject
*resultobj
;
19969 char *kwnames
[] = {
19973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= (long)wxPyApp::GetMacExitMenuItemId();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19981 resultobj
= SWIG_FromLong((long)result
);
19988 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19989 PyObject
*resultobj
;
19991 char *kwnames
[] = {
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
19997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19998 result
= wxPyApp::GetMacHelpMenuTitleName();
20000 wxPyEndAllowThreads(__tstate
);
20001 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
20007 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
20016 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20017 PyObject
*resultobj
;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "val", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
20025 arg1
= (bool) SWIG_AsBool(obj0
);
20026 if (PyErr_Occurred()) SWIG_fail
;
20028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20029 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
20031 wxPyEndAllowThreads(__tstate
);
20032 if (PyErr_Occurred()) SWIG_fail
;
20034 Py_INCREF(Py_None
); resultobj
= Py_None
;
20041 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20042 PyObject
*resultobj
;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "val", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacAboutMenuItemId",kwnames
,&obj0
)) goto fail
;
20050 arg1
= (long) SWIG_AsLong(obj0
);
20051 if (PyErr_Occurred()) SWIG_fail
;
20053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20054 wxPyApp::SetMacAboutMenuItemId(arg1
);
20056 wxPyEndAllowThreads(__tstate
);
20057 if (PyErr_Occurred()) SWIG_fail
;
20059 Py_INCREF(Py_None
); resultobj
= Py_None
;
20066 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20067 PyObject
*resultobj
;
20069 PyObject
* obj0
= 0 ;
20070 char *kwnames
[] = {
20071 (char *) "val", NULL
20074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacPreferencesMenuItemId",kwnames
,&obj0
)) goto fail
;
20075 arg1
= (long) SWIG_AsLong(obj0
);
20076 if (PyErr_Occurred()) SWIG_fail
;
20078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20079 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
20081 wxPyEndAllowThreads(__tstate
);
20082 if (PyErr_Occurred()) SWIG_fail
;
20084 Py_INCREF(Py_None
); resultobj
= Py_None
;
20091 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20092 PyObject
*resultobj
;
20094 PyObject
* obj0
= 0 ;
20095 char *kwnames
[] = {
20096 (char *) "val", NULL
20099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacExitMenuItemId",kwnames
,&obj0
)) goto fail
;
20100 arg1
= (long) SWIG_AsLong(obj0
);
20101 if (PyErr_Occurred()) SWIG_fail
;
20103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20104 wxPyApp::SetMacExitMenuItemId(arg1
);
20106 wxPyEndAllowThreads(__tstate
);
20107 if (PyErr_Occurred()) SWIG_fail
;
20109 Py_INCREF(Py_None
); resultobj
= Py_None
;
20116 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20117 PyObject
*resultobj
;
20118 wxString
*arg1
= 0 ;
20119 bool temp1
= False
;
20120 PyObject
* obj0
= 0 ;
20121 char *kwnames
[] = {
20122 (char *) "val", NULL
20125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
20127 arg1
= wxString_in_helper(obj0
);
20128 if (arg1
== NULL
) SWIG_fail
;
20132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20133 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
20135 wxPyEndAllowThreads(__tstate
);
20136 if (PyErr_Occurred()) SWIG_fail
;
20138 Py_INCREF(Py_None
); resultobj
= Py_None
;
20153 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20154 PyObject
*resultobj
;
20155 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyApp
,
20163 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 (arg1
)->_BootstrapApp();
20168 wxPyEndAllowThreads(__tstate
);
20169 if (PyErr_Occurred()) SWIG_fail
;
20171 Py_INCREF(Py_None
); resultobj
= Py_None
;
20178 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20181 char *kwnames
[] = {
20185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
20187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20188 result
= (int)wxPyApp::GetComCtl32Version();
20190 wxPyEndAllowThreads(__tstate
);
20191 if (PyErr_Occurred()) SWIG_fail
;
20193 resultobj
= SWIG_FromInt((int)result
);
20200 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
20202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20203 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
20205 return Py_BuildValue((char *)"");
20207 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 char *kwnames
[] = {
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
20215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20218 wxPyEndAllowThreads(__tstate
);
20219 if (PyErr_Occurred()) SWIG_fail
;
20221 Py_INCREF(Py_None
); resultobj
= Py_None
;
20228 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20229 PyObject
*resultobj
;
20231 char *kwnames
[] = {
20235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
20237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20238 result
= (bool)wxYield();
20240 wxPyEndAllowThreads(__tstate
);
20241 if (PyErr_Occurred()) SWIG_fail
;
20243 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20250 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20251 PyObject
*resultobj
;
20253 char *kwnames
[] = {
20257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
20259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20260 result
= (bool)wxYieldIfNeeded();
20262 wxPyEndAllowThreads(__tstate
);
20263 if (PyErr_Occurred()) SWIG_fail
;
20265 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20272 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20273 PyObject
*resultobj
;
20274 wxWindow
*arg1
= (wxWindow
*) NULL
;
20275 bool arg2
= (bool) False
;
20277 PyObject
* obj0
= 0 ;
20278 PyObject
* obj1
= 0 ;
20279 char *kwnames
[] = {
20280 (char *) "win",(char *) "onlyIfNeeded", NULL
20283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
20285 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20289 arg2
= (bool) SWIG_AsBool(obj1
);
20290 if (PyErr_Occurred()) SWIG_fail
;
20293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20294 result
= (bool)wxSafeYield(arg1
,arg2
);
20296 wxPyEndAllowThreads(__tstate
);
20297 if (PyErr_Occurred()) SWIG_fail
;
20299 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20306 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20307 PyObject
*resultobj
;
20308 char *kwnames
[] = {
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
20314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20317 wxPyEndAllowThreads(__tstate
);
20318 if (PyErr_Occurred()) SWIG_fail
;
20320 Py_INCREF(Py_None
); resultobj
= Py_None
;
20327 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20328 PyObject
*resultobj
;
20329 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
20330 wxEvent
*arg2
= 0 ;
20331 PyObject
* obj0
= 0 ;
20332 PyObject
* obj1
= 0 ;
20333 char *kwnames
[] = {
20334 (char *) "dest",(char *) "event", NULL
20337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
20338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxEvtHandler
,
20339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20340 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvent
,
20341 SWIG_POINTER_EXCEPTION
| 0)) == -1)
20343 if (arg2
== NULL
) {
20344 PyErr_SetString(PyExc_TypeError
,"null reference");
20348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20349 wxPostEvent(arg1
,*arg2
);
20351 wxPyEndAllowThreads(__tstate
);
20352 if (PyErr_Occurred()) SWIG_fail
;
20354 Py_INCREF(Py_None
); resultobj
= Py_None
;
20361 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20362 PyObject
*resultobj
;
20363 char *kwnames
[] = {
20367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 Py_INCREF(Py_None
); resultobj
= Py_None
;
20382 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20385 char *kwnames
[] = {
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
20391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20392 result
= (wxPyApp
*)wxGetApp();
20394 wxPyEndAllowThreads(__tstate
);
20395 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= wxPyMake_wxObject(result
);
20406 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20407 PyObject
*resultobj
;
20408 int arg1
= (int) 0 ;
20409 int arg2
= (int) 0 ;
20410 int arg3
= (int) 0 ;
20411 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
20412 wxAcceleratorEntry
*result
;
20413 PyObject
* obj0
= 0 ;
20414 PyObject
* obj1
= 0 ;
20415 PyObject
* obj2
= 0 ;
20416 PyObject
* obj3
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_AcceleratorEntry",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
20423 arg1
= (int) SWIG_AsInt(obj0
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20427 arg2
= (int) SWIG_AsInt(obj1
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20431 arg3
= (int) SWIG_AsInt(obj2
);
20432 if (PyErr_Occurred()) SWIG_fail
;
20435 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenuItem
,
20436 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 1);
20452 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20455 PyObject
* obj0
= 0 ;
20456 char *kwnames
[] = {
20457 (char *) "self", NULL
20460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
20461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 Py_INCREF(Py_None
); resultobj
= Py_None
;
20477 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20483 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
20484 PyObject
* obj0
= 0 ;
20485 PyObject
* obj1
= 0 ;
20486 PyObject
* obj2
= 0 ;
20487 PyObject
* obj3
= 0 ;
20488 PyObject
* obj4
= 0 ;
20489 char *kwnames
[] = {
20490 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
20493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:AcceleratorEntry_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
20494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20496 arg2
= (int) SWIG_AsInt(obj1
);
20497 if (PyErr_Occurred()) SWIG_fail
;
20498 arg3
= (int) SWIG_AsInt(obj2
);
20499 if (PyErr_Occurred()) SWIG_fail
;
20500 arg4
= (int) SWIG_AsInt(obj3
);
20501 if (PyErr_Occurred()) SWIG_fail
;
20503 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenuItem
,
20504 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20508 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 Py_INCREF(Py_None
); resultobj
= Py_None
;
20520 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
;
20522 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20523 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
20524 PyObject
* obj0
= 0 ;
20525 PyObject
* obj1
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self",(char *) "item", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20533 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
20534 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20537 (arg1
)->SetMenuItem(arg2
);
20539 wxPyEndAllowThreads(__tstate
);
20540 if (PyErr_Occurred()) SWIG_fail
;
20542 Py_INCREF(Py_None
); resultobj
= Py_None
;
20549 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20550 PyObject
*resultobj
;
20551 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20552 wxMenuItem
*result
;
20553 PyObject
* obj0
= 0 ;
20554 char *kwnames
[] = {
20555 (char *) "self", NULL
20558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
20559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20563 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
20565 wxPyEndAllowThreads(__tstate
);
20566 if (PyErr_Occurred()) SWIG_fail
;
20569 resultobj
= wxPyMake_wxObject(result
);
20577 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20578 PyObject
*resultobj
;
20579 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20581 PyObject
* obj0
= 0 ;
20582 char *kwnames
[] = {
20583 (char *) "self", NULL
20586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
20587 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20588 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20591 result
= (int)(arg1
)->GetFlags();
20593 wxPyEndAllowThreads(__tstate
);
20594 if (PyErr_Occurred()) SWIG_fail
;
20596 resultobj
= SWIG_FromInt((int)result
);
20603 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20604 PyObject
*resultobj
;
20605 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20607 PyObject
* obj0
= 0 ;
20608 char *kwnames
[] = {
20609 (char *) "self", NULL
20612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
20613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20617 result
= (int)(arg1
)->GetKeyCode();
20619 wxPyEndAllowThreads(__tstate
);
20620 if (PyErr_Occurred()) SWIG_fail
;
20622 resultobj
= SWIG_FromInt((int)result
);
20629 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20630 PyObject
*resultobj
;
20631 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
20633 PyObject
* obj0
= 0 ;
20634 char *kwnames
[] = {
20635 (char *) "self", NULL
20638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
20639 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorEntry
,
20640 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= (int)(arg1
)->GetCommand();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20648 resultobj
= SWIG_FromInt((int)result
);
20655 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
20657 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20658 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
20660 return Py_BuildValue((char *)"");
20662 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20663 PyObject
*resultobj
;
20665 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
20666 wxAcceleratorTable
*result
;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20674 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
20675 if (arg2
) arg1
= PyList_Size(obj0
);
20679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20680 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
20682 wxPyEndAllowThreads(__tstate
);
20683 if (PyErr_Occurred()) SWIG_fail
;
20685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 1);
20698 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20699 PyObject
*resultobj
;
20700 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20708 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20713 wxPyEndAllowThreads(__tstate
);
20714 if (PyErr_Occurred()) SWIG_fail
;
20716 Py_INCREF(Py_None
); resultobj
= Py_None
;
20723 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20724 PyObject
*resultobj
;
20725 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
20727 PyObject
* obj0
= 0 ;
20728 char *kwnames
[] = {
20729 (char *) "self", NULL
20732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
20733 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxAcceleratorTable
,
20734 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20737 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20749 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
20751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
20752 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
20754 return Py_BuildValue((char *)"");
20756 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
20757 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
20762 static PyObject
*_wrap_NullAcceleratorTable_get() {
20765 pyobj
= SWIG_NewPointerObj((void *)(&wxNullAcceleratorTable
), SWIGTYPE_p_wxAcceleratorTable
, 0);
20770 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20771 PyObject
*resultobj
;
20772 wxString
*arg1
= 0 ;
20773 wxAcceleratorEntry
*result
;
20774 bool temp1
= False
;
20775 PyObject
* obj0
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "label", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
20782 arg1
= wxString_in_helper(obj0
);
20783 if (arg1
== NULL
) SWIG_fail
;
20787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20788 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
20790 wxPyEndAllowThreads(__tstate
);
20791 if (PyErr_Occurred()) SWIG_fail
;
20793 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
20808 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
20809 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
20814 static PyObject
*_wrap_PanelNameStr_get() {
20819 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20821 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
20828 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20829 PyObject
*resultobj
;
20830 wxWindow
*arg1
= (wxWindow
*) 0 ;
20832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20834 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20835 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20836 long arg5
= (long) 0 ;
20837 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20838 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20842 bool temp6
= False
;
20843 PyObject
* obj0
= 0 ;
20844 PyObject
* obj1
= 0 ;
20845 PyObject
* obj2
= 0 ;
20846 PyObject
* obj3
= 0 ;
20847 PyObject
* obj4
= 0 ;
20848 PyObject
* obj5
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_Window",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20856 arg2
= (int const) SWIG_AsInt(obj1
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20861 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
20867 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
20871 arg5
= (long) SWIG_AsLong(obj4
);
20872 if (PyErr_Occurred()) SWIG_fail
;
20876 arg6
= wxString_in_helper(obj5
);
20877 if (arg6
== NULL
) SWIG_fail
;
20882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20883 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
20885 wxPyEndAllowThreads(__tstate
);
20886 if (PyErr_Occurred()) SWIG_fail
;
20889 resultobj
= wxPyMake_wxObject(result
);
20905 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20908 char *kwnames
[] = {
20912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
20914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20915 result
= (wxWindow
*)new wxWindow();
20917 wxPyEndAllowThreads(__tstate
);
20918 if (PyErr_Occurred()) SWIG_fail
;
20921 resultobj
= wxPyMake_wxObject(result
);
20929 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxWindow
*arg1
= (wxWindow
*) 0 ;
20932 wxWindow
*arg2
= (wxWindow
*) 0 ;
20934 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20935 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20936 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20937 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20938 long arg6
= (long) 0 ;
20939 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
20940 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20944 bool temp7
= False
;
20945 PyObject
* obj0
= 0 ;
20946 PyObject
* obj1
= 0 ;
20947 PyObject
* obj2
= 0 ;
20948 PyObject
* obj3
= 0 ;
20949 PyObject
* obj4
= 0 ;
20950 PyObject
* obj5
= 0 ;
20951 PyObject
* obj6
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
20958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
20960 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
20961 arg3
= (int const) SWIG_AsInt(obj2
);
20962 if (PyErr_Occurred()) SWIG_fail
;
20966 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20972 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20976 arg6
= (long) SWIG_AsLong(obj5
);
20977 if (PyErr_Occurred()) SWIG_fail
;
20981 arg7
= wxString_in_helper(obj6
);
20982 if (arg7
== NULL
) SWIG_fail
;
20987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20988 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20990 wxPyEndAllowThreads(__tstate
);
20991 if (PyErr_Occurred()) SWIG_fail
;
20993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21008 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21009 PyObject
*resultobj
;
21010 wxWindow
*arg1
= (wxWindow
*) 0 ;
21011 bool arg2
= (bool) False
;
21013 PyObject
* obj0
= 0 ;
21014 PyObject
* obj1
= 0 ;
21015 char *kwnames
[] = {
21016 (char *) "self",(char *) "force", NULL
21019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
21020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21023 arg2
= (bool) SWIG_AsBool(obj1
);
21024 if (PyErr_Occurred()) SWIG_fail
;
21027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21028 result
= (bool)(arg1
)->Close(arg2
);
21030 wxPyEndAllowThreads(__tstate
);
21031 if (PyErr_Occurred()) SWIG_fail
;
21033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21040 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21041 PyObject
*resultobj
;
21042 wxWindow
*arg1
= (wxWindow
*) 0 ;
21044 PyObject
* obj0
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21054 result
= (bool)(arg1
)->Destroy();
21056 wxPyEndAllowThreads(__tstate
);
21057 if (PyErr_Occurred()) SWIG_fail
;
21059 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21066 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21067 PyObject
*resultobj
;
21068 wxWindow
*arg1
= (wxWindow
*) 0 ;
21070 PyObject
* obj0
= 0 ;
21071 char *kwnames
[] = {
21072 (char *) "self", NULL
21075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
21076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21080 result
= (bool)(arg1
)->DestroyChildren();
21082 wxPyEndAllowThreads(__tstate
);
21083 if (PyErr_Occurred()) SWIG_fail
;
21085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21092 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21093 PyObject
*resultobj
;
21094 wxWindow
*arg1
= (wxWindow
*) 0 ;
21096 PyObject
* obj0
= 0 ;
21097 char *kwnames
[] = {
21098 (char *) "self", NULL
21101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
21102 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21103 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21106 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
21108 wxPyEndAllowThreads(__tstate
);
21109 if (PyErr_Occurred()) SWIG_fail
;
21111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21118 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21119 PyObject
*resultobj
;
21120 wxWindow
*arg1
= (wxWindow
*) 0 ;
21121 wxString
*arg2
= 0 ;
21122 bool temp2
= False
;
21123 PyObject
* obj0
= 0 ;
21124 PyObject
* obj1
= 0 ;
21125 char *kwnames
[] = {
21126 (char *) "self",(char *) "title", NULL
21129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
21130 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21131 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21133 arg2
= wxString_in_helper(obj1
);
21134 if (arg2
== NULL
) SWIG_fail
;
21138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21139 (arg1
)->SetTitle((wxString
const &)*arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 Py_INCREF(Py_None
); resultobj
= Py_None
;
21159 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21160 PyObject
*resultobj
;
21161 wxWindow
*arg1
= (wxWindow
*) 0 ;
21163 PyObject
* obj0
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21173 result
= ((wxWindow
const *)arg1
)->GetTitle();
21175 wxPyEndAllowThreads(__tstate
);
21176 if (PyErr_Occurred()) SWIG_fail
;
21180 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21182 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21191 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21192 PyObject
*resultobj
;
21193 wxWindow
*arg1
= (wxWindow
*) 0 ;
21194 wxString
*arg2
= 0 ;
21195 bool temp2
= False
;
21196 PyObject
* obj0
= 0 ;
21197 PyObject
* obj1
= 0 ;
21198 char *kwnames
[] = {
21199 (char *) "self",(char *) "label", NULL
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
21203 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21204 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21206 arg2
= wxString_in_helper(obj1
);
21207 if (arg2
== NULL
) SWIG_fail
;
21211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21212 (arg1
)->SetLabel((wxString
const &)*arg2
);
21214 wxPyEndAllowThreads(__tstate
);
21215 if (PyErr_Occurred()) SWIG_fail
;
21217 Py_INCREF(Py_None
); resultobj
= Py_None
;
21232 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21233 PyObject
*resultobj
;
21234 wxWindow
*arg1
= (wxWindow
*) 0 ;
21236 PyObject
* obj0
= 0 ;
21237 char *kwnames
[] = {
21238 (char *) "self", NULL
21241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
21242 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21243 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= ((wxWindow
const *)arg1
)->GetLabel();
21248 wxPyEndAllowThreads(__tstate
);
21249 if (PyErr_Occurred()) SWIG_fail
;
21253 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21255 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21264 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21265 PyObject
*resultobj
;
21266 wxWindow
*arg1
= (wxWindow
*) 0 ;
21267 wxString
*arg2
= 0 ;
21268 bool temp2
= False
;
21269 PyObject
* obj0
= 0 ;
21270 PyObject
* obj1
= 0 ;
21271 char *kwnames
[] = {
21272 (char *) "self",(char *) "name", NULL
21275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
21276 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21277 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21279 arg2
= wxString_in_helper(obj1
);
21280 if (arg2
== NULL
) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->SetName((wxString
const &)*arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21305 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21306 PyObject
*resultobj
;
21307 wxWindow
*arg1
= (wxWindow
*) 0 ;
21309 PyObject
* obj0
= 0 ;
21310 char *kwnames
[] = {
21311 (char *) "self", NULL
21314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
21315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21319 result
= ((wxWindow
const *)arg1
)->GetName();
21321 wxPyEndAllowThreads(__tstate
);
21322 if (PyErr_Occurred()) SWIG_fail
;
21326 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
21328 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
21337 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21338 PyObject
*resultobj
;
21339 wxWindow
*arg1
= (wxWindow
*) 0 ;
21341 PyObject
* obj0
= 0 ;
21342 PyObject
* obj1
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self",(char *) "winid", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21349 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21350 arg2
= (int) SWIG_AsInt(obj1
);
21351 if (PyErr_Occurred()) SWIG_fail
;
21353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21354 (arg1
)->SetId(arg2
);
21356 wxPyEndAllowThreads(__tstate
);
21357 if (PyErr_Occurred()) SWIG_fail
;
21359 Py_INCREF(Py_None
); resultobj
= Py_None
;
21366 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21367 PyObject
*resultobj
;
21368 wxWindow
*arg1
= (wxWindow
*) 0 ;
21370 PyObject
* obj0
= 0 ;
21371 char *kwnames
[] = {
21372 (char *) "self", NULL
21375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
21376 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21377 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21380 result
= (int)((wxWindow
const *)arg1
)->GetId();
21382 wxPyEndAllowThreads(__tstate
);
21383 if (PyErr_Occurred()) SWIG_fail
;
21385 resultobj
= SWIG_FromInt((int)result
);
21392 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21393 PyObject
*resultobj
;
21395 char *kwnames
[] = {
21399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
21401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21402 result
= (int)wxWindow::NewControlId();
21404 wxPyEndAllowThreads(__tstate
);
21405 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= SWIG_FromInt((int)result
);
21414 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21415 PyObject
*resultobj
;
21418 PyObject
* obj0
= 0 ;
21419 char *kwnames
[] = {
21420 (char *) "winid", NULL
21423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_NextControlId",kwnames
,&obj0
)) goto fail
;
21424 arg1
= (int) SWIG_AsInt(obj0
);
21425 if (PyErr_Occurred()) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (int)wxWindow::NextControlId(arg1
);
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_FromInt((int)result
);
21440 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21444 PyObject
* obj0
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "winid", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PrevControlId",kwnames
,&obj0
)) goto fail
;
21450 arg1
= (int) SWIG_AsInt(obj0
);
21451 if (PyErr_Occurred()) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (int)wxWindow::PrevControlId(arg1
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= SWIG_FromInt((int)result
);
21466 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxWindow
*arg1
= (wxWindow
*) 0 ;
21471 PyObject
* obj0
= 0 ;
21472 PyObject
* obj1
= 0 ;
21473 char *kwnames
[] = {
21474 (char *) "self",(char *) "size", NULL
21477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21482 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21486 (arg1
)->SetSize((wxSize
const &)*arg2
);
21488 wxPyEndAllowThreads(__tstate
);
21489 if (PyErr_Occurred()) SWIG_fail
;
21491 Py_INCREF(Py_None
); resultobj
= Py_None
;
21498 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21499 PyObject
*resultobj
;
21500 wxWindow
*arg1
= (wxWindow
*) 0 ;
21505 int arg6
= (int) wxSIZE_AUTO
;
21506 PyObject
* obj0
= 0 ;
21507 PyObject
* obj1
= 0 ;
21508 PyObject
* obj2
= 0 ;
21509 PyObject
* obj3
= 0 ;
21510 PyObject
* obj4
= 0 ;
21511 PyObject
* obj5
= 0 ;
21512 char *kwnames
[] = {
21513 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetDimensions",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
21517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21519 arg2
= (int) SWIG_AsInt(obj1
);
21520 if (PyErr_Occurred()) SWIG_fail
;
21521 arg3
= (int) SWIG_AsInt(obj2
);
21522 if (PyErr_Occurred()) SWIG_fail
;
21523 arg4
= (int) SWIG_AsInt(obj3
);
21524 if (PyErr_Occurred()) SWIG_fail
;
21525 arg5
= (int) SWIG_AsInt(obj4
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 arg6
= (int) SWIG_AsInt(obj5
);
21529 if (PyErr_Occurred()) SWIG_fail
;
21532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21533 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21535 wxPyEndAllowThreads(__tstate
);
21536 if (PyErr_Occurred()) SWIG_fail
;
21538 Py_INCREF(Py_None
); resultobj
= Py_None
;
21545 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21546 PyObject
*resultobj
;
21547 wxWindow
*arg1
= (wxWindow
*) 0 ;
21549 int arg3
= (int) wxSIZE_AUTO
;
21551 PyObject
* obj0
= 0 ;
21552 PyObject
* obj1
= 0 ;
21553 PyObject
* obj2
= 0 ;
21554 char *kwnames
[] = {
21555 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
21558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetRect",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21559 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21560 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21563 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21566 arg3
= (int) SWIG_AsInt(obj2
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21576 Py_INCREF(Py_None
); resultobj
= Py_None
;
21583 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21584 PyObject
*resultobj
;
21585 wxWindow
*arg1
= (wxWindow
*) 0 ;
21588 PyObject
* obj0
= 0 ;
21589 PyObject
* obj1
= 0 ;
21590 PyObject
* obj2
= 0 ;
21591 char *kwnames
[] = {
21592 (char *) "self",(char *) "width",(char *) "height", NULL
21595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21596 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21597 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21598 arg2
= (int) SWIG_AsInt(obj1
);
21599 if (PyErr_Occurred()) SWIG_fail
;
21600 arg3
= (int) SWIG_AsInt(obj2
);
21601 if (PyErr_Occurred()) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 (arg1
)->SetSize(arg2
,arg3
);
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21609 Py_INCREF(Py_None
); resultobj
= Py_None
;
21616 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21617 PyObject
*resultobj
;
21618 wxWindow
*arg1
= (wxWindow
*) 0 ;
21619 wxPoint
*arg2
= 0 ;
21620 int arg3
= (int) wxSIZE_USE_EXISTING
;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 PyObject
* obj2
= 0 ;
21625 char *kwnames
[] = {
21626 (char *) "self",(char *) "pt",(char *) "flags", NULL
21629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_Move",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21634 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21637 arg3
= (int) SWIG_AsInt(obj2
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21642 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
21644 wxPyEndAllowThreads(__tstate
);
21645 if (PyErr_Occurred()) SWIG_fail
;
21647 Py_INCREF(Py_None
); resultobj
= Py_None
;
21654 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21655 PyObject
*resultobj
;
21656 wxWindow
*arg1
= (wxWindow
*) 0 ;
21659 int arg4
= (int) wxSIZE_USE_EXISTING
;
21660 PyObject
* obj0
= 0 ;
21661 PyObject
* obj1
= 0 ;
21662 PyObject
* obj2
= 0 ;
21663 PyObject
* obj3
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_MoveXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21671 arg2
= (int) SWIG_AsInt(obj1
);
21672 if (PyErr_Occurred()) SWIG_fail
;
21673 arg3
= (int) SWIG_AsInt(obj2
);
21674 if (PyErr_Occurred()) SWIG_fail
;
21676 arg4
= (int) SWIG_AsInt(obj3
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21681 (arg1
)->Move(arg2
,arg3
,arg4
);
21683 wxPyEndAllowThreads(__tstate
);
21684 if (PyErr_Occurred()) SWIG_fail
;
21686 Py_INCREF(Py_None
); resultobj
= Py_None
;
21693 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21694 PyObject
*resultobj
;
21695 wxWindow
*arg1
= (wxWindow
*) 0 ;
21696 PyObject
* obj0
= 0 ;
21697 char *kwnames
[] = {
21698 (char *) "self", NULL
21701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
21702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21708 wxPyEndAllowThreads(__tstate
);
21709 if (PyErr_Occurred()) SWIG_fail
;
21711 Py_INCREF(Py_None
); resultobj
= Py_None
;
21718 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21719 PyObject
*resultobj
;
21720 wxWindow
*arg1
= (wxWindow
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 char *kwnames
[] = {
21723 (char *) "self", NULL
21726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
21727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21736 Py_INCREF(Py_None
); resultobj
= Py_None
;
21743 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21744 PyObject
*resultobj
;
21745 wxWindow
*arg1
= (wxWindow
*) 0 ;
21748 PyObject
* obj0
= 0 ;
21749 PyObject
* obj1
= 0 ;
21750 char *kwnames
[] = {
21751 (char *) "self",(char *) "size", NULL
21754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
21755 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21756 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21759 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21763 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
21765 wxPyEndAllowThreads(__tstate
);
21766 if (PyErr_Occurred()) SWIG_fail
;
21768 Py_INCREF(Py_None
); resultobj
= Py_None
;
21775 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21776 PyObject
*resultobj
;
21777 wxWindow
*arg1
= (wxWindow
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 PyObject
* obj1
= 0 ;
21782 PyObject
* obj2
= 0 ;
21783 char *kwnames
[] = {
21784 (char *) "self",(char *) "width",(char *) "height", NULL
21787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetClientSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21790 arg2
= (int) SWIG_AsInt(obj1
);
21791 if (PyErr_Occurred()) SWIG_fail
;
21792 arg3
= (int) SWIG_AsInt(obj2
);
21793 if (PyErr_Occurred()) SWIG_fail
;
21795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21796 (arg1
)->SetClientSize(arg2
,arg3
);
21798 wxPyEndAllowThreads(__tstate
);
21799 if (PyErr_Occurred()) SWIG_fail
;
21801 Py_INCREF(Py_None
); resultobj
= Py_None
;
21808 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21809 PyObject
*resultobj
;
21810 wxWindow
*arg1
= (wxWindow
*) 0 ;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "rect", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21824 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21828 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
21830 wxPyEndAllowThreads(__tstate
);
21831 if (PyErr_Occurred()) SWIG_fail
;
21833 Py_INCREF(Py_None
); resultobj
= Py_None
;
21840 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21841 PyObject
*resultobj
;
21842 wxWindow
*arg1
= (wxWindow
*) 0 ;
21844 PyObject
* obj0
= 0 ;
21845 char *kwnames
[] = {
21846 (char *) "self", NULL
21849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
21850 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21851 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21854 result
= (arg1
)->GetPosition();
21856 wxPyEndAllowThreads(__tstate
);
21857 if (PyErr_Occurred()) SWIG_fail
;
21860 wxPoint
* resultptr
;
21861 resultptr
= new wxPoint((wxPoint
&) result
);
21862 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
21870 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21871 PyObject
*resultobj
;
21872 wxWindow
*arg1
= (wxWindow
*) 0 ;
21873 int *arg2
= (int *) 0 ;
21874 int *arg3
= (int *) 0 ;
21877 PyObject
* obj0
= 0 ;
21878 char *kwnames
[] = {
21879 (char *) "self", NULL
21884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
21885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->GetPosition(arg2
,arg3
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21896 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21897 resultobj
= t_output_helper(resultobj
,o
);
21900 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21901 resultobj
= t_output_helper(resultobj
,o
);
21909 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxWindow
*arg1
= (wxWindow
*) 0 ;
21913 PyObject
* obj0
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21920 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21923 result
= ((wxWindow
const *)arg1
)->GetSize();
21925 wxPyEndAllowThreads(__tstate
);
21926 if (PyErr_Occurred()) SWIG_fail
;
21929 wxSize
* resultptr
;
21930 resultptr
= new wxSize((wxSize
&) result
);
21931 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
21939 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21940 PyObject
*resultobj
;
21941 wxWindow
*arg1
= (wxWindow
*) 0 ;
21942 int *arg2
= (int *) 0 ;
21943 int *arg3
= (int *) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 char *kwnames
[] = {
21948 (char *) "self", NULL
21953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
21954 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21955 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
21960 wxPyEndAllowThreads(__tstate
);
21961 if (PyErr_Occurred()) SWIG_fail
;
21963 Py_INCREF(Py_None
); resultobj
= Py_None
;
21965 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
21966 resultobj
= t_output_helper(resultobj
,o
);
21969 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
21970 resultobj
= t_output_helper(resultobj
,o
);
21978 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21979 PyObject
*resultobj
;
21980 wxWindow
*arg1
= (wxWindow
*) 0 ;
21982 PyObject
* obj0
= 0 ;
21983 char *kwnames
[] = {
21984 (char *) "self", NULL
21987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
21988 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
21989 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
21991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21992 result
= ((wxWindow
const *)arg1
)->GetRect();
21994 wxPyEndAllowThreads(__tstate
);
21995 if (PyErr_Occurred()) SWIG_fail
;
21998 wxRect
* resultptr
;
21999 resultptr
= new wxRect((wxRect
&) result
);
22000 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22008 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22009 PyObject
*resultobj
;
22010 wxWindow
*arg1
= (wxWindow
*) 0 ;
22012 PyObject
* obj0
= 0 ;
22013 char *kwnames
[] = {
22014 (char *) "self", NULL
22017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
22018 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22019 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22022 result
= ((wxWindow
const *)arg1
)->GetClientSize();
22024 wxPyEndAllowThreads(__tstate
);
22025 if (PyErr_Occurred()) SWIG_fail
;
22028 wxSize
* resultptr
;
22029 resultptr
= new wxSize((wxSize
&) result
);
22030 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22038 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22039 PyObject
*resultobj
;
22040 wxWindow
*arg1
= (wxWindow
*) 0 ;
22041 int *arg2
= (int *) 0 ;
22042 int *arg3
= (int *) 0 ;
22045 PyObject
* obj0
= 0 ;
22046 char *kwnames
[] = {
22047 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22054 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22062 Py_INCREF(Py_None
); resultobj
= Py_None
;
22064 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22065 resultobj
= t_output_helper(resultobj
,o
);
22068 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22069 resultobj
= t_output_helper(resultobj
,o
);
22077 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22078 PyObject
*resultobj
;
22079 wxWindow
*arg1
= (wxWindow
*) 0 ;
22081 PyObject
* obj0
= 0 ;
22082 char *kwnames
[] = {
22083 (char *) "self", NULL
22086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
22087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22091 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
22093 wxPyEndAllowThreads(__tstate
);
22094 if (PyErr_Occurred()) SWIG_fail
;
22097 wxPoint
* resultptr
;
22098 resultptr
= new wxPoint((wxPoint
&) result
);
22099 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
22107 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22108 PyObject
*resultobj
;
22109 wxWindow
*arg1
= (wxWindow
*) 0 ;
22111 PyObject
* obj0
= 0 ;
22112 char *kwnames
[] = {
22113 (char *) "self", NULL
22116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
22117 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22118 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22121 result
= ((wxWindow
const *)arg1
)->GetClientRect();
22123 wxPyEndAllowThreads(__tstate
);
22124 if (PyErr_Occurred()) SWIG_fail
;
22127 wxRect
* resultptr
;
22128 resultptr
= new wxRect((wxRect
&) result
);
22129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
22137 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22138 PyObject
*resultobj
;
22139 wxWindow
*arg1
= (wxWindow
*) 0 ;
22141 PyObject
* obj0
= 0 ;
22142 char *kwnames
[] = {
22143 (char *) "self", NULL
22146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
22147 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22148 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22151 result
= ((wxWindow
const *)arg1
)->GetBestSize();
22153 wxPyEndAllowThreads(__tstate
);
22154 if (PyErr_Occurred()) SWIG_fail
;
22157 wxSize
* resultptr
;
22158 resultptr
= new wxSize((wxSize
&) result
);
22159 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22167 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxWindow
*arg1
= (wxWindow
*) 0 ;
22170 int *arg2
= (int *) 0 ;
22171 int *arg3
= (int *) 0 ;
22174 PyObject
* obj0
= 0 ;
22175 char *kwnames
[] = {
22176 (char *) "self", NULL
22181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
22182 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22183 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22186 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
22188 wxPyEndAllowThreads(__tstate
);
22189 if (PyErr_Occurred()) SWIG_fail
;
22191 Py_INCREF(Py_None
); resultobj
= Py_None
;
22193 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22194 resultobj
= t_output_helper(resultobj
,o
);
22197 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22198 resultobj
= t_output_helper(resultobj
,o
);
22206 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22207 PyObject
*resultobj
;
22208 wxWindow
*arg1
= (wxWindow
*) 0 ;
22210 PyObject
* obj0
= 0 ;
22211 char *kwnames
[] = {
22212 (char *) "self", NULL
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
22216 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22217 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22220 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
22222 wxPyEndAllowThreads(__tstate
);
22223 if (PyErr_Occurred()) SWIG_fail
;
22226 wxSize
* resultptr
;
22227 resultptr
= new wxSize((wxSize
&) result
);
22228 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22236 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22237 PyObject
*resultobj
;
22238 wxWindow
*arg1
= (wxWindow
*) 0 ;
22239 int arg2
= (int) wxBOTH
;
22240 PyObject
* obj0
= 0 ;
22241 PyObject
* obj1
= 0 ;
22242 char *kwnames
[] = {
22243 (char *) "self",(char *) "direction", NULL
22246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Center",kwnames
,&obj0
,&obj1
)) goto fail
;
22247 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22248 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22250 arg2
= (int) SWIG_AsInt(obj1
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22255 (arg1
)->Center(arg2
);
22257 wxPyEndAllowThreads(__tstate
);
22258 if (PyErr_Occurred()) SWIG_fail
;
22260 Py_INCREF(Py_None
); resultobj
= Py_None
;
22267 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22268 PyObject
*resultobj
;
22269 wxWindow
*arg1
= (wxWindow
*) 0 ;
22270 int arg2
= (int) wxBOTH
;
22271 PyObject
* obj0
= 0 ;
22272 PyObject
* obj1
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "dir", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22279 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22281 arg2
= (int) SWIG_AsInt(obj1
);
22282 if (PyErr_Occurred()) SWIG_fail
;
22285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22286 (arg1
)->CenterOnScreen(arg2
);
22288 wxPyEndAllowThreads(__tstate
);
22289 if (PyErr_Occurred()) SWIG_fail
;
22291 Py_INCREF(Py_None
); resultobj
= Py_None
;
22298 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22299 PyObject
*resultobj
;
22300 wxWindow
*arg1
= (wxWindow
*) 0 ;
22301 int arg2
= (int) wxBOTH
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 char *kwnames
[] = {
22305 (char *) "self",(char *) "dir", NULL
22308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_CenterOnParent",kwnames
,&obj0
,&obj1
)) goto fail
;
22309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22312 arg2
= (int) SWIG_AsInt(obj1
);
22313 if (PyErr_Occurred()) SWIG_fail
;
22316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22317 (arg1
)->CenterOnParent(arg2
);
22319 wxPyEndAllowThreads(__tstate
);
22320 if (PyErr_Occurred()) SWIG_fail
;
22322 Py_INCREF(Py_None
); resultobj
= Py_None
;
22329 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22330 PyObject
*resultobj
;
22331 wxWindow
*arg1
= (wxWindow
*) 0 ;
22332 PyObject
* obj0
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22339 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22367 (arg1
)->FitInside();
22369 wxPyEndAllowThreads(__tstate
);
22370 if (PyErr_Occurred()) SWIG_fail
;
22372 Py_INCREF(Py_None
); resultobj
= Py_None
;
22379 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22380 PyObject
*resultobj
;
22381 wxWindow
*arg1
= (wxWindow
*) 0 ;
22384 int arg4
= (int) -1 ;
22385 int arg5
= (int) -1 ;
22386 int arg6
= (int) -1 ;
22387 int arg7
= (int) -1 ;
22388 PyObject
* obj0
= 0 ;
22389 PyObject
* obj1
= 0 ;
22390 PyObject
* obj2
= 0 ;
22391 PyObject
* obj3
= 0 ;
22392 PyObject
* obj4
= 0 ;
22393 PyObject
* obj5
= 0 ;
22394 PyObject
* obj6
= 0 ;
22395 char *kwnames
[] = {
22396 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
22399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Window_SetSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
22400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22402 arg2
= (int) SWIG_AsInt(obj1
);
22403 if (PyErr_Occurred()) SWIG_fail
;
22404 arg3
= (int) SWIG_AsInt(obj2
);
22405 if (PyErr_Occurred()) SWIG_fail
;
22407 arg4
= (int) SWIG_AsInt(obj3
);
22408 if (PyErr_Occurred()) SWIG_fail
;
22411 arg5
= (int) SWIG_AsInt(obj4
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22415 arg6
= (int) SWIG_AsInt(obj5
);
22416 if (PyErr_Occurred()) SWIG_fail
;
22419 arg7
= (int) SWIG_AsInt(obj6
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22424 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
22426 wxPyEndAllowThreads(__tstate
);
22427 if (PyErr_Occurred()) SWIG_fail
;
22429 Py_INCREF(Py_None
); resultobj
= Py_None
;
22436 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22437 PyObject
*resultobj
;
22438 wxWindow
*arg1
= (wxWindow
*) 0 ;
22441 int arg4
= (int) -1 ;
22442 int arg5
= (int) -1 ;
22443 PyObject
* obj0
= 0 ;
22444 PyObject
* obj1
= 0 ;
22445 PyObject
* obj2
= 0 ;
22446 PyObject
* obj3
= 0 ;
22447 PyObject
* obj4
= 0 ;
22448 char *kwnames
[] = {
22449 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
22452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
22453 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22455 arg2
= (int) SWIG_AsInt(obj1
);
22456 if (PyErr_Occurred()) SWIG_fail
;
22457 arg3
= (int) SWIG_AsInt(obj2
);
22458 if (PyErr_Occurred()) SWIG_fail
;
22460 arg4
= (int) SWIG_AsInt(obj3
);
22461 if (PyErr_Occurred()) SWIG_fail
;
22464 arg5
= (int) SWIG_AsInt(obj4
);
22465 if (PyErr_Occurred()) SWIG_fail
;
22468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22469 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
22471 wxPyEndAllowThreads(__tstate
);
22472 if (PyErr_Occurred()) SWIG_fail
;
22474 Py_INCREF(Py_None
); resultobj
= Py_None
;
22481 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22482 PyObject
*resultobj
;
22483 wxWindow
*arg1
= (wxWindow
*) 0 ;
22485 PyObject
* obj0
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22492 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22495 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
22497 wxPyEndAllowThreads(__tstate
);
22498 if (PyErr_Occurred()) SWIG_fail
;
22500 resultobj
= SWIG_FromInt((int)result
);
22507 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22508 PyObject
*resultobj
;
22509 wxWindow
*arg1
= (wxWindow
*) 0 ;
22511 PyObject
* obj0
= 0 ;
22512 char *kwnames
[] = {
22513 (char *) "self", NULL
22516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
22517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= SWIG_FromInt((int)result
);
22533 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxWindow
*arg1
= (wxWindow
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22547 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
22549 wxPyEndAllowThreads(__tstate
);
22550 if (PyErr_Occurred()) SWIG_fail
;
22552 resultobj
= SWIG_FromInt((int)result
);
22559 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22560 PyObject
*resultobj
;
22561 wxWindow
*arg1
= (wxWindow
*) 0 ;
22563 PyObject
* obj0
= 0 ;
22564 char *kwnames
[] = {
22565 (char *) "self", NULL
22568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
22569 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22570 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
22575 wxPyEndAllowThreads(__tstate
);
22576 if (PyErr_Occurred()) SWIG_fail
;
22578 resultobj
= SWIG_FromInt((int)result
);
22585 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22586 PyObject
*resultobj
;
22587 wxWindow
*arg1
= (wxWindow
*) 0 ;
22589 PyObject
* obj0
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22596 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22599 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
22601 wxPyEndAllowThreads(__tstate
);
22602 if (PyErr_Occurred()) SWIG_fail
;
22605 wxSize
* resultptr
;
22606 resultptr
= new wxSize((wxSize
&) result
);
22607 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22615 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22616 PyObject
*resultobj
;
22617 wxWindow
*arg1
= (wxWindow
*) 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self",(char *) "size", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
22627 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22628 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22635 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
22637 wxPyEndAllowThreads(__tstate
);
22638 if (PyErr_Occurred()) SWIG_fail
;
22640 Py_INCREF(Py_None
); resultobj
= Py_None
;
22647 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22648 PyObject
*resultobj
;
22649 wxWindow
*arg1
= (wxWindow
*) 0 ;
22652 PyObject
* obj0
= 0 ;
22653 PyObject
* obj1
= 0 ;
22654 PyObject
* obj2
= 0 ;
22655 char *kwnames
[] = {
22656 (char *) "self",(char *) "w",(char *) "h", NULL
22659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_SetVirtualSizeWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22662 arg2
= (int) SWIG_AsInt(obj1
);
22663 if (PyErr_Occurred()) SWIG_fail
;
22664 arg3
= (int) SWIG_AsInt(obj2
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22668 (arg1
)->SetVirtualSize(arg2
,arg3
);
22670 wxPyEndAllowThreads(__tstate
);
22671 if (PyErr_Occurred()) SWIG_fail
;
22673 Py_INCREF(Py_None
); resultobj
= Py_None
;
22680 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22681 PyObject
*resultobj
;
22682 wxWindow
*arg1
= (wxWindow
*) 0 ;
22684 PyObject
* obj0
= 0 ;
22685 char *kwnames
[] = {
22686 (char *) "self", NULL
22689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
22690 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22691 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22694 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
22696 wxPyEndAllowThreads(__tstate
);
22697 if (PyErr_Occurred()) SWIG_fail
;
22700 wxSize
* resultptr
;
22701 resultptr
= new wxSize((wxSize
&) result
);
22702 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22710 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22711 PyObject
*resultobj
;
22712 wxWindow
*arg1
= (wxWindow
*) 0 ;
22713 int *arg2
= (int *) 0 ;
22714 int *arg3
= (int *) 0 ;
22717 PyObject
* obj0
= 0 ;
22718 char *kwnames
[] = {
22719 (char *) "self", NULL
22724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
22725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22729 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 Py_INCREF(Py_None
); resultobj
= Py_None
;
22736 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22737 resultobj
= t_output_helper(resultobj
,o
);
22740 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22741 resultobj
= t_output_helper(resultobj
,o
);
22749 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22750 PyObject
*resultobj
;
22751 wxWindow
*arg1
= (wxWindow
*) 0 ;
22753 PyObject
* obj0
= 0 ;
22754 char *kwnames
[] = {
22755 (char *) "self", NULL
22758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
22759 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22760 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22763 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
22765 wxPyEndAllowThreads(__tstate
);
22766 if (PyErr_Occurred()) SWIG_fail
;
22769 wxSize
* resultptr
;
22770 resultptr
= new wxSize((wxSize
&) result
);
22771 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
22779 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22780 PyObject
*resultobj
;
22781 wxWindow
*arg1
= (wxWindow
*) 0 ;
22782 bool arg2
= (bool) True
;
22784 PyObject
* obj0
= 0 ;
22785 PyObject
* obj1
= 0 ;
22786 char *kwnames
[] = {
22787 (char *) "self",(char *) "show", NULL
22790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
22791 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22792 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22794 arg2
= (bool) SWIG_AsBool(obj1
);
22795 if (PyErr_Occurred()) SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)(arg1
)->Show(arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22811 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxWindow
*arg1
= (wxWindow
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 result
= (bool)(arg1
)->Hide();
22827 wxPyEndAllowThreads(__tstate
);
22828 if (PyErr_Occurred()) SWIG_fail
;
22830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22837 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22838 PyObject
*resultobj
;
22839 wxWindow
*arg1
= (wxWindow
*) 0 ;
22840 bool arg2
= (bool) True
;
22842 PyObject
* obj0
= 0 ;
22843 PyObject
* obj1
= 0 ;
22844 char *kwnames
[] = {
22845 (char *) "self",(char *) "enable", NULL
22848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
22849 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22850 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22852 arg2
= (bool) SWIG_AsBool(obj1
);
22853 if (PyErr_Occurred()) SWIG_fail
;
22856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22857 result
= (bool)(arg1
)->Enable(arg2
);
22859 wxPyEndAllowThreads(__tstate
);
22860 if (PyErr_Occurred()) SWIG_fail
;
22862 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22869 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22870 PyObject
*resultobj
;
22871 wxWindow
*arg1
= (wxWindow
*) 0 ;
22873 PyObject
* obj0
= 0 ;
22874 char *kwnames
[] = {
22875 (char *) "self", NULL
22878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
22879 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22880 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22883 result
= (bool)(arg1
)->Disable();
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22895 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22896 PyObject
*resultobj
;
22897 wxWindow
*arg1
= (wxWindow
*) 0 ;
22899 PyObject
* obj0
= 0 ;
22900 char *kwnames
[] = {
22901 (char *) "self", NULL
22904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
22905 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22909 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
22911 wxPyEndAllowThreads(__tstate
);
22912 if (PyErr_Occurred()) SWIG_fail
;
22914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22921 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22922 PyObject
*resultobj
;
22923 wxWindow
*arg1
= (wxWindow
*) 0 ;
22925 PyObject
* obj0
= 0 ;
22926 char *kwnames
[] = {
22927 (char *) "self", NULL
22930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
22931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
22937 wxPyEndAllowThreads(__tstate
);
22938 if (PyErr_Occurred()) SWIG_fail
;
22940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22947 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22948 PyObject
*resultobj
;
22949 wxWindow
*arg1
= (wxWindow
*) 0 ;
22951 PyObject
* obj0
= 0 ;
22952 PyObject
* obj1
= 0 ;
22953 char *kwnames
[] = {
22954 (char *) "self",(char *) "style", NULL
22957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetWindowStyleFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
22958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22960 arg2
= (long) SWIG_AsLong(obj1
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22964 (arg1
)->SetWindowStyleFlag(arg2
);
22966 wxPyEndAllowThreads(__tstate
);
22967 if (PyErr_Occurred()) SWIG_fail
;
22969 Py_INCREF(Py_None
); resultobj
= Py_None
;
22976 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxWindow
*arg1
= (wxWindow
*) 0 ;
22980 PyObject
* obj0
= 0 ;
22981 char *kwnames
[] = {
22982 (char *) "self", NULL
22985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
22986 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
22987 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
22989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22990 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
22992 wxPyEndAllowThreads(__tstate
);
22993 if (PyErr_Occurred()) SWIG_fail
;
22995 resultobj
= SWIG_FromLong((long)result
);
23002 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23003 PyObject
*resultobj
;
23004 wxWindow
*arg1
= (wxWindow
*) 0 ;
23007 PyObject
* obj0
= 0 ;
23008 PyObject
* obj1
= 0 ;
23009 char *kwnames
[] = {
23010 (char *) "self",(char *) "flag", NULL
23013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
23014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23016 arg2
= (int) SWIG_AsInt(obj1
);
23017 if (PyErr_Occurred()) SWIG_fail
;
23019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23020 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
23022 wxPyEndAllowThreads(__tstate
);
23023 if (PyErr_Occurred()) SWIG_fail
;
23025 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23032 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23033 PyObject
*resultobj
;
23034 wxWindow
*arg1
= (wxWindow
*) 0 ;
23036 PyObject
* obj0
= 0 ;
23037 char *kwnames
[] = {
23038 (char *) "self", NULL
23041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
23042 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23043 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
23048 wxPyEndAllowThreads(__tstate
);
23049 if (PyErr_Occurred()) SWIG_fail
;
23051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23058 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23059 PyObject
*resultobj
;
23060 wxWindow
*arg1
= (wxWindow
*) 0 ;
23062 PyObject
* obj0
= 0 ;
23063 PyObject
* obj1
= 0 ;
23064 char *kwnames
[] = {
23065 (char *) "self",(char *) "exStyle", NULL
23068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetExtraStyle",kwnames
,&obj0
,&obj1
)) goto fail
;
23069 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23070 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23071 arg2
= (long) SWIG_AsLong(obj1
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23075 (arg1
)->SetExtraStyle(arg2
);
23077 wxPyEndAllowThreads(__tstate
);
23078 if (PyErr_Occurred()) SWIG_fail
;
23080 Py_INCREF(Py_None
); resultobj
= Py_None
;
23087 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23088 PyObject
*resultobj
;
23089 wxWindow
*arg1
= (wxWindow
*) 0 ;
23091 PyObject
* obj0
= 0 ;
23092 char *kwnames
[] = {
23093 (char *) "self", NULL
23096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
23097 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23098 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
23103 wxPyEndAllowThreads(__tstate
);
23104 if (PyErr_Occurred()) SWIG_fail
;
23106 resultobj
= SWIG_FromLong((long)result
);
23113 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23114 PyObject
*resultobj
;
23115 wxWindow
*arg1
= (wxWindow
*) 0 ;
23116 bool arg2
= (bool) True
;
23117 PyObject
* obj0
= 0 ;
23118 PyObject
* obj1
= 0 ;
23119 char *kwnames
[] = {
23120 (char *) "self",(char *) "modal", NULL
23123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
23124 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23125 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23127 arg2
= (bool) SWIG_AsBool(obj1
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23132 (arg1
)->MakeModal(arg2
);
23134 wxPyEndAllowThreads(__tstate
);
23135 if (PyErr_Occurred()) SWIG_fail
;
23137 Py_INCREF(Py_None
); resultobj
= Py_None
;
23144 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23145 PyObject
*resultobj
;
23146 wxWindow
*arg1
= (wxWindow
*) 0 ;
23148 PyObject
* obj0
= 0 ;
23149 PyObject
* obj1
= 0 ;
23150 char *kwnames
[] = {
23151 (char *) "self",(char *) "enableTheme", NULL
23154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
23155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23157 arg2
= (bool) SWIG_AsBool(obj1
);
23158 if (PyErr_Occurred()) SWIG_fail
;
23160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23161 (arg1
)->SetThemeEnabled(arg2
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 Py_INCREF(Py_None
); resultobj
= Py_None
;
23173 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23174 PyObject
*resultobj
;
23175 wxWindow
*arg1
= (wxWindow
*) 0 ;
23177 PyObject
* obj0
= 0 ;
23178 char *kwnames
[] = {
23179 (char *) "self", NULL
23182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
23183 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23184 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23187 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
23189 wxPyEndAllowThreads(__tstate
);
23190 if (PyErr_Occurred()) SWIG_fail
;
23192 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23199 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23200 PyObject
*resultobj
;
23201 wxWindow
*arg1
= (wxWindow
*) 0 ;
23202 PyObject
* obj0
= 0 ;
23203 char *kwnames
[] = {
23204 (char *) "self", NULL
23207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
23208 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23209 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23212 (arg1
)->SetFocus();
23214 wxPyEndAllowThreads(__tstate
);
23215 if (PyErr_Occurred()) SWIG_fail
;
23217 Py_INCREF(Py_None
); resultobj
= Py_None
;
23224 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23225 PyObject
*resultobj
;
23226 wxWindow
*arg1
= (wxWindow
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23234 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23237 (arg1
)->SetFocusFromKbd();
23239 wxPyEndAllowThreads(__tstate
);
23240 if (PyErr_Occurred()) SWIG_fail
;
23242 Py_INCREF(Py_None
); resultobj
= Py_None
;
23249 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23250 PyObject
*resultobj
;
23252 char *kwnames
[] = {
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
23258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23259 result
= (wxWindow
*)wxWindow::FindFocus();
23261 wxPyEndAllowThreads(__tstate
);
23262 if (PyErr_Occurred()) SWIG_fail
;
23265 resultobj
= wxPyMake_wxObject(result
);
23273 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
;
23275 wxWindow
*arg1
= (wxWindow
*) 0 ;
23277 PyObject
* obj0
= 0 ;
23278 char *kwnames
[] = {
23279 (char *) "self", NULL
23282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
23283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23287 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
23289 wxPyEndAllowThreads(__tstate
);
23290 if (PyErr_Occurred()) SWIG_fail
;
23292 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23299 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23300 PyObject
*resultobj
;
23301 wxWindow
*arg1
= (wxWindow
*) 0 ;
23303 PyObject
* obj0
= 0 ;
23304 char *kwnames
[] = {
23305 (char *) "self", NULL
23308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
23309 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23310 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23313 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
23315 wxPyEndAllowThreads(__tstate
);
23316 if (PyErr_Occurred()) SWIG_fail
;
23318 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23325 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23326 PyObject
*resultobj
;
23327 wxWindow
*arg1
= (wxWindow
*) 0 ;
23329 PyObject
* obj0
= 0 ;
23330 char *kwnames
[] = {
23331 (char *) "self", NULL
23334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
23335 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 resultobj
= wxPyMake_wxObject(result
);
23353 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23354 PyObject
*resultobj
;
23355 wxWindow
*arg1
= (wxWindow
*) 0 ;
23356 wxWindow
*arg2
= (wxWindow
*) 0 ;
23358 PyObject
* obj0
= 0 ;
23359 PyObject
* obj1
= 0 ;
23360 char *kwnames
[] = {
23361 (char *) "self",(char *) "child", NULL
23364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23371 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
23373 wxPyEndAllowThreads(__tstate
);
23374 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= wxPyMake_wxObject(result
);
23385 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23386 PyObject
*resultobj
;
23387 wxWindow
*arg1
= (wxWindow
*) 0 ;
23388 wxWindow
*arg2
= (wxWindow
*) 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 char *kwnames
[] = {
23392 (char *) "self",(char *) "win", NULL
23395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
23396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23398 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 (arg1
)->SetTmpDefaultItem(arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 Py_INCREF(Py_None
); resultobj
= Py_None
;
23414 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxWindow
*arg1
= (wxWindow
*) 0 ;
23418 PyObject
* obj0
= 0 ;
23419 char *kwnames
[] = {
23420 (char *) "self", NULL
23423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
23424 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23425 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= result
;
23440 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxWindow
*arg1
= (wxWindow
*) 0 ;
23444 PyObject
* obj0
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23454 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
23456 wxPyEndAllowThreads(__tstate
);
23457 if (PyErr_Occurred()) SWIG_fail
;
23460 resultobj
= wxPyMake_wxObject(result
);
23468 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxWindow
*arg1
= (wxWindow
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23482 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23488 resultobj
= wxPyMake_wxObject(result
);
23496 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23497 PyObject
*resultobj
;
23498 wxWindow
*arg1
= (wxWindow
*) 0 ;
23500 PyObject
* obj0
= 0 ;
23501 char *kwnames
[] = {
23502 (char *) "self", NULL
23505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
23506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23522 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxWindow
*arg1
= (wxWindow
*) 0 ;
23525 wxWindow
*arg2
= (wxWindow
*) 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "newParent", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23536 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23540 result
= (bool)(arg1
)->Reparent(arg2
);
23542 wxPyEndAllowThreads(__tstate
);
23543 if (PyErr_Occurred()) SWIG_fail
;
23545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23552 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23553 PyObject
*resultobj
;
23554 wxWindow
*arg1
= (wxWindow
*) 0 ;
23555 wxWindow
*arg2
= (wxWindow
*) 0 ;
23556 PyObject
* obj0
= 0 ;
23557 PyObject
* obj1
= 0 ;
23558 char *kwnames
[] = {
23559 (char *) "self",(char *) "child", NULL
23562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23563 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23564 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23565 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23566 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23569 (arg1
)->AddChild(arg2
);
23571 wxPyEndAllowThreads(__tstate
);
23572 if (PyErr_Occurred()) SWIG_fail
;
23574 Py_INCREF(Py_None
); resultobj
= Py_None
;
23581 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23582 PyObject
*resultobj
;
23583 wxWindow
*arg1
= (wxWindow
*) 0 ;
23584 wxWindow
*arg2
= (wxWindow
*) 0 ;
23585 PyObject
* obj0
= 0 ;
23586 PyObject
* obj1
= 0 ;
23587 char *kwnames
[] = {
23588 (char *) "self",(char *) "child", NULL
23591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
23592 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23593 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23594 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
23595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 (arg1
)->RemoveChild(arg2
);
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 Py_INCREF(Py_None
); resultobj
= Py_None
;
23610 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 PyObject
* obj1
= 0 ;
23617 char *kwnames
[] = {
23618 (char *) "self",(char *) "winid", NULL
23621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
23622 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23623 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23624 arg2
= (long) SWIG_AsLong(obj1
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23628 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
23630 wxPyEndAllowThreads(__tstate
);
23631 if (PyErr_Occurred()) SWIG_fail
;
23634 resultobj
= wxPyMake_wxObject(result
);
23642 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxWindow
*arg1
= (wxWindow
*) 0 ;
23645 wxString
*arg2
= 0 ;
23647 bool temp2
= False
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "name", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23656 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23658 arg2
= wxString_in_helper(obj1
);
23659 if (arg2
== NULL
) SWIG_fail
;
23663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23664 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
23666 wxPyEndAllowThreads(__tstate
);
23667 if (PyErr_Occurred()) SWIG_fail
;
23670 resultobj
= wxPyMake_wxObject(result
);
23686 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23687 PyObject
*resultobj
;
23688 wxWindow
*arg1
= (wxWindow
*) 0 ;
23689 wxEvtHandler
*result
;
23690 PyObject
* obj0
= 0 ;
23691 char *kwnames
[] = {
23692 (char *) "self", NULL
23695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
23696 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23697 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23700 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
23702 wxPyEndAllowThreads(__tstate
);
23703 if (PyErr_Occurred()) SWIG_fail
;
23706 resultobj
= wxPyMake_wxObject(result
);
23714 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxWindow
*arg1
= (wxWindow
*) 0 ;
23717 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 PyObject
* obj1
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self",(char *) "handler", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23727 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23731 (arg1
)->SetEventHandler(arg2
);
23733 wxPyEndAllowThreads(__tstate
);
23734 if (PyErr_Occurred()) SWIG_fail
;
23736 Py_INCREF(Py_None
); resultobj
= Py_None
;
23743 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23744 PyObject
*resultobj
;
23745 wxWindow
*arg1
= (wxWindow
*) 0 ;
23746 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23747 PyObject
* obj0
= 0 ;
23748 PyObject
* obj1
= 0 ;
23749 char *kwnames
[] = {
23750 (char *) "self",(char *) "handler", NULL
23753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23754 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23755 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23756 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 (arg1
)->PushEventHandler(arg2
);
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 Py_INCREF(Py_None
); resultobj
= Py_None
;
23772 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxWindow
*arg1
= (wxWindow
*) 0 ;
23775 bool arg2
= (bool) False
;
23776 wxEvtHandler
*result
;
23777 PyObject
* obj0
= 0 ;
23778 PyObject
* obj1
= 0 ;
23779 char *kwnames
[] = {
23780 (char *) "self",(char *) "deleteHandler", NULL
23783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23784 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23785 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23787 arg2
= (bool) SWIG_AsBool(obj1
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23798 resultobj
= wxPyMake_wxObject(result
);
23806 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23807 PyObject
*resultobj
;
23808 wxWindow
*arg1
= (wxWindow
*) 0 ;
23809 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
23811 PyObject
* obj0
= 0 ;
23812 PyObject
* obj1
= 0 ;
23813 char *kwnames
[] = {
23814 (char *) "self",(char *) "handler", NULL
23817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
23818 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23819 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23820 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
23821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23824 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
23826 wxPyEndAllowThreads(__tstate
);
23827 if (PyErr_Occurred()) SWIG_fail
;
23829 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23836 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23837 PyObject
*resultobj
;
23838 wxWindow
*arg1
= (wxWindow
*) 0 ;
23839 wxValidator
*arg2
= 0 ;
23840 PyObject
* obj0
= 0 ;
23841 PyObject
* obj1
= 0 ;
23842 char *kwnames
[] = {
23843 (char *) "self",(char *) "validator", NULL
23846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
23847 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23848 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23849 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxValidator
,
23850 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23852 if (arg2
== NULL
) {
23853 PyErr_SetString(PyExc_TypeError
,"null reference");
23857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23858 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
23860 wxPyEndAllowThreads(__tstate
);
23861 if (PyErr_Occurred()) SWIG_fail
;
23863 Py_INCREF(Py_None
); resultobj
= Py_None
;
23870 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23871 PyObject
*resultobj
;
23872 wxWindow
*arg1
= (wxWindow
*) 0 ;
23873 wxValidator
*result
;
23874 PyObject
* obj0
= 0 ;
23875 char *kwnames
[] = {
23876 (char *) "self", NULL
23879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
23880 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23881 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23884 result
= (wxValidator
*)(arg1
)->GetValidator();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= wxPyMake_wxObject(result
);
23898 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23899 PyObject
*resultobj
;
23900 wxWindow
*arg1
= (wxWindow
*) 0 ;
23901 wxAcceleratorTable
*arg2
= 0 ;
23902 PyObject
* obj0
= 0 ;
23903 PyObject
* obj1
= 0 ;
23904 char *kwnames
[] = {
23905 (char *) "self",(char *) "accel", NULL
23908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
23909 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23910 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23911 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorTable
,
23912 SWIG_POINTER_EXCEPTION
| 0)) == -1)
23914 if (arg2
== NULL
) {
23915 PyErr_SetString(PyExc_TypeError
,"null reference");
23919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23920 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
23922 wxPyEndAllowThreads(__tstate
);
23923 if (PyErr_Occurred()) SWIG_fail
;
23925 Py_INCREF(Py_None
); resultobj
= Py_None
;
23932 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23933 PyObject
*resultobj
;
23934 wxWindow
*arg1
= (wxWindow
*) 0 ;
23935 wxAcceleratorTable
*result
;
23936 PyObject
* obj0
= 0 ;
23937 char *kwnames
[] = {
23938 (char *) "self", NULL
23941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
23942 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23943 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23946 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorTable
, 0);
23958 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
;
23960 wxWindow
*arg1
= (wxWindow
*) 0 ;
23965 PyObject
* obj0
= 0 ;
23966 PyObject
* obj1
= 0 ;
23967 PyObject
* obj2
= 0 ;
23968 PyObject
* obj3
= 0 ;
23969 char *kwnames
[] = {
23970 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
23973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_RegisterHotKey",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
23974 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
23975 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
23976 arg2
= (int) SWIG_AsInt(obj1
);
23977 if (PyErr_Occurred()) SWIG_fail
;
23978 arg3
= (int) SWIG_AsInt(obj2
);
23979 if (PyErr_Occurred()) SWIG_fail
;
23980 arg4
= (int) SWIG_AsInt(obj3
);
23981 if (PyErr_Occurred()) SWIG_fail
;
23983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23984 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23996 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
;
23998 wxWindow
*arg1
= (wxWindow
*) 0 ;
24001 PyObject
* obj0
= 0 ;
24002 PyObject
* obj1
= 0 ;
24003 char *kwnames
[] = {
24004 (char *) "self",(char *) "hotkeyId", NULL
24007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_UnregisterHotKey",kwnames
,&obj0
,&obj1
)) goto fail
;
24008 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24009 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24010 arg2
= (int) SWIG_AsInt(obj1
);
24011 if (PyErr_Occurred()) SWIG_fail
;
24013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24014 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
24016 wxPyEndAllowThreads(__tstate
);
24017 if (PyErr_Occurred()) SWIG_fail
;
24019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24026 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24027 PyObject
*resultobj
;
24028 wxWindow
*arg1
= (wxWindow
*) 0 ;
24029 wxPoint
*arg2
= 0 ;
24032 PyObject
* obj0
= 0 ;
24033 PyObject
* obj1
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self",(char *) "pt", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24040 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24043 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24047 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24049 wxPyEndAllowThreads(__tstate
);
24050 if (PyErr_Occurred()) SWIG_fail
;
24053 wxPoint
* resultptr
;
24054 resultptr
= new wxPoint((wxPoint
&) result
);
24055 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24063 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24064 PyObject
*resultobj
;
24065 wxWindow
*arg1
= (wxWindow
*) 0 ;
24069 PyObject
* obj0
= 0 ;
24070 PyObject
* obj1
= 0 ;
24071 char *kwnames
[] = {
24072 (char *) "self",(char *) "sz", NULL
24075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
24076 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24080 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24084 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24086 wxPyEndAllowThreads(__tstate
);
24087 if (PyErr_Occurred()) SWIG_fail
;
24090 wxSize
* resultptr
;
24091 resultptr
= new wxSize((wxSize
&) result
);
24092 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24100 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24101 PyObject
*resultobj
;
24102 wxWindow
*arg1
= (wxWindow
*) 0 ;
24103 wxPoint
*arg2
= 0 ;
24106 PyObject
* obj0
= 0 ;
24107 PyObject
* obj1
= 0 ;
24108 char *kwnames
[] = {
24109 (char *) "self",(char *) "pt", NULL
24112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
24113 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24114 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24117 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24121 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
24123 wxPyEndAllowThreads(__tstate
);
24124 if (PyErr_Occurred()) SWIG_fail
;
24127 wxPoint
* resultptr
;
24128 resultptr
= new wxPoint((wxPoint
&) result
);
24129 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24137 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxWindow
*arg1
= (wxWindow
*) 0 ;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "self",(char *) "sz", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
24150 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24151 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24154 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24158 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
24160 wxPyEndAllowThreads(__tstate
);
24161 if (PyErr_Occurred()) SWIG_fail
;
24164 wxSize
* resultptr
;
24165 resultptr
= new wxSize((wxSize
&) result
);
24166 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24174 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24175 PyObject
*resultobj
;
24176 wxWindow
*arg1
= (wxWindow
*) 0 ;
24177 wxPoint
*arg2
= 0 ;
24180 PyObject
* obj0
= 0 ;
24181 PyObject
* obj1
= 0 ;
24182 char *kwnames
[] = {
24183 (char *) "self",(char *) "pt", NULL
24186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24187 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24188 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24191 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24195 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
24197 wxPyEndAllowThreads(__tstate
);
24198 if (PyErr_Occurred()) SWIG_fail
;
24201 wxPoint
* resultptr
;
24202 resultptr
= new wxPoint((wxPoint
&) result
);
24203 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
24211 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24212 PyObject
*resultobj
;
24213 wxWindow
*arg1
= (wxWindow
*) 0 ;
24217 PyObject
* obj0
= 0 ;
24218 PyObject
* obj1
= 0 ;
24219 char *kwnames
[] = {
24220 (char *) "self",(char *) "sz", NULL
24223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
24224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24228 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24232 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
24234 wxPyEndAllowThreads(__tstate
);
24235 if (PyErr_Occurred()) SWIG_fail
;
24238 wxSize
* resultptr
;
24239 resultptr
= new wxSize((wxSize
&) result
);
24240 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
24248 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxWindow
*arg1
= (wxWindow
*) 0 ;
24253 PyObject
* obj0
= 0 ;
24254 PyObject
* obj1
= 0 ;
24255 PyObject
* obj2
= 0 ;
24256 char *kwnames
[] = {
24257 (char *) "self",(char *) "x",(char *) "y", NULL
24260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_WarpPointer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24263 arg2
= (int) SWIG_AsInt(obj1
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24265 arg3
= (int) SWIG_AsInt(obj2
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24269 (arg1
)->WarpPointer(arg2
,arg3
);
24271 wxPyEndAllowThreads(__tstate
);
24272 if (PyErr_Occurred()) SWIG_fail
;
24274 Py_INCREF(Py_None
); resultobj
= Py_None
;
24281 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24282 PyObject
*resultobj
;
24283 wxWindow
*arg1
= (wxWindow
*) 0 ;
24284 PyObject
* obj0
= 0 ;
24285 char *kwnames
[] = {
24286 (char *) "self", NULL
24289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
24290 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24291 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 (arg1
)->CaptureMouse();
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 Py_INCREF(Py_None
); resultobj
= Py_None
;
24306 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24309 PyObject
* obj0
= 0 ;
24310 char *kwnames
[] = {
24311 (char *) "self", NULL
24314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
24315 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 (arg1
)->ReleaseMouse();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24324 Py_INCREF(Py_None
); resultobj
= Py_None
;
24331 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24332 PyObject
*resultobj
;
24334 char *kwnames
[] = {
24338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (wxWindow
*)wxWindow::GetCapture();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24347 resultobj
= wxPyMake_wxObject(result
);
24355 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24357 wxWindow
*arg1
= (wxWindow
*) 0 ;
24359 PyObject
* obj0
= 0 ;
24360 char *kwnames
[] = {
24361 (char *) "self", NULL
24364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
24365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24369 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
24371 wxPyEndAllowThreads(__tstate
);
24372 if (PyErr_Occurred()) SWIG_fail
;
24374 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24381 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
;
24383 wxWindow
*arg1
= (wxWindow
*) 0 ;
24384 bool arg2
= (bool) True
;
24385 wxRect
*arg3
= (wxRect
*) NULL
;
24386 PyObject
* obj0
= 0 ;
24387 PyObject
* obj1
= 0 ;
24388 PyObject
* obj2
= 0 ;
24389 char *kwnames
[] = {
24390 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
24393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24397 arg2
= (bool) SWIG_AsBool(obj1
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24401 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxRect
,
24402 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24406 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 Py_INCREF(Py_None
); resultobj
= Py_None
;
24418 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24419 PyObject
*resultobj
;
24420 wxWindow
*arg1
= (wxWindow
*) 0 ;
24423 PyObject
* obj0
= 0 ;
24424 PyObject
* obj1
= 0 ;
24425 char *kwnames
[] = {
24426 (char *) "self",(char *) "rect", NULL
24429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24430 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24431 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24434 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
24440 wxPyEndAllowThreads(__tstate
);
24441 if (PyErr_Occurred()) SWIG_fail
;
24443 Py_INCREF(Py_None
); resultobj
= Py_None
;
24450 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24451 PyObject
*resultobj
;
24452 wxWindow
*arg1
= (wxWindow
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 char *kwnames
[] = {
24455 (char *) "self", NULL
24458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
24459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24465 wxPyEndAllowThreads(__tstate
);
24466 if (PyErr_Occurred()) SWIG_fail
;
24468 Py_INCREF(Py_None
); resultobj
= Py_None
;
24475 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 wxWindow
*arg1
= (wxWindow
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 char *kwnames
[] = {
24480 (char *) "self", NULL
24483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
24484 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24485 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24488 (arg1
)->ClearBackground();
24490 wxPyEndAllowThreads(__tstate
);
24491 if (PyErr_Occurred()) SWIG_fail
;
24493 Py_INCREF(Py_None
); resultobj
= Py_None
;
24500 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24501 PyObject
*resultobj
;
24502 wxWindow
*arg1
= (wxWindow
*) 0 ;
24503 PyObject
* obj0
= 0 ;
24504 char *kwnames
[] = {
24505 (char *) "self", NULL
24508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
24509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24518 Py_INCREF(Py_None
); resultobj
= Py_None
;
24525 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24526 PyObject
*resultobj
;
24527 wxWindow
*arg1
= (wxWindow
*) 0 ;
24528 PyObject
* obj0
= 0 ;
24529 char *kwnames
[] = {
24530 (char *) "self", NULL
24533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
24534 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24535 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 wxPyEndAllowThreads(__tstate
);
24541 if (PyErr_Occurred()) SWIG_fail
;
24543 Py_INCREF(Py_None
); resultobj
= Py_None
;
24550 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24551 PyObject
*resultobj
;
24552 wxWindow
*arg1
= (wxWindow
*) 0 ;
24554 PyObject
* obj0
= 0 ;
24555 PyObject
* obj1
= 0 ;
24556 char *kwnames
[] = {
24557 (char *) "self",(char *) "dc", NULL
24560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
24561 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24562 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24563 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxDC
,
24564 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24566 if (arg2
== NULL
) {
24567 PyErr_SetString(PyExc_TypeError
,"null reference");
24571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24572 (arg1
)->PrepareDC(*arg2
);
24574 wxPyEndAllowThreads(__tstate
);
24575 if (PyErr_Occurred()) SWIG_fail
;
24577 Py_INCREF(Py_None
); resultobj
= Py_None
;
24584 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24585 PyObject
*resultobj
;
24586 wxWindow
*arg1
= (wxWindow
*) 0 ;
24588 PyObject
* obj0
= 0 ;
24589 char *kwnames
[] = {
24590 (char *) "self", NULL
24593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
24594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24599 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
24600 result
= (wxRegion
*) &_result_ref
;
24603 wxPyEndAllowThreads(__tstate
);
24604 if (PyErr_Occurred()) SWIG_fail
;
24606 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxRegion
, 0);
24613 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxWindow
*arg1
= (wxWindow
*) 0 ;
24617 PyObject
* obj0
= 0 ;
24618 char *kwnames
[] = {
24619 (char *) "self", NULL
24622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
24623 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24624 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24627 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
24629 wxPyEndAllowThreads(__tstate
);
24630 if (PyErr_Occurred()) SWIG_fail
;
24633 wxRect
* resultptr
;
24634 resultptr
= new wxRect((wxRect
&) result
);
24635 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxRect
, 1);
24643 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24644 PyObject
*resultobj
;
24645 wxWindow
*arg1
= (wxWindow
*) 0 ;
24648 int arg4
= (int) 1 ;
24649 int arg5
= (int) 1 ;
24651 PyObject
* obj0
= 0 ;
24652 PyObject
* obj1
= 0 ;
24653 PyObject
* obj2
= 0 ;
24654 PyObject
* obj3
= 0 ;
24655 PyObject
* obj4
= 0 ;
24656 char *kwnames
[] = {
24657 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
24660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Window_IsExposed",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
24661 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24663 arg2
= (int) SWIG_AsInt(obj1
);
24664 if (PyErr_Occurred()) SWIG_fail
;
24665 arg3
= (int) SWIG_AsInt(obj2
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 arg4
= (int) SWIG_AsInt(obj3
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24672 arg5
= (int) SWIG_AsInt(obj4
);
24673 if (PyErr_Occurred()) SWIG_fail
;
24676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24677 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
24679 wxPyEndAllowThreads(__tstate
);
24680 if (PyErr_Occurred()) SWIG_fail
;
24682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24689 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24690 PyObject
*resultobj
;
24691 wxWindow
*arg1
= (wxWindow
*) 0 ;
24692 wxPoint
*arg2
= 0 ;
24695 PyObject
* obj0
= 0 ;
24696 PyObject
* obj1
= 0 ;
24697 char *kwnames
[] = {
24698 (char *) "self",(char *) "pt", NULL
24701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
24702 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24703 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24706 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
24709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24710 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
24712 wxPyEndAllowThreads(__tstate
);
24713 if (PyErr_Occurred()) SWIG_fail
;
24715 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24722 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24723 PyObject
*resultobj
;
24724 wxWindow
*arg1
= (wxWindow
*) 0 ;
24728 PyObject
* obj0
= 0 ;
24729 PyObject
* obj1
= 0 ;
24730 char *kwnames
[] = {
24731 (char *) "self",(char *) "rect", NULL
24734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
24735 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24736 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24739 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
24742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24743 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
24745 wxPyEndAllowThreads(__tstate
);
24746 if (PyErr_Occurred()) SWIG_fail
;
24748 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24755 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24756 PyObject
*resultobj
;
24757 wxWindow
*arg1
= (wxWindow
*) 0 ;
24758 wxColour
*arg2
= 0 ;
24761 PyObject
* obj0
= 0 ;
24762 PyObject
* obj1
= 0 ;
24763 char *kwnames
[] = {
24764 (char *) "self",(char *) "colour", NULL
24767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24768 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24769 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24772 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24776 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
24778 wxPyEndAllowThreads(__tstate
);
24779 if (PyErr_Occurred()) SWIG_fail
;
24781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24788 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24789 PyObject
*resultobj
;
24790 wxWindow
*arg1
= (wxWindow
*) 0 ;
24791 wxColour
*arg2
= 0 ;
24794 PyObject
* obj0
= 0 ;
24795 PyObject
* obj1
= 0 ;
24796 char *kwnames
[] = {
24797 (char *) "self",(char *) "colour", NULL
24800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
24801 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24802 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24805 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
24808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24809 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24821 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24822 PyObject
*resultobj
;
24823 wxWindow
*arg1
= (wxWindow
*) 0 ;
24825 PyObject
* obj0
= 0 ;
24826 char *kwnames
[] = {
24827 (char *) "self", NULL
24830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
24831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24835 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
24837 wxPyEndAllowThreads(__tstate
);
24838 if (PyErr_Occurred()) SWIG_fail
;
24841 wxColour
* resultptr
;
24842 resultptr
= new wxColour((wxColour
&) result
);
24843 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24851 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24852 PyObject
*resultobj
;
24853 wxWindow
*arg1
= (wxWindow
*) 0 ;
24855 PyObject
* obj0
= 0 ;
24856 char *kwnames
[] = {
24857 (char *) "self", NULL
24860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
24861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24865 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
24867 wxPyEndAllowThreads(__tstate
);
24868 if (PyErr_Occurred()) SWIG_fail
;
24871 wxColour
* resultptr
;
24872 resultptr
= new wxColour((wxColour
&) result
);
24873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
24881 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxWindow
*arg1
= (wxWindow
*) 0 ;
24884 wxCursor
*arg2
= 0 ;
24886 PyObject
* obj0
= 0 ;
24887 PyObject
* obj1
= 0 ;
24888 char *kwnames
[] = {
24889 (char *) "self",(char *) "cursor", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
24893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24895 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCursor
,
24896 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24898 if (arg2
== NULL
) {
24899 PyErr_SetString(PyExc_TypeError
,"null reference");
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24916 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxWindow
*arg1
= (wxWindow
*) 0 ;
24920 PyObject
* obj0
= 0 ;
24921 char *kwnames
[] = {
24922 (char *) "self", NULL
24925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
24926 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24927 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24931 wxCursor
&_result_ref
= (arg1
)->GetCursor();
24932 result
= (wxCursor
*) &_result_ref
;
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24938 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCursor
, 0);
24945 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24946 PyObject
*resultobj
;
24947 wxWindow
*arg1
= (wxWindow
*) 0 ;
24950 PyObject
* obj0
= 0 ;
24951 PyObject
* obj1
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "font", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24958 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24959 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
24960 SWIG_POINTER_EXCEPTION
| 0)) == -1)
24962 if (arg2
== NULL
) {
24963 PyErr_SetString(PyExc_TypeError
,"null reference");
24967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24968 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
24970 wxPyEndAllowThreads(__tstate
);
24971 if (PyErr_Occurred()) SWIG_fail
;
24973 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24980 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxWindow
*arg1
= (wxWindow
*) 0 ;
24984 PyObject
* obj0
= 0 ;
24985 char *kwnames
[] = {
24986 (char *) "self", NULL
24989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
24990 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
24991 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24995 wxFont
&_result_ref
= (arg1
)->GetFont();
24996 result
= (wxFont
*) &_result_ref
;
24999 wxPyEndAllowThreads(__tstate
);
25000 if (PyErr_Occurred()) SWIG_fail
;
25002 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFont
, 0);
25009 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25010 PyObject
*resultobj
;
25011 wxWindow
*arg1
= (wxWindow
*) 0 ;
25012 wxCaret
*arg2
= (wxCaret
*) 0 ;
25013 PyObject
* obj0
= 0 ;
25014 PyObject
* obj1
= 0 ;
25015 char *kwnames
[] = {
25016 (char *) "self",(char *) "caret", NULL
25019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
25020 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25021 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25022 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCaret
,
25023 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25026 (arg1
)->SetCaret(arg2
);
25028 wxPyEndAllowThreads(__tstate
);
25029 if (PyErr_Occurred()) SWIG_fail
;
25031 Py_INCREF(Py_None
); resultobj
= Py_None
;
25038 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25039 PyObject
*resultobj
;
25040 wxWindow
*arg1
= (wxWindow
*) 0 ;
25042 PyObject
* obj0
= 0 ;
25043 char *kwnames
[] = {
25044 (char *) "self", NULL
25047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
25048 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25049 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25052 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
25054 wxPyEndAllowThreads(__tstate
);
25055 if (PyErr_Occurred()) SWIG_fail
;
25057 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxCaret
, 0);
25064 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25065 PyObject
*resultobj
;
25066 wxWindow
*arg1
= (wxWindow
*) 0 ;
25068 PyObject
* obj0
= 0 ;
25069 char *kwnames
[] = {
25070 (char *) "self", NULL
25073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
25074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 resultobj
= SWIG_FromInt((int)result
);
25090 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25091 PyObject
*resultobj
;
25092 wxWindow
*arg1
= (wxWindow
*) 0 ;
25094 PyObject
* obj0
= 0 ;
25095 char *kwnames
[] = {
25096 (char *) "self", NULL
25099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
25100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
25106 wxPyEndAllowThreads(__tstate
);
25107 if (PyErr_Occurred()) SWIG_fail
;
25109 resultobj
= SWIG_FromInt((int)result
);
25116 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25117 PyObject
*resultobj
;
25118 wxWindow
*arg1
= (wxWindow
*) 0 ;
25119 wxString
*arg2
= 0 ;
25120 int *arg3
= (int *) 0 ;
25121 int *arg4
= (int *) 0 ;
25122 bool temp2
= False
;
25125 PyObject
* obj0
= 0 ;
25126 PyObject
* obj1
= 0 ;
25127 char *kwnames
[] = {
25128 (char *) "self",(char *) "string", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25135 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25137 arg2
= wxString_in_helper(obj1
);
25138 if (arg2
== NULL
) SWIG_fail
;
25142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25143 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
25145 wxPyEndAllowThreads(__tstate
);
25146 if (PyErr_Occurred()) SWIG_fail
;
25148 Py_INCREF(Py_None
); resultobj
= Py_None
;
25150 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25151 resultobj
= t_output_helper(resultobj
,o
);
25154 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25155 resultobj
= t_output_helper(resultobj
,o
);
25171 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25172 PyObject
*resultobj
;
25173 wxWindow
*arg1
= (wxWindow
*) 0 ;
25174 wxString
*arg2
= 0 ;
25175 int *arg3
= (int *) 0 ;
25176 int *arg4
= (int *) 0 ;
25177 int *arg5
= (int *) 0 ;
25178 int *arg6
= (int *) 0 ;
25179 wxFont
*arg7
= (wxFont
*) NULL
;
25180 bool temp2
= False
;
25185 PyObject
* obj0
= 0 ;
25186 PyObject
* obj1
= 0 ;
25187 PyObject
* obj2
= 0 ;
25188 char *kwnames
[] = {
25189 (char *) "self",(char *) "string",(char *) "font", NULL
25196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25200 arg2
= wxString_in_helper(obj1
);
25201 if (arg2
== NULL
) SWIG_fail
;
25205 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg7
),SWIGTYPE_p_wxFont
,
25206 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25210 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
25212 wxPyEndAllowThreads(__tstate
);
25213 if (PyErr_Occurred()) SWIG_fail
;
25215 Py_INCREF(Py_None
); resultobj
= Py_None
;
25217 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25218 resultobj
= t_output_helper(resultobj
,o
);
25221 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
25222 resultobj
= t_output_helper(resultobj
,o
);
25225 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
25226 resultobj
= t_output_helper(resultobj
,o
);
25229 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
25230 resultobj
= t_output_helper(resultobj
,o
);
25246 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25247 PyObject
*resultobj
;
25248 wxWindow
*arg1
= (wxWindow
*) 0 ;
25249 int *arg2
= (int *) 0 ;
25250 int *arg3
= (int *) 0 ;
25253 PyObject
* obj0
= 0 ;
25254 PyObject
* obj1
= 0 ;
25255 PyObject
* obj2
= 0 ;
25256 char *kwnames
[] = {
25257 (char *) "self",(char *) "x",(char *) "y", NULL
25260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25261 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25262 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25264 temp2
= PyInt_AsLong(obj1
);
25265 if (PyErr_Occurred()) SWIG_fail
;
25269 temp3
= PyInt_AsLong(obj2
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25275 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
25277 wxPyEndAllowThreads(__tstate
);
25278 if (PyErr_Occurred()) SWIG_fail
;
25280 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25283 resultobj
= t_output_helper(resultobj
,o
);
25286 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25287 resultobj
= t_output_helper(resultobj
,o
);
25295 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25296 PyObject
*resultobj
;
25297 wxWindow
*arg1
= (wxWindow
*) 0 ;
25298 int *arg2
= (int *) 0 ;
25299 int *arg3
= (int *) 0 ;
25302 PyObject
* obj0
= 0 ;
25303 PyObject
* obj1
= 0 ;
25304 PyObject
* obj2
= 0 ;
25305 char *kwnames
[] = {
25306 (char *) "self",(char *) "x",(char *) "y", NULL
25309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25313 temp2
= PyInt_AsLong(obj1
);
25314 if (PyErr_Occurred()) SWIG_fail
;
25318 temp3
= PyInt_AsLong(obj2
);
25319 if (PyErr_Occurred()) SWIG_fail
;
25323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25324 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 Py_INCREF(Py_None
); resultobj
= Py_None
;
25331 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
25332 resultobj
= t_output_helper(resultobj
,o
);
25335 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
25336 resultobj
= t_output_helper(resultobj
,o
);
25344 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25345 PyObject
*resultobj
;
25346 wxWindow
*arg1
= (wxWindow
*) 0 ;
25347 wxPoint
*arg2
= 0 ;
25350 PyObject
* obj0
= 0 ;
25351 PyObject
* obj1
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "pt", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25365 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
25367 wxPyEndAllowThreads(__tstate
);
25368 if (PyErr_Occurred()) SWIG_fail
;
25371 wxPoint
* resultptr
;
25372 resultptr
= new wxPoint((wxPoint
&) result
);
25373 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25381 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25382 PyObject
*resultobj
;
25383 wxWindow
*arg1
= (wxWindow
*) 0 ;
25384 wxPoint
*arg2
= 0 ;
25387 PyObject
* obj0
= 0 ;
25388 PyObject
* obj1
= 0 ;
25389 char *kwnames
[] = {
25390 (char *) "self",(char *) "pt", NULL
25393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
25394 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25395 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25402 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
25404 wxPyEndAllowThreads(__tstate
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25408 wxPoint
* resultptr
;
25409 resultptr
= new wxPoint((wxPoint
&) result
);
25410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
25418 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25419 PyObject
*resultobj
;
25420 wxWindow
*arg1
= (wxWindow
*) 0 ;
25424 PyObject
* obj0
= 0 ;
25425 PyObject
* obj1
= 0 ;
25426 PyObject
* obj2
= 0 ;
25427 char *kwnames
[] = {
25428 (char *) "self",(char *) "x",(char *) "y", NULL
25431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25432 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25433 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25434 arg2
= (int) SWIG_AsInt(obj1
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25436 arg3
= (int) SWIG_AsInt(obj2
);
25437 if (PyErr_Occurred()) SWIG_fail
;
25439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25440 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
25442 wxPyEndAllowThreads(__tstate
);
25443 if (PyErr_Occurred()) SWIG_fail
;
25445 resultobj
= SWIG_FromInt((int)result
);
25452 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25453 PyObject
*resultobj
;
25454 wxWindow
*arg1
= (wxWindow
*) 0 ;
25455 wxPoint
*arg2
= 0 ;
25458 PyObject
* obj0
= 0 ;
25459 PyObject
* obj1
= 0 ;
25460 char *kwnames
[] = {
25461 (char *) "self",(char *) "pt", NULL
25464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
25465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25469 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25473 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
25475 wxPyEndAllowThreads(__tstate
);
25476 if (PyErr_Occurred()) SWIG_fail
;
25478 resultobj
= SWIG_FromInt((int)result
);
25485 static PyObject
*_wrap_Window_GetBorder__SWIG_0(PyObject
*self
, PyObject
*args
) {
25486 PyObject
*resultobj
;
25487 wxWindow
*arg1
= (wxWindow
*) 0 ;
25490 PyObject
* obj0
= 0 ;
25491 PyObject
* obj1
= 0 ;
25493 if(!PyArg_ParseTuple(args
,(char *)"OO:Window_GetBorder",&obj0
,&obj1
)) goto fail
;
25494 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25495 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25496 arg2
= (long) SWIG_AsLong(obj1
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25500 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
25502 wxPyEndAllowThreads(__tstate
);
25503 if (PyErr_Occurred()) SWIG_fail
;
25505 resultobj
= SWIG_FromInt((int)result
);
25512 static PyObject
*_wrap_Window_GetBorder__SWIG_1(PyObject
*self
, PyObject
*args
) {
25513 PyObject
*resultobj
;
25514 wxWindow
*arg1
= (wxWindow
*) 0 ;
25516 PyObject
* obj0
= 0 ;
25518 if(!PyArg_ParseTuple(args
,(char *)"O:Window_GetBorder",&obj0
)) goto fail
;
25519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25523 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
25525 wxPyEndAllowThreads(__tstate
);
25526 if (PyErr_Occurred()) SWIG_fail
;
25528 resultobj
= SWIG_FromInt((int)result
);
25535 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
) {
25540 argc
= PyObject_Length(args
);
25541 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
25542 argv
[ii
] = PyTuple_GetItem(args
,ii
);
25548 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25556 return _wrap_Window_GetBorder__SWIG_1(self
,args
);
25563 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
25571 _v
= SWIG_CheckLong(argv
[1]);
25573 return _wrap_Window_GetBorder__SWIG_0(self
,args
);
25578 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'Window_GetBorder'");
25583 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25584 PyObject
*resultobj
;
25585 wxWindow
*arg1
= (wxWindow
*) 0 ;
25586 long arg2
= (long) wxUPDATE_UI_NONE
;
25587 PyObject
* obj0
= 0 ;
25588 PyObject
* obj1
= 0 ;
25589 char *kwnames
[] = {
25590 (char *) "self",(char *) "flags", NULL
25593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_UpdateWindowUI",kwnames
,&obj0
,&obj1
)) goto fail
;
25594 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25595 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25597 arg2
= (long) SWIG_AsLong(obj1
);
25598 if (PyErr_Occurred()) SWIG_fail
;
25601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25602 (arg1
)->UpdateWindowUI(arg2
);
25604 wxPyEndAllowThreads(__tstate
);
25605 if (PyErr_Occurred()) SWIG_fail
;
25607 Py_INCREF(Py_None
); resultobj
= Py_None
;
25614 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25615 PyObject
*resultobj
;
25616 wxWindow
*arg1
= (wxWindow
*) 0 ;
25617 wxMenu
*arg2
= (wxMenu
*) 0 ;
25621 PyObject
* obj0
= 0 ;
25622 PyObject
* obj1
= 0 ;
25623 PyObject
* obj2
= 0 ;
25624 PyObject
* obj3
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25631 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25632 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25634 arg3
= (int) SWIG_AsInt(obj2
);
25635 if (PyErr_Occurred()) SWIG_fail
;
25636 arg4
= (int) SWIG_AsInt(obj3
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25640 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25652 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25653 PyObject
*resultobj
;
25654 wxWindow
*arg1
= (wxWindow
*) 0 ;
25655 wxMenu
*arg2
= (wxMenu
*) 0 ;
25656 wxPoint
*arg3
= 0 ;
25659 PyObject
* obj0
= 0 ;
25660 PyObject
* obj1
= 0 ;
25661 PyObject
* obj2
= 0 ;
25662 char *kwnames
[] = {
25663 (char *) "self",(char *) "menu",(char *) "pos", NULL
25666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25667 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25668 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25669 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
25670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25673 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25689 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25690 PyObject
*resultobj
;
25691 wxWindow
*arg1
= (wxWindow
*) 0 ;
25693 PyObject
* obj0
= 0 ;
25694 char *kwnames
[] = {
25695 (char *) "self", NULL
25698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
25699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25703 result
= (long)wxWindow_GetHandle(arg1
);
25705 wxPyEndAllowThreads(__tstate
);
25706 if (PyErr_Occurred()) SWIG_fail
;
25708 resultobj
= SWIG_FromLong((long)result
);
25715 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxWindow
*arg1
= (wxWindow
*) 0 ;
25718 wxPaintEvent
*arg2
= 0 ;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj1
= 0 ;
25721 char *kwnames
[] = {
25722 (char *) "self",(char *) "event", NULL
25725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
25726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25728 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPaintEvent
,
25729 SWIG_POINTER_EXCEPTION
| 0)) == -1)
25731 if (arg2
== NULL
) {
25732 PyErr_SetString(PyExc_TypeError
,"null reference");
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 (arg1
)->OnPaint(*arg2
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 Py_INCREF(Py_None
); resultobj
= Py_None
;
25749 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25750 PyObject
*resultobj
;
25751 wxWindow
*arg1
= (wxWindow
*) 0 ;
25754 PyObject
* obj0
= 0 ;
25755 PyObject
* obj1
= 0 ;
25756 char *kwnames
[] = {
25757 (char *) "self",(char *) "orient", NULL
25760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HasScrollbar",kwnames
,&obj0
,&obj1
)) goto fail
;
25761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25763 arg2
= (int) SWIG_AsInt(obj1
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25767 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
25769 wxPyEndAllowThreads(__tstate
);
25770 if (PyErr_Occurred()) SWIG_fail
;
25772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25779 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25780 PyObject
*resultobj
;
25781 wxWindow
*arg1
= (wxWindow
*) 0 ;
25786 bool arg6
= (bool) True
;
25787 PyObject
* obj0
= 0 ;
25788 PyObject
* obj1
= 0 ;
25789 PyObject
* obj2
= 0 ;
25790 PyObject
* obj3
= 0 ;
25791 PyObject
* obj4
= 0 ;
25792 PyObject
* obj5
= 0 ;
25793 char *kwnames
[] = {
25794 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
25797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Window_SetScrollbar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
25798 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25799 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25800 arg2
= (int) SWIG_AsInt(obj1
);
25801 if (PyErr_Occurred()) SWIG_fail
;
25802 arg3
= (int) SWIG_AsInt(obj2
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25804 arg4
= (int) SWIG_AsInt(obj3
);
25805 if (PyErr_Occurred()) SWIG_fail
;
25806 arg5
= (int) SWIG_AsInt(obj4
);
25807 if (PyErr_Occurred()) SWIG_fail
;
25809 arg6
= (bool) SWIG_AsBool(obj5
);
25810 if (PyErr_Occurred()) SWIG_fail
;
25813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25814 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
25816 wxPyEndAllowThreads(__tstate
);
25817 if (PyErr_Occurred()) SWIG_fail
;
25819 Py_INCREF(Py_None
); resultobj
= Py_None
;
25826 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25827 PyObject
*resultobj
;
25828 wxWindow
*arg1
= (wxWindow
*) 0 ;
25831 bool arg4
= (bool) True
;
25832 PyObject
* obj0
= 0 ;
25833 PyObject
* obj1
= 0 ;
25834 PyObject
* obj2
= 0 ;
25835 PyObject
* obj3
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "orientation",(char *) "pos",(char *) "refresh", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_SetScrollPos",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25842 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25843 arg2
= (int) SWIG_AsInt(obj1
);
25844 if (PyErr_Occurred()) SWIG_fail
;
25845 arg3
= (int) SWIG_AsInt(obj2
);
25846 if (PyErr_Occurred()) SWIG_fail
;
25848 arg4
= (bool) SWIG_AsBool(obj3
);
25849 if (PyErr_Occurred()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxWindow
*arg1
= (wxWindow
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 PyObject
* obj1
= 0 ;
25872 char *kwnames
[] = {
25873 (char *) "self",(char *) "orientation", NULL
25876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollPos",kwnames
,&obj0
,&obj1
)) goto fail
;
25877 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25878 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25879 arg2
= (int) SWIG_AsInt(obj1
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25883 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
25885 wxPyEndAllowThreads(__tstate
);
25886 if (PyErr_Occurred()) SWIG_fail
;
25888 resultobj
= SWIG_FromInt((int)result
);
25895 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25896 PyObject
*resultobj
;
25897 wxWindow
*arg1
= (wxWindow
*) 0 ;
25900 PyObject
* obj0
= 0 ;
25901 PyObject
* obj1
= 0 ;
25902 char *kwnames
[] = {
25903 (char *) "self",(char *) "orientation", NULL
25906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollThumb",kwnames
,&obj0
,&obj1
)) goto fail
;
25907 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25909 arg2
= (int) SWIG_AsInt(obj1
);
25910 if (PyErr_Occurred()) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= SWIG_FromInt((int)result
);
25925 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxWindow
*arg1
= (wxWindow
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char *kwnames
[] = {
25933 (char *) "self",(char *) "orientation", NULL
25936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetScrollRange",kwnames
,&obj0
,&obj1
)) goto fail
;
25937 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25938 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25939 arg2
= (int) SWIG_AsInt(obj1
);
25940 if (PyErr_Occurred()) SWIG_fail
;
25942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25943 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
25945 wxPyEndAllowThreads(__tstate
);
25946 if (PyErr_Occurred()) SWIG_fail
;
25948 resultobj
= SWIG_FromInt((int)result
);
25955 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25956 PyObject
*resultobj
;
25957 wxWindow
*arg1
= (wxWindow
*) 0 ;
25960 wxRect
*arg4
= (wxRect
*) NULL
;
25961 PyObject
* obj0
= 0 ;
25962 PyObject
* obj1
= 0 ;
25963 PyObject
* obj2
= 0 ;
25964 PyObject
* obj3
= 0 ;
25965 char *kwnames
[] = {
25966 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
25969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Window_ScrollWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
25970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
25971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25972 arg2
= (int) SWIG_AsInt(obj1
);
25973 if (PyErr_Occurred()) SWIG_fail
;
25974 arg3
= (int) SWIG_AsInt(obj2
);
25975 if (PyErr_Occurred()) SWIG_fail
;
25977 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxRect
,
25978 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
25984 wxPyEndAllowThreads(__tstate
);
25985 if (PyErr_Occurred()) SWIG_fail
;
25987 Py_INCREF(Py_None
); resultobj
= Py_None
;
25994 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxWindow
*arg1
= (wxWindow
*) 0 ;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "lines", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollLines",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26008 arg2
= (int) SWIG_AsInt(obj1
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26012 result
= (bool)(arg1
)->ScrollLines(arg2
);
26014 wxPyEndAllowThreads(__tstate
);
26015 if (PyErr_Occurred()) SWIG_fail
;
26017 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26024 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxWindow
*arg1
= (wxWindow
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 PyObject
* obj1
= 0 ;
26031 char *kwnames
[] = {
26032 (char *) "self",(char *) "pages", NULL
26035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScrollPages",kwnames
,&obj0
,&obj1
)) goto fail
;
26036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26038 arg2
= (int) SWIG_AsInt(obj1
);
26039 if (PyErr_Occurred()) SWIG_fail
;
26041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26042 result
= (bool)(arg1
)->ScrollPages(arg2
);
26044 wxPyEndAllowThreads(__tstate
);
26045 if (PyErr_Occurred()) SWIG_fail
;
26047 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26054 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26055 PyObject
*resultobj
;
26056 wxWindow
*arg1
= (wxWindow
*) 0 ;
26058 PyObject
* obj0
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26065 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26068 result
= (bool)(arg1
)->LineUp();
26070 wxPyEndAllowThreads(__tstate
);
26071 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26080 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26081 PyObject
*resultobj
;
26082 wxWindow
*arg1
= (wxWindow
*) 0 ;
26084 PyObject
* obj0
= 0 ;
26085 char *kwnames
[] = {
26086 (char *) "self", NULL
26089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
26090 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26091 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (bool)(arg1
)->LineDown();
26096 wxPyEndAllowThreads(__tstate
);
26097 if (PyErr_Occurred()) SWIG_fail
;
26099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26106 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26107 PyObject
*resultobj
;
26108 wxWindow
*arg1
= (wxWindow
*) 0 ;
26110 PyObject
* obj0
= 0 ;
26111 char *kwnames
[] = {
26112 (char *) "self", NULL
26115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
26116 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26117 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26120 result
= (bool)(arg1
)->PageUp();
26122 wxPyEndAllowThreads(__tstate
);
26123 if (PyErr_Occurred()) SWIG_fail
;
26125 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26132 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxWindow
*arg1
= (wxWindow
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
26142 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26143 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 result
= (bool)(arg1
)->PageDown();
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26158 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxWindow
*arg1
= (wxWindow
*) 0 ;
26161 wxString
*arg2
= 0 ;
26162 bool temp2
= False
;
26163 PyObject
* obj0
= 0 ;
26164 PyObject
* obj1
= 0 ;
26165 char *kwnames
[] = {
26166 (char *) "self",(char *) "text", NULL
26169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
26170 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26171 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26173 arg2
= wxString_in_helper(obj1
);
26174 if (arg2
== NULL
) SWIG_fail
;
26178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26179 (arg1
)->SetHelpText((wxString
const &)*arg2
);
26181 wxPyEndAllowThreads(__tstate
);
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 Py_INCREF(Py_None
); resultobj
= Py_None
;
26199 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26200 PyObject
*resultobj
;
26201 wxWindow
*arg1
= (wxWindow
*) 0 ;
26202 wxString
*arg2
= 0 ;
26203 bool temp2
= False
;
26204 PyObject
* obj0
= 0 ;
26205 PyObject
* obj1
= 0 ;
26206 char *kwnames
[] = {
26207 (char *) "self",(char *) "text", NULL
26210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
26211 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26212 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26214 arg2
= wxString_in_helper(obj1
);
26215 if (arg2
== NULL
) SWIG_fail
;
26219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26220 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
26222 wxPyEndAllowThreads(__tstate
);
26223 if (PyErr_Occurred()) SWIG_fail
;
26225 Py_INCREF(Py_None
); resultobj
= Py_None
;
26240 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26241 PyObject
*resultobj
;
26242 wxWindow
*arg1
= (wxWindow
*) 0 ;
26244 PyObject
* obj0
= 0 ;
26245 char *kwnames
[] = {
26246 (char *) "self", NULL
26249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
26250 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26251 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= ((wxWindow
const *)arg1
)->GetHelpText();
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26272 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26273 PyObject
*resultobj
;
26274 wxWindow
*arg1
= (wxWindow
*) 0 ;
26275 wxString
*arg2
= 0 ;
26276 bool temp2
= False
;
26277 PyObject
* obj0
= 0 ;
26278 PyObject
* obj1
= 0 ;
26279 char *kwnames
[] = {
26280 (char *) "self",(char *) "tip", NULL
26283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
26284 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26285 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26287 arg2
= wxString_in_helper(obj1
);
26288 if (arg2
== NULL
) SWIG_fail
;
26292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26293 (arg1
)->SetToolTip((wxString
const &)*arg2
);
26295 wxPyEndAllowThreads(__tstate
);
26296 if (PyErr_Occurred()) SWIG_fail
;
26298 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxWindow
*arg1
= (wxWindow
*) 0 ;
26316 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 PyObject
* obj1
= 0 ;
26319 char *kwnames
[] = {
26320 (char *) "self",(char *) "tip", NULL
26323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
26324 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26325 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26326 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxToolTip
,
26327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26330 (arg1
)->SetToolTip(arg2
);
26332 wxPyEndAllowThreads(__tstate
);
26333 if (PyErr_Occurred()) SWIG_fail
;
26335 Py_INCREF(Py_None
); resultobj
= Py_None
;
26342 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26343 PyObject
*resultobj
;
26344 wxWindow
*arg1
= (wxWindow
*) 0 ;
26346 PyObject
* obj0
= 0 ;
26347 char *kwnames
[] = {
26348 (char *) "self", NULL
26351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
26352 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26353 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26356 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
26358 wxPyEndAllowThreads(__tstate
);
26359 if (PyErr_Occurred()) SWIG_fail
;
26362 resultobj
= wxPyMake_wxObject(result
);
26370 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26371 PyObject
*resultobj
;
26372 wxWindow
*arg1
= (wxWindow
*) 0 ;
26373 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
26374 PyObject
* obj0
= 0 ;
26375 PyObject
* obj1
= 0 ;
26376 char *kwnames
[] = {
26377 (char *) "self",(char *) "dropTarget", NULL
26380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
26381 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26382 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26383 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxPyDropTarget
,
26384 SWIG_POINTER_EXCEPTION
| SWIG_POINTER_DISOWN
)) == -1) SWIG_fail
;
26386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26387 (arg1
)->SetDropTarget(arg2
);
26389 wxPyEndAllowThreads(__tstate
);
26390 if (PyErr_Occurred()) SWIG_fail
;
26392 Py_INCREF(Py_None
); resultobj
= Py_None
;
26399 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 wxWindow
*arg1
= (wxWindow
*) 0 ;
26402 wxPyDropTarget
*result
;
26403 PyObject
* obj0
= 0 ;
26404 char *kwnames
[] = {
26405 (char *) "self", NULL
26408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
26409 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26410 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26413 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
26415 wxPyEndAllowThreads(__tstate
);
26416 if (PyErr_Occurred()) SWIG_fail
;
26418 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyDropTarget
, 0);
26425 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxWindow
*arg1
= (wxWindow
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "accept", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26437 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26438 arg2
= (bool) SWIG_AsBool(obj1
);
26439 if (PyErr_Occurred()) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->DragAcceptFiles(arg2
);
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 Py_INCREF(Py_None
); resultobj
= Py_None
;
26454 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxWindow
*arg1
= (wxWindow
*) 0 ;
26457 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 PyObject
* obj1
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self",(char *) "constraints", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26466 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26467 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
26468 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->SetConstraints(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 Py_INCREF(Py_None
); resultobj
= Py_None
;
26483 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxWindow
*arg1
= (wxWindow
*) 0 ;
26486 wxLayoutConstraints
*result
;
26487 PyObject
* obj0
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26497 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
26499 wxPyEndAllowThreads(__tstate
);
26500 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 0);
26509 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26510 PyObject
*resultobj
;
26511 wxWindow
*arg1
= (wxWindow
*) 0 ;
26513 PyObject
* obj0
= 0 ;
26514 PyObject
* obj1
= 0 ;
26515 char *kwnames
[] = {
26516 (char *) "self",(char *) "autoLayout", NULL
26519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
26520 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26521 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26522 arg2
= (bool) SWIG_AsBool(obj1
);
26523 if (PyErr_Occurred()) SWIG_fail
;
26525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26526 (arg1
)->SetAutoLayout(arg2
);
26528 wxPyEndAllowThreads(__tstate
);
26529 if (PyErr_Occurred()) SWIG_fail
;
26531 Py_INCREF(Py_None
); resultobj
= Py_None
;
26538 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26539 PyObject
*resultobj
;
26540 wxWindow
*arg1
= (wxWindow
*) 0 ;
26542 PyObject
* obj0
= 0 ;
26543 char *kwnames
[] = {
26544 (char *) "self", NULL
26547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
26548 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26549 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26552 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
26554 wxPyEndAllowThreads(__tstate
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26564 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxWindow
*arg1
= (wxWindow
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
26574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26578 result
= (bool)(arg1
)->Layout();
26580 wxPyEndAllowThreads(__tstate
);
26581 if (PyErr_Occurred()) SWIG_fail
;
26583 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26590 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26591 PyObject
*resultobj
;
26592 wxWindow
*arg1
= (wxWindow
*) 0 ;
26593 wxSizer
*arg2
= (wxSizer
*) 0 ;
26594 bool arg3
= (bool) True
;
26595 PyObject
* obj0
= 0 ;
26596 PyObject
* obj1
= 0 ;
26597 PyObject
* obj2
= 0 ;
26598 char *kwnames
[] = {
26599 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26605 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26606 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26608 arg3
= (bool) SWIG_AsBool(obj2
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26613 (arg1
)->SetSizer(arg2
,arg3
);
26615 wxPyEndAllowThreads(__tstate
);
26616 if (PyErr_Occurred()) SWIG_fail
;
26618 Py_INCREF(Py_None
); resultobj
= Py_None
;
26625 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26626 PyObject
*resultobj
;
26627 wxWindow
*arg1
= (wxWindow
*) 0 ;
26628 wxSizer
*arg2
= (wxSizer
*) 0 ;
26629 bool arg3
= (bool) True
;
26630 PyObject
* obj0
= 0 ;
26631 PyObject
* obj1
= 0 ;
26632 PyObject
* obj2
= 0 ;
26633 char *kwnames
[] = {
26634 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
26637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) 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 arg3
= (bool) SWIG_AsBool(obj2
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 (arg1
)->SetSizerAndFit(arg2
,arg3
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 Py_INCREF(Py_None
); resultobj
= Py_None
;
26660 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxWindow
*arg1
= (wxWindow
*) 0 ;
26664 PyObject
* obj0
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26674 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
26676 wxPyEndAllowThreads(__tstate
);
26677 if (PyErr_Occurred()) SWIG_fail
;
26680 resultobj
= wxPyMake_wxSizer(result
);
26688 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26689 PyObject
*resultobj
;
26690 wxWindow
*arg1
= (wxWindow
*) 0 ;
26691 wxSizer
*arg2
= (wxSizer
*) 0 ;
26692 PyObject
* obj0
= 0 ;
26693 PyObject
* obj1
= 0 ;
26694 char *kwnames
[] = {
26695 (char *) "self",(char *) "sizer", NULL
26698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
26699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
26702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26705 (arg1
)->SetContainingSizer(arg2
);
26707 wxPyEndAllowThreads(__tstate
);
26708 if (PyErr_Occurred()) SWIG_fail
;
26710 Py_INCREF(Py_None
); resultobj
= Py_None
;
26717 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26718 PyObject
*resultobj
;
26719 wxWindow
*arg1
= (wxWindow
*) 0 ;
26721 PyObject
* obj0
= 0 ;
26722 char *kwnames
[] = {
26723 (char *) "self", NULL
26726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
26727 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
26728 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26731 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26737 resultobj
= wxPyMake_wxSizer(result
);
26745 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
26747 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26748 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
26750 return Py_BuildValue((char *)"");
26752 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26753 PyObject
*resultobj
;
26755 wxWindow
*arg2
= (wxWindow
*) NULL
;
26757 PyObject
* obj0
= 0 ;
26758 PyObject
* obj1
= 0 ;
26759 char *kwnames
[] = {
26760 (char *) "id",(char *) "parent", NULL
26763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowById",kwnames
,&obj0
,&obj1
)) goto fail
;
26764 arg1
= (long) SWIG_AsLong(obj0
);
26765 if (PyErr_Occurred()) SWIG_fail
;
26767 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26768 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26772 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
26774 wxPyEndAllowThreads(__tstate
);
26775 if (PyErr_Occurred()) SWIG_fail
;
26778 resultobj
= wxPyMake_wxObject(result
);
26786 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26787 PyObject
*resultobj
;
26788 wxString
*arg1
= 0 ;
26789 wxWindow
*arg2
= (wxWindow
*) NULL
;
26791 bool temp1
= False
;
26792 PyObject
* obj0
= 0 ;
26793 PyObject
* obj1
= 0 ;
26794 char *kwnames
[] = {
26795 (char *) "name",(char *) "parent", NULL
26798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
26800 arg1
= wxString_in_helper(obj0
);
26801 if (arg1
== NULL
) SWIG_fail
;
26805 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26806 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26810 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= wxPyMake_wxObject(result
);
26832 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26833 PyObject
*resultobj
;
26834 wxString
*arg1
= 0 ;
26835 wxWindow
*arg2
= (wxWindow
*) NULL
;
26837 bool temp1
= False
;
26838 PyObject
* obj0
= 0 ;
26839 PyObject
* obj1
= 0 ;
26840 char *kwnames
[] = {
26841 (char *) "label",(char *) "parent", NULL
26844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
26846 arg1
= wxString_in_helper(obj0
);
26847 if (arg1
== NULL
) SWIG_fail
;
26851 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26862 resultobj
= wxPyMake_wxObject(result
);
26878 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 unsigned long arg1
;
26882 PyObject
* obj0
= 0 ;
26883 char *kwnames
[] = {
26884 (char *) "hWnd", NULL
26887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
26888 arg1
= (unsigned long) SWIG_AsUnsignedLong(obj0
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26892 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
26894 wxPyEndAllowThreads(__tstate
);
26895 if (PyErr_Occurred()) SWIG_fail
;
26898 resultobj
= wxPyMake_wxObject(result
);
26906 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26907 PyObject
*resultobj
;
26908 wxValidator
*result
;
26909 char *kwnames
[] = {
26913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= (wxValidator
*)new wxValidator();
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26922 resultobj
= wxPyMake_wxObject(result
);
26930 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26931 PyObject
*resultobj
;
26932 wxValidator
*arg1
= (wxValidator
*) 0 ;
26933 wxValidator
*result
;
26934 PyObject
* obj0
= 0 ;
26935 char *kwnames
[] = {
26936 (char *) "self", NULL
26939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
26940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26944 result
= (wxValidator
*)(arg1
)->Clone();
26946 wxPyEndAllowThreads(__tstate
);
26947 if (PyErr_Occurred()) SWIG_fail
;
26950 resultobj
= wxPyMake_wxObject(result
);
26958 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
;
26960 wxValidator
*arg1
= (wxValidator
*) 0 ;
26961 wxWindow
*arg2
= (wxWindow
*) 0 ;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 char *kwnames
[] = {
26966 (char *) "self",(char *) "parent", NULL
26969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
26970 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26971 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26972 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
26973 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
26975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26976 result
= (bool)(arg1
)->Validate(arg2
);
26978 wxPyEndAllowThreads(__tstate
);
26979 if (PyErr_Occurred()) SWIG_fail
;
26981 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26988 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxValidator
*arg1
= (wxValidator
*) 0 ;
26992 PyObject
* obj0
= 0 ;
26993 char *kwnames
[] = {
26994 (char *) "self", NULL
26997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
26998 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
26999 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27002 result
= (bool)(arg1
)->TransferToWindow();
27004 wxPyEndAllowThreads(__tstate
);
27005 if (PyErr_Occurred()) SWIG_fail
;
27007 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27014 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27015 PyObject
*resultobj
;
27016 wxValidator
*arg1
= (wxValidator
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 char *kwnames
[] = {
27020 (char *) "self", NULL
27023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
27024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27028 result
= (bool)(arg1
)->TransferFromWindow();
27030 wxPyEndAllowThreads(__tstate
);
27031 if (PyErr_Occurred()) SWIG_fail
;
27033 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27040 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27041 PyObject
*resultobj
;
27042 wxValidator
*arg1
= (wxValidator
*) 0 ;
27044 PyObject
* obj0
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27051 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27054 result
= (wxWindow
*)(arg1
)->GetWindow();
27056 wxPyEndAllowThreads(__tstate
);
27057 if (PyErr_Occurred()) SWIG_fail
;
27060 resultobj
= wxPyMake_wxObject(result
);
27068 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxValidator
*arg1
= (wxValidator
*) 0 ;
27071 wxWindow
*arg2
= (wxWindow
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 PyObject
* obj1
= 0 ;
27074 char *kwnames
[] = {
27075 (char *) "self",(char *) "window", NULL
27078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
27079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxValidator
,
27080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27081 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
27082 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 (arg1
)->SetWindow(arg2
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 Py_INCREF(Py_None
); resultobj
= Py_None
;
27097 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27100 char *kwnames
[] = {
27104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (bool)wxValidator::IsSilent();
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27119 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 int arg1
= (int) True
;
27122 PyObject
* obj0
= 0 ;
27123 char *kwnames
[] = {
27124 (char *) "doIt", NULL
27127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Validator_SetBellOnError",kwnames
,&obj0
)) goto fail
;
27129 arg1
= (int) SWIG_AsInt(obj0
);
27130 if (PyErr_Occurred()) SWIG_fail
;
27133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27134 wxValidator::SetBellOnError(arg1
);
27136 wxPyEndAllowThreads(__tstate
);
27137 if (PyErr_Occurred()) SWIG_fail
;
27139 Py_INCREF(Py_None
); resultobj
= Py_None
;
27146 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
27148 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27149 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
27151 return Py_BuildValue((char *)"");
27153 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
;
27155 wxPyValidator
*result
;
27156 char *kwnames
[] = {
27160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
27162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27163 result
= (wxPyValidator
*)new wxPyValidator();
27165 wxPyEndAllowThreads(__tstate
);
27166 if (PyErr_Occurred()) SWIG_fail
;
27168 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPyValidator
, 1);
27175 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
27178 PyObject
*arg2
= (PyObject
*) 0 ;
27179 PyObject
*arg3
= (PyObject
*) 0 ;
27180 int arg4
= (int) True
;
27181 PyObject
* obj0
= 0 ;
27182 PyObject
* obj1
= 0 ;
27183 PyObject
* obj2
= 0 ;
27184 PyObject
* obj3
= 0 ;
27185 char *kwnames
[] = {
27186 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
27189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27190 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPyValidator
,
27191 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27195 arg4
= (int) SWIG_AsInt(obj3
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
27202 wxPyEndAllowThreads(__tstate
);
27203 if (PyErr_Occurred()) SWIG_fail
;
27205 Py_INCREF(Py_None
); resultobj
= Py_None
;
27212 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
27214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27215 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
27217 return Py_BuildValue((char *)"");
27219 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
27220 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
27225 static PyObject
*_wrap_DefaultValidator_get() {
27228 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultValidator
), SWIGTYPE_p_wxValidator
, 0);
27233 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxString
const &arg1_defvalue
= wxPyEmptyString
;
27236 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27237 long arg2
= (long) 0 ;
27239 bool temp1
= False
;
27240 PyObject
* obj0
= 0 ;
27241 PyObject
* obj1
= 0 ;
27242 char *kwnames
[] = {
27243 (char *) "title",(char *) "style", NULL
27246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_Menu",kwnames
,&obj0
,&obj1
)) goto fail
;
27249 arg1
= wxString_in_helper(obj0
);
27250 if (arg1
== NULL
) SWIG_fail
;
27255 arg2
= (long) SWIG_AsLong(obj1
);
27256 if (PyErr_Occurred()) SWIG_fail
;
27259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27260 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
27262 wxPyEndAllowThreads(__tstate
);
27263 if (PyErr_Occurred()) SWIG_fail
;
27266 resultobj
= wxPyMake_wxObject(result
);
27282 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27283 PyObject
*resultobj
;
27284 wxMenu
*arg1
= (wxMenu
*) 0 ;
27286 wxString
*arg3
= 0 ;
27287 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27288 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27289 int arg5
= (int) wxITEM_NORMAL
;
27290 wxMenuItem
*result
;
27291 bool temp3
= False
;
27292 bool temp4
= False
;
27293 PyObject
* obj0
= 0 ;
27294 PyObject
* obj1
= 0 ;
27295 PyObject
* obj2
= 0 ;
27296 PyObject
* obj3
= 0 ;
27297 PyObject
* obj4
= 0 ;
27298 char *kwnames
[] = {
27299 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Append",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27303 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27304 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27305 arg2
= (int) SWIG_AsInt(obj1
);
27306 if (PyErr_Occurred()) SWIG_fail
;
27308 arg3
= wxString_in_helper(obj2
);
27309 if (arg3
== NULL
) SWIG_fail
;
27314 arg4
= wxString_in_helper(obj3
);
27315 if (arg4
== NULL
) SWIG_fail
;
27320 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
27321 if (PyErr_Occurred()) SWIG_fail
;
27324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27325 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
27327 wxPyEndAllowThreads(__tstate
);
27328 if (PyErr_Occurred()) SWIG_fail
;
27331 resultobj
= wxPyMake_wxObject(result
);
27355 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27356 PyObject
*resultobj
;
27357 wxMenu
*arg1
= (wxMenu
*) 0 ;
27358 wxMenuItem
*result
;
27359 PyObject
* obj0
= 0 ;
27360 char *kwnames
[] = {
27361 (char *) "self", NULL
27364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
27365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27369 result
= (wxMenuItem
*)(arg1
)->AppendSeparator();
27371 wxPyEndAllowThreads(__tstate
);
27372 if (PyErr_Occurred()) SWIG_fail
;
27375 resultobj
= wxPyMake_wxObject(result
);
27383 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27384 PyObject
*resultobj
;
27385 wxMenu
*arg1
= (wxMenu
*) 0 ;
27387 wxString
*arg3
= 0 ;
27388 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27389 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27390 wxMenuItem
*result
;
27391 bool temp3
= False
;
27392 bool temp4
= False
;
27393 PyObject
* obj0
= 0 ;
27394 PyObject
* obj1
= 0 ;
27395 PyObject
* obj2
= 0 ;
27396 PyObject
* obj3
= 0 ;
27397 char *kwnames
[] = {
27398 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27402 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27403 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27404 arg2
= (int) SWIG_AsInt(obj1
);
27405 if (PyErr_Occurred()) SWIG_fail
;
27407 arg3
= wxString_in_helper(obj2
);
27408 if (arg3
== NULL
) SWIG_fail
;
27413 arg4
= wxString_in_helper(obj3
);
27414 if (arg4
== NULL
) SWIG_fail
;
27419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27420 result
= (wxMenuItem
*)(arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27422 wxPyEndAllowThreads(__tstate
);
27423 if (PyErr_Occurred()) SWIG_fail
;
27426 resultobj
= wxPyMake_wxObject(result
);
27450 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27451 PyObject
*resultobj
;
27452 wxMenu
*arg1
= (wxMenu
*) 0 ;
27454 wxString
*arg3
= 0 ;
27455 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27456 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27457 wxMenuItem
*result
;
27458 bool temp3
= False
;
27459 bool temp4
= False
;
27460 PyObject
* obj0
= 0 ;
27461 PyObject
* obj1
= 0 ;
27462 PyObject
* obj2
= 0 ;
27463 PyObject
* obj3
= 0 ;
27464 char *kwnames
[] = {
27465 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
27468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27469 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27470 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27471 arg2
= (int) SWIG_AsInt(obj1
);
27472 if (PyErr_Occurred()) SWIG_fail
;
27474 arg3
= wxString_in_helper(obj2
);
27475 if (arg3
== NULL
) SWIG_fail
;
27480 arg4
= wxString_in_helper(obj3
);
27481 if (arg4
== NULL
) SWIG_fail
;
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27487 result
= (wxMenuItem
*)(arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
27489 wxPyEndAllowThreads(__tstate
);
27490 if (PyErr_Occurred()) SWIG_fail
;
27493 resultobj
= wxPyMake_wxObject(result
);
27517 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27518 PyObject
*resultobj
;
27519 wxMenu
*arg1
= (wxMenu
*) 0 ;
27521 wxString
*arg3
= 0 ;
27522 wxMenu
*arg4
= (wxMenu
*) 0 ;
27523 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27524 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27525 wxMenuItem
*result
;
27526 bool temp3
= False
;
27527 bool temp5
= False
;
27528 PyObject
* obj0
= 0 ;
27529 PyObject
* obj1
= 0 ;
27530 PyObject
* obj2
= 0 ;
27531 PyObject
* obj3
= 0 ;
27532 PyObject
* obj4
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_AppendMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27540 arg2
= (int) SWIG_AsInt(obj1
);
27541 if (PyErr_Occurred()) SWIG_fail
;
27543 arg3
= wxString_in_helper(obj2
);
27544 if (arg3
== NULL
) SWIG_fail
;
27547 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
27548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27551 arg5
= wxString_in_helper(obj4
);
27552 if (arg5
== NULL
) SWIG_fail
;
27557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27558 result
= (wxMenuItem
*)(arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
27560 wxPyEndAllowThreads(__tstate
);
27561 if (PyErr_Occurred()) SWIG_fail
;
27564 resultobj
= wxPyMake_wxObject(result
);
27588 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27589 PyObject
*resultobj
;
27590 wxMenu
*arg1
= (wxMenu
*) 0 ;
27591 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
27592 wxMenuItem
*result
;
27593 PyObject
* obj0
= 0 ;
27594 PyObject
* obj1
= 0 ;
27595 char *kwnames
[] = {
27596 (char *) "self",(char *) "item", NULL
27599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
27600 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27601 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27602 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
27603 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27606 result
= (wxMenuItem
*)(arg1
)->Append(arg2
);
27608 wxPyEndAllowThreads(__tstate
);
27609 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= wxPyMake_wxObject(result
);
27620 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxMenu
*arg1
= (wxMenu
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27630 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27635 wxPyEndAllowThreads(__tstate
);
27636 if (PyErr_Occurred()) SWIG_fail
;
27638 Py_INCREF(Py_None
); resultobj
= Py_None
;
27645 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27646 PyObject
*resultobj
;
27647 wxMenu
*arg1
= (wxMenu
*) 0 ;
27649 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
27650 wxMenuItem
*result
;
27651 PyObject
* obj0
= 0 ;
27652 PyObject
* obj1
= 0 ;
27653 PyObject
* obj2
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self",(char *) "pos",(char *) "item", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27660 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27661 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27662 if (PyErr_Occurred()) SWIG_fail
;
27663 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenuItem
,
27664 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27667 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
);
27669 wxPyEndAllowThreads(__tstate
);
27670 if (PyErr_Occurred()) SWIG_fail
;
27673 resultobj
= wxPyMake_wxObject(result
);
27681 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27682 PyObject
*resultobj
;
27683 wxMenu
*arg1
= (wxMenu
*) 0 ;
27686 wxString
*arg4
= 0 ;
27687 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27688 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27689 int arg6
= (int) wxITEM_NORMAL
;
27690 wxMenuItem
*result
;
27691 bool temp4
= False
;
27692 bool temp5
= False
;
27693 PyObject
* obj0
= 0 ;
27694 PyObject
* obj1
= 0 ;
27695 PyObject
* obj2
= 0 ;
27696 PyObject
* obj3
= 0 ;
27697 PyObject
* obj4
= 0 ;
27698 PyObject
* obj5
= 0 ;
27699 char *kwnames
[] = {
27700 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
27703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:Menu_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27704 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27705 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27706 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27707 if (PyErr_Occurred()) SWIG_fail
;
27708 arg3
= (int) SWIG_AsInt(obj2
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 arg4
= wxString_in_helper(obj3
);
27712 if (arg4
== NULL
) SWIG_fail
;
27717 arg5
= wxString_in_helper(obj4
);
27718 if (arg5
== NULL
) SWIG_fail
;
27723 arg6
= (wxItemKind
) SWIG_AsInt(obj5
);
27724 if (PyErr_Occurred()) SWIG_fail
;
27727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27728 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
27730 wxPyEndAllowThreads(__tstate
);
27731 if (PyErr_Occurred()) SWIG_fail
;
27734 resultobj
= wxPyMake_wxObject(result
);
27758 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27759 PyObject
*resultobj
;
27760 wxMenu
*arg1
= (wxMenu
*) 0 ;
27762 wxMenuItem
*result
;
27763 PyObject
* obj0
= 0 ;
27764 PyObject
* obj1
= 0 ;
27765 char *kwnames
[] = {
27766 (char *) "self",(char *) "pos", NULL
27769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
27770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27772 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27773 if (PyErr_Occurred()) SWIG_fail
;
27775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27776 result
= (wxMenuItem
*)(arg1
)->InsertSeparator(arg2
);
27778 wxPyEndAllowThreads(__tstate
);
27779 if (PyErr_Occurred()) SWIG_fail
;
27782 resultobj
= wxPyMake_wxObject(result
);
27790 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27791 PyObject
*resultobj
;
27792 wxMenu
*arg1
= (wxMenu
*) 0 ;
27795 wxString
*arg4
= 0 ;
27796 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27797 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27798 wxMenuItem
*result
;
27799 bool temp4
= False
;
27800 bool temp5
= False
;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 PyObject
* obj2
= 0 ;
27804 PyObject
* obj3
= 0 ;
27805 PyObject
* obj4
= 0 ;
27806 char *kwnames
[] = {
27807 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27811 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27812 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27813 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27814 if (PyErr_Occurred()) SWIG_fail
;
27815 arg3
= (int) SWIG_AsInt(obj2
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 arg4
= wxString_in_helper(obj3
);
27819 if (arg4
== NULL
) SWIG_fail
;
27824 arg5
= wxString_in_helper(obj4
);
27825 if (arg5
== NULL
) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (wxMenuItem
*)(arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27837 resultobj
= wxPyMake_wxObject(result
);
27861 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27862 PyObject
*resultobj
;
27863 wxMenu
*arg1
= (wxMenu
*) 0 ;
27866 wxString
*arg4
= 0 ;
27867 wxString
const &arg5_defvalue
= wxPyEmptyString
;
27868 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
27869 wxMenuItem
*result
;
27870 bool temp4
= False
;
27871 bool temp5
= False
;
27872 PyObject
* obj0
= 0 ;
27873 PyObject
* obj1
= 0 ;
27874 PyObject
* obj2
= 0 ;
27875 PyObject
* obj3
= 0 ;
27876 PyObject
* obj4
= 0 ;
27877 char *kwnames
[] = {
27878 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
27881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
27882 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27883 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27884 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27885 if (PyErr_Occurred()) SWIG_fail
;
27886 arg3
= (int) SWIG_AsInt(obj2
);
27887 if (PyErr_Occurred()) SWIG_fail
;
27889 arg4
= wxString_in_helper(obj3
);
27890 if (arg4
== NULL
) SWIG_fail
;
27895 arg5
= wxString_in_helper(obj4
);
27896 if (arg5
== NULL
) SWIG_fail
;
27901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27902 result
= (wxMenuItem
*)(arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
27904 wxPyEndAllowThreads(__tstate
);
27905 if (PyErr_Occurred()) SWIG_fail
;
27908 resultobj
= wxPyMake_wxObject(result
);
27932 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27933 PyObject
*resultobj
;
27934 wxMenu
*arg1
= (wxMenu
*) 0 ;
27937 wxString
*arg4
= 0 ;
27938 wxMenu
*arg5
= (wxMenu
*) 0 ;
27939 wxString
const &arg6_defvalue
= wxPyEmptyString
;
27940 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
27941 wxMenuItem
*result
;
27942 bool temp4
= False
;
27943 bool temp6
= False
;
27944 PyObject
* obj0
= 0 ;
27945 PyObject
* obj1
= 0 ;
27946 PyObject
* obj2
= 0 ;
27947 PyObject
* obj3
= 0 ;
27948 PyObject
* obj4
= 0 ;
27949 PyObject
* obj5
= 0 ;
27950 char *kwnames
[] = {
27951 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
27954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
27955 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
27956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27957 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
27958 if (PyErr_Occurred()) SWIG_fail
;
27959 arg3
= (int) SWIG_AsInt(obj2
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 arg4
= wxString_in_helper(obj3
);
27963 if (arg4
== NULL
) SWIG_fail
;
27966 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxMenu
,
27967 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
27970 arg6
= wxString_in_helper(obj5
);
27971 if (arg6
== NULL
) SWIG_fail
;
27976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27977 result
= (wxMenuItem
*)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
27979 wxPyEndAllowThreads(__tstate
);
27980 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= wxPyMake_wxObject(result
);
28007 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28008 PyObject
*resultobj
;
28009 wxMenu
*arg1
= (wxMenu
*) 0 ;
28010 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28011 wxMenuItem
*result
;
28012 PyObject
* obj0
= 0 ;
28013 PyObject
* obj1
= 0 ;
28014 char *kwnames
[] = {
28015 (char *) "self",(char *) "item", NULL
28018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28021 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28022 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
);
28027 wxPyEndAllowThreads(__tstate
);
28028 if (PyErr_Occurred()) SWIG_fail
;
28031 resultobj
= wxPyMake_wxObject(result
);
28039 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
;
28041 wxMenu
*arg1
= (wxMenu
*) 0 ;
28043 wxString
*arg3
= 0 ;
28044 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28045 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28046 int arg5
= (int) wxITEM_NORMAL
;
28047 wxMenuItem
*result
;
28048 bool temp3
= False
;
28049 bool temp4
= False
;
28050 PyObject
* obj0
= 0 ;
28051 PyObject
* obj1
= 0 ;
28052 PyObject
* obj2
= 0 ;
28053 PyObject
* obj3
= 0 ;
28054 PyObject
* obj4
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OO:Menu_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28060 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28061 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28062 arg2
= (int) SWIG_AsInt(obj1
);
28063 if (PyErr_Occurred()) SWIG_fail
;
28065 arg3
= wxString_in_helper(obj2
);
28066 if (arg3
== NULL
) SWIG_fail
;
28071 arg4
= wxString_in_helper(obj3
);
28072 if (arg4
== NULL
) SWIG_fail
;
28077 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
28078 if (PyErr_Occurred()) SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= wxPyMake_wxObject(result
);
28112 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28113 PyObject
*resultobj
;
28114 wxMenu
*arg1
= (wxMenu
*) 0 ;
28115 wxMenuItem
*result
;
28116 PyObject
* obj0
= 0 ;
28117 char *kwnames
[] = {
28118 (char *) "self", NULL
28121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
28122 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28123 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28126 result
= (wxMenuItem
*)(arg1
)->PrependSeparator();
28128 wxPyEndAllowThreads(__tstate
);
28129 if (PyErr_Occurred()) SWIG_fail
;
28132 resultobj
= wxPyMake_wxObject(result
);
28140 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28141 PyObject
*resultobj
;
28142 wxMenu
*arg1
= (wxMenu
*) 0 ;
28144 wxString
*arg3
= 0 ;
28145 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28146 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28147 wxMenuItem
*result
;
28148 bool temp3
= False
;
28149 bool temp4
= False
;
28150 PyObject
* obj0
= 0 ;
28151 PyObject
* obj1
= 0 ;
28152 PyObject
* obj2
= 0 ;
28153 PyObject
* obj3
= 0 ;
28154 char *kwnames
[] = {
28155 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28159 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28160 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28161 arg2
= (int) SWIG_AsInt(obj1
);
28162 if (PyErr_Occurred()) SWIG_fail
;
28164 arg3
= wxString_in_helper(obj2
);
28165 if (arg3
== NULL
) SWIG_fail
;
28170 arg4
= wxString_in_helper(obj3
);
28171 if (arg4
== NULL
) SWIG_fail
;
28176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28177 result
= (wxMenuItem
*)(arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28179 wxPyEndAllowThreads(__tstate
);
28180 if (PyErr_Occurred()) SWIG_fail
;
28183 resultobj
= wxPyMake_wxObject(result
);
28207 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxMenu
*arg1
= (wxMenu
*) 0 ;
28211 wxString
*arg3
= 0 ;
28212 wxString
const &arg4_defvalue
= wxPyEmptyString
;
28213 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
28214 wxMenuItem
*result
;
28215 bool temp3
= False
;
28216 bool temp4
= False
;
28217 PyObject
* obj0
= 0 ;
28218 PyObject
* obj1
= 0 ;
28219 PyObject
* obj2
= 0 ;
28220 PyObject
* obj3
= 0 ;
28221 char *kwnames
[] = {
28222 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
28225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
28226 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28227 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28228 arg2
= (int) SWIG_AsInt(obj1
);
28229 if (PyErr_Occurred()) SWIG_fail
;
28231 arg3
= wxString_in_helper(obj2
);
28232 if (arg3
== NULL
) SWIG_fail
;
28237 arg4
= wxString_in_helper(obj3
);
28238 if (arg4
== NULL
) SWIG_fail
;
28243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28244 result
= (wxMenuItem
*)(arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
28246 wxPyEndAllowThreads(__tstate
);
28247 if (PyErr_Occurred()) SWIG_fail
;
28250 resultobj
= wxPyMake_wxObject(result
);
28274 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28275 PyObject
*resultobj
;
28276 wxMenu
*arg1
= (wxMenu
*) 0 ;
28278 wxString
*arg3
= 0 ;
28279 wxMenu
*arg4
= (wxMenu
*) 0 ;
28280 wxString
const &arg5_defvalue
= wxPyEmptyString
;
28281 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
28282 wxMenuItem
*result
;
28283 bool temp3
= False
;
28284 bool temp5
= False
;
28285 PyObject
* obj0
= 0 ;
28286 PyObject
* obj1
= 0 ;
28287 PyObject
* obj2
= 0 ;
28288 PyObject
* obj3
= 0 ;
28289 PyObject
* obj4
= 0 ;
28290 char *kwnames
[] = {
28291 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
28294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:Menu_PrependMenu",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
28295 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28296 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28297 arg2
= (int) SWIG_AsInt(obj1
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 arg3
= wxString_in_helper(obj2
);
28301 if (arg3
== NULL
) SWIG_fail
;
28304 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxMenu
,
28305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28308 arg5
= wxString_in_helper(obj4
);
28309 if (arg5
== NULL
) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 result
= (wxMenuItem
*)(arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28321 resultobj
= wxPyMake_wxObject(result
);
28345 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28346 PyObject
*resultobj
;
28347 wxMenu
*arg1
= (wxMenu
*) 0 ;
28349 wxMenuItem
*result
;
28350 PyObject
* obj0
= 0 ;
28351 PyObject
* obj1
= 0 ;
28352 char *kwnames
[] = {
28353 (char *) "self",(char *) "id", NULL
28356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
28357 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28358 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28359 arg2
= (int) SWIG_AsInt(obj1
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28363 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28365 wxPyEndAllowThreads(__tstate
);
28366 if (PyErr_Occurred()) SWIG_fail
;
28369 resultobj
= wxPyMake_wxObject(result
);
28377 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28378 PyObject
*resultobj
;
28379 wxMenu
*arg1
= (wxMenu
*) 0 ;
28380 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28381 wxMenuItem
*result
;
28382 PyObject
* obj0
= 0 ;
28383 PyObject
* obj1
= 0 ;
28384 char *kwnames
[] = {
28385 (char *) "self",(char *) "item", NULL
28388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28389 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28390 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28391 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28395 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= wxPyMake_wxObject(result
);
28409 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxMenu
*arg1
= (wxMenu
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "id", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28422 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28423 arg2
= (int) SWIG_AsInt(obj1
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 result
= (bool)(arg1
)->Delete(arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28439 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxMenu
*arg1
= (wxMenu
*) 0 ;
28442 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28444 PyObject
* obj0
= 0 ;
28445 PyObject
* obj1
= 0 ;
28446 char *kwnames
[] = {
28447 (char *) "self",(char *) "item", NULL
28450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28453 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28454 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28457 result
= (bool)(arg1
)->Delete(arg2
);
28459 wxPyEndAllowThreads(__tstate
);
28460 if (PyErr_Occurred()) SWIG_fail
;
28462 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28469 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28470 PyObject
*resultobj
;
28471 wxMenu
*arg1
= (wxMenu
*) 0 ;
28472 PyObject
* obj0
= 0 ;
28473 char *kwnames
[] = {
28474 (char *) "self", NULL
28477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
28478 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28479 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 wxMenu_Destroy(arg1
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 Py_INCREF(Py_None
); resultobj
= Py_None
;
28494 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxMenu
*arg1
= (wxMenu
*) 0 ;
28499 PyObject
* obj0
= 0 ;
28500 PyObject
* obj1
= 0 ;
28501 char *kwnames
[] = {
28502 (char *) "self",(char *) "id", NULL
28505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyId",kwnames
,&obj0
,&obj1
)) goto fail
;
28506 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28507 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28508 arg2
= (int) SWIG_AsInt(obj1
);
28509 if (PyErr_Occurred()) SWIG_fail
;
28511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28512 result
= (bool)(arg1
)->Destroy(arg2
);
28514 wxPyEndAllowThreads(__tstate
);
28515 if (PyErr_Occurred()) SWIG_fail
;
28517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28524 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxMenu
*arg1
= (wxMenu
*) 0 ;
28527 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
28529 PyObject
* obj0
= 0 ;
28530 PyObject
* obj1
= 0 ;
28531 char *kwnames
[] = {
28532 (char *) "self",(char *) "item", NULL
28535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28536 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28537 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28538 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuItem
,
28539 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 result
= (bool)(arg1
)->Destroy(arg2
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28554 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxMenu
*arg1
= (wxMenu
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
28564 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28565 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28568 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
28570 wxPyEndAllowThreads(__tstate
);
28571 if (PyErr_Occurred()) SWIG_fail
;
28573 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
28580 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28581 PyObject
*resultobj
;
28582 wxMenu
*arg1
= (wxMenu
*) 0 ;
28584 PyObject
* obj0
= 0 ;
28585 char *kwnames
[] = {
28586 (char *) "self", NULL
28589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
28590 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28591 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28594 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
28596 wxPyEndAllowThreads(__tstate
);
28597 if (PyErr_Occurred()) SWIG_fail
;
28599 resultobj
= result
;
28606 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28607 PyObject
*resultobj
;
28608 wxMenu
*arg1
= (wxMenu
*) 0 ;
28609 wxString
*arg2
= 0 ;
28611 bool temp2
= False
;
28612 PyObject
* obj0
= 0 ;
28613 PyObject
* obj1
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self",(char *) "item", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
28619 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28620 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28622 arg2
= wxString_in_helper(obj1
);
28623 if (arg2
== NULL
) SWIG_fail
;
28627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28628 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
28630 wxPyEndAllowThreads(__tstate
);
28631 if (PyErr_Occurred()) SWIG_fail
;
28633 resultobj
= SWIG_FromInt((int)result
);
28648 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28649 PyObject
*resultobj
;
28650 wxMenu
*arg1
= (wxMenu
*) 0 ;
28652 wxMenuItem
*result
;
28653 PyObject
* obj0
= 0 ;
28654 PyObject
* obj1
= 0 ;
28655 char *kwnames
[] = {
28656 (char *) "self",(char *) "id", NULL
28659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
28660 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28661 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28662 arg2
= (int) SWIG_AsInt(obj1
);
28663 if (PyErr_Occurred()) SWIG_fail
;
28665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28666 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
28668 wxPyEndAllowThreads(__tstate
);
28669 if (PyErr_Occurred()) SWIG_fail
;
28672 resultobj
= wxPyMake_wxObject(result
);
28680 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28681 PyObject
*resultobj
;
28682 wxMenu
*arg1
= (wxMenu
*) 0 ;
28684 wxMenuItem
*result
;
28685 PyObject
* obj0
= 0 ;
28686 PyObject
* obj1
= 0 ;
28687 char *kwnames
[] = {
28688 (char *) "self",(char *) "position", NULL
28691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
28692 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28693 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28694 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28698 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
28700 wxPyEndAllowThreads(__tstate
);
28701 if (PyErr_Occurred()) SWIG_fail
;
28704 resultobj
= wxPyMake_wxObject(result
);
28712 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxMenu
*arg1
= (wxMenu
*) 0 ;
28717 PyObject
* obj0
= 0 ;
28718 PyObject
* obj1
= 0 ;
28719 PyObject
* obj2
= 0 ;
28720 char *kwnames
[] = {
28721 (char *) "self",(char *) "id",(char *) "enable", NULL
28724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28725 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28726 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28727 arg2
= (int) SWIG_AsInt(obj1
);
28728 if (PyErr_Occurred()) SWIG_fail
;
28729 arg3
= (bool) SWIG_AsBool(obj2
);
28730 if (PyErr_Occurred()) SWIG_fail
;
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28733 (arg1
)->Enable(arg2
,arg3
);
28735 wxPyEndAllowThreads(__tstate
);
28736 if (PyErr_Occurred()) SWIG_fail
;
28738 Py_INCREF(Py_None
); resultobj
= Py_None
;
28745 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28746 PyObject
*resultobj
;
28747 wxMenu
*arg1
= (wxMenu
*) 0 ;
28750 PyObject
* obj0
= 0 ;
28751 PyObject
* obj1
= 0 ;
28752 char *kwnames
[] = {
28753 (char *) "self",(char *) "id", NULL
28756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
28757 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28758 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28759 arg2
= (int) SWIG_AsInt(obj1
);
28760 if (PyErr_Occurred()) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28775 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxMenu
*arg1
= (wxMenu
*) 0 ;
28780 PyObject
* obj0
= 0 ;
28781 PyObject
* obj1
= 0 ;
28782 PyObject
* obj2
= 0 ;
28783 char *kwnames
[] = {
28784 (char *) "self",(char *) "id",(char *) "check", NULL
28787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28788 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28789 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28790 arg2
= (int) SWIG_AsInt(obj1
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28792 arg3
= (bool) SWIG_AsBool(obj2
);
28793 if (PyErr_Occurred()) SWIG_fail
;
28795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28796 (arg1
)->Check(arg2
,arg3
);
28798 wxPyEndAllowThreads(__tstate
);
28799 if (PyErr_Occurred()) SWIG_fail
;
28801 Py_INCREF(Py_None
); resultobj
= Py_None
;
28808 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28809 PyObject
*resultobj
;
28810 wxMenu
*arg1
= (wxMenu
*) 0 ;
28813 PyObject
* obj0
= 0 ;
28814 PyObject
* obj1
= 0 ;
28815 char *kwnames
[] = {
28816 (char *) "self",(char *) "id", NULL
28819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
28820 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28821 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28822 arg2
= (int) SWIG_AsInt(obj1
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28826 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
28828 wxPyEndAllowThreads(__tstate
);
28829 if (PyErr_Occurred()) SWIG_fail
;
28831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28838 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28839 PyObject
*resultobj
;
28840 wxMenu
*arg1
= (wxMenu
*) 0 ;
28842 wxString
*arg3
= 0 ;
28843 bool temp3
= False
;
28844 PyObject
* obj0
= 0 ;
28845 PyObject
* obj1
= 0 ;
28846 PyObject
* obj2
= 0 ;
28847 char *kwnames
[] = {
28848 (char *) "self",(char *) "id",(char *) "label", NULL
28851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28852 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28853 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28854 arg2
= (int) SWIG_AsInt(obj1
);
28855 if (PyErr_Occurred()) SWIG_fail
;
28857 arg3
= wxString_in_helper(obj2
);
28858 if (arg3
== NULL
) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28868 Py_INCREF(Py_None
); resultobj
= Py_None
;
28883 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28884 PyObject
*resultobj
;
28885 wxMenu
*arg1
= (wxMenu
*) 0 ;
28888 PyObject
* obj0
= 0 ;
28889 PyObject
* obj1
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "id", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28896 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28897 arg2
= (int) SWIG_AsInt(obj1
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28901 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28919 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28920 PyObject
*resultobj
;
28921 wxMenu
*arg1
= (wxMenu
*) 0 ;
28923 wxString
*arg3
= 0 ;
28924 bool temp3
= False
;
28925 PyObject
* obj0
= 0 ;
28926 PyObject
* obj1
= 0 ;
28927 PyObject
* obj2
= 0 ;
28928 char *kwnames
[] = {
28929 (char *) "self",(char *) "id",(char *) "helpString", NULL
28932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28933 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28934 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28935 arg2
= (int) SWIG_AsInt(obj1
);
28936 if (PyErr_Occurred()) SWIG_fail
;
28938 arg3
= wxString_in_helper(obj2
);
28939 if (arg3
== NULL
) SWIG_fail
;
28943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28944 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
28946 wxPyEndAllowThreads(__tstate
);
28947 if (PyErr_Occurred()) SWIG_fail
;
28949 Py_INCREF(Py_None
); resultobj
= Py_None
;
28964 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28965 PyObject
*resultobj
;
28966 wxMenu
*arg1
= (wxMenu
*) 0 ;
28969 PyObject
* obj0
= 0 ;
28970 PyObject
* obj1
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self",(char *) "id", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
28976 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
28977 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
28978 arg2
= (int) SWIG_AsInt(obj1
);
28979 if (PyErr_Occurred()) SWIG_fail
;
28981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28982 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
28984 wxPyEndAllowThreads(__tstate
);
28985 if (PyErr_Occurred()) SWIG_fail
;
28989 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28991 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29000 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxMenu
*arg1
= (wxMenu
*) 0 ;
29003 wxString
*arg2
= 0 ;
29004 bool temp2
= False
;
29005 PyObject
* obj0
= 0 ;
29006 PyObject
* obj1
= 0 ;
29007 char *kwnames
[] = {
29008 (char *) "self",(char *) "title", NULL
29011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
29012 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29013 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29015 arg2
= wxString_in_helper(obj1
);
29016 if (arg2
== NULL
) SWIG_fail
;
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29021 (arg1
)->SetTitle((wxString
const &)*arg2
);
29023 wxPyEndAllowThreads(__tstate
);
29024 if (PyErr_Occurred()) SWIG_fail
;
29026 Py_INCREF(Py_None
); resultobj
= Py_None
;
29041 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxMenu
*arg1
= (wxMenu
*) 0 ;
29045 PyObject
* obj0
= 0 ;
29046 char *kwnames
[] = {
29047 (char *) "self", NULL
29050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",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
= ((wxMenu
const *)arg1
)->GetTitle();
29057 wxPyEndAllowThreads(__tstate
);
29058 if (PyErr_Occurred()) SWIG_fail
;
29062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29073 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29074 PyObject
*resultobj
;
29075 wxMenu
*arg1
= (wxMenu
*) 0 ;
29076 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
29077 PyObject
* obj0
= 0 ;
29078 PyObject
* obj1
= 0 ;
29079 char *kwnames
[] = {
29080 (char *) "self",(char *) "handler", NULL
29083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
29084 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29085 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29086 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29087 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29090 (arg1
)->SetEventHandler(arg2
);
29092 wxPyEndAllowThreads(__tstate
);
29093 if (PyErr_Occurred()) SWIG_fail
;
29095 Py_INCREF(Py_None
); resultobj
= Py_None
;
29102 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29103 PyObject
*resultobj
;
29104 wxMenu
*arg1
= (wxMenu
*) 0 ;
29105 wxEvtHandler
*result
;
29106 PyObject
* obj0
= 0 ;
29107 char *kwnames
[] = {
29108 (char *) "self", NULL
29111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
29112 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29113 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29116 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
29118 wxPyEndAllowThreads(__tstate
);
29119 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= wxPyMake_wxObject(result
);
29130 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29131 PyObject
*resultobj
;
29132 wxMenu
*arg1
= (wxMenu
*) 0 ;
29133 wxWindow
*arg2
= (wxWindow
*) 0 ;
29134 PyObject
* obj0
= 0 ;
29135 PyObject
* obj1
= 0 ;
29136 char *kwnames
[] = {
29137 (char *) "self",(char *) "win", NULL
29140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29143 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
29144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29147 (arg1
)->SetInvokingWindow(arg2
);
29149 wxPyEndAllowThreads(__tstate
);
29150 if (PyErr_Occurred()) SWIG_fail
;
29152 Py_INCREF(Py_None
); resultobj
= Py_None
;
29159 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29160 PyObject
*resultobj
;
29161 wxMenu
*arg1
= (wxMenu
*) 0 ;
29163 PyObject
* obj0
= 0 ;
29164 char *kwnames
[] = {
29165 (char *) "self", NULL
29168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
29169 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29170 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29173 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
29175 wxPyEndAllowThreads(__tstate
);
29176 if (PyErr_Occurred()) SWIG_fail
;
29179 resultobj
= wxPyMake_wxObject(result
);
29187 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29188 PyObject
*resultobj
;
29189 wxMenu
*arg1
= (wxMenu
*) 0 ;
29191 PyObject
* obj0
= 0 ;
29192 char *kwnames
[] = {
29193 (char *) "self", NULL
29196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
29197 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29198 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
29203 wxPyEndAllowThreads(__tstate
);
29204 if (PyErr_Occurred()) SWIG_fail
;
29206 resultobj
= SWIG_FromLong((long)result
);
29213 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxMenu
*arg1
= (wxMenu
*) 0 ;
29216 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
29217 PyObject
* obj0
= 0 ;
29218 PyObject
* obj1
= 0 ;
29219 char *kwnames
[] = {
29220 (char *) "self",(char *) "source", NULL
29223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
29224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29227 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxEvtHandler
,
29228 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29232 (arg1
)->UpdateUI(arg2
);
29234 wxPyEndAllowThreads(__tstate
);
29235 if (PyErr_Occurred()) SWIG_fail
;
29237 Py_INCREF(Py_None
); resultobj
= Py_None
;
29244 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29245 PyObject
*resultobj
;
29246 wxMenu
*arg1
= (wxMenu
*) 0 ;
29248 PyObject
* obj0
= 0 ;
29249 char *kwnames
[] = {
29250 (char *) "self", NULL
29253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
29254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= wxPyMake_wxObject(result
);
29272 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
;
29274 wxMenu
*arg1
= (wxMenu
*) 0 ;
29275 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
29276 PyObject
* obj0
= 0 ;
29277 PyObject
* obj1
= 0 ;
29278 char *kwnames
[] = {
29279 (char *) "self",(char *) "menubar", NULL
29282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
29283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenuBarBase
,
29286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 (arg1
)->Attach(arg2
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29302 PyObject
*resultobj
;
29303 wxMenu
*arg1
= (wxMenu
*) 0 ;
29304 PyObject
* obj0
= 0 ;
29305 char *kwnames
[] = {
29306 (char *) "self", NULL
29309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
29310 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29311 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29316 wxPyEndAllowThreads(__tstate
);
29317 if (PyErr_Occurred()) SWIG_fail
;
29319 Py_INCREF(Py_None
); resultobj
= Py_None
;
29326 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29327 PyObject
*resultobj
;
29328 wxMenu
*arg1
= (wxMenu
*) 0 ;
29330 PyObject
* obj0
= 0 ;
29331 char *kwnames
[] = {
29332 (char *) "self", NULL
29335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
29336 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29337 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29340 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
29342 wxPyEndAllowThreads(__tstate
);
29343 if (PyErr_Occurred()) SWIG_fail
;
29345 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29352 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29353 PyObject
*resultobj
;
29354 wxMenu
*arg1
= (wxMenu
*) 0 ;
29355 wxMenu
*arg2
= (wxMenu
*) 0 ;
29356 PyObject
* obj0
= 0 ;
29357 PyObject
* obj1
= 0 ;
29358 char *kwnames
[] = {
29359 (char *) "self",(char *) "parent", NULL
29362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
29363 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29364 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29365 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29369 (arg1
)->SetParent(arg2
);
29371 wxPyEndAllowThreads(__tstate
);
29372 if (PyErr_Occurred()) SWIG_fail
;
29374 Py_INCREF(Py_None
); resultobj
= Py_None
;
29381 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29382 PyObject
*resultobj
;
29383 wxMenu
*arg1
= (wxMenu
*) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 char *kwnames
[] = {
29387 (char *) "self", NULL
29390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
29391 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
29392 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29395 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
29397 wxPyEndAllowThreads(__tstate
);
29398 if (PyErr_Occurred()) SWIG_fail
;
29401 resultobj
= wxPyMake_wxObject(result
);
29409 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
29411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29412 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
29414 return Py_BuildValue((char *)"");
29416 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29417 PyObject
*resultobj
;
29418 long arg1
= (long) 0 ;
29420 PyObject
* obj0
= 0 ;
29421 char *kwnames
[] = {
29422 (char *) "style", NULL
29425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_MenuBar",kwnames
,&obj0
)) goto fail
;
29427 arg1
= (long) SWIG_AsLong(obj0
);
29428 if (PyErr_Occurred()) SWIG_fail
;
29431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29432 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
29434 wxPyEndAllowThreads(__tstate
);
29435 if (PyErr_Occurred()) SWIG_fail
;
29438 resultobj
= wxPyMake_wxObject(result
);
29446 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29447 PyObject
*resultobj
;
29448 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29449 wxMenu
*arg2
= (wxMenu
*) 0 ;
29450 wxString
*arg3
= 0 ;
29452 bool temp3
= False
;
29453 PyObject
* obj0
= 0 ;
29454 PyObject
* obj1
= 0 ;
29455 PyObject
* obj2
= 0 ;
29456 char *kwnames
[] = {
29457 (char *) "self",(char *) "menu",(char *) "title", NULL
29460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29461 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29462 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29463 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
29464 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29466 arg3
= wxString_in_helper(obj2
);
29467 if (arg3
== NULL
) SWIG_fail
;
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29492 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
;
29494 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29496 wxMenu
*arg3
= (wxMenu
*) 0 ;
29497 wxString
*arg4
= 0 ;
29499 bool temp4
= False
;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 PyObject
* obj2
= 0 ;
29503 PyObject
* obj3
= 0 ;
29504 char *kwnames
[] = {
29505 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29511 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29512 if (PyErr_Occurred()) SWIG_fail
;
29513 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29514 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29516 arg4
= wxString_in_helper(obj3
);
29517 if (arg4
== NULL
) SWIG_fail
;
29521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29522 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
29524 wxPyEndAllowThreads(__tstate
);
29525 if (PyErr_Occurred()) SWIG_fail
;
29527 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29542 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29543 PyObject
*resultobj
;
29544 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29546 PyObject
* obj0
= 0 ;
29547 char *kwnames
[] = {
29548 (char *) "self", NULL
29551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
29552 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29553 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29556 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
29558 wxPyEndAllowThreads(__tstate
);
29559 if (PyErr_Occurred()) SWIG_fail
;
29561 resultobj
= SWIG_FromUnsignedLong((unsigned long)result
);
29568 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29569 PyObject
*resultobj
;
29570 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 PyObject
* obj1
= 0 ;
29575 char *kwnames
[] = {
29576 (char *) "self",(char *) "pos", NULL
29579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29582 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29583 if (PyErr_Occurred()) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= wxPyMake_wxObject(result
);
29600 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29601 PyObject
*resultobj
;
29602 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29604 wxMenu
*arg3
= (wxMenu
*) 0 ;
29605 wxString
*arg4
= 0 ;
29607 bool temp4
= False
;
29608 PyObject
* obj0
= 0 ;
29609 PyObject
* obj1
= 0 ;
29610 PyObject
* obj2
= 0 ;
29611 PyObject
* obj3
= 0 ;
29612 char *kwnames
[] = {
29613 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
29616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
29617 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29618 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29619 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29621 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxMenu
,
29622 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29624 arg4
= wxString_in_helper(obj3
);
29625 if (arg4
== NULL
) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29636 resultobj
= wxPyMake_wxObject(result
);
29652 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29657 PyObject
* obj0
= 0 ;
29658 PyObject
* obj1
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self",(char *) "pos", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
29664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29666 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29670 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
29672 wxPyEndAllowThreads(__tstate
);
29673 if (PyErr_Occurred()) SWIG_fail
;
29676 resultobj
= wxPyMake_wxObject(result
);
29684 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29685 PyObject
*resultobj
;
29686 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29689 PyObject
* obj0
= 0 ;
29690 PyObject
* obj1
= 0 ;
29691 PyObject
* obj2
= 0 ;
29692 char *kwnames
[] = {
29693 (char *) "self",(char *) "pos",(char *) "enable", NULL
29696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29697 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29698 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29699 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29700 if (PyErr_Occurred()) SWIG_fail
;
29701 arg3
= (bool) SWIG_AsBool(obj2
);
29702 if (PyErr_Occurred()) SWIG_fail
;
29704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29705 (arg1
)->EnableTop(arg2
,arg3
);
29707 wxPyEndAllowThreads(__tstate
);
29708 if (PyErr_Occurred()) SWIG_fail
;
29710 Py_INCREF(Py_None
); resultobj
= Py_None
;
29717 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29718 PyObject
*resultobj
;
29719 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29722 PyObject
* obj0
= 0 ;
29723 PyObject
* obj1
= 0 ;
29724 char *kwnames
[] = {
29725 (char *) "self",(char *) "pos", NULL
29728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29729 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29730 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29731 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29732 if (PyErr_Occurred()) SWIG_fail
;
29734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29735 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
29737 wxPyEndAllowThreads(__tstate
);
29738 if (PyErr_Occurred()) SWIG_fail
;
29740 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29747 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29748 PyObject
*resultobj
;
29749 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29751 wxString
*arg3
= 0 ;
29752 bool temp3
= False
;
29753 PyObject
* obj0
= 0 ;
29754 PyObject
* obj1
= 0 ;
29755 PyObject
* obj2
= 0 ;
29756 char *kwnames
[] = {
29757 (char *) "self",(char *) "pos",(char *) "label", NULL
29760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29761 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29762 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29763 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 arg3
= wxString_in_helper(obj2
);
29767 if (arg3
== NULL
) SWIG_fail
;
29771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29772 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 Py_INCREF(Py_None
); resultobj
= Py_None
;
29792 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29793 PyObject
*resultobj
;
29794 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29797 PyObject
* obj0
= 0 ;
29798 PyObject
* obj1
= 0 ;
29799 char *kwnames
[] = {
29800 (char *) "self",(char *) "pos", NULL
29803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
29804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29806 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
29807 if (PyErr_Occurred()) SWIG_fail
;
29809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29810 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
29812 wxPyEndAllowThreads(__tstate
);
29813 if (PyErr_Occurred()) SWIG_fail
;
29817 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29819 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29828 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29831 wxString
*arg2
= 0 ;
29832 wxString
*arg3
= 0 ;
29834 bool temp2
= False
;
29835 bool temp3
= False
;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj1
= 0 ;
29838 PyObject
* obj2
= 0 ;
29839 char *kwnames
[] = {
29840 (char *) "self",(char *) "menu",(char *) "item", NULL
29843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29844 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29845 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29847 arg2
= wxString_in_helper(obj1
);
29848 if (arg2
== NULL
) SWIG_fail
;
29852 arg3
= wxString_in_helper(obj2
);
29853 if (arg3
== NULL
) SWIG_fail
;
29857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29858 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= SWIG_FromInt((int)result
);
29886 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29887 PyObject
*resultobj
;
29888 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29890 wxMenuItem
*result
;
29891 PyObject
* obj0
= 0 ;
29892 PyObject
* obj1
= 0 ;
29893 char *kwnames
[] = {
29894 (char *) "self",(char *) "id", NULL
29897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindItemById",kwnames
,&obj0
,&obj1
)) goto fail
;
29898 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29899 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29900 arg2
= (int) SWIG_AsInt(obj1
);
29901 if (PyErr_Occurred()) SWIG_fail
;
29903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29904 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
29906 wxPyEndAllowThreads(__tstate
);
29907 if (PyErr_Occurred()) SWIG_fail
;
29910 resultobj
= wxPyMake_wxObject(result
);
29918 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29919 PyObject
*resultobj
;
29920 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29921 wxString
*arg2
= 0 ;
29923 bool temp2
= False
;
29924 PyObject
* obj0
= 0 ;
29925 PyObject
* obj1
= 0 ;
29926 char *kwnames
[] = {
29927 (char *) "self",(char *) "title", NULL
29930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
29931 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29932 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29934 arg2
= wxString_in_helper(obj1
);
29935 if (arg2
== NULL
) SWIG_fail
;
29939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29940 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
29942 wxPyEndAllowThreads(__tstate
);
29943 if (PyErr_Occurred()) SWIG_fail
;
29945 resultobj
= SWIG_FromInt((int)result
);
29960 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29961 PyObject
*resultobj
;
29962 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29965 PyObject
* obj0
= 0 ;
29966 PyObject
* obj1
= 0 ;
29967 PyObject
* obj2
= 0 ;
29968 char *kwnames
[] = {
29969 (char *) "self",(char *) "id",(char *) "enable", NULL
29972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Enable",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29973 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
29974 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
29975 arg2
= (int) SWIG_AsInt(obj1
);
29976 if (PyErr_Occurred()) SWIG_fail
;
29977 arg3
= (bool) SWIG_AsBool(obj2
);
29978 if (PyErr_Occurred()) SWIG_fail
;
29980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29981 (arg1
)->Enable(arg2
,arg3
);
29983 wxPyEndAllowThreads(__tstate
);
29984 if (PyErr_Occurred()) SWIG_fail
;
29986 Py_INCREF(Py_None
); resultobj
= Py_None
;
29993 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29994 PyObject
*resultobj
;
29995 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
29998 PyObject
* obj0
= 0 ;
29999 PyObject
* obj1
= 0 ;
30000 PyObject
* obj2
= 0 ;
30001 char *kwnames
[] = {
30002 (char *) "self",(char *) "id",(char *) "check", NULL
30005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Check",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30006 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30007 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30008 arg2
= (int) SWIG_AsInt(obj1
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30010 arg3
= (bool) SWIG_AsBool(obj2
);
30011 if (PyErr_Occurred()) SWIG_fail
;
30013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30014 (arg1
)->Check(arg2
,arg3
);
30016 wxPyEndAllowThreads(__tstate
);
30017 if (PyErr_Occurred()) SWIG_fail
;
30019 Py_INCREF(Py_None
); resultobj
= Py_None
;
30026 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30027 PyObject
*resultobj
;
30028 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30031 PyObject
* obj0
= 0 ;
30032 PyObject
* obj1
= 0 ;
30033 char *kwnames
[] = {
30034 (char *) "self",(char *) "id", NULL
30037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsChecked",kwnames
,&obj0
,&obj1
)) goto fail
;
30038 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30039 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30040 arg2
= (int) SWIG_AsInt(obj1
);
30041 if (PyErr_Occurred()) SWIG_fail
;
30043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30044 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
30046 wxPyEndAllowThreads(__tstate
);
30047 if (PyErr_Occurred()) SWIG_fail
;
30049 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30056 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30057 PyObject
*resultobj
;
30058 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30061 PyObject
* obj0
= 0 ;
30062 PyObject
* obj1
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self",(char *) "id", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
30068 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30069 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30070 arg2
= (int) SWIG_AsInt(obj1
);
30071 if (PyErr_Occurred()) SWIG_fail
;
30073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30074 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
30076 wxPyEndAllowThreads(__tstate
);
30077 if (PyErr_Occurred()) SWIG_fail
;
30079 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30086 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30087 PyObject
*resultobj
;
30088 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30090 wxString
*arg3
= 0 ;
30091 bool temp3
= False
;
30092 PyObject
* obj0
= 0 ;
30093 PyObject
* obj1
= 0 ;
30094 PyObject
* obj2
= 0 ;
30095 char *kwnames
[] = {
30096 (char *) "self",(char *) "id",(char *) "label", NULL
30099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabel",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30102 arg2
= (int) SWIG_AsInt(obj1
);
30103 if (PyErr_Occurred()) SWIG_fail
;
30105 arg3
= wxString_in_helper(obj2
);
30106 if (arg3
== NULL
) SWIG_fail
;
30110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30111 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
30113 wxPyEndAllowThreads(__tstate
);
30114 if (PyErr_Occurred()) SWIG_fail
;
30116 Py_INCREF(Py_None
); resultobj
= Py_None
;
30131 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30132 PyObject
*resultobj
;
30133 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30136 PyObject
* obj0
= 0 ;
30137 PyObject
* obj1
= 0 ;
30138 char *kwnames
[] = {
30139 (char *) "self",(char *) "id", NULL
30142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
30143 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30144 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30145 arg2
= (int) SWIG_AsInt(obj1
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30149 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
30151 wxPyEndAllowThreads(__tstate
);
30152 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30158 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30167 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30168 PyObject
*resultobj
;
30169 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30171 wxString
*arg3
= 0 ;
30172 bool temp3
= False
;
30173 PyObject
* obj0
= 0 ;
30174 PyObject
* obj1
= 0 ;
30175 PyObject
* obj2
= 0 ;
30176 char *kwnames
[] = {
30177 (char *) "self",(char *) "id",(char *) "helpString", NULL
30180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetHelpString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30181 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30182 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30183 arg2
= (int) SWIG_AsInt(obj1
);
30184 if (PyErr_Occurred()) SWIG_fail
;
30186 arg3
= wxString_in_helper(obj2
);
30187 if (arg3
== NULL
) SWIG_fail
;
30191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30192 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
30194 wxPyEndAllowThreads(__tstate
);
30195 if (PyErr_Occurred()) SWIG_fail
;
30197 Py_INCREF(Py_None
); resultobj
= Py_None
;
30212 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30213 PyObject
*resultobj
;
30214 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30217 PyObject
* obj0
= 0 ;
30218 PyObject
* obj1
= 0 ;
30219 char *kwnames
[] = {
30220 (char *) "self",(char *) "id", NULL
30223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetHelpString",kwnames
,&obj0
,&obj1
)) goto fail
;
30224 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30225 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30226 arg2
= (int) SWIG_AsInt(obj1
);
30227 if (PyErr_Occurred()) SWIG_fail
;
30229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30230 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
30232 wxPyEndAllowThreads(__tstate
);
30233 if (PyErr_Occurred()) SWIG_fail
;
30237 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30239 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30248 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30249 PyObject
*resultobj
;
30250 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30252 PyObject
* obj0
= 0 ;
30253 char *kwnames
[] = {
30254 (char *) "self", NULL
30257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
30258 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30259 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30262 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
30264 wxPyEndAllowThreads(__tstate
);
30265 if (PyErr_Occurred()) SWIG_fail
;
30268 resultobj
= wxPyMake_wxObject(result
);
30276 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30277 PyObject
*resultobj
;
30278 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30280 PyObject
* obj0
= 0 ;
30281 char *kwnames
[] = {
30282 (char *) "self", NULL
30285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
30286 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30290 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
30292 wxPyEndAllowThreads(__tstate
);
30293 if (PyErr_Occurred()) SWIG_fail
;
30295 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30302 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30303 PyObject
*resultobj
;
30304 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30305 wxFrame
*arg2
= (wxFrame
*) 0 ;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj1
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self",(char *) "frame", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
30313 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30314 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30315 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFrame
,
30316 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30319 (arg1
)->Attach(arg2
);
30321 wxPyEndAllowThreads(__tstate
);
30322 if (PyErr_Occurred()) SWIG_fail
;
30324 Py_INCREF(Py_None
); resultobj
= Py_None
;
30331 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30332 PyObject
*resultobj
;
30333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
30334 PyObject
* obj0
= 0 ;
30335 char *kwnames
[] = {
30336 (char *) "self", NULL
30339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
30340 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuBar
,
30341 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 Py_INCREF(Py_None
); resultobj
= Py_None
;
30356 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
30358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30359 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
30361 return Py_BuildValue((char *)"");
30363 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30364 PyObject
*resultobj
;
30365 wxMenu
*arg1
= (wxMenu
*) NULL
;
30366 int arg2
= (int) wxID_SEPARATOR
;
30367 wxString
const &arg3_defvalue
= wxPyEmptyString
;
30368 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
30369 wxString
const &arg4_defvalue
= wxPyEmptyString
;
30370 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
30371 int arg5
= (int) wxITEM_NORMAL
;
30372 wxMenu
*arg6
= (wxMenu
*) NULL
;
30373 wxMenuItem
*result
;
30374 bool temp3
= False
;
30375 bool temp4
= False
;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 PyObject
* obj2
= 0 ;
30379 PyObject
* obj3
= 0 ;
30380 PyObject
* obj4
= 0 ;
30381 PyObject
* obj5
= 0 ;
30382 char *kwnames
[] = {
30383 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
30386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOOOO:new_MenuItem",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
30388 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenu
,
30389 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30392 arg2
= (int) SWIG_AsInt(obj1
);
30393 if (PyErr_Occurred()) SWIG_fail
;
30397 arg3
= wxString_in_helper(obj2
);
30398 if (arg3
== NULL
) SWIG_fail
;
30404 arg4
= wxString_in_helper(obj3
);
30405 if (arg4
== NULL
) SWIG_fail
;
30410 arg5
= (wxItemKind
) SWIG_AsInt(obj4
);
30411 if (PyErr_Occurred()) SWIG_fail
;
30414 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxMenu
,
30415 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30425 resultobj
= wxPyMake_wxObject(result
);
30449 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30450 PyObject
*resultobj
;
30451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30453 PyObject
* obj0
= 0 ;
30454 char *kwnames
[] = {
30455 (char *) "self", NULL
30458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
30459 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30460 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30463 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
30465 wxPyEndAllowThreads(__tstate
);
30466 if (PyErr_Occurred()) SWIG_fail
;
30469 resultobj
= wxPyMake_wxObject(result
);
30477 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30478 PyObject
*resultobj
;
30479 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30480 wxMenu
*arg2
= (wxMenu
*) 0 ;
30481 PyObject
* obj0
= 0 ;
30482 PyObject
* obj1
= 0 ;
30483 char *kwnames
[] = {
30484 (char *) "self",(char *) "menu", NULL
30487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30490 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30491 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30494 (arg1
)->SetMenu(arg2
);
30496 wxPyEndAllowThreads(__tstate
);
30497 if (PyErr_Occurred()) SWIG_fail
;
30499 Py_INCREF(Py_None
); resultobj
= Py_None
;
30506 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30507 PyObject
*resultobj
;
30508 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30510 PyObject
* obj0
= 0 ;
30511 PyObject
* obj1
= 0 ;
30512 char *kwnames
[] = {
30513 (char *) "self",(char *) "id", NULL
30516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetId",kwnames
,&obj0
,&obj1
)) goto fail
;
30517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30519 arg2
= (int) SWIG_AsInt(obj1
);
30520 if (PyErr_Occurred()) SWIG_fail
;
30522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30523 (arg1
)->SetId(arg2
);
30525 wxPyEndAllowThreads(__tstate
);
30526 if (PyErr_Occurred()) SWIG_fail
;
30528 Py_INCREF(Py_None
); resultobj
= Py_None
;
30535 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30536 PyObject
*resultobj
;
30537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30539 PyObject
* obj0
= 0 ;
30540 char *kwnames
[] = {
30541 (char *) "self", NULL
30544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
30545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30549 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
30551 wxPyEndAllowThreads(__tstate
);
30552 if (PyErr_Occurred()) SWIG_fail
;
30554 resultobj
= SWIG_FromInt((int)result
);
30561 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
;
30563 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30565 PyObject
* obj0
= 0 ;
30566 char *kwnames
[] = {
30567 (char *) "self", NULL
30570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
30571 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30572 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30575 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
30577 wxPyEndAllowThreads(__tstate
);
30578 if (PyErr_Occurred()) SWIG_fail
;
30580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30587 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30588 PyObject
*resultobj
;
30589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30590 wxString
*arg2
= 0 ;
30591 bool temp2
= False
;
30592 PyObject
* obj0
= 0 ;
30593 PyObject
* obj1
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "self",(char *) "str", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
30599 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30600 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30602 arg2
= wxString_in_helper(obj1
);
30603 if (arg2
== NULL
) SWIG_fail
;
30607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30608 (arg1
)->SetText((wxString
const &)*arg2
);
30610 wxPyEndAllowThreads(__tstate
);
30611 if (PyErr_Occurred()) SWIG_fail
;
30613 Py_INCREF(Py_None
); resultobj
= Py_None
;
30628 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30629 PyObject
*resultobj
;
30630 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30632 PyObject
* obj0
= 0 ;
30633 char *kwnames
[] = {
30634 (char *) "self", NULL
30637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
30638 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30639 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30642 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
30644 wxPyEndAllowThreads(__tstate
);
30645 if (PyErr_Occurred()) SWIG_fail
;
30649 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30651 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30660 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30661 PyObject
*resultobj
;
30662 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
30670 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30671 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30675 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
30676 result
= (wxString
*) &_result_ref
;
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30684 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
30686 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
30695 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30696 PyObject
*resultobj
;
30697 wxString
*arg1
= 0 ;
30699 bool temp1
= False
;
30700 PyObject
* obj0
= 0 ;
30701 char *kwnames
[] = {
30702 (char *) "text", NULL
30705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
30707 arg1
= wxString_in_helper(obj0
);
30708 if (arg1
== NULL
) SWIG_fail
;
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
30715 wxPyEndAllowThreads(__tstate
);
30716 if (PyErr_Occurred()) SWIG_fail
;
30720 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
30722 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
30739 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30740 PyObject
*resultobj
;
30741 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30743 PyObject
* obj0
= 0 ;
30744 char *kwnames
[] = {
30745 (char *) "self", NULL
30748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
30749 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30750 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30753 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
30755 wxPyEndAllowThreads(__tstate
);
30756 if (PyErr_Occurred()) SWIG_fail
;
30758 resultobj
= SWIG_FromInt((int)result
);
30765 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30766 PyObject
*resultobj
;
30767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30769 PyObject
* obj0
= 0 ;
30770 PyObject
* obj1
= 0 ;
30771 char *kwnames
[] = {
30772 (char *) "self",(char *) "checkable", NULL
30775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
30776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30778 arg2
= (bool) SWIG_AsBool(obj1
);
30779 if (PyErr_Occurred()) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 (arg1
)->SetCheckable(arg2
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 Py_INCREF(Py_None
); resultobj
= Py_None
;
30794 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
;
30796 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30798 PyObject
* obj0
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
30804 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30805 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30808 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30820 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
;
30822 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30824 PyObject
* obj0
= 0 ;
30825 char *kwnames
[] = {
30826 (char *) "self", NULL
30829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
30830 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30831 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30839 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30846 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30849 wxMenu
*arg2
= (wxMenu
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "menu", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30858 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30859 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxMenu
,
30860 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30863 (arg1
)->SetSubMenu(arg2
);
30865 wxPyEndAllowThreads(__tstate
);
30866 if (PyErr_Occurred()) SWIG_fail
;
30868 Py_INCREF(Py_None
); resultobj
= Py_None
;
30875 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30876 PyObject
*resultobj
;
30877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30879 PyObject
* obj0
= 0 ;
30880 char *kwnames
[] = {
30881 (char *) "self", NULL
30884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
30885 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30886 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30889 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
30891 wxPyEndAllowThreads(__tstate
);
30892 if (PyErr_Occurred()) SWIG_fail
;
30895 resultobj
= wxPyMake_wxObject(result
);
30903 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30904 PyObject
*resultobj
;
30905 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30906 bool arg2
= (bool) True
;
30907 PyObject
* obj0
= 0 ;
30908 PyObject
* obj1
= 0 ;
30909 char *kwnames
[] = {
30910 (char *) "self",(char *) "enable", NULL
30913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
30914 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30915 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30917 arg2
= (bool) SWIG_AsBool(obj1
);
30918 if (PyErr_Occurred()) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 (arg1
)->Enable(arg2
);
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 Py_INCREF(Py_None
); resultobj
= Py_None
;
30934 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
;
30936 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
30944 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30945 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30948 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
30950 wxPyEndAllowThreads(__tstate
);
30951 if (PyErr_Occurred()) SWIG_fail
;
30953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30960 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30961 PyObject
*resultobj
;
30962 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30963 bool arg2
= (bool) True
;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 char *kwnames
[] = {
30967 (char *) "self",(char *) "check", NULL
30970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
30971 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
30972 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
30974 arg2
= (bool) SWIG_AsBool(obj1
);
30975 if (PyErr_Occurred()) SWIG_fail
;
30978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30979 (arg1
)->Check(arg2
);
30981 wxPyEndAllowThreads(__tstate
);
30982 if (PyErr_Occurred()) SWIG_fail
;
30984 Py_INCREF(Py_None
); resultobj
= Py_None
;
30991 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30992 PyObject
*resultobj
;
30993 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
30995 PyObject
* obj0
= 0 ;
30996 char *kwnames
[] = {
30997 (char *) "self", NULL
31000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
31001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31005 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
31007 wxPyEndAllowThreads(__tstate
);
31008 if (PyErr_Occurred()) SWIG_fail
;
31010 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31017 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31018 PyObject
*resultobj
;
31019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31020 PyObject
* obj0
= 0 ;
31021 char *kwnames
[] = {
31022 (char *) "self", NULL
31025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
31026 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31027 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 Py_INCREF(Py_None
); resultobj
= Py_None
;
31042 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31045 wxString
*arg2
= 0 ;
31046 bool temp2
= False
;
31047 PyObject
* obj0
= 0 ;
31048 PyObject
* obj1
= 0 ;
31049 char *kwnames
[] = {
31050 (char *) "self",(char *) "str", NULL
31053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
31054 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31055 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31057 arg2
= wxString_in_helper(obj1
);
31058 if (arg2
== NULL
) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->SetHelp((wxString
const &)*arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31083 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31084 PyObject
*resultobj
;
31085 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31087 PyObject
* obj0
= 0 ;
31088 char *kwnames
[] = {
31089 (char *) "self", NULL
31092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
31093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31098 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
31099 result
= (wxString
*) &_result_ref
;
31102 wxPyEndAllowThreads(__tstate
);
31103 if (PyErr_Occurred()) SWIG_fail
;
31107 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
31109 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
31118 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31119 PyObject
*resultobj
;
31120 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31121 wxAcceleratorEntry
*result
;
31122 PyObject
* obj0
= 0 ;
31123 char *kwnames
[] = {
31124 (char *) "self", NULL
31127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
31128 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31129 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
31134 wxPyEndAllowThreads(__tstate
);
31135 if (PyErr_Occurred()) SWIG_fail
;
31137 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxAcceleratorEntry
, 0);
31144 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31145 PyObject
*resultobj
;
31146 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31147 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
31148 PyObject
* obj0
= 0 ;
31149 PyObject
* obj1
= 0 ;
31150 char *kwnames
[] = {
31151 (char *) "self",(char *) "accel", NULL
31154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
31155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31157 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxAcceleratorEntry
,
31158 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->SetAccel(arg2
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 Py_INCREF(Py_None
); resultobj
= Py_None
;
31173 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31174 PyObject
*resultobj
;
31175 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31177 PyObject
* obj0
= 0 ;
31178 PyObject
* obj1
= 0 ;
31179 char *kwnames
[] = {
31180 (char *) "self",(char *) "font", NULL
31183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
31184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxFont
,
31187 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31189 if (arg2
== NULL
) {
31190 PyErr_SetString(PyExc_TypeError
,"null reference");
31194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31195 (arg1
)->SetFont((wxFont
const &)*arg2
);
31197 wxPyEndAllowThreads(__tstate
);
31198 if (PyErr_Occurred()) SWIG_fail
;
31200 Py_INCREF(Py_None
); resultobj
= Py_None
;
31207 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31208 PyObject
*resultobj
;
31209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31211 PyObject
* obj0
= 0 ;
31212 char *kwnames
[] = {
31213 (char *) "self", NULL
31216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
31217 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31218 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 result
= (arg1
)->GetFont();
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31227 wxFont
* resultptr
;
31228 resultptr
= new wxFont((wxFont
&) result
);
31229 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxFont
, 1);
31237 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31238 PyObject
*resultobj
;
31239 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31240 wxColour
*arg2
= 0 ;
31242 PyObject
* obj0
= 0 ;
31243 PyObject
* obj1
= 0 ;
31244 char *kwnames
[] = {
31245 (char *) "self",(char *) "colText", NULL
31248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31253 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31257 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
31259 wxPyEndAllowThreads(__tstate
);
31260 if (PyErr_Occurred()) SWIG_fail
;
31262 Py_INCREF(Py_None
); resultobj
= Py_None
;
31269 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31270 PyObject
*resultobj
;
31271 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31273 PyObject
* obj0
= 0 ;
31274 char *kwnames
[] = {
31275 (char *) "self", NULL
31278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
31279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31283 result
= (arg1
)->GetTextColour();
31285 wxPyEndAllowThreads(__tstate
);
31286 if (PyErr_Occurred()) SWIG_fail
;
31289 wxColour
* resultptr
;
31290 resultptr
= new wxColour((wxColour
&) result
);
31291 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31299 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31300 PyObject
*resultobj
;
31301 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31302 wxColour
*arg2
= 0 ;
31304 PyObject
* obj0
= 0 ;
31305 PyObject
* obj1
= 0 ;
31306 char *kwnames
[] = {
31307 (char *) "self",(char *) "colBack", NULL
31310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
31311 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31312 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31315 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
31318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31319 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
31321 wxPyEndAllowThreads(__tstate
);
31322 if (PyErr_Occurred()) SWIG_fail
;
31324 Py_INCREF(Py_None
); resultobj
= Py_None
;
31331 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31332 PyObject
*resultobj
;
31333 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31335 PyObject
* obj0
= 0 ;
31336 char *kwnames
[] = {
31337 (char *) "self", NULL
31340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
31341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31345 result
= (arg1
)->GetBackgroundColour();
31347 wxPyEndAllowThreads(__tstate
);
31348 if (PyErr_Occurred()) SWIG_fail
;
31351 wxColour
* resultptr
;
31352 resultptr
= new wxColour((wxColour
&) result
);
31353 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxColour
, 1);
31361 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31362 PyObject
*resultobj
;
31363 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31364 wxBitmap
*arg2
= 0 ;
31365 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
31366 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
31367 PyObject
* obj0
= 0 ;
31368 PyObject
* obj1
= 0 ;
31369 PyObject
* obj2
= 0 ;
31370 char *kwnames
[] = {
31371 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
31374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31375 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31376 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31377 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31378 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31380 if (arg2
== NULL
) {
31381 PyErr_SetString(PyExc_TypeError
,"null reference");
31385 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxBitmap
,
31386 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31388 if (arg3
== NULL
) {
31389 PyErr_SetString(PyExc_TypeError
,"null reference");
31394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31395 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
31397 wxPyEndAllowThreads(__tstate
);
31398 if (PyErr_Occurred()) SWIG_fail
;
31400 Py_INCREF(Py_None
); resultobj
= Py_None
;
31407 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31408 PyObject
*resultobj
;
31409 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31410 wxBitmap
*arg2
= 0 ;
31411 PyObject
* obj0
= 0 ;
31412 PyObject
* obj1
= 0 ;
31413 char *kwnames
[] = {
31414 (char *) "self",(char *) "bmpDisabled", NULL
31417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31418 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31419 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31420 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31421 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31423 if (arg2
== NULL
) {
31424 PyErr_SetString(PyExc_TypeError
,"null reference");
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 Py_INCREF(Py_None
); resultobj
= Py_None
;
31441 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31445 PyObject
* obj0
= 0 ;
31446 char *kwnames
[] = {
31447 (char *) "self", NULL
31450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
31451 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31452 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31456 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
31457 result
= (wxBitmap
*) &_result_ref
;
31460 wxPyEndAllowThreads(__tstate
);
31461 if (PyErr_Occurred()) SWIG_fail
;
31463 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
31470 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31471 PyObject
*resultobj
;
31472 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31474 PyObject
* obj0
= 0 ;
31475 PyObject
* obj1
= 0 ;
31476 char *kwnames
[] = {
31477 (char *) "self",(char *) "nWidth", NULL
31480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMarginWidth",kwnames
,&obj0
,&obj1
)) goto fail
;
31481 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31482 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31483 arg2
= (int) SWIG_AsInt(obj1
);
31484 if (PyErr_Occurred()) SWIG_fail
;
31486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31487 (arg1
)->SetMarginWidth(arg2
);
31489 wxPyEndAllowThreads(__tstate
);
31490 if (PyErr_Occurred()) SWIG_fail
;
31492 Py_INCREF(Py_None
); resultobj
= Py_None
;
31499 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31500 PyObject
*resultobj
;
31501 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31503 PyObject
* obj0
= 0 ;
31504 char *kwnames
[] = {
31505 (char *) "self", NULL
31508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
31509 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31510 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31513 result
= (int)(arg1
)->GetMarginWidth();
31515 wxPyEndAllowThreads(__tstate
);
31516 if (PyErr_Occurred()) SWIG_fail
;
31518 resultobj
= SWIG_FromInt((int)result
);
31525 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31526 PyObject
*resultobj
;
31528 char *kwnames
[] = {
31532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
31534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31535 result
= (int)wxMenuItem::GetDefaultMarginWidth();
31537 wxPyEndAllowThreads(__tstate
);
31538 if (PyErr_Occurred()) SWIG_fail
;
31540 resultobj
= SWIG_FromInt((int)result
);
31547 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31548 PyObject
*resultobj
;
31549 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31551 PyObject
* obj0
= 0 ;
31552 char *kwnames
[] = {
31553 (char *) "self", NULL
31556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31557 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31558 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31561 result
= (bool)(arg1
)->IsOwnerDrawn();
31563 wxPyEndAllowThreads(__tstate
);
31564 if (PyErr_Occurred()) SWIG_fail
;
31566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31573 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
;
31575 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31576 bool arg2
= (bool) True
;
31577 PyObject
* obj0
= 0 ;
31578 PyObject
* obj1
= 0 ;
31579 char *kwnames
[] = {
31580 (char *) "self",(char *) "ownerDrawn", NULL
31583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
31584 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31585 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31587 arg2
= (bool) SWIG_AsBool(obj1
);
31588 if (PyErr_Occurred()) SWIG_fail
;
31591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31592 (arg1
)->SetOwnerDrawn(arg2
);
31594 wxPyEndAllowThreads(__tstate
);
31595 if (PyErr_Occurred()) SWIG_fail
;
31597 Py_INCREF(Py_None
); resultobj
= Py_None
;
31604 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31605 PyObject
*resultobj
;
31606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31607 PyObject
* obj0
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "self", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
31613 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31614 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 (arg1
)->ResetOwnerDrawn();
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 Py_INCREF(Py_None
); resultobj
= Py_None
;
31629 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31632 wxBitmap
*arg2
= 0 ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "bitmap", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31641 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31642 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxBitmap
,
31643 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31645 if (arg2
== NULL
) {
31646 PyErr_SetString(PyExc_TypeError
,"null reference");
31650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31651 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
31653 wxPyEndAllowThreads(__tstate
);
31654 if (PyErr_Occurred()) SWIG_fail
;
31656 Py_INCREF(Py_None
); resultobj
= Py_None
;
31663 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31664 PyObject
*resultobj
;
31665 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
31667 PyObject
* obj0
= 0 ;
31668 char *kwnames
[] = {
31669 (char *) "self", NULL
31672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
31673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxMenuItem
,
31674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31678 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
31679 result
= (wxBitmap
*) &_result_ref
;
31682 wxPyEndAllowThreads(__tstate
);
31683 if (PyErr_Occurred()) SWIG_fail
;
31685 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBitmap
, 0);
31692 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
31694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31695 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
31697 return Py_BuildValue((char *)"");
31699 static int _wrap_ControlNameStr_set(PyObject
*_val
) {
31700 PyErr_SetString(PyExc_TypeError
,"Variable ControlNameStr is read-only.");
31705 static PyObject
*_wrap_ControlNameStr_get() {
31710 pyobj
= PyUnicode_FromWideChar((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31712 pyobj
= PyString_FromStringAndSize((&wxPyControlNameStr
)->c_str(), (&wxPyControlNameStr
)->Len());
31719 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31720 PyObject
*resultobj
;
31721 wxWindow
*arg1
= (wxWindow
*) 0 ;
31723 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
31724 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
31725 wxSize
const &arg4_defvalue
= wxDefaultSize
;
31726 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
31727 long arg5
= (long) 0 ;
31728 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
31729 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
31730 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
31731 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31735 bool temp7
= False
;
31736 PyObject
* obj0
= 0 ;
31737 PyObject
* obj1
= 0 ;
31738 PyObject
* obj2
= 0 ;
31739 PyObject
* obj3
= 0 ;
31740 PyObject
* obj4
= 0 ;
31741 PyObject
* obj5
= 0 ;
31742 PyObject
* obj6
= 0 ;
31743 char *kwnames
[] = {
31744 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:new_Control",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
31748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
31749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31750 arg2
= (int) SWIG_AsInt(obj1
);
31751 if (PyErr_Occurred()) SWIG_fail
;
31755 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
31761 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
31765 arg5
= (long) SWIG_AsLong(obj4
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31769 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxValidator
,
31770 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31772 if (arg6
== NULL
) {
31773 PyErr_SetString(PyExc_TypeError
,"null reference");
31779 arg7
= wxString_in_helper(obj6
);
31780 if (arg7
== NULL
) SWIG_fail
;
31785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31786 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
31788 wxPyEndAllowThreads(__tstate
);
31789 if (PyErr_Occurred()) SWIG_fail
;
31792 resultobj
= wxPyMake_wxObject(result
);
31808 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31809 PyObject
*resultobj
;
31811 char *kwnames
[] = {
31815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
31817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31818 result
= (wxControl
*)new wxControl();
31820 wxPyEndAllowThreads(__tstate
);
31821 if (PyErr_Occurred()) SWIG_fail
;
31824 resultobj
= wxPyMake_wxObject(result
);
31832 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31833 PyObject
*resultobj
;
31834 wxControl
*arg1
= (wxControl
*) 0 ;
31835 wxWindow
*arg2
= (wxWindow
*) 0 ;
31837 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31838 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31839 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31840 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31841 long arg6
= (long) 0 ;
31842 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
31843 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
31844 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
31845 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
31849 bool temp8
= False
;
31850 PyObject
* obj0
= 0 ;
31851 PyObject
* obj1
= 0 ;
31852 PyObject
* obj2
= 0 ;
31853 PyObject
* obj3
= 0 ;
31854 PyObject
* obj4
= 0 ;
31855 PyObject
* obj5
= 0 ;
31856 PyObject
* obj6
= 0 ;
31857 PyObject
* obj7
= 0 ;
31858 char *kwnames
[] = {
31859 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
31862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOOO:Control_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) goto fail
;
31863 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31864 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31865 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
31866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31867 arg3
= (int) SWIG_AsInt(obj2
);
31868 if (PyErr_Occurred()) SWIG_fail
;
31872 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31878 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31882 arg6
= (long) SWIG_AsLong(obj5
);
31883 if (PyErr_Occurred()) SWIG_fail
;
31886 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxValidator
,
31887 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31889 if (arg7
== NULL
) {
31890 PyErr_SetString(PyExc_TypeError
,"null reference");
31896 arg8
= wxString_in_helper(obj7
);
31897 if (arg8
== NULL
) SWIG_fail
;
31902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31903 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
31905 wxPyEndAllowThreads(__tstate
);
31906 if (PyErr_Occurred()) SWIG_fail
;
31908 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
31923 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31924 PyObject
*resultobj
;
31925 wxControl
*arg1
= (wxControl
*) 0 ;
31926 wxCommandEvent
*arg2
= 0 ;
31927 PyObject
* obj0
= 0 ;
31928 PyObject
* obj1
= 0 ;
31929 char *kwnames
[] = {
31930 (char *) "self",(char *) "event", NULL
31933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
31934 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31935 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31936 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxCommandEvent
,
31937 SWIG_POINTER_EXCEPTION
| 0)) == -1)
31939 if (arg2
== NULL
) {
31940 PyErr_SetString(PyExc_TypeError
,"null reference");
31944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31945 (arg1
)->Command(*arg2
);
31947 wxPyEndAllowThreads(__tstate
);
31948 if (PyErr_Occurred()) SWIG_fail
;
31950 Py_INCREF(Py_None
); resultobj
= Py_None
;
31957 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31958 PyObject
*resultobj
;
31959 wxControl
*arg1
= (wxControl
*) 0 ;
31961 PyObject
* obj0
= 0 ;
31962 char *kwnames
[] = {
31963 (char *) "self", NULL
31966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
31967 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
31968 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
31970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31971 result
= (arg1
)->GetLabel();
31973 wxPyEndAllowThreads(__tstate
);
31974 if (PyErr_Occurred()) SWIG_fail
;
31978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
31980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
31989 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
;
31991 wxControl
*arg1
= (wxControl
*) 0 ;
31992 wxString
*arg2
= 0 ;
31993 bool temp2
= False
;
31994 PyObject
* obj0
= 0 ;
31995 PyObject
* obj1
= 0 ;
31996 char *kwnames
[] = {
31997 (char *) "self",(char *) "label", NULL
32000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
32001 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxControl
,
32002 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32004 arg2
= wxString_in_helper(obj1
);
32005 if (arg2
== NULL
) SWIG_fail
;
32009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32010 (arg1
)->SetLabel((wxString
const &)*arg2
);
32012 wxPyEndAllowThreads(__tstate
);
32013 if (PyErr_Occurred()) SWIG_fail
;
32015 Py_INCREF(Py_None
); resultobj
= Py_None
;
32030 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
32032 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32033 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
32035 return Py_BuildValue((char *)"");
32037 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32038 PyObject
*resultobj
;
32039 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32040 wxString
*arg2
= 0 ;
32041 PyObject
*arg3
= (PyObject
*) NULL
;
32043 bool temp2
= False
;
32044 PyObject
* obj0
= 0 ;
32045 PyObject
* obj1
= 0 ;
32046 PyObject
* obj2
= 0 ;
32047 char *kwnames
[] = {
32048 (char *) "self",(char *) "item",(char *) "clientData", NULL
32051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32052 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32053 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32055 arg2
= wxString_in_helper(obj1
);
32056 if (arg2
== NULL
) SWIG_fail
;
32063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32064 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
32066 wxPyEndAllowThreads(__tstate
);
32067 if (PyErr_Occurred()) SWIG_fail
;
32069 resultobj
= SWIG_FromInt((int)result
);
32084 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32087 wxArrayString
*arg2
= 0 ;
32088 bool temp2
= False
;
32089 PyObject
* obj0
= 0 ;
32090 PyObject
* obj1
= 0 ;
32091 char *kwnames
[] = {
32092 (char *) "self",(char *) "strings", NULL
32095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
32096 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32097 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32099 if (! PySequence_Check(obj1
)) {
32100 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
32103 arg2
= new wxArrayString
;
32105 int i
, len
=PySequence_Length(obj1
);
32106 for (i
=0; i
<len
; i
++) {
32107 PyObject
* item
= PySequence_GetItem(obj1
, i
);
32109 PyObject
* str
= PyObject_Unicode(item
);
32111 PyObject
* str
= PyObject_Str(item
);
32113 arg2
->Add(Py2wxString(str
));
32119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32120 (arg1
)->Append((wxArrayString
const &)*arg2
);
32122 wxPyEndAllowThreads(__tstate
);
32123 if (PyErr_Occurred()) SWIG_fail
;
32125 Py_INCREF(Py_None
); resultobj
= Py_None
;
32127 if (temp2
) delete arg2
;
32132 if (temp2
) delete arg2
;
32138 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32139 PyObject
*resultobj
;
32140 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32141 wxString
*arg2
= 0 ;
32143 PyObject
*arg4
= (PyObject
*) NULL
;
32145 bool temp2
= False
;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 PyObject
* obj2
= 0 ;
32149 PyObject
* obj3
= 0 ;
32150 char *kwnames
[] = {
32151 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
32154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
32155 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32156 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32158 arg2
= wxString_in_helper(obj1
);
32159 if (arg2
== NULL
) SWIG_fail
;
32162 arg3
= (int) SWIG_AsInt(obj2
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32169 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
32171 wxPyEndAllowThreads(__tstate
);
32172 if (PyErr_Occurred()) SWIG_fail
;
32174 resultobj
= SWIG_FromInt((int)result
);
32189 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32190 PyObject
*resultobj
;
32191 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32192 PyObject
* obj0
= 0 ;
32193 char *kwnames
[] = {
32194 (char *) "self", NULL
32197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
32198 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32199 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32204 wxPyEndAllowThreads(__tstate
);
32205 if (PyErr_Occurred()) SWIG_fail
;
32207 Py_INCREF(Py_None
); resultobj
= Py_None
;
32214 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32215 PyObject
*resultobj
;
32216 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32218 PyObject
* obj0
= 0 ;
32219 PyObject
* obj1
= 0 ;
32220 char *kwnames
[] = {
32221 (char *) "self",(char *) "n", NULL
32224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Delete",kwnames
,&obj0
,&obj1
)) goto fail
;
32225 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32226 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32227 arg2
= (int) SWIG_AsInt(obj1
);
32228 if (PyErr_Occurred()) SWIG_fail
;
32230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32231 (arg1
)->Delete(arg2
);
32233 wxPyEndAllowThreads(__tstate
);
32234 if (PyErr_Occurred()) SWIG_fail
;
32236 Py_INCREF(Py_None
); resultobj
= Py_None
;
32243 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32244 PyObject
*resultobj
;
32245 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32247 PyObject
* obj0
= 0 ;
32248 char *kwnames
[] = {
32249 (char *) "self", NULL
32252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
32253 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32254 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32257 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
32259 wxPyEndAllowThreads(__tstate
);
32260 if (PyErr_Occurred()) SWIG_fail
;
32262 resultobj
= SWIG_FromInt((int)result
);
32269 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32270 PyObject
*resultobj
;
32271 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32273 PyObject
* obj0
= 0 ;
32274 char *kwnames
[] = {
32275 (char *) "self", NULL
32278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
32279 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32280 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32283 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
32285 wxPyEndAllowThreads(__tstate
);
32286 if (PyErr_Occurred()) SWIG_fail
;
32288 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
32295 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32296 PyObject
*resultobj
;
32297 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32300 PyObject
* obj0
= 0 ;
32301 PyObject
* obj1
= 0 ;
32302 char *kwnames
[] = {
32303 (char *) "self",(char *) "n", NULL
32306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetString",kwnames
,&obj0
,&obj1
)) goto fail
;
32307 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32308 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32309 arg2
= (int) SWIG_AsInt(obj1
);
32310 if (PyErr_Occurred()) SWIG_fail
;
32312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32313 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
32315 wxPyEndAllowThreads(__tstate
);
32316 if (PyErr_Occurred()) SWIG_fail
;
32320 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32322 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32331 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32334 wxArrayString result
;
32335 PyObject
* obj0
= 0 ;
32336 char *kwnames
[] = {
32337 (char *) "self", NULL
32340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
32341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32351 resultobj
= wxArrayString2PyList_helper(result
);
32359 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32360 PyObject
*resultobj
;
32361 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32363 wxString
*arg3
= 0 ;
32364 bool temp3
= False
;
32365 PyObject
* obj0
= 0 ;
32366 PyObject
* obj1
= 0 ;
32367 PyObject
* obj2
= 0 ;
32368 char *kwnames
[] = {
32369 (char *) "self",(char *) "n",(char *) "s", NULL
32372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetString",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32373 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32374 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32375 arg2
= (int) SWIG_AsInt(obj1
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 arg3
= wxString_in_helper(obj2
);
32379 if (arg3
== NULL
) SWIG_fail
;
32383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32384 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
32386 wxPyEndAllowThreads(__tstate
);
32387 if (PyErr_Occurred()) SWIG_fail
;
32389 Py_INCREF(Py_None
); resultobj
= Py_None
;
32404 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32405 PyObject
*resultobj
;
32406 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32407 wxString
*arg2
= 0 ;
32409 bool temp2
= False
;
32410 PyObject
* obj0
= 0 ;
32411 PyObject
* obj1
= 0 ;
32412 char *kwnames
[] = {
32413 (char *) "self",(char *) "s", NULL
32416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
32417 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32418 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32420 arg2
= wxString_in_helper(obj1
);
32421 if (arg2
== NULL
) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= SWIG_FromInt((int)result
);
32446 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32447 PyObject
*resultobj
;
32448 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32450 PyObject
* obj0
= 0 ;
32451 PyObject
* obj1
= 0 ;
32452 char *kwnames
[] = {
32453 (char *) "self",(char *) "n", NULL
32456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_Select",kwnames
,&obj0
,&obj1
)) goto fail
;
32457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32459 arg2
= (int) SWIG_AsInt(obj1
);
32460 if (PyErr_Occurred()) SWIG_fail
;
32462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32463 (arg1
)->Select(arg2
);
32465 wxPyEndAllowThreads(__tstate
);
32466 if (PyErr_Occurred()) SWIG_fail
;
32468 Py_INCREF(Py_None
); resultobj
= Py_None
;
32475 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32476 PyObject
*resultobj
;
32477 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32479 PyObject
* obj0
= 0 ;
32480 char *kwnames
[] = {
32481 (char *) "self", NULL
32484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
32485 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= SWIG_FromInt((int)result
);
32501 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32505 PyObject
* obj0
= 0 ;
32506 char *kwnames
[] = {
32507 (char *) "self", NULL
32510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
32511 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32512 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32515 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
32517 wxPyEndAllowThreads(__tstate
);
32518 if (PyErr_Occurred()) SWIG_fail
;
32522 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
32524 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
32533 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32534 PyObject
*resultobj
;
32535 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32538 PyObject
* obj0
= 0 ;
32539 PyObject
* obj1
= 0 ;
32540 char *kwnames
[] = {
32541 (char *) "self",(char *) "n", NULL
32544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_GetClientData",kwnames
,&obj0
,&obj1
)) goto fail
;
32545 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32546 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32547 arg2
= (int) SWIG_AsInt(obj1
);
32548 if (PyErr_Occurred()) SWIG_fail
;
32550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32551 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
32553 wxPyEndAllowThreads(__tstate
);
32554 if (PyErr_Occurred()) SWIG_fail
;
32556 resultobj
= result
;
32563 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32564 PyObject
*resultobj
;
32565 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
32567 PyObject
*arg3
= (PyObject
*) 0 ;
32568 PyObject
* obj0
= 0 ;
32569 PyObject
* obj1
= 0 ;
32570 PyObject
* obj2
= 0 ;
32571 char *kwnames
[] = {
32572 (char *) "self",(char *) "n",(char *) "clientData", NULL
32575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ItemContainer_SetClientData",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32576 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxItemContainer
,
32577 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32578 arg2
= (int) SWIG_AsInt(obj1
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32583 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
32585 wxPyEndAllowThreads(__tstate
);
32586 if (PyErr_Occurred()) SWIG_fail
;
32588 Py_INCREF(Py_None
); resultobj
= Py_None
;
32595 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
32597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32598 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
32600 return Py_BuildValue((char *)"");
32602 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
32604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32605 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
32607 return Py_BuildValue((char *)"");
32609 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32610 PyObject
*resultobj
;
32611 wxSizerItem
*result
;
32612 char *kwnames
[] = {
32616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
32618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32619 result
= (wxSizerItem
*)new wxSizerItem();
32621 wxPyEndAllowThreads(__tstate
);
32622 if (PyErr_Occurred()) SWIG_fail
;
32624 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32631 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32632 PyObject
*resultobj
;
32638 wxObject
*arg6
= (wxObject
*) 0 ;
32639 wxSizerItem
*result
;
32640 PyObject
* obj0
= 0 ;
32641 PyObject
* obj1
= 0 ;
32642 PyObject
* obj2
= 0 ;
32643 PyObject
* obj3
= 0 ;
32644 PyObject
* obj4
= 0 ;
32645 PyObject
* obj5
= 0 ;
32646 char *kwnames
[] = {
32647 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_SizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
32651 arg1
= (int) SWIG_AsInt(obj0
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32653 arg2
= (int) SWIG_AsInt(obj1
);
32654 if (PyErr_Occurred()) SWIG_fail
;
32655 arg3
= (int) SWIG_AsInt(obj2
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32657 arg4
= (int) SWIG_AsInt(obj3
);
32658 if (PyErr_Occurred()) SWIG_fail
;
32659 arg5
= (int) SWIG_AsInt(obj4
);
32660 if (PyErr_Occurred()) SWIG_fail
;
32661 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
32662 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32665 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
32667 wxPyEndAllowThreads(__tstate
);
32668 if (PyErr_Occurred()) SWIG_fail
;
32670 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32677 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32678 PyObject
*resultobj
;
32679 wxWindow
*arg1
= (wxWindow
*) 0 ;
32683 wxObject
*arg5
= (wxObject
*) 0 ;
32684 wxSizerItem
*result
;
32685 PyObject
* obj0
= 0 ;
32686 PyObject
* obj1
= 0 ;
32687 PyObject
* obj2
= 0 ;
32688 PyObject
* obj3
= 0 ;
32689 PyObject
* obj4
= 0 ;
32690 char *kwnames
[] = {
32691 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
32696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32697 arg2
= (int) SWIG_AsInt(obj1
);
32698 if (PyErr_Occurred()) SWIG_fail
;
32699 arg3
= (int) SWIG_AsInt(obj2
);
32700 if (PyErr_Occurred()) SWIG_fail
;
32701 arg4
= (int) SWIG_AsInt(obj3
);
32702 if (PyErr_Occurred()) SWIG_fail
;
32703 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32704 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32707 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32709 wxPyEndAllowThreads(__tstate
);
32710 if (PyErr_Occurred()) SWIG_fail
;
32712 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32719 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32720 PyObject
*resultobj
;
32721 wxSizer
*arg1
= (wxSizer
*) 0 ;
32725 wxObject
*arg5
= (wxObject
*) 0 ;
32726 wxSizerItem
*result
;
32727 PyObject
* obj0
= 0 ;
32728 PyObject
* obj1
= 0 ;
32729 PyObject
* obj2
= 0 ;
32730 PyObject
* obj3
= 0 ;
32731 PyObject
* obj4
= 0 ;
32732 char *kwnames
[] = {
32733 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
32736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_SizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
32737 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
32738 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32739 arg2
= (int) SWIG_AsInt(obj1
);
32740 if (PyErr_Occurred()) SWIG_fail
;
32741 arg3
= (int) SWIG_AsInt(obj2
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32743 arg4
= (int) SWIG_AsInt(obj3
);
32744 if (PyErr_Occurred()) SWIG_fail
;
32745 if ((SWIG_ConvertPtr(obj4
,(void **)(&arg5
),SWIGTYPE_p_wxObject
,
32746 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32749 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
32751 wxPyEndAllowThreads(__tstate
);
32752 if (PyErr_Occurred()) SWIG_fail
;
32754 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSizerItem
, 1);
32761 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32762 PyObject
*resultobj
;
32763 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "self", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
32770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32774 (arg1
)->DeleteWindows();
32776 wxPyEndAllowThreads(__tstate
);
32777 if (PyErr_Occurred()) SWIG_fail
;
32779 Py_INCREF(Py_None
); resultobj
= Py_None
;
32786 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32787 PyObject
*resultobj
;
32788 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32789 PyObject
* obj0
= 0 ;
32790 char *kwnames
[] = {
32791 (char *) "self", NULL
32794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
32795 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32796 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32799 (arg1
)->DetachSizer();
32801 wxPyEndAllowThreads(__tstate
);
32802 if (PyErr_Occurred()) SWIG_fail
;
32804 Py_INCREF(Py_None
); resultobj
= Py_None
;
32811 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32812 PyObject
*resultobj
;
32813 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32815 PyObject
* obj0
= 0 ;
32816 char *kwnames
[] = {
32817 (char *) "self", NULL
32820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
32821 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32822 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32825 result
= (arg1
)->GetSize();
32827 wxPyEndAllowThreads(__tstate
);
32828 if (PyErr_Occurred()) SWIG_fail
;
32831 wxSize
* resultptr
;
32832 resultptr
= new wxSize((wxSize
&) result
);
32833 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32841 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32845 PyObject
* obj0
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "self", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
32851 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32852 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32855 result
= (arg1
)->CalcMin();
32857 wxPyEndAllowThreads(__tstate
);
32858 if (PyErr_Occurred()) SWIG_fail
;
32861 wxSize
* resultptr
;
32862 resultptr
= new wxSize((wxSize
&) result
);
32863 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32871 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32872 PyObject
*resultobj
;
32873 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32878 PyObject
* obj0
= 0 ;
32879 PyObject
* obj1
= 0 ;
32880 PyObject
* obj2
= 0 ;
32881 char *kwnames
[] = {
32882 (char *) "self",(char *) "pos",(char *) "size", NULL
32885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32888 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxPoint
,
32889 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32891 if ((SWIG_ConvertPtr(obj2
,(void **)(&argp3
),SWIGTYPE_p_wxSize
,
32892 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
32895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32896 (arg1
)->SetDimension(arg2
,arg3
);
32898 wxPyEndAllowThreads(__tstate
);
32899 if (PyErr_Occurred()) SWIG_fail
;
32901 Py_INCREF(Py_None
); resultobj
= Py_None
;
32908 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32909 PyObject
*resultobj
;
32910 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32912 PyObject
* obj0
= 0 ;
32913 char *kwnames
[] = {
32914 (char *) "self", NULL
32917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
32918 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32919 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32922 result
= (arg1
)->GetMinSize();
32924 wxPyEndAllowThreads(__tstate
);
32925 if (PyErr_Occurred()) SWIG_fail
;
32928 wxSize
* resultptr
;
32929 resultptr
= new wxSize((wxSize
&) result
);
32930 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
32938 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32939 PyObject
*resultobj
;
32940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32943 PyObject
* obj0
= 0 ;
32944 PyObject
* obj1
= 0 ;
32945 PyObject
* obj2
= 0 ;
32946 char *kwnames
[] = {
32947 (char *) "self",(char *) "x",(char *) "y", NULL
32950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetInitSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32951 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32952 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32953 arg2
= (int) SWIG_AsInt(obj1
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32955 arg3
= (int) SWIG_AsInt(obj2
);
32956 if (PyErr_Occurred()) SWIG_fail
;
32958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32959 (arg1
)->SetInitSize(arg2
,arg3
);
32961 wxPyEndAllowThreads(__tstate
);
32962 if (PyErr_Occurred()) SWIG_fail
;
32964 Py_INCREF(Py_None
); resultobj
= Py_None
;
32971 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32972 PyObject
*resultobj
;
32973 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 PyObject
* obj1
= 0 ;
32978 PyObject
* obj2
= 0 ;
32979 char *kwnames
[] = {
32980 (char *) "self",(char *) "width",(char *) "height", NULL
32983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetRatioWH",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
32985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
32986 arg2
= (int) SWIG_AsInt(obj1
);
32987 if (PyErr_Occurred()) SWIG_fail
;
32988 arg3
= (int) SWIG_AsInt(obj2
);
32989 if (PyErr_Occurred()) SWIG_fail
;
32991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32992 (arg1
)->SetRatio(arg2
,arg3
);
32994 wxPyEndAllowThreads(__tstate
);
32995 if (PyErr_Occurred()) SWIG_fail
;
32997 Py_INCREF(Py_None
); resultobj
= Py_None
;
33004 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33005 PyObject
*resultobj
;
33006 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33009 PyObject
* obj0
= 0 ;
33010 PyObject
* obj1
= 0 ;
33011 char *kwnames
[] = {
33012 (char *) "self",(char *) "size", NULL
33015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33016 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33017 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33018 if ((SWIG_ConvertPtr(obj1
,(void **)(&argp2
),SWIGTYPE_p_wxSize
,
33019 SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
33022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33023 (arg1
)->SetRatio(arg2
);
33025 wxPyEndAllowThreads(__tstate
);
33026 if (PyErr_Occurred()) SWIG_fail
;
33028 Py_INCREF(Py_None
); resultobj
= Py_None
;
33035 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33036 PyObject
*resultobj
;
33037 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33039 PyObject
* obj0
= 0 ;
33040 PyObject
* obj1
= 0 ;
33041 char *kwnames
[] = {
33042 (char *) "self",(char *) "ratio", NULL
33045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatio",kwnames
,&obj0
,&obj1
)) goto fail
;
33046 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33048 arg2
= (float) SWIG_AsFloat(obj1
);
33049 if (PyErr_Occurred()) SWIG_fail
;
33051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33052 (arg1
)->SetRatio(arg2
);
33054 wxPyEndAllowThreads(__tstate
);
33055 if (PyErr_Occurred()) SWIG_fail
;
33057 Py_INCREF(Py_None
); resultobj
= Py_None
;
33064 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33065 PyObject
*resultobj
;
33066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33068 PyObject
* obj0
= 0 ;
33069 char *kwnames
[] = {
33070 (char *) "self", NULL
33073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
33074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 result
= (float)(arg1
)->GetRatio();
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 resultobj
= SWIG_FromFloat((float)result
);
33090 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33101 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33104 result
= (bool)(arg1
)->IsWindow();
33106 wxPyEndAllowThreads(__tstate
);
33107 if (PyErr_Occurred()) SWIG_fail
;
33109 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33116 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33117 PyObject
*resultobj
;
33118 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33120 PyObject
* obj0
= 0 ;
33121 char *kwnames
[] = {
33122 (char *) "self", NULL
33125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
33126 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33127 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 result
= (bool)(arg1
)->IsSizer();
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33142 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33143 PyObject
*resultobj
;
33144 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33146 PyObject
* obj0
= 0 ;
33147 char *kwnames
[] = {
33148 (char *) "self", NULL
33151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
33152 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33153 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33156 result
= (bool)(arg1
)->IsSpacer();
33158 wxPyEndAllowThreads(__tstate
);
33159 if (PyErr_Occurred()) SWIG_fail
;
33161 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33168 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33169 PyObject
*resultobj
;
33170 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33172 PyObject
* obj0
= 0 ;
33173 PyObject
* obj1
= 0 ;
33174 char *kwnames
[] = {
33175 (char *) "self",(char *) "proportion", NULL
33178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetProportion",kwnames
,&obj0
,&obj1
)) goto fail
;
33179 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33180 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33181 arg2
= (int) SWIG_AsInt(obj1
);
33182 if (PyErr_Occurred()) SWIG_fail
;
33184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33185 (arg1
)->SetProportion(arg2
);
33187 wxPyEndAllowThreads(__tstate
);
33188 if (PyErr_Occurred()) SWIG_fail
;
33190 Py_INCREF(Py_None
); resultobj
= Py_None
;
33197 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33198 PyObject
*resultobj
;
33199 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33201 PyObject
* obj0
= 0 ;
33202 char *kwnames
[] = {
33203 (char *) "self", NULL
33206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
33207 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33208 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33211 result
= (int)(arg1
)->GetProportion();
33213 wxPyEndAllowThreads(__tstate
);
33214 if (PyErr_Occurred()) SWIG_fail
;
33216 resultobj
= SWIG_FromInt((int)result
);
33223 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33224 PyObject
*resultobj
;
33225 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33227 PyObject
* obj0
= 0 ;
33228 PyObject
* obj1
= 0 ;
33229 char *kwnames
[] = {
33230 (char *) "self",(char *) "flag", NULL
33233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetFlag",kwnames
,&obj0
,&obj1
)) goto fail
;
33234 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33236 arg2
= (int) SWIG_AsInt(obj1
);
33237 if (PyErr_Occurred()) SWIG_fail
;
33239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33240 (arg1
)->SetFlag(arg2
);
33242 wxPyEndAllowThreads(__tstate
);
33243 if (PyErr_Occurred()) SWIG_fail
;
33245 Py_INCREF(Py_None
); resultobj
= Py_None
;
33252 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33253 PyObject
*resultobj
;
33254 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33256 PyObject
* obj0
= 0 ;
33257 char *kwnames
[] = {
33258 (char *) "self", NULL
33261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
33262 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33263 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (int)(arg1
)->GetFlag();
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33271 resultobj
= SWIG_FromInt((int)result
);
33278 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33279 PyObject
*resultobj
;
33280 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33282 PyObject
* obj0
= 0 ;
33283 PyObject
* obj1
= 0 ;
33284 char *kwnames
[] = {
33285 (char *) "self",(char *) "border", NULL
33288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetBorder",kwnames
,&obj0
,&obj1
)) goto fail
;
33289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33291 arg2
= (int) SWIG_AsInt(obj1
);
33292 if (PyErr_Occurred()) SWIG_fail
;
33294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33295 (arg1
)->SetBorder(arg2
);
33297 wxPyEndAllowThreads(__tstate
);
33298 if (PyErr_Occurred()) SWIG_fail
;
33300 Py_INCREF(Py_None
); resultobj
= Py_None
;
33307 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33308 PyObject
*resultobj
;
33309 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33311 PyObject
* obj0
= 0 ;
33312 char *kwnames
[] = {
33313 (char *) "self", NULL
33316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
33317 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33318 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33321 result
= (int)(arg1
)->GetBorder();
33323 wxPyEndAllowThreads(__tstate
);
33324 if (PyErr_Occurred()) SWIG_fail
;
33326 resultobj
= SWIG_FromInt((int)result
);
33333 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33334 PyObject
*resultobj
;
33335 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33337 PyObject
* obj0
= 0 ;
33338 char *kwnames
[] = {
33339 (char *) "self", NULL
33342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
33343 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33344 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33347 result
= (wxWindow
*)(arg1
)->GetWindow();
33349 wxPyEndAllowThreads(__tstate
);
33350 if (PyErr_Occurred()) SWIG_fail
;
33353 resultobj
= wxPyMake_wxObject(result
);
33361 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33362 PyObject
*resultobj
;
33363 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33364 wxWindow
*arg2
= (wxWindow
*) 0 ;
33365 PyObject
* obj0
= 0 ;
33366 PyObject
* obj1
= 0 ;
33367 char *kwnames
[] = {
33368 (char *) "self",(char *) "window", NULL
33371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
33372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33374 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
33375 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33378 (arg1
)->SetWindow(arg2
);
33380 wxPyEndAllowThreads(__tstate
);
33381 if (PyErr_Occurred()) SWIG_fail
;
33383 Py_INCREF(Py_None
); resultobj
= Py_None
;
33390 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33391 PyObject
*resultobj
;
33392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33394 PyObject
* obj0
= 0 ;
33395 char *kwnames
[] = {
33396 (char *) "self", NULL
33399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
33400 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33401 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33404 result
= (wxSizer
*)(arg1
)->GetSizer();
33406 wxPyEndAllowThreads(__tstate
);
33407 if (PyErr_Occurred()) SWIG_fail
;
33410 resultobj
= wxPyMake_wxSizer(result
);
33418 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33419 PyObject
*resultobj
;
33420 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33421 wxSizer
*arg2
= (wxSizer
*) 0 ;
33422 PyObject
* obj0
= 0 ;
33423 PyObject
* obj1
= 0 ;
33424 char *kwnames
[] = {
33425 (char *) "self",(char *) "sizer", NULL
33428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33429 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33430 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33431 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
33432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33435 (arg1
)->SetSizer(arg2
);
33437 wxPyEndAllowThreads(__tstate
);
33438 if (PyErr_Occurred()) SWIG_fail
;
33440 Py_INCREF(Py_None
); resultobj
= Py_None
;
33447 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33448 PyObject
*resultobj
;
33449 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33451 PyObject
* obj0
= 0 ;
33452 char *kwnames
[] = {
33453 (char *) "self", NULL
33456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
33457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33462 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
33463 result
= (wxSize
*) &_result_ref
;
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxSize
, 0);
33476 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33477 PyObject
*resultobj
;
33478 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33481 PyObject
* obj0
= 0 ;
33482 PyObject
* obj1
= 0 ;
33483 char *kwnames
[] = {
33484 (char *) "self",(char *) "size", NULL
33487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
33488 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33489 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33492 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33496 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
33498 wxPyEndAllowThreads(__tstate
);
33499 if (PyErr_Occurred()) SWIG_fail
;
33501 Py_INCREF(Py_None
); resultobj
= Py_None
;
33508 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33509 PyObject
*resultobj
;
33510 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33512 PyObject
* obj0
= 0 ;
33513 PyObject
* obj1
= 0 ;
33514 char *kwnames
[] = {
33515 (char *) "self",(char *) "show", NULL
33518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
33519 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33521 arg2
= (bool) SWIG_AsBool(obj1
);
33522 if (PyErr_Occurred()) SWIG_fail
;
33524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33525 (arg1
)->Show(arg2
);
33527 wxPyEndAllowThreads(__tstate
);
33528 if (PyErr_Occurred()) SWIG_fail
;
33530 Py_INCREF(Py_None
); resultobj
= Py_None
;
33537 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33538 PyObject
*resultobj
;
33539 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33541 PyObject
* obj0
= 0 ;
33542 char *kwnames
[] = {
33543 (char *) "self", NULL
33546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
33547 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33548 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33551 result
= (bool)(arg1
)->IsShown();
33553 wxPyEndAllowThreads(__tstate
);
33554 if (PyErr_Occurred()) SWIG_fail
;
33556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33563 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33564 PyObject
*resultobj
;
33565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33567 PyObject
* obj0
= 0 ;
33568 char *kwnames
[] = {
33569 (char *) "self", NULL
33572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
33573 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33574 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33577 result
= (arg1
)->GetPosition();
33579 wxPyEndAllowThreads(__tstate
);
33580 if (PyErr_Occurred()) SWIG_fail
;
33583 wxPoint
* resultptr
;
33584 resultptr
= new wxPoint((wxPoint
&) result
);
33585 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
33593 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33594 PyObject
*resultobj
;
33595 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
33597 PyObject
* obj0
= 0 ;
33598 char *kwnames
[] = {
33599 (char *) "self", NULL
33602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
33603 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizerItem
,
33604 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33607 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
33609 wxPyEndAllowThreads(__tstate
);
33610 if (PyErr_Occurred()) SWIG_fail
;
33612 resultobj
= result
;
33619 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33621 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33622 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
33624 return Py_BuildValue((char *)"");
33626 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33627 PyObject
*resultobj
;
33628 wxSizer
*arg1
= (wxSizer
*) 0 ;
33629 PyObject
*arg2
= (PyObject
*) 0 ;
33630 PyObject
* obj0
= 0 ;
33631 PyObject
* obj1
= 0 ;
33632 char *kwnames
[] = {
33633 (char *) "self",(char *) "_self", NULL
33636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
33637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33642 wxSizer__setOORInfo(arg1
,arg2
);
33644 wxPyEndAllowThreads(__tstate
);
33645 if (PyErr_Occurred()) SWIG_fail
;
33647 Py_INCREF(Py_None
); resultobj
= Py_None
;
33654 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33655 PyObject
*resultobj
;
33656 wxSizer
*arg1
= (wxSizer
*) 0 ;
33657 PyObject
*arg2
= (PyObject
*) 0 ;
33658 int arg3
= (int) 0 ;
33659 int arg4
= (int) 0 ;
33660 int arg5
= (int) 0 ;
33661 PyObject
*arg6
= (PyObject
*) NULL
;
33662 PyObject
* obj0
= 0 ;
33663 PyObject
* obj1
= 0 ;
33664 PyObject
* obj2
= 0 ;
33665 PyObject
* obj3
= 0 ;
33666 PyObject
* obj4
= 0 ;
33667 PyObject
* obj5
= 0 ;
33668 char *kwnames
[] = {
33669 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33673 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33674 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33677 arg3
= (int) SWIG_AsInt(obj2
);
33678 if (PyErr_Occurred()) SWIG_fail
;
33681 arg4
= (int) SWIG_AsInt(obj3
);
33682 if (PyErr_Occurred()) SWIG_fail
;
33685 arg5
= (int) SWIG_AsInt(obj4
);
33686 if (PyErr_Occurred()) SWIG_fail
;
33692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33693 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33695 wxPyEndAllowThreads(__tstate
);
33696 if (PyErr_Occurred()) SWIG_fail
;
33698 Py_INCREF(Py_None
); resultobj
= Py_None
;
33705 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33706 PyObject
*resultobj
;
33707 wxSizer
*arg1
= (wxSizer
*) 0 ;
33709 PyObject
*arg3
= (PyObject
*) 0 ;
33710 int arg4
= (int) 0 ;
33711 int arg5
= (int) 0 ;
33712 int arg6
= (int) 0 ;
33713 PyObject
*arg7
= (PyObject
*) NULL
;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 PyObject
* obj2
= 0 ;
33717 PyObject
* obj3
= 0 ;
33718 PyObject
* obj4
= 0 ;
33719 PyObject
* obj5
= 0 ;
33720 PyObject
* obj6
= 0 ;
33721 char *kwnames
[] = {
33722 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:Sizer_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
33726 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33727 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33728 arg2
= (int) SWIG_AsInt(obj1
);
33729 if (PyErr_Occurred()) SWIG_fail
;
33732 arg4
= (int) SWIG_AsInt(obj3
);
33733 if (PyErr_Occurred()) SWIG_fail
;
33736 arg5
= (int) SWIG_AsInt(obj4
);
33737 if (PyErr_Occurred()) SWIG_fail
;
33740 arg6
= (int) SWIG_AsInt(obj5
);
33741 if (PyErr_Occurred()) SWIG_fail
;
33747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33748 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
33750 wxPyEndAllowThreads(__tstate
);
33751 if (PyErr_Occurred()) SWIG_fail
;
33753 Py_INCREF(Py_None
); resultobj
= Py_None
;
33760 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33761 PyObject
*resultobj
;
33762 wxSizer
*arg1
= (wxSizer
*) 0 ;
33763 PyObject
*arg2
= (PyObject
*) 0 ;
33764 int arg3
= (int) 0 ;
33765 int arg4
= (int) 0 ;
33766 int arg5
= (int) 0 ;
33767 PyObject
*arg6
= (PyObject
*) NULL
;
33768 PyObject
* obj0
= 0 ;
33769 PyObject
* obj1
= 0 ;
33770 PyObject
* obj2
= 0 ;
33771 PyObject
* obj3
= 0 ;
33772 PyObject
* obj4
= 0 ;
33773 PyObject
* obj5
= 0 ;
33774 char *kwnames
[] = {
33775 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
33778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
33779 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33780 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33783 arg3
= (int) SWIG_AsInt(obj2
);
33784 if (PyErr_Occurred()) SWIG_fail
;
33787 arg4
= (int) SWIG_AsInt(obj3
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33791 arg5
= (int) SWIG_AsInt(obj4
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33799 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
33801 wxPyEndAllowThreads(__tstate
);
33802 if (PyErr_Occurred()) SWIG_fail
;
33804 Py_INCREF(Py_None
); resultobj
= Py_None
;
33811 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33812 PyObject
*resultobj
;
33813 wxSizer
*arg1
= (wxSizer
*) 0 ;
33814 PyObject
*arg2
= (PyObject
*) 0 ;
33816 PyObject
* obj0
= 0 ;
33817 PyObject
* obj1
= 0 ;
33818 char *kwnames
[] = {
33819 (char *) "self",(char *) "item", NULL
33822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
33823 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33824 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33828 result
= (bool)wxSizer_Remove(arg1
,arg2
);
33830 wxPyEndAllowThreads(__tstate
);
33831 if (PyErr_Occurred()) SWIG_fail
;
33833 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
33840 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33841 PyObject
*resultobj
;
33842 wxSizer
*arg1
= (wxSizer
*) 0 ;
33843 PyObject
*arg2
= (PyObject
*) 0 ;
33846 PyObject
* obj0
= 0 ;
33847 PyObject
* obj1
= 0 ;
33848 PyObject
* obj2
= 0 ;
33849 char *kwnames
[] = {
33850 (char *) "self",(char *) "item",(char *) "size", NULL
33853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33854 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33855 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33859 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
33862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33863 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
33865 wxPyEndAllowThreads(__tstate
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 Py_INCREF(Py_None
); resultobj
= Py_None
;
33875 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33876 PyObject
*resultobj
;
33877 wxSizer
*arg1
= (wxSizer
*) 0 ;
33878 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33879 PyObject
* obj0
= 0 ;
33880 PyObject
* obj1
= 0 ;
33881 char *kwnames
[] = {
33882 (char *) "self",(char *) "item", NULL
33885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33886 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33887 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33888 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33889 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33894 wxPyEndAllowThreads(__tstate
);
33895 if (PyErr_Occurred()) SWIG_fail
;
33897 Py_INCREF(Py_None
); resultobj
= Py_None
;
33904 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33905 PyObject
*resultobj
;
33906 wxSizer
*arg1
= (wxSizer
*) 0 ;
33908 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
33909 PyObject
* obj0
= 0 ;
33910 PyObject
* obj1
= 0 ;
33911 PyObject
* obj2
= 0 ;
33912 char *kwnames
[] = {
33913 (char *) "self",(char *) "index",(char *) "item", NULL
33916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33917 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33918 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33919 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
33920 if (PyErr_Occurred()) SWIG_fail
;
33921 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxSizerItem
,
33922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33925 (arg1
)->Insert(arg2
,arg3
);
33927 wxPyEndAllowThreads(__tstate
);
33928 if (PyErr_Occurred()) SWIG_fail
;
33930 Py_INCREF(Py_None
); resultobj
= Py_None
;
33937 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33938 PyObject
*resultobj
;
33939 wxSizer
*arg1
= (wxSizer
*) 0 ;
33940 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
33941 PyObject
* obj0
= 0 ;
33942 PyObject
* obj1
= 0 ;
33943 char *kwnames
[] = {
33944 (char *) "self",(char *) "item", NULL
33947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33948 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33949 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33950 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizerItem
,
33951 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33954 (arg1
)->Prepend(arg2
);
33956 wxPyEndAllowThreads(__tstate
);
33957 if (PyErr_Occurred()) SWIG_fail
;
33959 Py_INCREF(Py_None
); resultobj
= Py_None
;
33966 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33967 PyObject
*resultobj
;
33968 wxSizer
*arg1
= (wxSizer
*) 0 ;
33973 PyObject
* obj0
= 0 ;
33974 PyObject
* obj1
= 0 ;
33975 PyObject
* obj2
= 0 ;
33976 PyObject
* obj3
= 0 ;
33977 PyObject
* obj4
= 0 ;
33978 char *kwnames
[] = {
33979 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
33982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Sizer_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
33983 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
33984 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
33985 arg2
= (int) SWIG_AsInt(obj1
);
33986 if (PyErr_Occurred()) SWIG_fail
;
33987 arg3
= (int) SWIG_AsInt(obj2
);
33988 if (PyErr_Occurred()) SWIG_fail
;
33989 arg4
= (int) SWIG_AsInt(obj3
);
33990 if (PyErr_Occurred()) SWIG_fail
;
33991 arg5
= (int) SWIG_AsInt(obj4
);
33992 if (PyErr_Occurred()) SWIG_fail
;
33994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33995 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
33997 wxPyEndAllowThreads(__tstate
);
33998 if (PyErr_Occurred()) SWIG_fail
;
34000 Py_INCREF(Py_None
); resultobj
= Py_None
;
34007 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34008 PyObject
*resultobj
;
34009 wxSizer
*arg1
= (wxSizer
*) 0 ;
34012 PyObject
* obj0
= 0 ;
34013 PyObject
* obj1
= 0 ;
34014 char *kwnames
[] = {
34015 (char *) "self",(char *) "size", NULL
34018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
34019 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34020 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
34026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34027 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
34029 wxPyEndAllowThreads(__tstate
);
34030 if (PyErr_Occurred()) SWIG_fail
;
34032 Py_INCREF(Py_None
); resultobj
= Py_None
;
34039 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34040 PyObject
*resultobj
;
34041 wxSizer
*arg1
= (wxSizer
*) 0 ;
34043 PyObject
* obj0
= 0 ;
34044 char *kwnames
[] = {
34045 (char *) "self", NULL
34048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
34049 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34050 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34053 result
= (arg1
)->GetSize();
34055 wxPyEndAllowThreads(__tstate
);
34056 if (PyErr_Occurred()) SWIG_fail
;
34059 wxSize
* resultptr
;
34060 resultptr
= new wxSize((wxSize
&) result
);
34061 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34069 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34070 PyObject
*resultobj
;
34071 wxSizer
*arg1
= (wxSizer
*) 0 ;
34073 PyObject
* obj0
= 0 ;
34074 char *kwnames
[] = {
34075 (char *) "self", NULL
34078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
34079 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34080 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34083 result
= (arg1
)->GetPosition();
34085 wxPyEndAllowThreads(__tstate
);
34086 if (PyErr_Occurred()) SWIG_fail
;
34089 wxPoint
* resultptr
;
34090 resultptr
= new wxPoint((wxPoint
&) result
);
34091 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxPoint
, 1);
34099 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34100 PyObject
*resultobj
;
34101 wxSizer
*arg1
= (wxSizer
*) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 char *kwnames
[] = {
34105 (char *) "self", NULL
34108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
34109 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34110 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34113 result
= (arg1
)->GetMinSize();
34115 wxPyEndAllowThreads(__tstate
);
34116 if (PyErr_Occurred()) SWIG_fail
;
34119 wxSize
* resultptr
;
34120 resultptr
= new wxSize((wxSize
&) result
);
34121 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34129 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34130 PyObject
*resultobj
;
34131 wxSizer
*arg1
= (wxSizer
*) 0 ;
34132 PyObject
* obj0
= 0 ;
34133 char *kwnames
[] = {
34134 (char *) "self", NULL
34137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34138 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34139 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34142 (arg1
)->RecalcSizes();
34144 wxPyEndAllowThreads(__tstate
);
34145 if (PyErr_Occurred()) SWIG_fail
;
34147 Py_INCREF(Py_None
); resultobj
= Py_None
;
34154 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34155 PyObject
*resultobj
;
34156 wxSizer
*arg1
= (wxSizer
*) 0 ;
34158 PyObject
* obj0
= 0 ;
34159 char *kwnames
[] = {
34160 (char *) "self", NULL
34163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34164 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34165 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34168 result
= (arg1
)->CalcMin();
34170 wxPyEndAllowThreads(__tstate
);
34171 if (PyErr_Occurred()) SWIG_fail
;
34174 wxSize
* resultptr
;
34175 resultptr
= new wxSize((wxSize
&) result
);
34176 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34184 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34185 PyObject
*resultobj
;
34186 wxSizer
*arg1
= (wxSizer
*) 0 ;
34187 PyObject
* obj0
= 0 ;
34188 char *kwnames
[] = {
34189 (char *) "self", NULL
34192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
34193 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34194 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 Py_INCREF(Py_None
); resultobj
= Py_None
;
34209 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34211 wxSizer
*arg1
= (wxSizer
*) 0 ;
34212 wxWindow
*arg2
= (wxWindow
*) 0 ;
34214 PyObject
* obj0
= 0 ;
34215 PyObject
* obj1
= 0 ;
34216 char *kwnames
[] = {
34217 (char *) "self",(char *) "window", NULL
34220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
34221 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34223 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34224 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34227 result
= (arg1
)->Fit(arg2
);
34229 wxPyEndAllowThreads(__tstate
);
34230 if (PyErr_Occurred()) SWIG_fail
;
34233 wxSize
* resultptr
;
34234 resultptr
= new wxSize((wxSize
&) result
);
34235 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34243 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34244 PyObject
*resultobj
;
34245 wxSizer
*arg1
= (wxSizer
*) 0 ;
34246 wxWindow
*arg2
= (wxWindow
*) 0 ;
34247 PyObject
* obj0
= 0 ;
34248 PyObject
* obj1
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "window", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
34254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34260 (arg1
)->FitInside(arg2
);
34262 wxPyEndAllowThreads(__tstate
);
34263 if (PyErr_Occurred()) SWIG_fail
;
34265 Py_INCREF(Py_None
); resultobj
= Py_None
;
34272 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34273 PyObject
*resultobj
;
34274 wxSizer
*arg1
= (wxSizer
*) 0 ;
34275 wxWindow
*arg2
= (wxWindow
*) 0 ;
34276 PyObject
* obj0
= 0 ;
34277 PyObject
* obj1
= 0 ;
34278 char *kwnames
[] = {
34279 (char *) "self",(char *) "window", NULL
34282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34283 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34284 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34285 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34286 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 (arg1
)->SetSizeHints(arg2
);
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34294 Py_INCREF(Py_None
); resultobj
= Py_None
;
34301 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34302 PyObject
*resultobj
;
34303 wxSizer
*arg1
= (wxSizer
*) 0 ;
34304 wxWindow
*arg2
= (wxWindow
*) 0 ;
34305 PyObject
* obj0
= 0 ;
34306 PyObject
* obj1
= 0 ;
34307 char *kwnames
[] = {
34308 (char *) "self",(char *) "window", NULL
34311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
34312 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34313 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34314 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
34315 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34318 (arg1
)->SetVirtualSizeHints(arg2
);
34320 wxPyEndAllowThreads(__tstate
);
34321 if (PyErr_Occurred()) SWIG_fail
;
34323 Py_INCREF(Py_None
); resultobj
= Py_None
;
34330 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34331 PyObject
*resultobj
;
34332 wxSizer
*arg1
= (wxSizer
*) 0 ;
34333 bool arg2
= (bool) False
;
34334 PyObject
* obj0
= 0 ;
34335 PyObject
* obj1
= 0 ;
34336 char *kwnames
[] = {
34337 (char *) "self",(char *) "delete_windows", NULL
34340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
34341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34344 arg2
= (bool) SWIG_AsBool(obj1
);
34345 if (PyErr_Occurred()) SWIG_fail
;
34348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34349 (arg1
)->Clear(arg2
);
34351 wxPyEndAllowThreads(__tstate
);
34352 if (PyErr_Occurred()) SWIG_fail
;
34354 Py_INCREF(Py_None
); resultobj
= Py_None
;
34361 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34362 PyObject
*resultobj
;
34363 wxSizer
*arg1
= (wxSizer
*) 0 ;
34364 PyObject
* obj0
= 0 ;
34365 char *kwnames
[] = {
34366 (char *) "self", NULL
34369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
34370 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34371 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34374 (arg1
)->DeleteWindows();
34376 wxPyEndAllowThreads(__tstate
);
34377 if (PyErr_Occurred()) SWIG_fail
;
34379 Py_INCREF(Py_None
); resultobj
= Py_None
;
34386 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34387 PyObject
*resultobj
;
34388 wxSizer
*arg1
= (wxSizer
*) 0 ;
34390 PyObject
* obj0
= 0 ;
34391 char *kwnames
[] = {
34392 (char *) "self", NULL
34395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
34396 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34397 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34400 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
34402 wxPyEndAllowThreads(__tstate
);
34403 if (PyErr_Occurred()) SWIG_fail
;
34405 resultobj
= result
;
34412 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34413 PyObject
*resultobj
;
34414 wxSizer
*arg1
= (wxSizer
*) 0 ;
34415 PyObject
*arg2
= (PyObject
*) 0 ;
34416 bool arg3
= (bool) True
;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 PyObject
* obj2
= 0 ;
34420 char *kwnames
[] = {
34421 (char *) "self",(char *) "item",(char *) "show", NULL
34424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34429 arg3
= (bool) SWIG_AsBool(obj2
);
34430 if (PyErr_Occurred()) SWIG_fail
;
34433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34434 wxSizer_Show(arg1
,arg2
,arg3
);
34436 wxPyEndAllowThreads(__tstate
);
34437 if (PyErr_Occurred()) SWIG_fail
;
34439 Py_INCREF(Py_None
); resultobj
= Py_None
;
34446 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34447 PyObject
*resultobj
;
34448 wxSizer
*arg1
= (wxSizer
*) 0 ;
34449 PyObject
*arg2
= (PyObject
*) 0 ;
34450 PyObject
* obj0
= 0 ;
34451 PyObject
* obj1
= 0 ;
34452 char *kwnames
[] = {
34453 (char *) "self",(char *) "item", NULL
34456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
34457 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34458 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34462 wxSizer_Hide(arg1
,arg2
);
34464 wxPyEndAllowThreads(__tstate
);
34465 if (PyErr_Occurred()) SWIG_fail
;
34467 Py_INCREF(Py_None
); resultobj
= Py_None
;
34474 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34475 PyObject
*resultobj
;
34476 wxSizer
*arg1
= (wxSizer
*) 0 ;
34477 PyObject
*arg2
= (PyObject
*) 0 ;
34479 PyObject
* obj0
= 0 ;
34480 PyObject
* obj1
= 0 ;
34481 char *kwnames
[] = {
34482 (char *) "self",(char *) "item", NULL
34485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
34486 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34487 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
34503 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxSizer
*arg1
= (wxSizer
*) 0 ;
34507 PyObject
* obj0
= 0 ;
34508 PyObject
* obj1
= 0 ;
34509 char *kwnames
[] = {
34510 (char *) "self",(char *) "show", NULL
34513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
34514 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
34515 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34516 arg2
= (bool) SWIG_AsBool(obj1
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34520 (arg1
)->ShowItems(arg2
);
34522 wxPyEndAllowThreads(__tstate
);
34523 if (PyErr_Occurred()) SWIG_fail
;
34525 Py_INCREF(Py_None
); resultobj
= Py_None
;
34532 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
34534 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34535 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
34537 return Py_BuildValue((char *)"");
34539 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34540 PyObject
*resultobj
;
34542 char *kwnames
[] = {
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
34548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34549 result
= (wxPySizer
*)new wxPySizer();
34551 wxPyEndAllowThreads(__tstate
);
34552 if (PyErr_Occurred()) SWIG_fail
;
34554 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxPySizer
, 1);
34561 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34562 PyObject
*resultobj
;
34563 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
34564 PyObject
*arg2
= (PyObject
*) 0 ;
34565 PyObject
*arg3
= (PyObject
*) 0 ;
34566 PyObject
* obj0
= 0 ;
34567 PyObject
* obj1
= 0 ;
34568 PyObject
* obj2
= 0 ;
34569 char *kwnames
[] = {
34570 (char *) "self",(char *) "self",(char *) "_class", NULL
34573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34574 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxPySizer
,
34575 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34580 (arg1
)->_setCallbackInfo(arg2
,arg3
);
34582 wxPyEndAllowThreads(__tstate
);
34583 if (PyErr_Occurred()) SWIG_fail
;
34585 Py_INCREF(Py_None
); resultobj
= Py_None
;
34592 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
34594 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34595 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
34597 return Py_BuildValue((char *)"");
34599 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34600 PyObject
*resultobj
;
34601 int arg1
= (int) wxHORIZONTAL
;
34602 wxBoxSizer
*result
;
34603 PyObject
* obj0
= 0 ;
34604 char *kwnames
[] = {
34605 (char *) "orient", NULL
34608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_BoxSizer",kwnames
,&obj0
)) goto fail
;
34610 arg1
= (int) SWIG_AsInt(obj0
);
34611 if (PyErr_Occurred()) SWIG_fail
;
34614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34615 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
34617 wxPyEndAllowThreads(__tstate
);
34618 if (PyErr_Occurred()) SWIG_fail
;
34620 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxBoxSizer
, 1);
34627 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34628 PyObject
*resultobj
;
34629 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34631 PyObject
* obj0
= 0 ;
34632 char *kwnames
[] = {
34633 (char *) "self", NULL
34636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
34637 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34638 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (int)(arg1
)->GetOrientation();
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34646 resultobj
= SWIG_FromInt((int)result
);
34653 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34654 PyObject
*resultobj
;
34655 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34657 PyObject
* obj0
= 0 ;
34658 PyObject
* obj1
= 0 ;
34659 char *kwnames
[] = {
34660 (char *) "self",(char *) "orient", NULL
34663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:BoxSizer_SetOrientation",kwnames
,&obj0
,&obj1
)) goto fail
;
34664 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34665 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34666 arg2
= (int) SWIG_AsInt(obj1
);
34667 if (PyErr_Occurred()) SWIG_fail
;
34669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34670 (arg1
)->SetOrientation(arg2
);
34672 wxPyEndAllowThreads(__tstate
);
34673 if (PyErr_Occurred()) SWIG_fail
;
34675 Py_INCREF(Py_None
); resultobj
= Py_None
;
34682 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34683 PyObject
*resultobj
;
34684 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34685 PyObject
* obj0
= 0 ;
34686 char *kwnames
[] = {
34687 (char *) "self", NULL
34690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34691 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34692 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34695 (arg1
)->RecalcSizes();
34697 wxPyEndAllowThreads(__tstate
);
34698 if (PyErr_Occurred()) SWIG_fail
;
34700 Py_INCREF(Py_None
); resultobj
= Py_None
;
34707 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34708 PyObject
*resultobj
;
34709 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
34711 PyObject
* obj0
= 0 ;
34712 char *kwnames
[] = {
34713 (char *) "self", NULL
34716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34717 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxBoxSizer
,
34718 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34721 result
= (arg1
)->CalcMin();
34723 wxPyEndAllowThreads(__tstate
);
34724 if (PyErr_Occurred()) SWIG_fail
;
34727 wxSize
* resultptr
;
34728 resultptr
= new wxSize((wxSize
&) result
);
34729 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34737 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34739 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34740 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
34742 return Py_BuildValue((char *)"");
34744 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
34747 int arg2
= (int) wxHORIZONTAL
;
34748 wxStaticBoxSizer
*result
;
34749 PyObject
* obj0
= 0 ;
34750 PyObject
* obj1
= 0 ;
34751 char *kwnames
[] = {
34752 (char *) "box",(char *) "orient", NULL
34755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_StaticBoxSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
34756 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBox
,
34757 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34759 arg2
= (int) SWIG_AsInt(obj1
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34764 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
34766 wxPyEndAllowThreads(__tstate
);
34767 if (PyErr_Occurred()) SWIG_fail
;
34769 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxStaticBoxSizer
, 1);
34776 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34777 PyObject
*resultobj
;
34778 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34779 wxStaticBox
*result
;
34780 PyObject
* obj0
= 0 ;
34781 char *kwnames
[] = {
34782 (char *) "self", NULL
34785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
34786 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34787 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34790 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
34792 wxPyEndAllowThreads(__tstate
);
34793 if (PyErr_Occurred()) SWIG_fail
;
34796 resultobj
= wxPyMake_wxObject(result
);
34804 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
;
34806 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34807 PyObject
* obj0
= 0 ;
34808 char *kwnames
[] = {
34809 (char *) "self", NULL
34812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34813 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34814 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34817 (arg1
)->RecalcSizes();
34819 wxPyEndAllowThreads(__tstate
);
34820 if (PyErr_Occurred()) SWIG_fail
;
34822 Py_INCREF(Py_None
); resultobj
= Py_None
;
34829 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
34833 PyObject
* obj0
= 0 ;
34834 char *kwnames
[] = {
34835 (char *) "self", NULL
34838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34839 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxStaticBoxSizer
,
34840 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34843 result
= (arg1
)->CalcMin();
34845 wxPyEndAllowThreads(__tstate
);
34846 if (PyErr_Occurred()) SWIG_fail
;
34849 wxSize
* resultptr
;
34850 resultptr
= new wxSize((wxSize
&) result
);
34851 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34859 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34861 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34862 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
34864 return Py_BuildValue((char *)"");
34866 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34867 PyObject
*resultobj
;
34868 int arg1
= (int) 1 ;
34869 int arg2
= (int) 0 ;
34870 int arg3
= (int) 0 ;
34871 int arg4
= (int) 0 ;
34872 wxGridSizer
*result
;
34873 PyObject
* obj0
= 0 ;
34874 PyObject
* obj1
= 0 ;
34875 PyObject
* obj2
= 0 ;
34876 PyObject
* obj3
= 0 ;
34877 char *kwnames
[] = {
34878 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_GridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34883 arg1
= (int) SWIG_AsInt(obj0
);
34884 if (PyErr_Occurred()) SWIG_fail
;
34887 arg2
= (int) SWIG_AsInt(obj1
);
34888 if (PyErr_Occurred()) SWIG_fail
;
34891 arg3
= (int) SWIG_AsInt(obj2
);
34892 if (PyErr_Occurred()) SWIG_fail
;
34895 arg4
= (int) SWIG_AsInt(obj3
);
34896 if (PyErr_Occurred()) SWIG_fail
;
34899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34900 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
34902 wxPyEndAllowThreads(__tstate
);
34903 if (PyErr_Occurred()) SWIG_fail
;
34905 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridSizer
, 1);
34912 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34913 PyObject
*resultobj
;
34914 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34915 PyObject
* obj0
= 0 ;
34916 char *kwnames
[] = {
34917 (char *) "self", NULL
34920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34921 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34922 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34925 (arg1
)->RecalcSizes();
34927 wxPyEndAllowThreads(__tstate
);
34928 if (PyErr_Occurred()) SWIG_fail
;
34930 Py_INCREF(Py_None
); resultobj
= Py_None
;
34937 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34938 PyObject
*resultobj
;
34939 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34941 PyObject
* obj0
= 0 ;
34942 char *kwnames
[] = {
34943 (char *) "self", NULL
34946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34947 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34948 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34951 result
= (arg1
)->CalcMin();
34953 wxPyEndAllowThreads(__tstate
);
34954 if (PyErr_Occurred()) SWIG_fail
;
34957 wxSize
* resultptr
;
34958 resultptr
= new wxSize((wxSize
&) result
);
34959 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
34967 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34968 PyObject
*resultobj
;
34969 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
34971 PyObject
* obj0
= 0 ;
34972 PyObject
* obj1
= 0 ;
34973 char *kwnames
[] = {
34974 (char *) "self",(char *) "cols", NULL
34977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetCols",kwnames
,&obj0
,&obj1
)) goto fail
;
34978 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
34979 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
34980 arg2
= (int) SWIG_AsInt(obj1
);
34981 if (PyErr_Occurred()) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 (arg1
)->SetCols(arg2
);
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 Py_INCREF(Py_None
); resultobj
= Py_None
;
34996 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35000 PyObject
* obj0
= 0 ;
35001 PyObject
* obj1
= 0 ;
35002 char *kwnames
[] = {
35003 (char *) "self",(char *) "rows", NULL
35006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetRows",kwnames
,&obj0
,&obj1
)) goto fail
;
35007 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35008 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35009 arg2
= (int) SWIG_AsInt(obj1
);
35010 if (PyErr_Occurred()) SWIG_fail
;
35012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35013 (arg1
)->SetRows(arg2
);
35015 wxPyEndAllowThreads(__tstate
);
35016 if (PyErr_Occurred()) SWIG_fail
;
35018 Py_INCREF(Py_None
); resultobj
= Py_None
;
35025 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35026 PyObject
*resultobj
;
35027 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35029 PyObject
* obj0
= 0 ;
35030 PyObject
* obj1
= 0 ;
35031 char *kwnames
[] = {
35032 (char *) "self",(char *) "gap", NULL
35035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetVGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35036 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35037 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35038 arg2
= (int) SWIG_AsInt(obj1
);
35039 if (PyErr_Occurred()) SWIG_fail
;
35041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35042 (arg1
)->SetVGap(arg2
);
35044 wxPyEndAllowThreads(__tstate
);
35045 if (PyErr_Occurred()) SWIG_fail
;
35047 Py_INCREF(Py_None
); resultobj
= Py_None
;
35054 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35055 PyObject
*resultobj
;
35056 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35058 PyObject
* obj0
= 0 ;
35059 PyObject
* obj1
= 0 ;
35060 char *kwnames
[] = {
35061 (char *) "self",(char *) "gap", NULL
35064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridSizer_SetHGap",kwnames
,&obj0
,&obj1
)) goto fail
;
35065 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35066 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35067 arg2
= (int) SWIG_AsInt(obj1
);
35068 if (PyErr_Occurred()) SWIG_fail
;
35070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35071 (arg1
)->SetHGap(arg2
);
35073 wxPyEndAllowThreads(__tstate
);
35074 if (PyErr_Occurred()) SWIG_fail
;
35076 Py_INCREF(Py_None
); resultobj
= Py_None
;
35083 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35084 PyObject
*resultobj
;
35085 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35087 PyObject
* obj0
= 0 ;
35088 char *kwnames
[] = {
35089 (char *) "self", NULL
35092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
35093 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35094 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35097 result
= (int)(arg1
)->GetCols();
35099 wxPyEndAllowThreads(__tstate
);
35100 if (PyErr_Occurred()) SWIG_fail
;
35102 resultobj
= SWIG_FromInt((int)result
);
35109 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35110 PyObject
*resultobj
;
35111 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35113 PyObject
* obj0
= 0 ;
35114 char *kwnames
[] = {
35115 (char *) "self", NULL
35118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
35119 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35120 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35123 result
= (int)(arg1
)->GetRows();
35125 wxPyEndAllowThreads(__tstate
);
35126 if (PyErr_Occurred()) SWIG_fail
;
35128 resultobj
= SWIG_FromInt((int)result
);
35135 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35136 PyObject
*resultobj
;
35137 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35139 PyObject
* obj0
= 0 ;
35140 char *kwnames
[] = {
35141 (char *) "self", NULL
35144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
35145 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35149 result
= (int)(arg1
)->GetVGap();
35151 wxPyEndAllowThreads(__tstate
);
35152 if (PyErr_Occurred()) SWIG_fail
;
35154 resultobj
= SWIG_FromInt((int)result
);
35161 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35162 PyObject
*resultobj
;
35163 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 char *kwnames
[] = {
35167 (char *) "self", NULL
35170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
35171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridSizer
,
35172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35175 result
= (int)(arg1
)->GetHGap();
35177 wxPyEndAllowThreads(__tstate
);
35178 if (PyErr_Occurred()) SWIG_fail
;
35180 resultobj
= SWIG_FromInt((int)result
);
35187 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35190 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
35192 return Py_BuildValue((char *)"");
35194 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35195 PyObject
*resultobj
;
35196 int arg1
= (int) 1 ;
35197 int arg2
= (int) 0 ;
35198 int arg3
= (int) 0 ;
35199 int arg4
= (int) 0 ;
35200 wxFlexGridSizer
*result
;
35201 PyObject
* obj0
= 0 ;
35202 PyObject
* obj1
= 0 ;
35203 PyObject
* obj2
= 0 ;
35204 PyObject
* obj3
= 0 ;
35205 char *kwnames
[] = {
35206 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
35209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOOO:new_FlexGridSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
35211 arg1
= (int) SWIG_AsInt(obj0
);
35212 if (PyErr_Occurred()) SWIG_fail
;
35215 arg2
= (int) SWIG_AsInt(obj1
);
35216 if (PyErr_Occurred()) SWIG_fail
;
35219 arg3
= (int) SWIG_AsInt(obj2
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35223 arg4
= (int) SWIG_AsInt(obj3
);
35224 if (PyErr_Occurred()) SWIG_fail
;
35227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35228 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
35230 wxPyEndAllowThreads(__tstate
);
35231 if (PyErr_Occurred()) SWIG_fail
;
35233 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxFlexGridSizer
, 1);
35240 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35241 PyObject
*resultobj
;
35242 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35243 PyObject
* obj0
= 0 ;
35244 char *kwnames
[] = {
35245 (char *) "self", NULL
35248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
35249 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35250 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35253 (arg1
)->RecalcSizes();
35255 wxPyEndAllowThreads(__tstate
);
35256 if (PyErr_Occurred()) SWIG_fail
;
35258 Py_INCREF(Py_None
); resultobj
= Py_None
;
35265 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35266 PyObject
*resultobj
;
35267 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35269 PyObject
* obj0
= 0 ;
35270 char *kwnames
[] = {
35271 (char *) "self", NULL
35274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
35275 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35276 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35279 result
= (arg1
)->CalcMin();
35281 wxPyEndAllowThreads(__tstate
);
35282 if (PyErr_Occurred()) SWIG_fail
;
35285 wxSize
* resultptr
;
35286 resultptr
= new wxSize((wxSize
&) result
);
35287 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
35295 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35296 PyObject
*resultobj
;
35297 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35299 int arg3
= (int) 0 ;
35300 PyObject
* obj0
= 0 ;
35301 PyObject
* obj1
= 0 ;
35302 PyObject
* obj2
= 0 ;
35303 char *kwnames
[] = {
35304 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35308 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35309 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35310 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35311 if (PyErr_Occurred()) SWIG_fail
;
35313 arg3
= (int) SWIG_AsInt(obj2
);
35314 if (PyErr_Occurred()) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 (arg1
)->AddGrowableRow(arg2
,arg3
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 Py_INCREF(Py_None
); resultobj
= Py_None
;
35330 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
;
35332 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35334 PyObject
* obj0
= 0 ;
35335 PyObject
* obj1
= 0 ;
35336 char *kwnames
[] = {
35337 (char *) "self",(char *) "idx", NULL
35340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35341 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35342 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35343 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35344 if (PyErr_Occurred()) SWIG_fail
;
35346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35347 (arg1
)->RemoveGrowableRow(arg2
);
35349 wxPyEndAllowThreads(__tstate
);
35350 if (PyErr_Occurred()) SWIG_fail
;
35352 Py_INCREF(Py_None
); resultobj
= Py_None
;
35359 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35360 PyObject
*resultobj
;
35361 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35363 int arg3
= (int) 0 ;
35364 PyObject
* obj0
= 0 ;
35365 PyObject
* obj1
= 0 ;
35366 PyObject
* obj2
= 0 ;
35367 char *kwnames
[] = {
35368 (char *) "self",(char *) "idx",(char *) "proportion", NULL
35371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35372 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35373 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35374 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35375 if (PyErr_Occurred()) SWIG_fail
;
35377 arg3
= (int) SWIG_AsInt(obj2
);
35378 if (PyErr_Occurred()) SWIG_fail
;
35381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35382 (arg1
)->AddGrowableCol(arg2
,arg3
);
35384 wxPyEndAllowThreads(__tstate
);
35385 if (PyErr_Occurred()) SWIG_fail
;
35387 Py_INCREF(Py_None
); resultobj
= Py_None
;
35394 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35395 PyObject
*resultobj
;
35396 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35398 PyObject
* obj0
= 0 ;
35399 PyObject
* obj1
= 0 ;
35400 char *kwnames
[] = {
35401 (char *) "self",(char *) "idx", NULL
35404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35405 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35406 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35407 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
35408 if (PyErr_Occurred()) SWIG_fail
;
35410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35411 (arg1
)->RemoveGrowableCol(arg2
);
35413 wxPyEndAllowThreads(__tstate
);
35414 if (PyErr_Occurred()) SWIG_fail
;
35416 Py_INCREF(Py_None
); resultobj
= Py_None
;
35423 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35424 PyObject
*resultobj
;
35425 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35427 PyObject
* obj0
= 0 ;
35428 PyObject
* obj1
= 0 ;
35429 char *kwnames
[] = {
35430 (char *) "self",(char *) "direction", NULL
35433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
35434 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35435 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35436 arg2
= (int) SWIG_AsInt(obj1
);
35437 if (PyErr_Occurred()) SWIG_fail
;
35439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35440 (arg1
)->SetFlexibleDirection(arg2
);
35442 wxPyEndAllowThreads(__tstate
);
35443 if (PyErr_Occurred()) SWIG_fail
;
35445 Py_INCREF(Py_None
); resultobj
= Py_None
;
35452 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35453 PyObject
*resultobj
;
35454 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35456 PyObject
* obj0
= 0 ;
35457 char *kwnames
[] = {
35458 (char *) "self", NULL
35461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
35462 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35463 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35466 result
= (int)(arg1
)->GetFlexibleDirection();
35468 wxPyEndAllowThreads(__tstate
);
35469 if (PyErr_Occurred()) SWIG_fail
;
35471 resultobj
= SWIG_FromInt((int)result
);
35478 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35479 PyObject
*resultobj
;
35480 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35482 PyObject
* obj0
= 0 ;
35483 PyObject
* obj1
= 0 ;
35484 char *kwnames
[] = {
35485 (char *) "self",(char *) "mode", NULL
35488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&obj1
)) goto fail
;
35489 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35490 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35491 arg2
= (wxFlexSizerGrowMode
) SWIG_AsInt(obj1
);
35492 if (PyErr_Occurred()) SWIG_fail
;
35494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35495 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
35497 wxPyEndAllowThreads(__tstate
);
35498 if (PyErr_Occurred()) SWIG_fail
;
35500 Py_INCREF(Py_None
); resultobj
= Py_None
;
35507 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35508 PyObject
*resultobj
;
35509 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35511 PyObject
* obj0
= 0 ;
35512 char *kwnames
[] = {
35513 (char *) "self", NULL
35516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
35517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35521 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35526 resultobj
= SWIG_FromInt((int)result
);
35533 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35534 PyObject
*resultobj
;
35535 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35536 wxArrayInt
*result
;
35537 PyObject
* obj0
= 0 ;
35538 char *kwnames
[] = {
35539 (char *) "self", NULL
35542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
35543 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35544 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35548 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
35549 result
= (wxArrayInt
*) &_result_ref
;
35552 wxPyEndAllowThreads(__tstate
);
35553 if (PyErr_Occurred()) SWIG_fail
;
35556 resultobj
= PyList_New(0);
35558 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35559 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35560 PyList_Append(resultobj
, val
);
35570 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35571 PyObject
*resultobj
;
35572 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
35573 wxArrayInt
*result
;
35574 PyObject
* obj0
= 0 ;
35575 char *kwnames
[] = {
35576 (char *) "self", NULL
35579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
35580 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxFlexGridSizer
,
35581 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35585 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
35586 result
= (wxArrayInt
*) &_result_ref
;
35589 wxPyEndAllowThreads(__tstate
);
35590 if (PyErr_Occurred()) SWIG_fail
;
35593 resultobj
= PyList_New(0);
35595 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
35596 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
35597 PyList_Append(resultobj
, val
);
35607 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
35609 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35610 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
35612 return Py_BuildValue((char *)"");
35614 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35615 PyObject
*resultobj
;
35616 int arg1
= (int) 0 ;
35617 int arg2
= (int) 0 ;
35618 wxGBPosition
*result
;
35619 PyObject
* obj0
= 0 ;
35620 PyObject
* obj1
= 0 ;
35621 char *kwnames
[] = {
35622 (char *) "row",(char *) "col", NULL
35625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
35627 arg1
= (int) SWIG_AsInt(obj0
);
35628 if (PyErr_Occurred()) SWIG_fail
;
35631 arg2
= (int) SWIG_AsInt(obj1
);
35632 if (PyErr_Occurred()) SWIG_fail
;
35635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35636 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
35638 wxPyEndAllowThreads(__tstate
);
35639 if (PyErr_Occurred()) SWIG_fail
;
35641 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBPosition
, 1);
35648 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35649 PyObject
*resultobj
;
35650 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35652 PyObject
* obj0
= 0 ;
35653 char *kwnames
[] = {
35654 (char *) "self", NULL
35657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
35658 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35659 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= SWIG_FromInt((int)result
);
35674 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35675 PyObject
*resultobj
;
35676 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35678 PyObject
* obj0
= 0 ;
35679 char *kwnames
[] = {
35680 (char *) "self", NULL
35683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
35684 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35688 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
35690 wxPyEndAllowThreads(__tstate
);
35691 if (PyErr_Occurred()) SWIG_fail
;
35693 resultobj
= SWIG_FromInt((int)result
);
35700 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35701 PyObject
*resultobj
;
35702 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35704 PyObject
* obj0
= 0 ;
35705 PyObject
* obj1
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self",(char *) "row", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetRow",kwnames
,&obj0
,&obj1
)) goto fail
;
35711 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35713 arg2
= (int) SWIG_AsInt(obj1
);
35714 if (PyErr_Occurred()) SWIG_fail
;
35716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35717 (arg1
)->SetRow(arg2
);
35719 wxPyEndAllowThreads(__tstate
);
35720 if (PyErr_Occurred()) SWIG_fail
;
35722 Py_INCREF(Py_None
); resultobj
= Py_None
;
35729 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35730 PyObject
*resultobj
;
35731 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35733 PyObject
* obj0
= 0 ;
35734 PyObject
* obj1
= 0 ;
35735 char *kwnames
[] = {
35736 (char *) "self",(char *) "col", NULL
35739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition_SetCol",kwnames
,&obj0
,&obj1
)) goto fail
;
35740 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35741 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35742 arg2
= (int) SWIG_AsInt(obj1
);
35743 if (PyErr_Occurred()) SWIG_fail
;
35745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35746 (arg1
)->SetCol(arg2
);
35748 wxPyEndAllowThreads(__tstate
);
35749 if (PyErr_Occurred()) SWIG_fail
;
35751 Py_INCREF(Py_None
); resultobj
= Py_None
;
35758 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35759 PyObject
*resultobj
;
35760 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35761 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35763 PyObject
* obj0
= 0 ;
35764 PyObject
* obj1
= 0 ;
35765 char *kwnames
[] = {
35766 (char *) "self",(char *) "other", NULL
35769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
35770 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35771 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35772 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35773 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35776 result
= (bool)wxGBPosition___eq__(arg1
,(wxGBPosition
const *)arg2
);
35778 wxPyEndAllowThreads(__tstate
);
35779 if (PyErr_Occurred()) SWIG_fail
;
35781 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35788 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35789 PyObject
*resultobj
;
35790 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35791 wxGBPosition
*arg2
= (wxGBPosition
*) 0 ;
35793 PyObject
* obj0
= 0 ;
35794 PyObject
* obj1
= 0 ;
35795 char *kwnames
[] = {
35796 (char *) "self",(char *) "other", NULL
35799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
35800 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35801 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35802 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBPosition
,
35803 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35806 result
= (bool)wxGBPosition___ne__(arg1
,(wxGBPosition
const *)arg2
);
35808 wxPyEndAllowThreads(__tstate
);
35809 if (PyErr_Occurred()) SWIG_fail
;
35811 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
35818 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35819 PyObject
*resultobj
;
35820 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35821 int arg2
= (int) 0 ;
35822 int arg3
= (int) 0 ;
35823 PyObject
* obj0
= 0 ;
35824 PyObject
* obj1
= 0 ;
35825 PyObject
* obj2
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "self",(char *) "row",(char *) "col", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBPosition_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35831 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35832 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35834 arg2
= (int) SWIG_AsInt(obj1
);
35835 if (PyErr_Occurred()) SWIG_fail
;
35838 arg3
= (int) SWIG_AsInt(obj2
);
35839 if (PyErr_Occurred()) SWIG_fail
;
35842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35843 wxGBPosition_Set(arg1
,arg2
,arg3
);
35845 wxPyEndAllowThreads(__tstate
);
35846 if (PyErr_Occurred()) SWIG_fail
;
35848 Py_INCREF(Py_None
); resultobj
= Py_None
;
35855 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35856 PyObject
*resultobj
;
35857 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
35859 PyObject
* obj0
= 0 ;
35860 char *kwnames
[] = {
35861 (char *) "self", NULL
35864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
35865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBPosition
,
35866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35869 result
= (PyObject
*)wxGBPosition_Get(arg1
);
35871 wxPyEndAllowThreads(__tstate
);
35872 if (PyErr_Occurred()) SWIG_fail
;
35874 resultobj
= result
;
35881 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
35883 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35884 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
35886 return Py_BuildValue((char *)"");
35888 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35889 PyObject
*resultobj
;
35890 int arg1
= (int) 1 ;
35891 int arg2
= (int) 1 ;
35893 PyObject
* obj0
= 0 ;
35894 PyObject
* obj1
= 0 ;
35895 char *kwnames
[] = {
35896 (char *) "rowspan",(char *) "colspan", NULL
35899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GBSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
35901 arg1
= (int) SWIG_AsInt(obj0
);
35902 if (PyErr_Occurred()) SWIG_fail
;
35905 arg2
= (int) SWIG_AsInt(obj1
);
35906 if (PyErr_Occurred()) SWIG_fail
;
35909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35910 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
35912 wxPyEndAllowThreads(__tstate
);
35913 if (PyErr_Occurred()) SWIG_fail
;
35915 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSpan
, 1);
35922 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35923 PyObject
*resultobj
;
35924 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35926 PyObject
* obj0
= 0 ;
35927 char *kwnames
[] = {
35928 (char *) "self", NULL
35931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
35932 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35933 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35936 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
35938 wxPyEndAllowThreads(__tstate
);
35939 if (PyErr_Occurred()) SWIG_fail
;
35941 resultobj
= SWIG_FromInt((int)result
);
35948 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35949 PyObject
*resultobj
;
35950 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35952 PyObject
* obj0
= 0 ;
35953 char *kwnames
[] = {
35954 (char *) "self", NULL
35957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
35958 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35962 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
35964 wxPyEndAllowThreads(__tstate
);
35965 if (PyErr_Occurred()) SWIG_fail
;
35967 resultobj
= SWIG_FromInt((int)result
);
35974 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35975 PyObject
*resultobj
;
35976 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
35978 PyObject
* obj0
= 0 ;
35979 PyObject
* obj1
= 0 ;
35980 char *kwnames
[] = {
35981 (char *) "self",(char *) "rowspan", NULL
35984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetRowspan",kwnames
,&obj0
,&obj1
)) goto fail
;
35985 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
35986 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
35987 arg2
= (int) SWIG_AsInt(obj1
);
35988 if (PyErr_Occurred()) SWIG_fail
;
35990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35991 (arg1
)->SetRowspan(arg2
);
35993 wxPyEndAllowThreads(__tstate
);
35994 if (PyErr_Occurred()) SWIG_fail
;
35996 Py_INCREF(Py_None
); resultobj
= Py_None
;
36003 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36004 PyObject
*resultobj
;
36005 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36007 PyObject
* obj0
= 0 ;
36008 PyObject
* obj1
= 0 ;
36009 char *kwnames
[] = {
36010 (char *) "self",(char *) "colspan", NULL
36013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan_SetColspan",kwnames
,&obj0
,&obj1
)) goto fail
;
36014 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36015 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36016 arg2
= (int) SWIG_AsInt(obj1
);
36017 if (PyErr_Occurred()) SWIG_fail
;
36019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36020 (arg1
)->SetColspan(arg2
);
36022 wxPyEndAllowThreads(__tstate
);
36023 if (PyErr_Occurred()) SWIG_fail
;
36025 Py_INCREF(Py_None
); resultobj
= Py_None
;
36032 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36033 PyObject
*resultobj
;
36034 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36035 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
36037 PyObject
* obj0
= 0 ;
36038 PyObject
* obj1
= 0 ;
36039 char *kwnames
[] = {
36040 (char *) "self",(char *) "other", NULL
36043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
36044 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36045 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36046 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
36047 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36050 result
= (bool)wxGBSpan___eq__(arg1
,(wxGBSpan
const *)arg2
);
36052 wxPyEndAllowThreads(__tstate
);
36053 if (PyErr_Occurred()) SWIG_fail
;
36055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36062 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36063 PyObject
*resultobj
;
36064 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36065 wxGBSpan
*arg2
= (wxGBSpan
*) 0 ;
36067 PyObject
* obj0
= 0 ;
36068 PyObject
* obj1
= 0 ;
36069 char *kwnames
[] = {
36070 (char *) "self",(char *) "other", NULL
36073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
36074 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36075 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36076 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSpan
,
36077 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36080 result
= (bool)wxGBSpan___ne__(arg1
,(wxGBSpan
const *)arg2
);
36082 wxPyEndAllowThreads(__tstate
);
36083 if (PyErr_Occurred()) SWIG_fail
;
36085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36092 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36093 PyObject
*resultobj
;
36094 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36095 int arg2
= (int) 1 ;
36096 int arg3
= (int) 1 ;
36097 PyObject
* obj0
= 0 ;
36098 PyObject
* obj1
= 0 ;
36099 PyObject
* obj2
= 0 ;
36100 char *kwnames
[] = {
36101 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
36104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:GBSpan_Set",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36105 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36108 arg2
= (int) SWIG_AsInt(obj1
);
36109 if (PyErr_Occurred()) SWIG_fail
;
36112 arg3
= (int) SWIG_AsInt(obj2
);
36113 if (PyErr_Occurred()) SWIG_fail
;
36116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36117 wxGBSpan_Set(arg1
,arg2
,arg3
);
36119 wxPyEndAllowThreads(__tstate
);
36120 if (PyErr_Occurred()) SWIG_fail
;
36122 Py_INCREF(Py_None
); resultobj
= Py_None
;
36129 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36130 PyObject
*resultobj
;
36131 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
36133 PyObject
* obj0
= 0 ;
36134 char *kwnames
[] = {
36135 (char *) "self", NULL
36138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
36139 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSpan
,
36140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36143 result
= (PyObject
*)wxGBSpan_Get(arg1
);
36145 wxPyEndAllowThreads(__tstate
);
36146 if (PyErr_Occurred()) SWIG_fail
;
36148 resultobj
= result
;
36155 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
36157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36158 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
36160 return Py_BuildValue((char *)"");
36162 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
36163 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
36168 static PyObject
*_wrap_DefaultSpan_get() {
36171 pyobj
= SWIG_NewPointerObj((void *)(&wxDefaultSpan
), SWIGTYPE_p_wxGBSpan
, 0);
36176 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36177 PyObject
*resultobj
;
36178 wxGBSizerItem
*result
;
36179 char *kwnames
[] = {
36183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
36185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36186 result
= (wxGBSizerItem
*)new wxGBSizerItem();
36188 wxPyEndAllowThreads(__tstate
);
36189 if (PyErr_Occurred()) SWIG_fail
;
36191 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36198 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36199 PyObject
*resultobj
;
36200 wxWindow
*arg1
= (wxWindow
*) 0 ;
36201 wxGBPosition
*arg2
= 0 ;
36202 wxGBSpan
*arg3
= 0 ;
36205 wxObject
*arg6
= (wxObject
*) 0 ;
36206 wxGBSizerItem
*result
;
36207 wxGBPosition temp2
;
36209 PyObject
* obj0
= 0 ;
36210 PyObject
* obj1
= 0 ;
36211 PyObject
* obj2
= 0 ;
36212 PyObject
* obj3
= 0 ;
36213 PyObject
* obj4
= 0 ;
36214 PyObject
* obj5
= 0 ;
36215 char *kwnames
[] = {
36216 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36220 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxWindow
,
36221 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36224 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36228 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36230 arg4
= (int) SWIG_AsInt(obj3
);
36231 if (PyErr_Occurred()) SWIG_fail
;
36232 arg5
= (int) SWIG_AsInt(obj4
);
36233 if (PyErr_Occurred()) SWIG_fail
;
36234 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36235 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36238 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36240 wxPyEndAllowThreads(__tstate
);
36241 if (PyErr_Occurred()) SWIG_fail
;
36243 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36250 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36251 PyObject
*resultobj
;
36252 wxSizer
*arg1
= (wxSizer
*) 0 ;
36253 wxGBPosition
*arg2
= 0 ;
36254 wxGBSpan
*arg3
= 0 ;
36257 wxObject
*arg6
= (wxObject
*) 0 ;
36258 wxGBSizerItem
*result
;
36259 wxGBPosition temp2
;
36261 PyObject
* obj0
= 0 ;
36262 PyObject
* obj1
= 0 ;
36263 PyObject
* obj2
= 0 ;
36264 PyObject
* obj3
= 0 ;
36265 PyObject
* obj4
= 0 ;
36266 PyObject
* obj5
= 0 ;
36267 char *kwnames
[] = {
36268 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
36272 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxSizer
,
36273 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36276 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36280 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36282 arg4
= (int) SWIG_AsInt(obj3
);
36283 if (PyErr_Occurred()) SWIG_fail
;
36284 arg5
= (int) SWIG_AsInt(obj4
);
36285 if (PyErr_Occurred()) SWIG_fail
;
36286 if ((SWIG_ConvertPtr(obj5
,(void **)(&arg6
),SWIGTYPE_p_wxObject
,
36287 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36290 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
36292 wxPyEndAllowThreads(__tstate
);
36293 if (PyErr_Occurred()) SWIG_fail
;
36295 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36302 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36303 PyObject
*resultobj
;
36306 wxGBPosition
*arg3
= 0 ;
36307 wxGBSpan
*arg4
= 0 ;
36310 wxObject
*arg7
= (wxObject
*) 0 ;
36311 wxGBSizerItem
*result
;
36312 wxGBPosition temp3
;
36314 PyObject
* obj0
= 0 ;
36315 PyObject
* obj1
= 0 ;
36316 PyObject
* obj2
= 0 ;
36317 PyObject
* obj3
= 0 ;
36318 PyObject
* obj4
= 0 ;
36319 PyObject
* obj5
= 0 ;
36320 PyObject
* obj6
= 0 ;
36321 char *kwnames
[] = {
36322 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:new_GBSizerItemSpacer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36326 arg1
= (int) SWIG_AsInt(obj0
);
36327 if (PyErr_Occurred()) SWIG_fail
;
36328 arg2
= (int) SWIG_AsInt(obj1
);
36329 if (PyErr_Occurred()) SWIG_fail
;
36332 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36336 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36338 arg5
= (int) SWIG_AsInt(obj4
);
36339 if (PyErr_Occurred()) SWIG_fail
;
36340 arg6
= (int) SWIG_AsInt(obj5
);
36341 if (PyErr_Occurred()) SWIG_fail
;
36342 if ((SWIG_ConvertPtr(obj6
,(void **)(&arg7
),SWIGTYPE_p_wxObject
,
36343 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36346 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36348 wxPyEndAllowThreads(__tstate
);
36349 if (PyErr_Occurred()) SWIG_fail
;
36351 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 1);
36358 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36359 PyObject
*resultobj
;
36360 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36361 wxGBPosition result
;
36362 PyObject
* obj0
= 0 ;
36363 char *kwnames
[] = {
36364 (char *) "self", NULL
36367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
36368 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36369 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36372 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
36374 wxPyEndAllowThreads(__tstate
);
36375 if (PyErr_Occurred()) SWIG_fail
;
36378 wxGBPosition
* resultptr
;
36379 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36380 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36388 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36389 PyObject
*resultobj
;
36390 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36392 PyObject
* obj0
= 0 ;
36393 char *kwnames
[] = {
36394 (char *) "self", NULL
36397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
36398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36402 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
36404 wxPyEndAllowThreads(__tstate
);
36405 if (PyErr_Occurred()) SWIG_fail
;
36408 wxGBSpan
* resultptr
;
36409 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
36410 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
36418 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36419 PyObject
*resultobj
;
36420 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36421 wxGBPosition
*arg2
= 0 ;
36423 wxGBPosition temp2
;
36424 PyObject
* obj0
= 0 ;
36425 PyObject
* obj1
= 0 ;
36426 char *kwnames
[] = {
36427 (char *) "self",(char *) "pos", NULL
36430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
36431 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36432 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36435 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36439 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
36441 wxPyEndAllowThreads(__tstate
);
36442 if (PyErr_Occurred()) SWIG_fail
;
36444 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36451 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36452 PyObject
*resultobj
;
36453 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36454 wxGBSpan
*arg2
= 0 ;
36457 PyObject
* obj0
= 0 ;
36458 PyObject
* obj1
= 0 ;
36459 char *kwnames
[] = {
36460 (char *) "self",(char *) "span", NULL
36463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
36464 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36465 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36468 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
36471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36472 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
36474 wxPyEndAllowThreads(__tstate
);
36475 if (PyErr_Occurred()) SWIG_fail
;
36477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36484 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
36485 PyObject
*resultobj
;
36486 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36487 wxGBSizerItem
*arg2
= 0 ;
36489 PyObject
* obj0
= 0 ;
36490 PyObject
* obj1
= 0 ;
36492 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
36493 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36494 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36495 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36496 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36498 if (arg2
== NULL
) {
36499 PyErr_SetString(PyExc_TypeError
,"null reference");
36503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36504 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
36506 wxPyEndAllowThreads(__tstate
);
36507 if (PyErr_Occurred()) SWIG_fail
;
36509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36516 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
36517 PyObject
*resultobj
;
36518 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36519 wxGBPosition
*arg2
= 0 ;
36520 wxGBSpan
*arg3
= 0 ;
36522 wxGBPosition temp2
;
36524 PyObject
* obj0
= 0 ;
36525 PyObject
* obj1
= 0 ;
36526 PyObject
* obj2
= 0 ;
36528 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
36529 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36530 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36533 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
36537 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
36540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36541 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
36543 wxPyEndAllowThreads(__tstate
);
36544 if (PyErr_Occurred()) SWIG_fail
;
36546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36553 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
36558 argc
= PyObject_Length(args
);
36559 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
36560 argv
[ii
] = PyTuple_GetItem(args
,ii
);
36566 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36576 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36584 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
36592 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
36601 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
36605 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
36608 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
36614 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
36619 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36620 PyObject
*resultobj
;
36621 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36624 PyObject
* obj0
= 0 ;
36625 PyObject
* obj1
= 0 ;
36626 PyObject
* obj2
= 0 ;
36627 char *kwnames
[] = {
36628 (char *) "self",(char *) "row",(char *) "col", NULL
36631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
36632 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36633 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36634 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_int
,
36635 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36637 if (arg2
== NULL
) {
36638 PyErr_SetString(PyExc_TypeError
,"null reference");
36641 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_int
,
36642 SWIG_POINTER_EXCEPTION
| 0)) == -1)
36644 if (arg3
== NULL
) {
36645 PyErr_SetString(PyExc_TypeError
,"null reference");
36649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36650 (arg1
)->GetEndPos(*arg2
,*arg3
);
36652 wxPyEndAllowThreads(__tstate
);
36653 if (PyErr_Occurred()) SWIG_fail
;
36655 Py_INCREF(Py_None
); resultobj
= Py_None
;
36662 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36663 PyObject
*resultobj
;
36664 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36665 wxGridBagSizer
*result
;
36666 PyObject
* obj0
= 0 ;
36667 char *kwnames
[] = {
36668 (char *) "self", NULL
36671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
36672 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36673 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36676 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
36678 wxPyEndAllowThreads(__tstate
);
36679 if (PyErr_Occurred()) SWIG_fail
;
36681 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 0);
36688 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36689 PyObject
*resultobj
;
36690 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
36691 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
36692 PyObject
* obj0
= 0 ;
36693 PyObject
* obj1
= 0 ;
36694 char *kwnames
[] = {
36695 (char *) "self",(char *) "sizer", NULL
36698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36699 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGBSizerItem
,
36700 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36701 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGridBagSizer
,
36702 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36705 (arg1
)->SetGBSizer(arg2
);
36707 wxPyEndAllowThreads(__tstate
);
36708 if (PyErr_Occurred()) SWIG_fail
;
36710 Py_INCREF(Py_None
); resultobj
= Py_None
;
36717 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
36719 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
36720 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
36722 return Py_BuildValue((char *)"");
36724 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36725 PyObject
*resultobj
;
36726 int arg1
= (int) 0 ;
36727 int arg2
= (int) 0 ;
36728 wxGridBagSizer
*result
;
36729 PyObject
* obj0
= 0 ;
36730 PyObject
* obj1
= 0 ;
36731 char *kwnames
[] = {
36732 (char *) "vgap",(char *) "hgap", NULL
36735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_GridBagSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
36737 arg1
= (int) SWIG_AsInt(obj0
);
36738 if (PyErr_Occurred()) SWIG_fail
;
36741 arg2
= (int) SWIG_AsInt(obj1
);
36742 if (PyErr_Occurred()) SWIG_fail
;
36745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36746 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
36748 wxPyEndAllowThreads(__tstate
);
36749 if (PyErr_Occurred()) SWIG_fail
;
36751 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGridBagSizer
, 1);
36758 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36759 PyObject
*resultobj
;
36760 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36761 PyObject
*arg2
= (PyObject
*) 0 ;
36762 wxGBPosition
*arg3
= 0 ;
36763 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
36764 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
36765 int arg5
= (int) 0 ;
36766 int arg6
= (int) 0 ;
36767 PyObject
*arg7
= (PyObject
*) NULL
;
36769 wxGBPosition temp3
;
36771 PyObject
* obj0
= 0 ;
36772 PyObject
* obj1
= 0 ;
36773 PyObject
* obj2
= 0 ;
36774 PyObject
* obj3
= 0 ;
36775 PyObject
* obj4
= 0 ;
36776 PyObject
* obj5
= 0 ;
36777 PyObject
* obj6
= 0 ;
36778 char *kwnames
[] = {
36779 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
36782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
36783 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36784 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36788 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
36793 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
36797 arg5
= (int) SWIG_AsInt(obj4
);
36798 if (PyErr_Occurred()) SWIG_fail
;
36801 arg6
= (int) SWIG_AsInt(obj5
);
36802 if (PyErr_Occurred()) SWIG_fail
;
36808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36809 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
36811 wxPyEndAllowThreads(__tstate
);
36812 if (PyErr_Occurred()) SWIG_fail
;
36814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36821 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36822 PyObject
*resultobj
;
36823 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36824 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
36826 PyObject
* obj0
= 0 ;
36827 PyObject
* obj1
= 0 ;
36828 char *kwnames
[] = {
36829 (char *) "self",(char *) "item", NULL
36832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
36833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
36836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36839 result
= (bool)(arg1
)->Add(arg2
);
36841 wxPyEndAllowThreads(__tstate
);
36842 if (PyErr_Occurred()) SWIG_fail
;
36844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
36851 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36852 PyObject
*resultobj
;
36853 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36855 PyObject
* obj0
= 0 ;
36856 char *kwnames
[] = {
36857 (char *) "self", NULL
36860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
36861 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36862 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36865 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
36867 wxPyEndAllowThreads(__tstate
);
36868 if (PyErr_Occurred()) SWIG_fail
;
36871 wxSize
* resultptr
;
36872 resultptr
= new wxSize((wxSize
&) result
);
36873 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
36881 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
36882 PyObject
*resultobj
;
36883 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36886 PyObject
* obj0
= 0 ;
36887 PyObject
* obj1
= 0 ;
36888 char *kwnames
[] = {
36889 (char *) "self",(char *) "sz", NULL
36892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
36893 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36894 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36897 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
36900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36901 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
36903 wxPyEndAllowThreads(__tstate
);
36904 if (PyErr_Occurred()) SWIG_fail
;
36906 Py_INCREF(Py_None
); resultobj
= Py_None
;
36913 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
36914 PyObject
*resultobj
;
36915 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36916 wxWindow
*arg2
= (wxWindow
*) 0 ;
36917 wxGBPosition result
;
36918 PyObject
* obj0
= 0 ;
36919 PyObject
* obj1
= 0 ;
36921 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36922 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36923 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36924 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
36925 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36928 result
= (arg1
)->GetItemPosition(arg2
);
36930 wxPyEndAllowThreads(__tstate
);
36931 if (PyErr_Occurred()) SWIG_fail
;
36934 wxGBPosition
* resultptr
;
36935 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36936 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36944 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
36945 PyObject
*resultobj
;
36946 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36947 wxSizer
*arg2
= (wxSizer
*) 0 ;
36948 wxGBPosition result
;
36949 PyObject
* obj0
= 0 ;
36950 PyObject
* obj1
= 0 ;
36952 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36953 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36954 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36955 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
36956 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36959 result
= (arg1
)->GetItemPosition(arg2
);
36961 wxPyEndAllowThreads(__tstate
);
36962 if (PyErr_Occurred()) SWIG_fail
;
36965 wxGBPosition
* resultptr
;
36966 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36967 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
36975 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
36976 PyObject
*resultobj
;
36977 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
36979 wxGBPosition result
;
36980 PyObject
* obj0
= 0 ;
36981 PyObject
* obj1
= 0 ;
36983 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
36984 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
36985 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
36986 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
36987 if (PyErr_Occurred()) SWIG_fail
;
36989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
36990 result
= (arg1
)->GetItemPosition(arg2
);
36992 wxPyEndAllowThreads(__tstate
);
36993 if (PyErr_Occurred()) SWIG_fail
;
36996 wxGBPosition
* resultptr
;
36997 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
36998 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBPosition
, 1);
37006 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
37011 argc
= PyObject_Length(args
);
37012 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37013 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37019 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37029 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37037 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
37045 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37055 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37063 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
37071 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37079 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37081 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
37086 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
37091 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
37092 PyObject
*resultobj
;
37093 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37094 wxWindow
*arg2
= (wxWindow
*) 0 ;
37095 wxGBPosition
*arg3
= 0 ;
37097 wxGBPosition temp3
;
37098 PyObject
* obj0
= 0 ;
37099 PyObject
* obj1
= 0 ;
37100 PyObject
* obj2
= 0 ;
37102 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37103 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37104 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37105 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37106 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37109 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37113 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37115 wxPyEndAllowThreads(__tstate
);
37116 if (PyErr_Occurred()) SWIG_fail
;
37118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37125 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
37126 PyObject
*resultobj
;
37127 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37128 wxSizer
*arg2
= (wxSizer
*) 0 ;
37129 wxGBPosition
*arg3
= 0 ;
37131 wxGBPosition temp3
;
37132 PyObject
* obj0
= 0 ;
37133 PyObject
* obj1
= 0 ;
37134 PyObject
* obj2
= 0 ;
37136 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37137 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37139 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37140 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37143 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37147 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37149 wxPyEndAllowThreads(__tstate
);
37150 if (PyErr_Occurred()) SWIG_fail
;
37152 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37159 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
37160 PyObject
*resultobj
;
37161 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37163 wxGBPosition
*arg3
= 0 ;
37165 wxGBPosition temp3
;
37166 PyObject
* obj0
= 0 ;
37167 PyObject
* obj1
= 0 ;
37168 PyObject
* obj2
= 0 ;
37170 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
37171 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37172 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37173 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37174 if (PyErr_Occurred()) SWIG_fail
;
37177 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
37180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37181 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
37183 wxPyEndAllowThreads(__tstate
);
37184 if (PyErr_Occurred()) SWIG_fail
;
37186 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37193 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
37198 argc
= PyObject_Length(args
);
37199 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37200 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37206 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37216 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37225 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37228 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
37237 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37247 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37256 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37259 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
37268 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37276 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37279 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
37282 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
37288 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
37293 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37294 PyObject
*resultobj
;
37295 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37296 wxWindow
*arg2
= (wxWindow
*) 0 ;
37298 PyObject
* obj0
= 0 ;
37299 PyObject
* obj1
= 0 ;
37301 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37302 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37303 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37304 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37305 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37308 result
= (arg1
)->GetItemSpan(arg2
);
37310 wxPyEndAllowThreads(__tstate
);
37311 if (PyErr_Occurred()) SWIG_fail
;
37314 wxGBSpan
* resultptr
;
37315 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37316 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37324 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37325 PyObject
*resultobj
;
37326 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37327 wxSizer
*arg2
= (wxSizer
*) 0 ;
37329 PyObject
* obj0
= 0 ;
37330 PyObject
* obj1
= 0 ;
37332 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37333 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37334 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37335 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37336 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37339 result
= (arg1
)->GetItemSpan(arg2
);
37341 wxPyEndAllowThreads(__tstate
);
37342 if (PyErr_Occurred()) SWIG_fail
;
37345 wxGBSpan
* resultptr
;
37346 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37347 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37355 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37356 PyObject
*resultobj
;
37357 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37360 PyObject
* obj0
= 0 ;
37361 PyObject
* obj1
= 0 ;
37363 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
37364 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37365 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37366 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37367 if (PyErr_Occurred()) SWIG_fail
;
37369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37370 result
= (arg1
)->GetItemSpan(arg2
);
37372 wxPyEndAllowThreads(__tstate
);
37373 if (PyErr_Occurred()) SWIG_fail
;
37376 wxGBSpan
* resultptr
;
37377 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
37378 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxGBSpan
, 1);
37386 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
37391 argc
= PyObject_Length(args
);
37392 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37393 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37399 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37409 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37417 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
37425 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37435 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37443 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
37451 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37459 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37461 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
37466 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
37471 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
37472 PyObject
*resultobj
;
37473 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37474 wxWindow
*arg2
= (wxWindow
*) 0 ;
37475 wxGBSpan
*arg3
= 0 ;
37478 PyObject
* obj0
= 0 ;
37479 PyObject
* obj1
= 0 ;
37480 PyObject
* obj2
= 0 ;
37482 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37483 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37484 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37485 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37486 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37489 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37493 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37495 wxPyEndAllowThreads(__tstate
);
37496 if (PyErr_Occurred()) SWIG_fail
;
37498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37505 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
37506 PyObject
*resultobj
;
37507 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37508 wxSizer
*arg2
= (wxSizer
*) 0 ;
37509 wxGBSpan
*arg3
= 0 ;
37512 PyObject
* obj0
= 0 ;
37513 PyObject
* obj1
= 0 ;
37514 PyObject
* obj2
= 0 ;
37516 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37517 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37518 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37519 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37520 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37523 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37527 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37529 wxPyEndAllowThreads(__tstate
);
37530 if (PyErr_Occurred()) SWIG_fail
;
37532 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37539 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
37540 PyObject
*resultobj
;
37541 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37543 wxGBSpan
*arg3
= 0 ;
37546 PyObject
* obj0
= 0 ;
37547 PyObject
* obj1
= 0 ;
37548 PyObject
* obj2
= 0 ;
37550 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
37551 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37552 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37553 arg2
= (size_t) SWIG_AsUnsignedLong(obj1
);
37554 if (PyErr_Occurred()) SWIG_fail
;
37557 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
37560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37561 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
37563 wxPyEndAllowThreads(__tstate
);
37564 if (PyErr_Occurred()) SWIG_fail
;
37566 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37573 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
37578 argc
= PyObject_Length(args
);
37579 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
37580 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37586 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37596 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37605 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37608 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
37617 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37627 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37636 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37639 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
37648 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37656 _v
= SWIG_CheckUnsignedLong(argv
[1]);
37659 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
37662 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
37668 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
37673 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
37674 PyObject
*resultobj
;
37675 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37676 wxWindow
*arg2
= (wxWindow
*) 0 ;
37677 wxGBSizerItem
*result
;
37678 PyObject
* obj0
= 0 ;
37679 PyObject
* obj1
= 0 ;
37681 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37682 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37683 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37684 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
37685 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37688 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37690 wxPyEndAllowThreads(__tstate
);
37691 if (PyErr_Occurred()) SWIG_fail
;
37693 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37700 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
37701 PyObject
*resultobj
;
37702 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37703 wxSizer
*arg2
= (wxSizer
*) 0 ;
37704 wxGBSizerItem
*result
;
37705 PyObject
* obj0
= 0 ;
37706 PyObject
* obj1
= 0 ;
37708 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
37709 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37710 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37711 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxSizer
,
37712 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37715 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
37717 wxPyEndAllowThreads(__tstate
);
37718 if (PyErr_Occurred()) SWIG_fail
;
37720 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37727 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
37732 argc
= PyObject_Length(args
);
37733 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
37734 argv
[ii
] = PyTuple_GetItem(args
,ii
);
37740 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37750 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
37758 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
37766 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
37776 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
37784 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
37789 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
37794 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37795 PyObject
*resultobj
;
37796 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37797 wxGBPosition
*arg2
= 0 ;
37798 wxGBSizerItem
*result
;
37799 wxGBPosition temp2
;
37800 PyObject
* obj0
= 0 ;
37801 PyObject
* obj1
= 0 ;
37802 char *kwnames
[] = {
37803 (char *) "self",(char *) "pos", NULL
37806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
37807 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37808 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37811 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
37814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37815 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
37817 wxPyEndAllowThreads(__tstate
);
37818 if (PyErr_Occurred()) SWIG_fail
;
37820 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37827 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37828 PyObject
*resultobj
;
37829 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37830 wxPoint
*arg2
= 0 ;
37831 wxGBSizerItem
*result
;
37833 PyObject
* obj0
= 0 ;
37834 PyObject
* obj1
= 0 ;
37835 char *kwnames
[] = {
37836 (char *) "self",(char *) "pt", NULL
37839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
37840 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37841 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37844 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
37847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37848 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
37850 wxPyEndAllowThreads(__tstate
);
37851 if (PyErr_Occurred()) SWIG_fail
;
37853 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37860 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37861 PyObject
*resultobj
;
37862 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37863 wxObject
*arg2
= (wxObject
*) 0 ;
37864 wxGBSizerItem
*result
;
37865 PyObject
* obj0
= 0 ;
37866 PyObject
* obj1
= 0 ;
37867 char *kwnames
[] = {
37868 (char *) "self",(char *) "userData", NULL
37871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
37872 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37873 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37874 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxObject
,
37875 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37878 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
37880 wxPyEndAllowThreads(__tstate
);
37881 if (PyErr_Occurred()) SWIG_fail
;
37883 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxGBSizerItem
, 0);
37890 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37891 PyObject
*resultobj
;
37892 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37893 PyObject
* obj0
= 0 ;
37894 char *kwnames
[] = {
37895 (char *) "self", NULL
37898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
37899 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37900 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37903 (arg1
)->RecalcSizes();
37905 wxPyEndAllowThreads(__tstate
);
37906 if (PyErr_Occurred()) SWIG_fail
;
37908 Py_INCREF(Py_None
); resultobj
= Py_None
;
37915 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
37916 PyObject
*resultobj
;
37917 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37919 PyObject
* obj0
= 0 ;
37920 char *kwnames
[] = {
37921 (char *) "self", NULL
37924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
37925 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37926 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37929 result
= (arg1
)->CalcMin();
37931 wxPyEndAllowThreads(__tstate
);
37932 if (PyErr_Occurred()) SWIG_fail
;
37935 wxSize
* resultptr
;
37936 resultptr
= new wxSize((wxSize
&) result
);
37937 resultobj
= SWIG_NewPointerObj((void *)(resultptr
), SWIGTYPE_p_wxSize
, 1);
37945 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
37946 PyObject
*resultobj
;
37947 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37948 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
37949 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
37951 PyObject
* obj0
= 0 ;
37952 PyObject
* obj1
= 0 ;
37953 PyObject
* obj2
= 0 ;
37955 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
37956 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37957 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37958 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxGBSizerItem
,
37959 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37961 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxGBSizerItem
,
37962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
37966 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
37968 wxPyEndAllowThreads(__tstate
);
37969 if (PyErr_Occurred()) SWIG_fail
;
37971 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
37978 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
37979 PyObject
*resultobj
;
37980 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
37981 wxGBPosition
*arg2
= 0 ;
37982 wxGBSpan
*arg3
= 0 ;
37983 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
37985 wxGBPosition temp2
;
37987 PyObject
* obj0
= 0 ;
37988 PyObject
* obj1
= 0 ;
37989 PyObject
* obj2
= 0 ;
37990 PyObject
* obj3
= 0 ;
37992 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
37993 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxGridBagSizer
,
37994 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
37997 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
38001 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
38004 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxGBSizerItem
,
38005 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38009 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
38011 wxPyEndAllowThreads(__tstate
);
38012 if (PyErr_Occurred()) SWIG_fail
;
38014 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38021 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
38026 argc
= PyObject_Length(args
);
38027 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
38028 argv
[ii
] = PyTuple_GetItem(args
,ii
);
38030 if ((argc
>= 2) && (argc
<= 3)) {
38034 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38044 if (SWIG_ConvertPtr(argv
[1], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38053 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38057 if (SWIG_ConvertPtr(argv
[2], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38065 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
38070 if ((argc
>= 3) && (argc
<= 4)) {
38074 if (SWIG_ConvertPtr(argv
[0], &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
38083 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
38087 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
38091 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38095 if (SWIG_ConvertPtr(argv
[3], &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
38103 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
38110 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
38115 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
38117 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38118 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
38120 return Py_BuildValue((char *)"");
38122 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38123 PyObject
*resultobj
;
38124 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38126 wxWindow
*arg3
= (wxWindow
*) 0 ;
38128 int arg5
= (int) 0 ;
38129 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
38130 PyObject
* obj0
= 0 ;
38131 PyObject
* obj1
= 0 ;
38132 PyObject
* obj2
= 0 ;
38133 PyObject
* obj3
= 0 ;
38134 PyObject
* obj4
= 0 ;
38135 PyObject
* obj5
= 0 ;
38136 char *kwnames
[] = {
38137 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
38140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) goto fail
;
38141 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38142 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38143 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38144 if (PyErr_Occurred()) SWIG_fail
;
38145 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38146 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38147 arg4
= (wxEdge
) SWIG_AsInt(obj3
);
38148 if (PyErr_Occurred()) SWIG_fail
;
38150 arg5
= (int) SWIG_AsInt(obj4
);
38151 if (PyErr_Occurred()) SWIG_fail
;
38154 arg6
= (int) SWIG_AsInt(obj5
);
38155 if (PyErr_Occurred()) SWIG_fail
;
38158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38159 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
38161 wxPyEndAllowThreads(__tstate
);
38162 if (PyErr_Occurred()) SWIG_fail
;
38164 Py_INCREF(Py_None
); resultobj
= Py_None
;
38171 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38172 PyObject
*resultobj
;
38173 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38174 wxWindow
*arg2
= (wxWindow
*) 0 ;
38175 int arg3
= (int) 0 ;
38176 PyObject
* obj0
= 0 ;
38177 PyObject
* obj1
= 0 ;
38178 PyObject
* obj2
= 0 ;
38179 char *kwnames
[] = {
38180 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38184 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38185 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38186 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38187 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38189 arg3
= (int) SWIG_AsInt(obj2
);
38190 if (PyErr_Occurred()) SWIG_fail
;
38193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38194 (arg1
)->LeftOf(arg2
,arg3
);
38196 wxPyEndAllowThreads(__tstate
);
38197 if (PyErr_Occurred()) SWIG_fail
;
38199 Py_INCREF(Py_None
); resultobj
= Py_None
;
38206 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38207 PyObject
*resultobj
;
38208 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38209 wxWindow
*arg2
= (wxWindow
*) 0 ;
38210 int arg3
= (int) 0 ;
38211 PyObject
* obj0
= 0 ;
38212 PyObject
* obj1
= 0 ;
38213 PyObject
* obj2
= 0 ;
38214 char *kwnames
[] = {
38215 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38219 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38220 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38221 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38222 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38224 arg3
= (int) SWIG_AsInt(obj2
);
38225 if (PyErr_Occurred()) SWIG_fail
;
38228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38229 (arg1
)->RightOf(arg2
,arg3
);
38231 wxPyEndAllowThreads(__tstate
);
38232 if (PyErr_Occurred()) SWIG_fail
;
38234 Py_INCREF(Py_None
); resultobj
= Py_None
;
38241 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38242 PyObject
*resultobj
;
38243 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38244 wxWindow
*arg2
= (wxWindow
*) 0 ;
38245 int arg3
= (int) 0 ;
38246 PyObject
* obj0
= 0 ;
38247 PyObject
* obj1
= 0 ;
38248 PyObject
* obj2
= 0 ;
38249 char *kwnames
[] = {
38250 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38254 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38255 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38256 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38257 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38259 arg3
= (int) SWIG_AsInt(obj2
);
38260 if (PyErr_Occurred()) SWIG_fail
;
38263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38264 (arg1
)->Above(arg2
,arg3
);
38266 wxPyEndAllowThreads(__tstate
);
38267 if (PyErr_Occurred()) SWIG_fail
;
38269 Py_INCREF(Py_None
); resultobj
= Py_None
;
38276 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38277 PyObject
*resultobj
;
38278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38279 wxWindow
*arg2
= (wxWindow
*) 0 ;
38280 int arg3
= (int) 0 ;
38281 PyObject
* obj0
= 0 ;
38282 PyObject
* obj1
= 0 ;
38283 PyObject
* obj2
= 0 ;
38284 char *kwnames
[] = {
38285 (char *) "self",(char *) "sibling",(char *) "marg", NULL
38288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38289 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38290 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38291 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38292 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38294 arg3
= (int) SWIG_AsInt(obj2
);
38295 if (PyErr_Occurred()) SWIG_fail
;
38298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38299 (arg1
)->Below(arg2
,arg3
);
38301 wxPyEndAllowThreads(__tstate
);
38302 if (PyErr_Occurred()) SWIG_fail
;
38304 Py_INCREF(Py_None
); resultobj
= Py_None
;
38311 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38312 PyObject
*resultobj
;
38313 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38314 wxWindow
*arg2
= (wxWindow
*) 0 ;
38316 int arg4
= (int) 0 ;
38317 PyObject
* obj0
= 0 ;
38318 PyObject
* obj1
= 0 ;
38319 PyObject
* obj2
= 0 ;
38320 PyObject
* obj3
= 0 ;
38321 char *kwnames
[] = {
38322 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
38325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38326 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38327 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38328 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38329 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38330 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38331 if (PyErr_Occurred()) SWIG_fail
;
38333 arg4
= (int) SWIG_AsInt(obj3
);
38334 if (PyErr_Occurred()) SWIG_fail
;
38337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38338 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
38340 wxPyEndAllowThreads(__tstate
);
38341 if (PyErr_Occurred()) SWIG_fail
;
38343 Py_INCREF(Py_None
); resultobj
= Py_None
;
38350 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38351 PyObject
*resultobj
;
38352 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38353 wxWindow
*arg2
= (wxWindow
*) 0 ;
38356 PyObject
* obj0
= 0 ;
38357 PyObject
* obj1
= 0 ;
38358 PyObject
* obj2
= 0 ;
38359 PyObject
* obj3
= 0 ;
38360 char *kwnames
[] = {
38361 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
38364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38365 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38366 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38367 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38368 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38369 arg3
= (wxEdge
) SWIG_AsInt(obj2
);
38370 if (PyErr_Occurred()) SWIG_fail
;
38371 arg4
= (int) SWIG_AsInt(obj3
);
38372 if (PyErr_Occurred()) SWIG_fail
;
38374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38375 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
38377 wxPyEndAllowThreads(__tstate
);
38378 if (PyErr_Occurred()) SWIG_fail
;
38380 Py_INCREF(Py_None
); resultobj
= Py_None
;
38387 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38388 PyObject
*resultobj
;
38389 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38391 PyObject
* obj0
= 0 ;
38392 PyObject
* obj1
= 0 ;
38393 char *kwnames
[] = {
38394 (char *) "self",(char *) "val", NULL
38397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&obj1
)) goto fail
;
38398 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38399 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38400 arg2
= (int) SWIG_AsInt(obj1
);
38401 if (PyErr_Occurred()) SWIG_fail
;
38403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38404 (arg1
)->Absolute(arg2
);
38406 wxPyEndAllowThreads(__tstate
);
38407 if (PyErr_Occurred()) SWIG_fail
;
38409 Py_INCREF(Py_None
); resultobj
= Py_None
;
38416 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38417 PyObject
*resultobj
;
38418 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38419 PyObject
* obj0
= 0 ;
38420 char *kwnames
[] = {
38421 (char *) "self", NULL
38424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
38425 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38426 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38429 (arg1
)->Unconstrained();
38431 wxPyEndAllowThreads(__tstate
);
38432 if (PyErr_Occurred()) SWIG_fail
;
38434 Py_INCREF(Py_None
); resultobj
= Py_None
;
38441 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38442 PyObject
*resultobj
;
38443 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38444 PyObject
* obj0
= 0 ;
38445 char *kwnames
[] = {
38446 (char *) "self", NULL
38449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
38450 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38451 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38456 wxPyEndAllowThreads(__tstate
);
38457 if (PyErr_Occurred()) SWIG_fail
;
38459 Py_INCREF(Py_None
); resultobj
= Py_None
;
38466 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38467 PyObject
*resultobj
;
38468 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38470 PyObject
* obj0
= 0 ;
38471 char *kwnames
[] = {
38472 (char *) "self", NULL
38475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
38476 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38477 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38480 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
38482 wxPyEndAllowThreads(__tstate
);
38483 if (PyErr_Occurred()) SWIG_fail
;
38486 resultobj
= wxPyMake_wxObject(result
);
38494 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38495 PyObject
*resultobj
;
38496 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38498 PyObject
* obj0
= 0 ;
38499 char *kwnames
[] = {
38500 (char *) "self", NULL
38503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
38504 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38505 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38508 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
38510 wxPyEndAllowThreads(__tstate
);
38511 if (PyErr_Occurred()) SWIG_fail
;
38513 resultobj
= SWIG_FromInt((int)result
);
38520 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38521 PyObject
*resultobj
;
38522 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38524 PyObject
* obj0
= 0 ;
38525 PyObject
* obj1
= 0 ;
38526 char *kwnames
[] = {
38527 (char *) "self",(char *) "which", NULL
38530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&obj1
)) goto fail
;
38531 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38532 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38533 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38534 if (PyErr_Occurred()) SWIG_fail
;
38536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38537 (arg1
)->SetEdge((wxEdge
)arg2
);
38539 wxPyEndAllowThreads(__tstate
);
38540 if (PyErr_Occurred()) SWIG_fail
;
38542 Py_INCREF(Py_None
); resultobj
= Py_None
;
38549 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38550 PyObject
*resultobj
;
38551 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38553 PyObject
* obj0
= 0 ;
38554 PyObject
* obj1
= 0 ;
38555 char *kwnames
[] = {
38556 (char *) "self",(char *) "v", NULL
38559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&obj1
)) goto fail
;
38560 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38561 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38562 arg2
= (int) SWIG_AsInt(obj1
);
38563 if (PyErr_Occurred()) SWIG_fail
;
38565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38566 (arg1
)->SetValue(arg2
);
38568 wxPyEndAllowThreads(__tstate
);
38569 if (PyErr_Occurred()) SWIG_fail
;
38571 Py_INCREF(Py_None
); resultobj
= Py_None
;
38578 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38579 PyObject
*resultobj
;
38580 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38582 PyObject
* obj0
= 0 ;
38583 char *kwnames
[] = {
38584 (char *) "self", NULL
38587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
38588 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38589 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38592 result
= (int)(arg1
)->GetMargin();
38594 wxPyEndAllowThreads(__tstate
);
38595 if (PyErr_Occurred()) SWIG_fail
;
38597 resultobj
= SWIG_FromInt((int)result
);
38604 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38605 PyObject
*resultobj
;
38606 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38608 PyObject
* obj0
= 0 ;
38609 PyObject
* obj1
= 0 ;
38610 char *kwnames
[] = {
38611 (char *) "self",(char *) "m", NULL
38614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&obj1
)) goto fail
;
38615 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38616 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38617 arg2
= (int) SWIG_AsInt(obj1
);
38618 if (PyErr_Occurred()) SWIG_fail
;
38620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38621 (arg1
)->SetMargin(arg2
);
38623 wxPyEndAllowThreads(__tstate
);
38624 if (PyErr_Occurred()) SWIG_fail
;
38626 Py_INCREF(Py_None
); resultobj
= Py_None
;
38633 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38634 PyObject
*resultobj
;
38635 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38637 PyObject
* obj0
= 0 ;
38638 char *kwnames
[] = {
38639 (char *) "self", NULL
38642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
38643 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38644 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38647 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
38649 wxPyEndAllowThreads(__tstate
);
38650 if (PyErr_Occurred()) SWIG_fail
;
38652 resultobj
= SWIG_FromInt((int)result
);
38659 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38660 PyObject
*resultobj
;
38661 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38663 PyObject
* obj0
= 0 ;
38664 char *kwnames
[] = {
38665 (char *) "self", NULL
38668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
38669 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38670 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38673 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
38675 wxPyEndAllowThreads(__tstate
);
38676 if (PyErr_Occurred()) SWIG_fail
;
38678 resultobj
= SWIG_FromInt((int)result
);
38685 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38686 PyObject
*resultobj
;
38687 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38689 PyObject
* obj0
= 0 ;
38690 char *kwnames
[] = {
38691 (char *) "self", NULL
38694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
38695 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38696 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38699 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
38701 wxPyEndAllowThreads(__tstate
);
38702 if (PyErr_Occurred()) SWIG_fail
;
38704 resultobj
= SWIG_FromInt((int)result
);
38711 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38712 PyObject
*resultobj
;
38713 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38715 PyObject
* obj0
= 0 ;
38716 char *kwnames
[] = {
38717 (char *) "self", NULL
38720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
38721 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38722 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38725 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
38727 wxPyEndAllowThreads(__tstate
);
38728 if (PyErr_Occurred()) SWIG_fail
;
38730 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38737 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38738 PyObject
*resultobj
;
38739 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38741 PyObject
* obj0
= 0 ;
38742 PyObject
* obj1
= 0 ;
38743 char *kwnames
[] = {
38744 (char *) "self",(char *) "d", NULL
38747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
38748 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38749 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38750 arg2
= (bool) SWIG_AsBool(obj1
);
38751 if (PyErr_Occurred()) SWIG_fail
;
38753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38754 (arg1
)->SetDone(arg2
);
38756 wxPyEndAllowThreads(__tstate
);
38757 if (PyErr_Occurred()) SWIG_fail
;
38759 Py_INCREF(Py_None
); resultobj
= Py_None
;
38766 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38767 PyObject
*resultobj
;
38768 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38770 PyObject
* obj0
= 0 ;
38771 char *kwnames
[] = {
38772 (char *) "self", NULL
38775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
38776 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38777 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38780 result
= (int)(arg1
)->GetRelationship();
38782 wxPyEndAllowThreads(__tstate
);
38783 if (PyErr_Occurred()) SWIG_fail
;
38785 resultobj
= SWIG_FromInt((int)result
);
38792 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38793 PyObject
*resultobj
;
38794 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38796 PyObject
* obj0
= 0 ;
38797 PyObject
* obj1
= 0 ;
38798 char *kwnames
[] = {
38799 (char *) "self",(char *) "r", NULL
38802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&obj1
)) goto fail
;
38803 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38804 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38805 arg2
= (wxRelationship
) SWIG_AsInt(obj1
);
38806 if (PyErr_Occurred()) SWIG_fail
;
38808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38809 (arg1
)->SetRelationship((wxRelationship
)arg2
);
38811 wxPyEndAllowThreads(__tstate
);
38812 if (PyErr_Occurred()) SWIG_fail
;
38814 Py_INCREF(Py_None
); resultobj
= Py_None
;
38821 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38822 PyObject
*resultobj
;
38823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38824 wxWindow
*arg2
= (wxWindow
*) 0 ;
38826 PyObject
* obj0
= 0 ;
38827 PyObject
* obj1
= 0 ;
38828 char *kwnames
[] = {
38829 (char *) "self",(char *) "otherW", NULL
38832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
38833 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38834 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38835 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
38836 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38839 result
= (bool)(arg1
)->ResetIfWin(arg2
);
38841 wxPyEndAllowThreads(__tstate
);
38842 if (PyErr_Occurred()) SWIG_fail
;
38844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38851 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38852 PyObject
*resultobj
;
38853 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38854 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
38855 wxWindow
*arg3
= (wxWindow
*) 0 ;
38857 PyObject
* obj0
= 0 ;
38858 PyObject
* obj1
= 0 ;
38859 PyObject
* obj2
= 0 ;
38860 char *kwnames
[] = {
38861 (char *) "self",(char *) "constraints",(char *) "win", NULL
38864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
38865 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38866 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38867 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxLayoutConstraints
,
38868 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38869 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38870 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38873 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
38875 wxPyEndAllowThreads(__tstate
);
38876 if (PyErr_Occurred()) SWIG_fail
;
38878 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
38885 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38886 PyObject
*resultobj
;
38887 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
38889 wxWindow
*arg3
= (wxWindow
*) 0 ;
38890 wxWindow
*arg4
= (wxWindow
*) 0 ;
38892 PyObject
* obj0
= 0 ;
38893 PyObject
* obj1
= 0 ;
38894 PyObject
* obj2
= 0 ;
38895 PyObject
* obj3
= 0 ;
38896 char *kwnames
[] = {
38897 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
38900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
38901 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxIndividualLayoutConstraint
,
38902 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38903 arg2
= (wxEdge
) SWIG_AsInt(obj1
);
38904 if (PyErr_Occurred()) SWIG_fail
;
38905 if ((SWIG_ConvertPtr(obj2
,(void **)(&arg3
),SWIGTYPE_p_wxWindow
,
38906 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38907 if ((SWIG_ConvertPtr(obj3
,(void **)(&arg4
),SWIGTYPE_p_wxWindow
,
38908 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
38911 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
38913 wxPyEndAllowThreads(__tstate
);
38914 if (PyErr_Occurred()) SWIG_fail
;
38916 resultobj
= SWIG_FromInt((int)result
);
38923 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
38925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
38926 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
38928 return Py_BuildValue((char *)"");
38930 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38931 PyObject
*resultobj
;
38932 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38933 wxIndividualLayoutConstraint
*result
;
38934 PyObject
* obj0
= 0 ;
38935 char *kwnames
[] = {
38936 (char *) "self", NULL
38939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
38940 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38941 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38942 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
38944 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38951 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38952 PyObject
*resultobj
;
38953 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38954 wxIndividualLayoutConstraint
*result
;
38955 PyObject
* obj0
= 0 ;
38956 char *kwnames
[] = {
38957 (char *) "self", NULL
38960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
38961 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38962 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38963 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
38965 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38972 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38973 PyObject
*resultobj
;
38974 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38975 wxIndividualLayoutConstraint
*result
;
38976 PyObject
* obj0
= 0 ;
38977 char *kwnames
[] = {
38978 (char *) "self", NULL
38981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
38982 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
38983 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
38984 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
38986 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
38993 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
38994 PyObject
*resultobj
;
38995 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
38996 wxIndividualLayoutConstraint
*result
;
38997 PyObject
* obj0
= 0 ;
38998 char *kwnames
[] = {
38999 (char *) "self", NULL
39002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
39003 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39004 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39005 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
39007 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39014 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39015 PyObject
*resultobj
;
39016 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39017 wxIndividualLayoutConstraint
*result
;
39018 PyObject
* obj0
= 0 ;
39019 char *kwnames
[] = {
39020 (char *) "self", NULL
39023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
39024 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39025 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39026 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
39028 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39035 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39036 PyObject
*resultobj
;
39037 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39038 wxIndividualLayoutConstraint
*result
;
39039 PyObject
* obj0
= 0 ;
39040 char *kwnames
[] = {
39041 (char *) "self", NULL
39044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
39045 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39046 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39047 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
39049 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39056 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39057 PyObject
*resultobj
;
39058 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39059 wxIndividualLayoutConstraint
*result
;
39060 PyObject
* obj0
= 0 ;
39061 char *kwnames
[] = {
39062 (char *) "self", NULL
39065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
39066 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39067 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39068 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
39070 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39077 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39078 PyObject
*resultobj
;
39079 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39080 wxIndividualLayoutConstraint
*result
;
39081 PyObject
* obj0
= 0 ;
39082 char *kwnames
[] = {
39083 (char *) "self", NULL
39086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
39087 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39088 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39089 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
39091 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
39098 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39099 PyObject
*resultobj
;
39100 wxLayoutConstraints
*result
;
39101 char *kwnames
[] = {
39105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
39107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39108 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
39110 wxPyEndAllowThreads(__tstate
);
39111 if (PyErr_Occurred()) SWIG_fail
;
39113 resultobj
= SWIG_NewPointerObj((void*)(result
), SWIGTYPE_p_wxLayoutConstraints
, 1);
39120 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39121 PyObject
*resultobj
;
39122 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39123 wxWindow
*arg2
= (wxWindow
*) 0 ;
39124 int *arg3
= (int *) 0 ;
39127 PyObject
* obj0
= 0 ;
39128 PyObject
* obj1
= 0 ;
39129 char *kwnames
[] = {
39130 (char *) "self",(char *) "win", NULL
39134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
39135 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39136 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39137 if ((SWIG_ConvertPtr(obj1
,(void **)(&arg2
),SWIGTYPE_p_wxWindow
,
39138 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39141 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
39143 wxPyEndAllowThreads(__tstate
);
39144 if (PyErr_Occurred()) SWIG_fail
;
39146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39148 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
39149 resultobj
= t_output_helper(resultobj
,o
);
39157 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
39158 PyObject
*resultobj
;
39159 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
39161 PyObject
* obj0
= 0 ;
39162 char *kwnames
[] = {
39163 (char *) "self", NULL
39166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
39167 if ((SWIG_ConvertPtr(obj0
,(void **)(&arg1
),SWIGTYPE_p_wxLayoutConstraints
,
39168 SWIG_POINTER_EXCEPTION
| 0)) == -1) SWIG_fail
;
39170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
39171 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
39173 wxPyEndAllowThreads(__tstate
);
39174 if (PyErr_Occurred()) SWIG_fail
;
39176 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
39183 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
39185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
39186 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
39188 return Py_BuildValue((char *)"");
39190 static PyMethodDef SwigMethods
[] = {
39191 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
39192 { (char *)"_wxPyFixStockObjects", __wxPyFixStockObjects
, METH_VARARGS
},
39193 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39194 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39195 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
39196 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39197 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39198 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39199 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39200 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
39201 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
39202 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39203 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39204 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
39205 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39206 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
39207 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
39208 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
39209 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39210 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39211 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39212 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39213 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
39214 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
39215 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39216 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39217 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39218 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39219 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39220 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
39221 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39222 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39223 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
39224 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39225 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
39226 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
39227 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
39228 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39229 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39230 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39231 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39232 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
39233 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
39234 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39235 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39236 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
39237 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
39238 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39239 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39240 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
39241 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
39242 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
39243 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39244 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
39245 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
39246 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
39247 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39248 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
39249 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39250 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
39251 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39252 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39253 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39254 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39255 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39256 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39257 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39258 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39259 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39260 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
39261 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39262 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
39263 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39264 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
39265 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39266 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
39267 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
39268 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
39269 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
39270 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
39271 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
39272 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
39273 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
39274 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
39275 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
39276 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
39277 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39278 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39279 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39280 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
39281 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
39282 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
39283 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39284 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39285 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39286 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39287 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
39288 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
39289 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
39290 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
39291 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
39292 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
39293 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
39294 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
39295 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
39296 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
39297 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
39298 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
39299 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
39300 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39301 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39302 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
39303 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
39304 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
39305 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
39306 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
39307 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
39308 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
39309 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
39310 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
39311 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
39312 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
39313 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
39314 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
39315 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39316 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39317 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39318 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39319 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
39320 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
39321 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
39322 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
39323 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
39324 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
39325 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
39326 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
39327 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
39328 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
39329 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
39330 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
39331 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
39332 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
39333 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
39334 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39335 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
39336 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
39337 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
39338 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
39339 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
39340 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
39341 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
39342 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39343 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
39344 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
39345 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39346 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
39347 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39348 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
39349 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
39350 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
39351 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
39352 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39353 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39354 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39355 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39356 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39357 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
39358 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
39359 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
39360 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
39361 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
39362 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
39363 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39364 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
39365 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
39366 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
39367 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39368 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39369 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39370 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39371 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39372 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
39373 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
39374 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
39375 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39376 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39377 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39378 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
39379 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39380 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39381 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39382 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39383 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39384 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
39385 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
39386 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39387 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
39388 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
39389 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
39390 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
39391 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
39392 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
39393 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
39394 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
39395 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39396 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39397 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
39398 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39399 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39400 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39401 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
39402 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
39403 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
39404 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
39405 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39406 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
39407 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39408 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
39409 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
39410 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
39411 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
39412 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
39413 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
39414 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
39415 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39416 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
39417 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
39418 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39419 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
39420 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
39421 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
39422 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
39423 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
39424 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
39425 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
39426 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39427 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39428 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
39429 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
39430 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
39431 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
39432 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
39433 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
39434 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39435 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
39436 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
39437 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
39438 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
39439 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
39440 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39441 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
39442 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
39443 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
39444 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
39445 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
39446 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
39447 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
39448 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39449 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39450 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39451 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
39452 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39453 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
39454 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
39455 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
39456 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
39457 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
39458 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
39459 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
39460 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
39461 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
39462 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
39463 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
39464 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
39465 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
39466 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39467 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
39468 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
39469 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
39470 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
39471 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
39472 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
39473 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
39474 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
39475 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
39476 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39477 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
39478 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
39479 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
39480 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
39481 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
39482 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
39483 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
39484 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
39485 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
39486 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
39487 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
39488 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39489 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
39490 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39491 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
39492 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
39493 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
39494 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
39495 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
39496 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39497 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
39498 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
39499 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
39500 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
39501 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
39502 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
39503 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39504 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39505 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
39506 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
39507 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39508 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39509 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
39510 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
39511 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39512 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
39513 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
39514 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
39515 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
39516 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
39517 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
39518 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39519 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
39520 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39521 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
39522 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39523 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
39524 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39525 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39526 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39527 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
39528 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
39529 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
39530 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
39531 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
39532 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39533 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
39534 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39535 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
39536 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
39537 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39538 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
39539 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
39540 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39541 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
39542 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
39543 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
39544 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
39545 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
39546 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39547 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
39548 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
39549 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
39550 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
39551 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
39552 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39553 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39554 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
39555 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
39556 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
39557 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
39558 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39559 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39560 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39561 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39562 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
39563 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
39564 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39565 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39566 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
39567 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39568 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
39569 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39570 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
39571 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
39572 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
39573 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
39574 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
39575 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39576 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
39577 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39578 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39579 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39580 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39581 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
39582 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
39583 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
39584 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
39585 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
39586 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
39587 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
39588 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
39589 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
39590 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39591 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39592 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
39593 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
39594 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
39595 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
39596 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
39597 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39598 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39599 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
39600 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39601 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39602 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
39603 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
39604 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
39605 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
39606 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39607 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39608 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39609 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39610 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39611 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39612 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39613 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39614 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39615 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39616 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39617 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39618 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39619 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39620 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39621 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39622 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39623 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39624 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
39625 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
39626 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
39627 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
39628 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
39629 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
39630 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
39631 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
39632 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39633 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39634 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39635 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
39636 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
39637 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
39638 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39639 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
39640 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
39641 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
39642 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
39643 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
39644 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39645 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
39646 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39647 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
39648 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39649 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39650 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
39651 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
39652 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
39653 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
39654 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
39655 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
39656 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39657 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39658 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39659 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39660 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39661 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39662 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39663 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39664 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
39665 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
39666 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39667 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39668 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
39669 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
39670 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
39671 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
39672 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
39673 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39674 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39675 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39676 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39677 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39678 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
39679 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
39680 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39681 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39682 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
39683 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
39684 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39685 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39686 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39687 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39688 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
39689 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
39690 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
39691 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
39692 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
39693 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39694 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
39695 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
39696 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
39697 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39698 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
39699 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
39700 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39701 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39702 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39703 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
39704 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
39705 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39706 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
39707 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39708 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
39709 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
39710 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
39711 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
39712 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39713 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
39714 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
39715 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
39716 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
39717 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
39718 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39719 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
39720 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
39721 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39722 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
39723 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
39724 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
39725 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
39726 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
39727 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
39728 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
39729 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39730 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
39731 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
39732 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
39733 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
39734 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39735 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
39736 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
39737 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
39738 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
39739 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39740 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39741 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
39742 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
39743 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
39744 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39745 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
39746 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39747 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
39748 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39749 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
39750 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
39751 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
39752 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39753 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39754 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
39755 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39756 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
39757 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39758 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39759 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
39760 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39761 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
39762 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
39763 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39764 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
39765 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
39766 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
39767 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39768 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
39769 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
39770 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39771 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39772 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
39773 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39774 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
39775 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39776 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
39777 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
39778 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
39779 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39780 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
39781 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39782 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
39783 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
39784 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
39785 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39786 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39787 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
39788 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
39789 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
39790 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
39791 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
39792 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
39793 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
39794 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
39795 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39796 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
39797 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39798 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39799 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
39800 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39801 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
39802 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39803 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
39804 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
39805 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39806 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
39807 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
39808 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39809 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
39810 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39811 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
39812 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39813 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
39814 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
39815 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
39816 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39817 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39818 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39819 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39820 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
39821 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
39822 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
39823 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
39824 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
39825 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
39826 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39827 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
39828 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39829 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
39830 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39831 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
39832 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39833 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
39834 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39835 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
39836 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39837 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39838 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39839 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39840 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39841 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
39842 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39843 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39844 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
39845 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
39846 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
39847 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
39848 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
39849 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
39850 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
39851 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
39852 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
39853 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
39854 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
39855 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
39856 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
39857 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39858 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
39859 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
39860 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39861 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
39862 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
39863 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
39864 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
39865 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
39866 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39867 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39868 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
39869 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
39870 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
39871 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
39872 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
39873 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
39874 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
39875 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
39876 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
39877 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
39878 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39879 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
39880 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39881 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
39882 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
39883 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
39884 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
39885 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
39886 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
39887 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
39888 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
39889 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
39890 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
39891 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
39892 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39893 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
39894 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
39895 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
39896 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
39897 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39898 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39899 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39900 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
39901 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
39902 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
39903 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39904 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
39905 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
39906 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39907 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
39908 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39909 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39910 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39911 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
39912 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
39913 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
39914 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
39915 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
39916 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
39917 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39918 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
39919 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
39920 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
39921 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
39922 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
39923 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
39924 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39925 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
39926 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39927 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
39928 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
39929 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
39930 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
39931 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
39932 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
39933 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
39934 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39935 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39936 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
39937 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
39938 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
39939 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39940 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
39941 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
39942 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39943 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
39944 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
39945 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
39946 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
39947 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
39948 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
39949 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39950 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39951 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
39952 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
39953 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
39954 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
39955 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
39956 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
39957 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
39958 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
39959 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
39960 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
39961 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39962 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39963 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39964 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39965 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
39966 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39967 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
39968 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39969 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
39970 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39971 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
39972 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39973 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
39974 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
39975 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
39976 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39977 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
39978 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
39979 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
39980 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
39981 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
39982 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
39983 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
39984 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
39985 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
39986 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
39987 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
39988 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
39989 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
39990 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
39991 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
39992 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
39993 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
39994 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
39995 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39996 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39997 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39998 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
39999 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40000 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
40001 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40002 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40003 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40004 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
40005 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
40006 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
40007 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40008 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
40009 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
40010 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
40011 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
40012 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
40013 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
40014 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
40015 { (char *)"Window_GetBorder", _wrap_Window_GetBorder
, METH_VARARGS
},
40016 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
40017 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
40018 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
40019 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
40020 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
40021 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40022 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
40023 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40024 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
40025 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
40026 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
40027 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
40028 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
40029 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
40030 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
40031 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
40032 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
40033 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
40034 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40035 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
40036 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
40037 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
40038 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40039 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
40040 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40041 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
40042 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
40043 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40044 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40045 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40046 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
40047 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40048 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40049 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
40050 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40051 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40052 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
40053 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
40054 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
40055 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
40056 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
40057 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
40058 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
40059 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
40060 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
40061 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
40062 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
40063 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40064 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40065 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
40066 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
40067 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
40068 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
40069 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40070 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
40071 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
40072 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
40073 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40074 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40075 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40076 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
40077 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
40078 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
40079 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40080 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40081 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40082 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40083 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40084 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
40085 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40086 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40087 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40088 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
40089 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
40090 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
40091 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40092 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
40093 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40094 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
40095 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
40096 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
40097 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
40098 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
40099 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
40100 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
40101 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40102 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
40103 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40104 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40105 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
40106 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40107 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40108 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40109 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40110 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40111 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40112 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
40113 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40114 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
40115 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40116 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
40117 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
40118 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
40119 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40120 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40121 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40122 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40123 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
40124 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
40125 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
40126 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
40127 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
40128 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40129 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
40130 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40131 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
40132 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40133 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
40134 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
40135 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40136 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
40137 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40138 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
40139 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
40140 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40141 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
40142 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40143 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40144 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40145 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40146 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40147 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
40148 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
40149 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
40150 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
40151 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
40152 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
40153 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
40154 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40155 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
40156 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
40157 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
40158 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
40159 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
40160 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40161 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
40162 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
40163 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
40164 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40165 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
40166 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40167 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40168 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
40169 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
40170 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
40171 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
40172 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
40173 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
40174 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40175 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
40176 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40177 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
40178 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
40179 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
40180 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40181 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
40182 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40183 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
40184 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
40185 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40186 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40187 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40188 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40189 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
40190 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40191 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40192 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
40193 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40194 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
40195 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
40196 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
40197 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
40198 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
40199 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
40200 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40201 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
40202 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
40203 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
40204 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
40205 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40206 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40207 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
40208 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
40209 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
40210 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
40211 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
40212 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
40213 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
40214 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
40215 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
40216 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
40217 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40218 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
40219 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
40220 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
40221 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40222 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40223 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40224 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40225 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40226 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
40227 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40228 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40229 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40230 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40231 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
40232 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
40233 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
40234 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40235 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
40236 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
40237 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
40238 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40239 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40240 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
40241 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40242 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
40243 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40244 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
40245 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40246 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
40247 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40248 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
40249 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40250 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40251 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
40252 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40253 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40254 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
40255 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
40256 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
40257 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40258 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
40259 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
40260 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
40261 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40262 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40263 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
40264 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
40265 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
40266 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40267 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
40268 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
40269 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
40270 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40271 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40272 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
40273 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
40274 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
40275 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40276 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
40277 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
40278 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
40279 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
40280 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
40281 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
40282 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
40283 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
40284 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
40285 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
40286 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
40287 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
40288 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40289 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40290 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
40291 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40292 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40293 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
40294 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
40295 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
40296 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40297 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40298 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
40299 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40300 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40301 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40302 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
40303 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
40304 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40305 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40306 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
40307 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
40308 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
40309 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
40310 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
40311 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
40312 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40313 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40314 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40315 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
40316 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40317 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
40318 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40319 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
40320 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40321 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
40322 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
40323 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
40324 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
40325 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
40326 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
40327 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
40328 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
40329 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
40330 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40331 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40332 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
40333 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
40334 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
40335 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
40336 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40337 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40338 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
40339 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
40340 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
40341 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
40342 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
40343 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
40344 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
40345 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
40346 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
40347 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
40348 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
40349 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
40350 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40351 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
40352 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
40353 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
40354 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
40355 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40356 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
40357 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
40358 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
40359 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
40360 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
40361 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40362 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
40363 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
40364 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
40365 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
40366 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
40367 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
40368 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
40369 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
40370 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
40371 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
40372 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
40373 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
40374 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
40375 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
40376 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
40377 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
40378 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
40379 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
40380 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
40381 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
40382 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
40383 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
40384 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
40385 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
40386 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
40387 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40388 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
40389 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40390 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
40391 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
40392 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
40393 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
40394 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
40395 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
40396 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40397 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
40398 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
40399 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
40400 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
40401 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
40402 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
40403 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
40404 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
40405 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
40406 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
40407 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
40408 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
40409 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
40410 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40411 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
40412 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
40413 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
40418 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
40420 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
40421 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
40423 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
40424 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
40426 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
40427 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40429 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
40430 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40432 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
40433 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
40435 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
40436 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40438 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
40439 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
40441 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
40442 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40444 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
40445 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40447 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
40448 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
40450 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
40451 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
40453 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
40454 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
40456 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
40457 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
40459 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
40460 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
40462 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
40463 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
40465 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
40466 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
40468 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
40469 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
40471 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
40472 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40474 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
40475 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
40477 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
40478 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40480 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
40481 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40483 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
40484 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
40486 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
40487 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
40489 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
40490 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
40492 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
40493 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
40495 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
40496 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
40498 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
40499 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
40501 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
40502 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
40504 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
40505 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40507 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
40508 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40510 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
40511 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40513 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
40514 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40516 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
40517 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40519 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
40520 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
40522 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
40523 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
40525 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
40526 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40528 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
40529 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
40531 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
40532 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
40534 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
40535 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40537 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
40538 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40540 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
40541 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40543 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
40544 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
40546 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
40547 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
40549 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
40550 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40552 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
40553 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40555 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
40556 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40558 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
40559 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
40561 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
40562 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
40564 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
40565 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
40567 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
40568 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
40570 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
40571 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40573 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
40574 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
40576 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
40577 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
40579 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
40580 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
40582 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
40583 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
40585 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
40586 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
40588 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
40589 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
40591 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
40592 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
40594 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
40595 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
40597 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
40598 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
40600 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
40601 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
40603 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
40604 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40606 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
40607 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
40609 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
40610 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
40612 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
40613 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40615 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
40616 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40618 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
40619 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
40621 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
40622 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
40624 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
40625 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
40627 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
40628 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
40630 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
40631 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
40633 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
40634 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
40636 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
40637 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
40639 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
40640 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
40642 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40643 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
40645 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40646 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
40648 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
40649 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
40651 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
40652 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
40654 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
40655 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
40657 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
40658 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40660 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
40661 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
40663 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
40664 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
40666 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
40667 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
40669 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
40670 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
40672 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
40673 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
40675 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
40676 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
40678 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
40679 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
40681 static void *_p_wxSizerTo_p_wxObject(void *x
) {
40682 return (void *)((wxObject
*) ((wxSizer
*) x
));
40684 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
40685 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
40687 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
40688 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
40690 static void *_p_wxMenuTo_p_wxObject(void *x
) {
40691 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
40693 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
40694 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
40696 static void *_p_wxImageTo_p_wxObject(void *x
) {
40697 return (void *)((wxObject
*) ((wxImage
*) x
));
40699 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
40700 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
40702 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
40703 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40705 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
40706 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
40708 static void *_p_wxWindowTo_p_wxObject(void *x
) {
40709 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
40711 static void *_p_wxControlTo_p_wxObject(void *x
) {
40712 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
40714 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
40715 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
40717 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
40718 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
40720 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
40721 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
40723 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
40724 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
40726 static void *_p_wxEventTo_p_wxObject(void *x
) {
40727 return (void *)((wxObject
*) ((wxEvent
*) x
));
40729 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
40730 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
40732 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
40733 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
40735 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
40736 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
40738 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
40739 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
40741 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
40742 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
40744 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
40745 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
40747 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
40748 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40750 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
40751 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
40753 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
40754 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
40756 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
40757 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
40759 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
40760 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
40762 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
40763 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
40765 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
40766 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
40768 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
40769 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
40771 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
40772 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
40774 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
40775 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
40777 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
40778 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
40780 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
40781 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
40783 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
40784 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
40786 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
40787 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
40789 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
40790 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
40792 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
40793 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
40795 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
40796 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
40798 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
40799 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
40801 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
40802 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40804 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
40805 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
40807 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
40808 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
40810 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
40811 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
40813 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
40814 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
40816 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
40817 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
40819 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
40820 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
40822 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
40823 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40825 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
40826 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
40828 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
40829 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
40831 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
40832 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
40834 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
40835 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
40837 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
40838 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
40840 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
40841 return (void *)((wxObject
*) ((wxFSFile
*) x
));
40843 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
40844 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
40846 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
40847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40849 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
40850 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
40852 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
40853 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
40855 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
40856 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40858 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
40859 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
40861 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
40862 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
40864 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
40865 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
40867 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
40868 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
40870 static void *_p_wxControlTo_p_wxWindow(void *x
) {
40871 return (void *)((wxWindow
*) ((wxControl
*) x
));
40873 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
40874 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
40876 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
40877 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
40879 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
40880 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
40882 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
40883 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
40885 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
40886 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
40888 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
40889 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
40891 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
40892 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
40894 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
40895 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
40897 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
40898 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
40900 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
40901 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
40903 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
40904 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
40906 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}};
40907 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}};
40908 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}};
40909 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}};
40910 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}};
40911 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}};
40912 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}};
40913 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}};
40914 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}};
40915 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}};
40916 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}};
40917 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}};
40918 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}};
40919 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}};
40920 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}};
40921 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}};
40922 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}};
40923 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}};
40924 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}};
40925 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}};
40926 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}};
40927 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}};
40928 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}};
40929 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}};
40930 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}};
40931 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}};
40932 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}};
40933 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}};
40934 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}};
40935 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}};
40936 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}};
40937 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}};
40938 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}};
40939 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}};
40940 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}};
40941 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}};
40942 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}};
40943 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}};
40944 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}};
40945 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}};
40946 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}};
40947 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}};
40948 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}};
40949 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}};
40950 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}};
40951 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}};
40952 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}};
40953 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}};
40954 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}};
40955 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}};
40956 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}};
40957 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}};
40958 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}};
40959 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}};
40960 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}};
40961 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}};
40962 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}};
40963 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}};
40964 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}};
40965 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}};
40966 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}};
40967 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}};
40968 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}};
40969 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}};
40970 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}};
40971 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}};
40972 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}};
40973 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}};
40974 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}};
40975 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}};
40976 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}};
40977 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}};
40978 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}};
40979 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}};
40980 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}};
40981 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}};
40982 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}};
40983 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}};
40984 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}};
40985 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}};
40986 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}};
40987 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}};
40988 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}};
40989 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}};
40990 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}};
40991 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}};
40992 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}};
40993 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}};
40994 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}};
40995 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}};
40996 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}};
40997 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}};
40998 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}};
40999 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}};
41000 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}};
41001 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}};
41002 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}};
41003 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}};
41004 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}};
41005 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}};
41006 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}};
41007 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}};
41008 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}};
41009 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}};
41010 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}};
41011 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}};
41012 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}};
41013 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}};
41014 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}};
41015 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}};
41016 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}};
41017 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}};
41018 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}};
41019 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}};
41021 static swig_type_info
*swig_types_initial
[] = {
41022 _swigt__p_wxLayoutConstraints
,
41023 _swigt__p_wxRealPoint
,
41024 _swigt__p_wxSizerItem
,
41025 _swigt__p_wxGBSizerItem
,
41026 _swigt__p_wxScrollEvent
,
41027 _swigt__p_wxIndividualLayoutConstraint
,
41029 _swigt__p_wxBoxSizer
,
41030 _swigt__p_wxStaticBoxSizer
,
41031 _swigt__p_wxGridBagSizer
,
41032 _swigt__p_wxAcceleratorEntry
,
41033 _swigt__p_wxUpdateUIEvent
,
41036 _swigt__p_wxGridSizer
,
41037 _swigt__p_wxFlexGridSizer
,
41038 _swigt__p_wxInitDialogEvent
,
41039 _swigt__p_wxItemContainer
,
41040 _swigt__p_wxNcPaintEvent
,
41041 _swigt__p_wxPaintEvent
,
41042 _swigt__p_wxSysColourChangedEvent
,
41043 _swigt__p_wxMouseCaptureChangedEvent
,
41044 _swigt__p_wxDisplayChangedEvent
,
41045 _swigt__p_wxPaletteChangedEvent
,
41046 _swigt__p_wxControl
,
41048 _swigt__p_wxMenuBarBase
,
41049 _swigt__p_wxSetCursorEvent
,
41050 _swigt__p_wxFSFile
,
41052 _swigt__p_wxRegion
,
41053 _swigt__p_wxPoint2D
,
41057 _swigt__p_wxPySizer
,
41058 _swigt__p_wxNotifyEvent
,
41059 _swigt__p_wxPyEvent
,
41060 _swigt__p_wxPropagationDisabler
,
41061 _swigt__p_wxAppTraits
,
41062 _swigt__p_wxArrayString
,
41063 _swigt__p_wxShowEvent
,
41064 _swigt__p_wxToolTip
,
41065 _swigt__p_wxMaximizeEvent
,
41066 _swigt__p_wxIconizeEvent
,
41067 _swigt__p_wxActivateEvent
,
41068 _swigt__p_wxMoveEvent
,
41069 _swigt__p_wxSizeEvent
,
41070 _swigt__p_wxQueryNewPaletteEvent
,
41071 _swigt__p_wxWindowCreateEvent
,
41072 _swigt__p_wxIdleEvent
,
41073 _swigt__p_wxMenuItem
,
41074 _swigt__p_wxStaticBox
,
41076 _swigt__p_wxTIFFHandler
,
41077 _swigt__p_wxXPMHandler
,
41078 _swigt__p_wxPNMHandler
,
41079 _swigt__p_wxJPEGHandler
,
41080 _swigt__p_wxPCXHandler
,
41081 _swigt__p_wxGIFHandler
,
41082 _swigt__p_wxPNGHandler
,
41083 _swigt__p_wxANIHandler
,
41084 _swigt__p_wxMemoryFSHandler
,
41085 _swigt__p_wxEvtHandler
,
41086 _swigt__p_wxCURHandler
,
41087 _swigt__p_wxICOHandler
,
41088 _swigt__p_wxBMPHandler
,
41089 _swigt__p_wxImageHandler
,
41090 _swigt__p_wxFileSystemHandler
,
41091 _swigt__p_wxPyFileSystemHandler
,
41092 _swigt__p_wxInternetFSHandler
,
41093 _swigt__p_wxZipFSHandler
,
41095 _swigt__p_wxGBSpan
,
41096 _swigt__p_wxPropagateOnce
,
41097 _swigt__p_wxAcceleratorTable
,
41099 _swigt__p_wxGBPosition
,
41102 _swigt__p_wxScrollWinEvent
,
41103 _swigt__p_wxImageHistogram
,
41106 _swigt__p_wxCursor
,
41107 _swigt__p_wxObject
,
41108 _swigt__p_wxPyInputStream
,
41109 _swigt__p_wxOutputStream
,
41110 _swigt__p_wxInputStream
,
41111 _swigt__p_wxDateTime
,
41112 _swigt__p_wxKeyEvent
,
41113 _swigt__p_wxNavigationKeyEvent
,
41114 _swigt__p_wxWindowDestroyEvent
,
41115 _swigt__p_wxWindow
,
41116 _swigt__p_wxMenuBar
,
41117 _swigt__p_wxFileSystem
,
41118 _swigt__p_wxBitmap
,
41119 _swigt__p_wxMenuEvent
,
41120 _swigt__p_wxContextMenuEvent
,
41121 _swigt__p_unsigned_char
,
41122 _swigt__p_wxCloseEvent
,
41123 _swigt__p_wxEraseEvent
,
41124 _swigt__p_wxMouseEvent
,
41126 _swigt__p_wxCommandEvent
,
41127 _swigt__p_wxPyCommandEvent
,
41128 _swigt__p_wxPyDropTarget
,
41129 _swigt__p_wxChildFocusEvent
,
41130 _swigt__p_wxFocusEvent
,
41131 _swigt__p_wxDropFilesEvent
,
41132 _swigt__p_wxControlWithItems
,
41133 _swigt__p_wxColour
,
41134 _swigt__p_wxValidator
,
41135 _swigt__p_wxPyValidator
,
41140 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
41142 static swig_const_info swig_const_table
[] = {
41152 SWIGEXPORT(void) SWIG_init(void) {
41153 static PyObject
*SWIG_globals
= 0;
41154 static int typeinit
= 0;
41157 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
41158 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
41159 d
= PyModule_GetDict(m
);
41162 for (i
= 0; swig_types_initial
[i
]; i
++) {
41163 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
41167 SWIG_InstallConstants(d
,swig_const_table
);
41170 #ifndef wxPyUSE_EXPORT
41171 // Make our API structure a CObject so other modules can import it
41172 // from this module.
41173 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
41174 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
41178 PyDict_SetItemString(d
,"NOT_FOUND", SWIG_FromInt((int)wxNOT_FOUND
));
41179 PyDict_SetItemString(d
,"VSCROLL", SWIG_FromInt((int)wxVSCROLL
));
41180 PyDict_SetItemString(d
,"HSCROLL", SWIG_FromInt((int)wxHSCROLL
));
41181 PyDict_SetItemString(d
,"CAPTION", SWIG_FromInt((int)wxCAPTION
));
41182 PyDict_SetItemString(d
,"DOUBLE_BORDER", SWIG_FromInt((int)wxDOUBLE_BORDER
));
41183 PyDict_SetItemString(d
,"SUNKEN_BORDER", SWIG_FromInt((int)wxSUNKEN_BORDER
));
41184 PyDict_SetItemString(d
,"RAISED_BORDER", SWIG_FromInt((int)wxRAISED_BORDER
));
41185 PyDict_SetItemString(d
,"BORDER", SWIG_FromInt((int)wxBORDER
));
41186 PyDict_SetItemString(d
,"SIMPLE_BORDER", SWIG_FromInt((int)wxSIMPLE_BORDER
));
41187 PyDict_SetItemString(d
,"STATIC_BORDER", SWIG_FromInt((int)wxSTATIC_BORDER
));
41188 PyDict_SetItemString(d
,"TRANSPARENT_WINDOW", SWIG_FromInt((int)wxTRANSPARENT_WINDOW
));
41189 PyDict_SetItemString(d
,"NO_BORDER", SWIG_FromInt((int)wxNO_BORDER
));
41190 PyDict_SetItemString(d
,"USER_COLOURS", SWIG_FromInt((int)wxUSER_COLOURS
));
41191 PyDict_SetItemString(d
,"NO_3D", SWIG_FromInt((int)wxNO_3D
));
41192 PyDict_SetItemString(d
,"TAB_TRAVERSAL", SWIG_FromInt((int)wxTAB_TRAVERSAL
));
41193 PyDict_SetItemString(d
,"WANTS_CHARS", SWIG_FromInt((int)wxWANTS_CHARS
));
41194 PyDict_SetItemString(d
,"POPUP_WINDOW", SWIG_FromInt((int)wxPOPUP_WINDOW
));
41195 PyDict_SetItemString(d
,"CENTER_FRAME", SWIG_FromInt((int)wxCENTER_FRAME
));
41196 PyDict_SetItemString(d
,"CENTRE_ON_SCREEN", SWIG_FromInt((int)wxCENTRE_ON_SCREEN
));
41197 PyDict_SetItemString(d
,"CENTER_ON_SCREEN", SWIG_FromInt((int)wxCENTER_ON_SCREEN
));
41198 PyDict_SetItemString(d
,"STAY_ON_TOP", SWIG_FromInt((int)wxSTAY_ON_TOP
));
41199 PyDict_SetItemString(d
,"ICONIZE", SWIG_FromInt((int)wxICONIZE
));
41200 PyDict_SetItemString(d
,"MINIMIZE", SWIG_FromInt((int)wxMINIMIZE
));
41201 PyDict_SetItemString(d
,"MAXIMIZE", SWIG_FromInt((int)wxMAXIMIZE
));
41202 PyDict_SetItemString(d
,"CLOSE_BOX", SWIG_FromInt((int)wxCLOSE_BOX
));
41203 PyDict_SetItemString(d
,"THICK_FRAME", SWIG_FromInt((int)wxTHICK_FRAME
));
41204 PyDict_SetItemString(d
,"SYSTEM_MENU", SWIG_FromInt((int)wxSYSTEM_MENU
));
41205 PyDict_SetItemString(d
,"MINIMIZE_BOX", SWIG_FromInt((int)wxMINIMIZE_BOX
));
41206 PyDict_SetItemString(d
,"MAXIMIZE_BOX", SWIG_FromInt((int)wxMAXIMIZE_BOX
));
41207 PyDict_SetItemString(d
,"TINY_CAPTION_HORIZ", SWIG_FromInt((int)wxTINY_CAPTION_HORIZ
));
41208 PyDict_SetItemString(d
,"TINY_CAPTION_VERT", SWIG_FromInt((int)wxTINY_CAPTION_VERT
));
41209 PyDict_SetItemString(d
,"RESIZE_BOX", SWIG_FromInt((int)wxRESIZE_BOX
));
41210 PyDict_SetItemString(d
,"RESIZE_BORDER", SWIG_FromInt((int)wxRESIZE_BORDER
));
41211 PyDict_SetItemString(d
,"DIALOG_MODAL", SWIG_FromInt((int)wxDIALOG_MODAL
));
41212 PyDict_SetItemString(d
,"DIALOG_MODELESS", SWIG_FromInt((int)wxDIALOG_MODELESS
));
41213 PyDict_SetItemString(d
,"DIALOG_NO_PARENT", SWIG_FromInt((int)wxDIALOG_NO_PARENT
));
41214 PyDict_SetItemString(d
,"DEFAULT_FRAME_STYLE", SWIG_FromInt((int)wxDEFAULT_FRAME_STYLE
));
41215 PyDict_SetItemString(d
,"DEFAULT_DIALOG_STYLE", SWIG_FromInt((int)wxDEFAULT_DIALOG_STYLE
));
41216 PyDict_SetItemString(d
,"FRAME_TOOL_WINDOW", SWIG_FromInt((int)wxFRAME_TOOL_WINDOW
));
41217 PyDict_SetItemString(d
,"FRAME_FLOAT_ON_PARENT", SWIG_FromInt((int)wxFRAME_FLOAT_ON_PARENT
));
41218 PyDict_SetItemString(d
,"FRAME_NO_WINDOW_MENU", SWIG_FromInt((int)wxFRAME_NO_WINDOW_MENU
));
41219 PyDict_SetItemString(d
,"FRAME_NO_TASKBAR", SWIG_FromInt((int)wxFRAME_NO_TASKBAR
));
41220 PyDict_SetItemString(d
,"FRAME_SHAPED", SWIG_FromInt((int)wxFRAME_SHAPED
));
41221 PyDict_SetItemString(d
,"ED_CLIENT_MARGIN", SWIG_FromInt((int)wxED_CLIENT_MARGIN
));
41222 PyDict_SetItemString(d
,"ED_BUTTONS_BOTTOM", SWIG_FromInt((int)wxED_BUTTONS_BOTTOM
));
41223 PyDict_SetItemString(d
,"ED_BUTTONS_RIGHT", SWIG_FromInt((int)wxED_BUTTONS_RIGHT
));
41224 PyDict_SetItemString(d
,"ED_STATIC_LINE", SWIG_FromInt((int)wxED_STATIC_LINE
));
41225 PyDict_SetItemString(d
,"EXT_DIALOG_STYLE", SWIG_FromInt((int)wxEXT_DIALOG_STYLE
));
41226 PyDict_SetItemString(d
,"CLIP_CHILDREN", SWIG_FromInt((int)wxCLIP_CHILDREN
));
41227 PyDict_SetItemString(d
,"CLIP_SIBLINGS", SWIG_FromInt((int)wxCLIP_SIBLINGS
));
41228 PyDict_SetItemString(d
,"RETAINED", SWIG_FromInt((int)wxRETAINED
));
41229 PyDict_SetItemString(d
,"BACKINGSTORE", SWIG_FromInt((int)wxBACKINGSTORE
));
41230 PyDict_SetItemString(d
,"COLOURED", SWIG_FromInt((int)wxCOLOURED
));
41231 PyDict_SetItemString(d
,"FIXED_LENGTH", SWIG_FromInt((int)wxFIXED_LENGTH
));
41232 PyDict_SetItemString(d
,"LB_NEEDED_SB", SWIG_FromInt((int)wxLB_NEEDED_SB
));
41233 PyDict_SetItemString(d
,"LB_ALWAYS_SB", SWIG_FromInt((int)wxLB_ALWAYS_SB
));
41234 PyDict_SetItemString(d
,"LB_SORT", SWIG_FromInt((int)wxLB_SORT
));
41235 PyDict_SetItemString(d
,"LB_SINGLE", SWIG_FromInt((int)wxLB_SINGLE
));
41236 PyDict_SetItemString(d
,"LB_MULTIPLE", SWIG_FromInt((int)wxLB_MULTIPLE
));
41237 PyDict_SetItemString(d
,"LB_EXTENDED", SWIG_FromInt((int)wxLB_EXTENDED
));
41238 PyDict_SetItemString(d
,"LB_OWNERDRAW", SWIG_FromInt((int)wxLB_OWNERDRAW
));
41239 PyDict_SetItemString(d
,"LB_HSCROLL", SWIG_FromInt((int)wxLB_HSCROLL
));
41240 PyDict_SetItemString(d
,"PROCESS_ENTER", SWIG_FromInt((int)wxPROCESS_ENTER
));
41241 PyDict_SetItemString(d
,"PASSWORD", SWIG_FromInt((int)wxPASSWORD
));
41242 PyDict_SetItemString(d
,"CB_SIMPLE", SWIG_FromInt((int)wxCB_SIMPLE
));
41243 PyDict_SetItemString(d
,"CB_DROPDOWN", SWIG_FromInt((int)wxCB_DROPDOWN
));
41244 PyDict_SetItemString(d
,"CB_SORT", SWIG_FromInt((int)wxCB_SORT
));
41245 PyDict_SetItemString(d
,"CB_READONLY", SWIG_FromInt((int)wxCB_READONLY
));
41246 PyDict_SetItemString(d
,"RA_HORIZONTAL", SWIG_FromInt((int)wxRA_HORIZONTAL
));
41247 PyDict_SetItemString(d
,"RA_VERTICAL", SWIG_FromInt((int)wxRA_VERTICAL
));
41248 PyDict_SetItemString(d
,"RA_SPECIFY_ROWS", SWIG_FromInt((int)wxRA_SPECIFY_ROWS
));
41249 PyDict_SetItemString(d
,"RA_SPECIFY_COLS", SWIG_FromInt((int)wxRA_SPECIFY_COLS
));
41250 PyDict_SetItemString(d
,"RB_GROUP", SWIG_FromInt((int)wxRB_GROUP
));
41251 PyDict_SetItemString(d
,"RB_SINGLE", SWIG_FromInt((int)wxRB_SINGLE
));
41252 PyDict_SetItemString(d
,"SL_HORIZONTAL", SWIG_FromInt((int)wxSL_HORIZONTAL
));
41253 PyDict_SetItemString(d
,"SL_VERTICAL", SWIG_FromInt((int)wxSL_VERTICAL
));
41254 PyDict_SetItemString(d
,"SL_AUTOTICKS", SWIG_FromInt((int)wxSL_AUTOTICKS
));
41255 PyDict_SetItemString(d
,"SL_LABELS", SWIG_FromInt((int)wxSL_LABELS
));
41256 PyDict_SetItemString(d
,"SL_LEFT", SWIG_FromInt((int)wxSL_LEFT
));
41257 PyDict_SetItemString(d
,"SL_TOP", SWIG_FromInt((int)wxSL_TOP
));
41258 PyDict_SetItemString(d
,"SL_RIGHT", SWIG_FromInt((int)wxSL_RIGHT
));
41259 PyDict_SetItemString(d
,"SL_BOTTOM", SWIG_FromInt((int)wxSL_BOTTOM
));
41260 PyDict_SetItemString(d
,"SL_BOTH", SWIG_FromInt((int)wxSL_BOTH
));
41261 PyDict_SetItemString(d
,"SL_SELRANGE", SWIG_FromInt((int)wxSL_SELRANGE
));
41262 PyDict_SetItemString(d
,"SB_HORIZONTAL", SWIG_FromInt((int)wxSB_HORIZONTAL
));
41263 PyDict_SetItemString(d
,"SB_VERTICAL", SWIG_FromInt((int)wxSB_VERTICAL
));
41264 PyDict_SetItemString(d
,"ST_SIZEGRIP", SWIG_FromInt((int)wxST_SIZEGRIP
));
41265 PyDict_SetItemString(d
,"ST_NO_AUTORESIZE", SWIG_FromInt((int)wxST_NO_AUTORESIZE
));
41266 PyDict_SetItemString(d
,"FLOOD_SURFACE", SWIG_FromInt((int)wxFLOOD_SURFACE
));
41267 PyDict_SetItemString(d
,"FLOOD_BORDER", SWIG_FromInt((int)wxFLOOD_BORDER
));
41268 PyDict_SetItemString(d
,"ODDEVEN_RULE", SWIG_FromInt((int)wxODDEVEN_RULE
));
41269 PyDict_SetItemString(d
,"WINDING_RULE", SWIG_FromInt((int)wxWINDING_RULE
));
41270 PyDict_SetItemString(d
,"TOOL_TOP", SWIG_FromInt((int)wxTOOL_TOP
));
41271 PyDict_SetItemString(d
,"TOOL_BOTTOM", SWIG_FromInt((int)wxTOOL_BOTTOM
));
41272 PyDict_SetItemString(d
,"TOOL_LEFT", SWIG_FromInt((int)wxTOOL_LEFT
));
41273 PyDict_SetItemString(d
,"TOOL_RIGHT", SWIG_FromInt((int)wxTOOL_RIGHT
));
41274 PyDict_SetItemString(d
,"OK", SWIG_FromInt((int)wxOK
));
41275 PyDict_SetItemString(d
,"YES_NO", SWIG_FromInt((int)wxYES_NO
));
41276 PyDict_SetItemString(d
,"CANCEL", SWIG_FromInt((int)wxCANCEL
));
41277 PyDict_SetItemString(d
,"YES", SWIG_FromInt((int)wxYES
));
41278 PyDict_SetItemString(d
,"NO", SWIG_FromInt((int)wxNO
));
41279 PyDict_SetItemString(d
,"NO_DEFAULT", SWIG_FromInt((int)wxNO_DEFAULT
));
41280 PyDict_SetItemString(d
,"YES_DEFAULT", SWIG_FromInt((int)wxYES_DEFAULT
));
41281 PyDict_SetItemString(d
,"ICON_EXCLAMATION", SWIG_FromInt((int)wxICON_EXCLAMATION
));
41282 PyDict_SetItemString(d
,"ICON_HAND", SWIG_FromInt((int)wxICON_HAND
));
41283 PyDict_SetItemString(d
,"ICON_QUESTION", SWIG_FromInt((int)wxICON_QUESTION
));
41284 PyDict_SetItemString(d
,"ICON_INFORMATION", SWIG_FromInt((int)wxICON_INFORMATION
));
41285 PyDict_SetItemString(d
,"ICON_STOP", SWIG_FromInt((int)wxICON_STOP
));
41286 PyDict_SetItemString(d
,"ICON_ASTERISK", SWIG_FromInt((int)wxICON_ASTERISK
));
41287 PyDict_SetItemString(d
,"ICON_MASK", SWIG_FromInt((int)wxICON_MASK
));
41288 PyDict_SetItemString(d
,"ICON_WARNING", SWIG_FromInt((int)wxICON_WARNING
));
41289 PyDict_SetItemString(d
,"ICON_ERROR", SWIG_FromInt((int)wxICON_ERROR
));
41290 PyDict_SetItemString(d
,"FORWARD", SWIG_FromInt((int)wxFORWARD
));
41291 PyDict_SetItemString(d
,"BACKWARD", SWIG_FromInt((int)wxBACKWARD
));
41292 PyDict_SetItemString(d
,"RESET", SWIG_FromInt((int)wxRESET
));
41293 PyDict_SetItemString(d
,"HELP", SWIG_FromInt((int)wxHELP
));
41294 PyDict_SetItemString(d
,"MORE", SWIG_FromInt((int)wxMORE
));
41295 PyDict_SetItemString(d
,"SETUP", SWIG_FromInt((int)wxSETUP
));
41296 PyDict_SetItemString(d
,"SIZE_AUTO_WIDTH", SWIG_FromInt((int)wxSIZE_AUTO_WIDTH
));
41297 PyDict_SetItemString(d
,"SIZE_AUTO_HEIGHT", SWIG_FromInt((int)wxSIZE_AUTO_HEIGHT
));
41298 PyDict_SetItemString(d
,"SIZE_AUTO", SWIG_FromInt((int)wxSIZE_AUTO
));
41299 PyDict_SetItemString(d
,"SIZE_USE_EXISTING", SWIG_FromInt((int)wxSIZE_USE_EXISTING
));
41300 PyDict_SetItemString(d
,"SIZE_ALLOW_MINUS_ONE", SWIG_FromInt((int)wxSIZE_ALLOW_MINUS_ONE
));
41301 PyDict_SetItemString(d
,"PORTRAIT", SWIG_FromInt((int)wxPORTRAIT
));
41302 PyDict_SetItemString(d
,"LANDSCAPE", SWIG_FromInt((int)wxLANDSCAPE
));
41303 PyDict_SetItemString(d
,"PRINT_QUALITY_HIGH", SWIG_FromInt((int)wxPRINT_QUALITY_HIGH
));
41304 PyDict_SetItemString(d
,"PRINT_QUALITY_MEDIUM", SWIG_FromInt((int)wxPRINT_QUALITY_MEDIUM
));
41305 PyDict_SetItemString(d
,"PRINT_QUALITY_LOW", SWIG_FromInt((int)wxPRINT_QUALITY_LOW
));
41306 PyDict_SetItemString(d
,"PRINT_QUALITY_DRAFT", SWIG_FromInt((int)wxPRINT_QUALITY_DRAFT
));
41307 PyDict_SetItemString(d
,"ID_ANY", SWIG_FromInt((int)wxID_ANY
));
41308 PyDict_SetItemString(d
,"ID_SEPARATOR", SWIG_FromInt((int)wxID_SEPARATOR
));
41309 PyDict_SetItemString(d
,"ID_LOWEST", SWIG_FromInt((int)wxID_LOWEST
));
41310 PyDict_SetItemString(d
,"ID_OPEN", SWIG_FromInt((int)wxID_OPEN
));
41311 PyDict_SetItemString(d
,"ID_CLOSE", SWIG_FromInt((int)wxID_CLOSE
));
41312 PyDict_SetItemString(d
,"ID_NEW", SWIG_FromInt((int)wxID_NEW
));
41313 PyDict_SetItemString(d
,"ID_SAVE", SWIG_FromInt((int)wxID_SAVE
));
41314 PyDict_SetItemString(d
,"ID_SAVEAS", SWIG_FromInt((int)wxID_SAVEAS
));
41315 PyDict_SetItemString(d
,"ID_REVERT", SWIG_FromInt((int)wxID_REVERT
));
41316 PyDict_SetItemString(d
,"ID_EXIT", SWIG_FromInt((int)wxID_EXIT
));
41317 PyDict_SetItemString(d
,"ID_UNDO", SWIG_FromInt((int)wxID_UNDO
));
41318 PyDict_SetItemString(d
,"ID_REDO", SWIG_FromInt((int)wxID_REDO
));
41319 PyDict_SetItemString(d
,"ID_HELP", SWIG_FromInt((int)wxID_HELP
));
41320 PyDict_SetItemString(d
,"ID_PRINT", SWIG_FromInt((int)wxID_PRINT
));
41321 PyDict_SetItemString(d
,"ID_PRINT_SETUP", SWIG_FromInt((int)wxID_PRINT_SETUP
));
41322 PyDict_SetItemString(d
,"ID_PREVIEW", SWIG_FromInt((int)wxID_PREVIEW
));
41323 PyDict_SetItemString(d
,"ID_ABOUT", SWIG_FromInt((int)wxID_ABOUT
));
41324 PyDict_SetItemString(d
,"ID_HELP_CONTENTS", SWIG_FromInt((int)wxID_HELP_CONTENTS
));
41325 PyDict_SetItemString(d
,"ID_HELP_COMMANDS", SWIG_FromInt((int)wxID_HELP_COMMANDS
));
41326 PyDict_SetItemString(d
,"ID_HELP_PROCEDURES", SWIG_FromInt((int)wxID_HELP_PROCEDURES
));
41327 PyDict_SetItemString(d
,"ID_HELP_CONTEXT", SWIG_FromInt((int)wxID_HELP_CONTEXT
));
41328 PyDict_SetItemString(d
,"ID_CLOSE_ALL", SWIG_FromInt((int)wxID_CLOSE_ALL
));
41329 PyDict_SetItemString(d
,"ID_PREFERENCES", SWIG_FromInt((int)wxID_PREFERENCES
));
41330 PyDict_SetItemString(d
,"ID_CUT", SWIG_FromInt((int)wxID_CUT
));
41331 PyDict_SetItemString(d
,"ID_COPY", SWIG_FromInt((int)wxID_COPY
));
41332 PyDict_SetItemString(d
,"ID_PASTE", SWIG_FromInt((int)wxID_PASTE
));
41333 PyDict_SetItemString(d
,"ID_CLEAR", SWIG_FromInt((int)wxID_CLEAR
));
41334 PyDict_SetItemString(d
,"ID_FIND", SWIG_FromInt((int)wxID_FIND
));
41335 PyDict_SetItemString(d
,"ID_DUPLICATE", SWIG_FromInt((int)wxID_DUPLICATE
));
41336 PyDict_SetItemString(d
,"ID_SELECTALL", SWIG_FromInt((int)wxID_SELECTALL
));
41337 PyDict_SetItemString(d
,"ID_DELETE", SWIG_FromInt((int)wxID_DELETE
));
41338 PyDict_SetItemString(d
,"ID_REPLACE", SWIG_FromInt((int)wxID_REPLACE
));
41339 PyDict_SetItemString(d
,"ID_REPLACE_ALL", SWIG_FromInt((int)wxID_REPLACE_ALL
));
41340 PyDict_SetItemString(d
,"ID_PROPERTIES", SWIG_FromInt((int)wxID_PROPERTIES
));
41341 PyDict_SetItemString(d
,"ID_VIEW_DETAILS", SWIG_FromInt((int)wxID_VIEW_DETAILS
));
41342 PyDict_SetItemString(d
,"ID_VIEW_LARGEICONS", SWIG_FromInt((int)wxID_VIEW_LARGEICONS
));
41343 PyDict_SetItemString(d
,"ID_VIEW_SMALLICONS", SWIG_FromInt((int)wxID_VIEW_SMALLICONS
));
41344 PyDict_SetItemString(d
,"ID_VIEW_LIST", SWIG_FromInt((int)wxID_VIEW_LIST
));
41345 PyDict_SetItemString(d
,"ID_VIEW_SORTDATE", SWIG_FromInt((int)wxID_VIEW_SORTDATE
));
41346 PyDict_SetItemString(d
,"ID_VIEW_SORTNAME", SWIG_FromInt((int)wxID_VIEW_SORTNAME
));
41347 PyDict_SetItemString(d
,"ID_VIEW_SORTSIZE", SWIG_FromInt((int)wxID_VIEW_SORTSIZE
));
41348 PyDict_SetItemString(d
,"ID_VIEW_SORTTYPE", SWIG_FromInt((int)wxID_VIEW_SORTTYPE
));
41349 PyDict_SetItemString(d
,"ID_FILE1", SWIG_FromInt((int)wxID_FILE1
));
41350 PyDict_SetItemString(d
,"ID_FILE2", SWIG_FromInt((int)wxID_FILE2
));
41351 PyDict_SetItemString(d
,"ID_FILE3", SWIG_FromInt((int)wxID_FILE3
));
41352 PyDict_SetItemString(d
,"ID_FILE4", SWIG_FromInt((int)wxID_FILE4
));
41353 PyDict_SetItemString(d
,"ID_FILE5", SWIG_FromInt((int)wxID_FILE5
));
41354 PyDict_SetItemString(d
,"ID_FILE6", SWIG_FromInt((int)wxID_FILE6
));
41355 PyDict_SetItemString(d
,"ID_FILE7", SWIG_FromInt((int)wxID_FILE7
));
41356 PyDict_SetItemString(d
,"ID_FILE8", SWIG_FromInt((int)wxID_FILE8
));
41357 PyDict_SetItemString(d
,"ID_FILE9", SWIG_FromInt((int)wxID_FILE9
));
41358 PyDict_SetItemString(d
,"ID_OK", SWIG_FromInt((int)wxID_OK
));
41359 PyDict_SetItemString(d
,"ID_CANCEL", SWIG_FromInt((int)wxID_CANCEL
));
41360 PyDict_SetItemString(d
,"ID_APPLY", SWIG_FromInt((int)wxID_APPLY
));
41361 PyDict_SetItemString(d
,"ID_YES", SWIG_FromInt((int)wxID_YES
));
41362 PyDict_SetItemString(d
,"ID_NO", SWIG_FromInt((int)wxID_NO
));
41363 PyDict_SetItemString(d
,"ID_STATIC", SWIG_FromInt((int)wxID_STATIC
));
41364 PyDict_SetItemString(d
,"ID_FORWARD", SWIG_FromInt((int)wxID_FORWARD
));
41365 PyDict_SetItemString(d
,"ID_BACKWARD", SWIG_FromInt((int)wxID_BACKWARD
));
41366 PyDict_SetItemString(d
,"ID_DEFAULT", SWIG_FromInt((int)wxID_DEFAULT
));
41367 PyDict_SetItemString(d
,"ID_MORE", SWIG_FromInt((int)wxID_MORE
));
41368 PyDict_SetItemString(d
,"ID_SETUP", SWIG_FromInt((int)wxID_SETUP
));
41369 PyDict_SetItemString(d
,"ID_RESET", SWIG_FromInt((int)wxID_RESET
));
41370 PyDict_SetItemString(d
,"ID_CONTEXT_HELP", SWIG_FromInt((int)wxID_CONTEXT_HELP
));
41371 PyDict_SetItemString(d
,"ID_YESTOALL", SWIG_FromInt((int)wxID_YESTOALL
));
41372 PyDict_SetItemString(d
,"ID_NOTOALL", SWIG_FromInt((int)wxID_NOTOALL
));
41373 PyDict_SetItemString(d
,"ID_ABORT", SWIG_FromInt((int)wxID_ABORT
));
41374 PyDict_SetItemString(d
,"ID_RETRY", SWIG_FromInt((int)wxID_RETRY
));
41375 PyDict_SetItemString(d
,"ID_IGNORE", SWIG_FromInt((int)wxID_IGNORE
));
41376 PyDict_SetItemString(d
,"ID_HIGHEST", SWIG_FromInt((int)wxID_HIGHEST
));
41377 PyDict_SetItemString(d
,"OPEN", SWIG_FromInt((int)wxOPEN
));
41378 PyDict_SetItemString(d
,"SAVE", SWIG_FromInt((int)wxSAVE
));
41379 PyDict_SetItemString(d
,"HIDE_READONLY", SWIG_FromInt((int)wxHIDE_READONLY
));
41380 PyDict_SetItemString(d
,"OVERWRITE_PROMPT", SWIG_FromInt((int)wxOVERWRITE_PROMPT
));
41381 PyDict_SetItemString(d
,"FILE_MUST_EXIST", SWIG_FromInt((int)wxFILE_MUST_EXIST
));
41382 PyDict_SetItemString(d
,"MULTIPLE", SWIG_FromInt((int)wxMULTIPLE
));
41383 PyDict_SetItemString(d
,"CHANGE_DIR", SWIG_FromInt((int)wxCHANGE_DIR
));
41384 PyDict_SetItemString(d
,"ACCEL_ALT", SWIG_FromInt((int)wxACCEL_ALT
));
41385 PyDict_SetItemString(d
,"ACCEL_CTRL", SWIG_FromInt((int)wxACCEL_CTRL
));
41386 PyDict_SetItemString(d
,"ACCEL_SHIFT", SWIG_FromInt((int)wxACCEL_SHIFT
));
41387 PyDict_SetItemString(d
,"ACCEL_NORMAL", SWIG_FromInt((int)wxACCEL_NORMAL
));
41388 PyDict_SetItemString(d
,"PD_AUTO_HIDE", SWIG_FromInt((int)wxPD_AUTO_HIDE
));
41389 PyDict_SetItemString(d
,"PD_APP_MODAL", SWIG_FromInt((int)wxPD_APP_MODAL
));
41390 PyDict_SetItemString(d
,"PD_CAN_ABORT", SWIG_FromInt((int)wxPD_CAN_ABORT
));
41391 PyDict_SetItemString(d
,"PD_ELAPSED_TIME", SWIG_FromInt((int)wxPD_ELAPSED_TIME
));
41392 PyDict_SetItemString(d
,"PD_ESTIMATED_TIME", SWIG_FromInt((int)wxPD_ESTIMATED_TIME
));
41393 PyDict_SetItemString(d
,"PD_REMAINING_TIME", SWIG_FromInt((int)wxPD_REMAINING_TIME
));
41394 PyDict_SetItemString(d
,"DD_NEW_DIR_BUTTON", SWIG_FromInt((int)wxDD_NEW_DIR_BUTTON
));
41395 PyDict_SetItemString(d
,"DD_DEFAULT_STYLE", SWIG_FromInt((int)wxDD_DEFAULT_STYLE
));
41396 PyDict_SetItemString(d
,"MENU_TEAROFF", SWIG_FromInt((int)wxMENU_TEAROFF
));
41397 PyDict_SetItemString(d
,"MB_DOCKABLE", SWIG_FromInt((int)wxMB_DOCKABLE
));
41398 PyDict_SetItemString(d
,"NO_FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxNO_FULL_REPAINT_ON_RESIZE
));
41399 PyDict_SetItemString(d
,"FULL_REPAINT_ON_RESIZE", SWIG_FromInt((int)wxFULL_REPAINT_ON_RESIZE
));
41400 PyDict_SetItemString(d
,"LI_HORIZONTAL", SWIG_FromInt((int)wxLI_HORIZONTAL
));
41401 PyDict_SetItemString(d
,"LI_VERTICAL", SWIG_FromInt((int)wxLI_VERTICAL
));
41402 PyDict_SetItemString(d
,"WS_EX_VALIDATE_RECURSIVELY", SWIG_FromInt((int)wxWS_EX_VALIDATE_RECURSIVELY
));
41403 PyDict_SetItemString(d
,"WS_EX_BLOCK_EVENTS", SWIG_FromInt((int)wxWS_EX_BLOCK_EVENTS
));
41404 PyDict_SetItemString(d
,"WS_EX_TRANSIENT", SWIG_FromInt((int)wxWS_EX_TRANSIENT
));
41405 PyDict_SetItemString(d
,"WS_EX_THEMED_BACKGROUND", SWIG_FromInt((int)wxWS_EX_THEMED_BACKGROUND
));
41406 PyDict_SetItemString(d
,"WS_EX_PROCESS_IDLE", SWIG_FromInt((int)wxWS_EX_PROCESS_IDLE
));
41407 PyDict_SetItemString(d
,"WS_EX_PROCESS_UI_UPDATES", SWIG_FromInt((int)wxWS_EX_PROCESS_UI_UPDATES
));
41408 PyDict_SetItemString(d
,"MM_TEXT", SWIG_FromInt((int)wxMM_TEXT
));
41409 PyDict_SetItemString(d
,"MM_LOMETRIC", SWIG_FromInt((int)wxMM_LOMETRIC
));
41410 PyDict_SetItemString(d
,"MM_HIMETRIC", SWIG_FromInt((int)wxMM_HIMETRIC
));
41411 PyDict_SetItemString(d
,"MM_LOENGLISH", SWIG_FromInt((int)wxMM_LOENGLISH
));
41412 PyDict_SetItemString(d
,"MM_HIENGLISH", SWIG_FromInt((int)wxMM_HIENGLISH
));
41413 PyDict_SetItemString(d
,"MM_TWIPS", SWIG_FromInt((int)wxMM_TWIPS
));
41414 PyDict_SetItemString(d
,"MM_ISOTROPIC", SWIG_FromInt((int)wxMM_ISOTROPIC
));
41415 PyDict_SetItemString(d
,"MM_ANISOTROPIC", SWIG_FromInt((int)wxMM_ANISOTROPIC
));
41416 PyDict_SetItemString(d
,"MM_POINTS", SWIG_FromInt((int)wxMM_POINTS
));
41417 PyDict_SetItemString(d
,"MM_METRIC", SWIG_FromInt((int)wxMM_METRIC
));
41418 PyDict_SetItemString(d
,"CENTRE", SWIG_FromInt((int)wxCENTRE
));
41419 PyDict_SetItemString(d
,"CENTER", SWIG_FromInt((int)wxCENTER
));
41420 PyDict_SetItemString(d
,"HORIZONTAL", SWIG_FromInt((int)wxHORIZONTAL
));
41421 PyDict_SetItemString(d
,"VERTICAL", SWIG_FromInt((int)wxVERTICAL
));
41422 PyDict_SetItemString(d
,"BOTH", SWIG_FromInt((int)wxBOTH
));
41423 PyDict_SetItemString(d
,"LEFT", SWIG_FromInt((int)wxLEFT
));
41424 PyDict_SetItemString(d
,"RIGHT", SWIG_FromInt((int)wxRIGHT
));
41425 PyDict_SetItemString(d
,"UP", SWIG_FromInt((int)wxUP
));
41426 PyDict_SetItemString(d
,"DOWN", SWIG_FromInt((int)wxDOWN
));
41427 PyDict_SetItemString(d
,"TOP", SWIG_FromInt((int)wxTOP
));
41428 PyDict_SetItemString(d
,"BOTTOM", SWIG_FromInt((int)wxBOTTOM
));
41429 PyDict_SetItemString(d
,"NORTH", SWIG_FromInt((int)wxNORTH
));
41430 PyDict_SetItemString(d
,"SOUTH", SWIG_FromInt((int)wxSOUTH
));
41431 PyDict_SetItemString(d
,"WEST", SWIG_FromInt((int)wxWEST
));
41432 PyDict_SetItemString(d
,"EAST", SWIG_FromInt((int)wxEAST
));
41433 PyDict_SetItemString(d
,"ALL", SWIG_FromInt((int)wxALL
));
41434 PyDict_SetItemString(d
,"ALIGN_NOT", SWIG_FromInt((int)wxALIGN_NOT
));
41435 PyDict_SetItemString(d
,"ALIGN_CENTER_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTER_HORIZONTAL
));
41436 PyDict_SetItemString(d
,"ALIGN_CENTRE_HORIZONTAL", SWIG_FromInt((int)wxALIGN_CENTRE_HORIZONTAL
));
41437 PyDict_SetItemString(d
,"ALIGN_LEFT", SWIG_FromInt((int)wxALIGN_LEFT
));
41438 PyDict_SetItemString(d
,"ALIGN_TOP", SWIG_FromInt((int)wxALIGN_TOP
));
41439 PyDict_SetItemString(d
,"ALIGN_RIGHT", SWIG_FromInt((int)wxALIGN_RIGHT
));
41440 PyDict_SetItemString(d
,"ALIGN_BOTTOM", SWIG_FromInt((int)wxALIGN_BOTTOM
));
41441 PyDict_SetItemString(d
,"ALIGN_CENTER_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTER_VERTICAL
));
41442 PyDict_SetItemString(d
,"ALIGN_CENTRE_VERTICAL", SWIG_FromInt((int)wxALIGN_CENTRE_VERTICAL
));
41443 PyDict_SetItemString(d
,"ALIGN_CENTER", SWIG_FromInt((int)wxALIGN_CENTER
));
41444 PyDict_SetItemString(d
,"ALIGN_CENTRE", SWIG_FromInt((int)wxALIGN_CENTRE
));
41445 PyDict_SetItemString(d
,"ALIGN_MASK", SWIG_FromInt((int)wxALIGN_MASK
));
41446 PyDict_SetItemString(d
,"STRETCH_NOT", SWIG_FromInt((int)wxSTRETCH_NOT
));
41447 PyDict_SetItemString(d
,"SHRINK", SWIG_FromInt((int)wxSHRINK
));
41448 PyDict_SetItemString(d
,"GROW", SWIG_FromInt((int)wxGROW
));
41449 PyDict_SetItemString(d
,"EXPAND", SWIG_FromInt((int)wxEXPAND
));
41450 PyDict_SetItemString(d
,"SHAPED", SWIG_FromInt((int)wxSHAPED
));
41451 PyDict_SetItemString(d
,"ADJUST_MINSIZE", SWIG_FromInt((int)wxADJUST_MINSIZE
));
41452 PyDict_SetItemString(d
,"TILE", SWIG_FromInt((int)wxTILE
));
41453 PyDict_SetItemString(d
,"BORDER_DEFAULT", SWIG_FromInt((int)wxBORDER_DEFAULT
));
41454 PyDict_SetItemString(d
,"BORDER_NONE", SWIG_FromInt((int)wxBORDER_NONE
));
41455 PyDict_SetItemString(d
,"BORDER_STATIC", SWIG_FromInt((int)wxBORDER_STATIC
));
41456 PyDict_SetItemString(d
,"BORDER_SIMPLE", SWIG_FromInt((int)wxBORDER_SIMPLE
));
41457 PyDict_SetItemString(d
,"BORDER_RAISED", SWIG_FromInt((int)wxBORDER_RAISED
));
41458 PyDict_SetItemString(d
,"BORDER_SUNKEN", SWIG_FromInt((int)wxBORDER_SUNKEN
));
41459 PyDict_SetItemString(d
,"BORDER_DOUBLE", SWIG_FromInt((int)wxBORDER_DOUBLE
));
41460 PyDict_SetItemString(d
,"BORDER_MASK", SWIG_FromInt((int)wxBORDER_MASK
));
41461 PyDict_SetItemString(d
,"DEFAULT", SWIG_FromInt((int)wxDEFAULT
));
41462 PyDict_SetItemString(d
,"DECORATIVE", SWIG_FromInt((int)wxDECORATIVE
));
41463 PyDict_SetItemString(d
,"ROMAN", SWIG_FromInt((int)wxROMAN
));
41464 PyDict_SetItemString(d
,"SCRIPT", SWIG_FromInt((int)wxSCRIPT
));
41465 PyDict_SetItemString(d
,"SWISS", SWIG_FromInt((int)wxSWISS
));
41466 PyDict_SetItemString(d
,"MODERN", SWIG_FromInt((int)wxMODERN
));
41467 PyDict_SetItemString(d
,"TELETYPE", SWIG_FromInt((int)wxTELETYPE
));
41468 PyDict_SetItemString(d
,"VARIABLE", SWIG_FromInt((int)wxVARIABLE
));
41469 PyDict_SetItemString(d
,"FIXED", SWIG_FromInt((int)wxFIXED
));
41470 PyDict_SetItemString(d
,"NORMAL", SWIG_FromInt((int)wxNORMAL
));
41471 PyDict_SetItemString(d
,"LIGHT", SWIG_FromInt((int)wxLIGHT
));
41472 PyDict_SetItemString(d
,"BOLD", SWIG_FromInt((int)wxBOLD
));
41473 PyDict_SetItemString(d
,"ITALIC", SWIG_FromInt((int)wxITALIC
));
41474 PyDict_SetItemString(d
,"SLANT", SWIG_FromInt((int)wxSLANT
));
41475 PyDict_SetItemString(d
,"SOLID", SWIG_FromInt((int)wxSOLID
));
41476 PyDict_SetItemString(d
,"DOT", SWIG_FromInt((int)wxDOT
));
41477 PyDict_SetItemString(d
,"LONG_DASH", SWIG_FromInt((int)wxLONG_DASH
));
41478 PyDict_SetItemString(d
,"SHORT_DASH", SWIG_FromInt((int)wxSHORT_DASH
));
41479 PyDict_SetItemString(d
,"DOT_DASH", SWIG_FromInt((int)wxDOT_DASH
));
41480 PyDict_SetItemString(d
,"USER_DASH", SWIG_FromInt((int)wxUSER_DASH
));
41481 PyDict_SetItemString(d
,"TRANSPARENT", SWIG_FromInt((int)wxTRANSPARENT
));
41482 PyDict_SetItemString(d
,"STIPPLE", SWIG_FromInt((int)wxSTIPPLE
));
41483 PyDict_SetItemString(d
,"BDIAGONAL_HATCH", SWIG_FromInt((int)wxBDIAGONAL_HATCH
));
41484 PyDict_SetItemString(d
,"CROSSDIAG_HATCH", SWIG_FromInt((int)wxCROSSDIAG_HATCH
));
41485 PyDict_SetItemString(d
,"FDIAGONAL_HATCH", SWIG_FromInt((int)wxFDIAGONAL_HATCH
));
41486 PyDict_SetItemString(d
,"CROSS_HATCH", SWIG_FromInt((int)wxCROSS_HATCH
));
41487 PyDict_SetItemString(d
,"HORIZONTAL_HATCH", SWIG_FromInt((int)wxHORIZONTAL_HATCH
));
41488 PyDict_SetItemString(d
,"VERTICAL_HATCH", SWIG_FromInt((int)wxVERTICAL_HATCH
));
41489 PyDict_SetItemString(d
,"JOIN_BEVEL", SWIG_FromInt((int)wxJOIN_BEVEL
));
41490 PyDict_SetItemString(d
,"JOIN_MITER", SWIG_FromInt((int)wxJOIN_MITER
));
41491 PyDict_SetItemString(d
,"JOIN_ROUND", SWIG_FromInt((int)wxJOIN_ROUND
));
41492 PyDict_SetItemString(d
,"CAP_ROUND", SWIG_FromInt((int)wxCAP_ROUND
));
41493 PyDict_SetItemString(d
,"CAP_PROJECTING", SWIG_FromInt((int)wxCAP_PROJECTING
));
41494 PyDict_SetItemString(d
,"CAP_BUTT", SWIG_FromInt((int)wxCAP_BUTT
));
41495 PyDict_SetItemString(d
,"CLEAR", SWIG_FromInt((int)wxCLEAR
));
41496 PyDict_SetItemString(d
,"XOR", SWIG_FromInt((int)wxXOR
));
41497 PyDict_SetItemString(d
,"INVERT", SWIG_FromInt((int)wxINVERT
));
41498 PyDict_SetItemString(d
,"OR_REVERSE", SWIG_FromInt((int)wxOR_REVERSE
));
41499 PyDict_SetItemString(d
,"AND_REVERSE", SWIG_FromInt((int)wxAND_REVERSE
));
41500 PyDict_SetItemString(d
,"COPY", SWIG_FromInt((int)wxCOPY
));
41501 PyDict_SetItemString(d
,"AND", SWIG_FromInt((int)wxAND
));
41502 PyDict_SetItemString(d
,"AND_INVERT", SWIG_FromInt((int)wxAND_INVERT
));
41503 PyDict_SetItemString(d
,"NO_OP", SWIG_FromInt((int)wxNO_OP
));
41504 PyDict_SetItemString(d
,"NOR", SWIG_FromInt((int)wxNOR
));
41505 PyDict_SetItemString(d
,"EQUIV", SWIG_FromInt((int)wxEQUIV
));
41506 PyDict_SetItemString(d
,"SRC_INVERT", SWIG_FromInt((int)wxSRC_INVERT
));
41507 PyDict_SetItemString(d
,"OR_INVERT", SWIG_FromInt((int)wxOR_INVERT
));
41508 PyDict_SetItemString(d
,"NAND", SWIG_FromInt((int)wxNAND
));
41509 PyDict_SetItemString(d
,"OR", SWIG_FromInt((int)wxOR
));
41510 PyDict_SetItemString(d
,"SET", SWIG_FromInt((int)wxSET
));
41511 PyDict_SetItemString(d
,"WXK_BACK", SWIG_FromInt((int)WXK_BACK
));
41512 PyDict_SetItemString(d
,"WXK_TAB", SWIG_FromInt((int)WXK_TAB
));
41513 PyDict_SetItemString(d
,"WXK_RETURN", SWIG_FromInt((int)WXK_RETURN
));
41514 PyDict_SetItemString(d
,"WXK_ESCAPE", SWIG_FromInt((int)WXK_ESCAPE
));
41515 PyDict_SetItemString(d
,"WXK_SPACE", SWIG_FromInt((int)WXK_SPACE
));
41516 PyDict_SetItemString(d
,"WXK_DELETE", SWIG_FromInt((int)WXK_DELETE
));
41517 PyDict_SetItemString(d
,"WXK_START", SWIG_FromInt((int)WXK_START
));
41518 PyDict_SetItemString(d
,"WXK_LBUTTON", SWIG_FromInt((int)WXK_LBUTTON
));
41519 PyDict_SetItemString(d
,"WXK_RBUTTON", SWIG_FromInt((int)WXK_RBUTTON
));
41520 PyDict_SetItemString(d
,"WXK_CANCEL", SWIG_FromInt((int)WXK_CANCEL
));
41521 PyDict_SetItemString(d
,"WXK_MBUTTON", SWIG_FromInt((int)WXK_MBUTTON
));
41522 PyDict_SetItemString(d
,"WXK_CLEAR", SWIG_FromInt((int)WXK_CLEAR
));
41523 PyDict_SetItemString(d
,"WXK_SHIFT", SWIG_FromInt((int)WXK_SHIFT
));
41524 PyDict_SetItemString(d
,"WXK_ALT", SWIG_FromInt((int)WXK_ALT
));
41525 PyDict_SetItemString(d
,"WXK_CONTROL", SWIG_FromInt((int)WXK_CONTROL
));
41526 PyDict_SetItemString(d
,"WXK_MENU", SWIG_FromInt((int)WXK_MENU
));
41527 PyDict_SetItemString(d
,"WXK_PAUSE", SWIG_FromInt((int)WXK_PAUSE
));
41528 PyDict_SetItemString(d
,"WXK_CAPITAL", SWIG_FromInt((int)WXK_CAPITAL
));
41529 PyDict_SetItemString(d
,"WXK_PRIOR", SWIG_FromInt((int)WXK_PRIOR
));
41530 PyDict_SetItemString(d
,"WXK_NEXT", SWIG_FromInt((int)WXK_NEXT
));
41531 PyDict_SetItemString(d
,"WXK_END", SWIG_FromInt((int)WXK_END
));
41532 PyDict_SetItemString(d
,"WXK_HOME", SWIG_FromInt((int)WXK_HOME
));
41533 PyDict_SetItemString(d
,"WXK_LEFT", SWIG_FromInt((int)WXK_LEFT
));
41534 PyDict_SetItemString(d
,"WXK_UP", SWIG_FromInt((int)WXK_UP
));
41535 PyDict_SetItemString(d
,"WXK_RIGHT", SWIG_FromInt((int)WXK_RIGHT
));
41536 PyDict_SetItemString(d
,"WXK_DOWN", SWIG_FromInt((int)WXK_DOWN
));
41537 PyDict_SetItemString(d
,"WXK_SELECT", SWIG_FromInt((int)WXK_SELECT
));
41538 PyDict_SetItemString(d
,"WXK_PRINT", SWIG_FromInt((int)WXK_PRINT
));
41539 PyDict_SetItemString(d
,"WXK_EXECUTE", SWIG_FromInt((int)WXK_EXECUTE
));
41540 PyDict_SetItemString(d
,"WXK_SNAPSHOT", SWIG_FromInt((int)WXK_SNAPSHOT
));
41541 PyDict_SetItemString(d
,"WXK_INSERT", SWIG_FromInt((int)WXK_INSERT
));
41542 PyDict_SetItemString(d
,"WXK_HELP", SWIG_FromInt((int)WXK_HELP
));
41543 PyDict_SetItemString(d
,"WXK_NUMPAD0", SWIG_FromInt((int)WXK_NUMPAD0
));
41544 PyDict_SetItemString(d
,"WXK_NUMPAD1", SWIG_FromInt((int)WXK_NUMPAD1
));
41545 PyDict_SetItemString(d
,"WXK_NUMPAD2", SWIG_FromInt((int)WXK_NUMPAD2
));
41546 PyDict_SetItemString(d
,"WXK_NUMPAD3", SWIG_FromInt((int)WXK_NUMPAD3
));
41547 PyDict_SetItemString(d
,"WXK_NUMPAD4", SWIG_FromInt((int)WXK_NUMPAD4
));
41548 PyDict_SetItemString(d
,"WXK_NUMPAD5", SWIG_FromInt((int)WXK_NUMPAD5
));
41549 PyDict_SetItemString(d
,"WXK_NUMPAD6", SWIG_FromInt((int)WXK_NUMPAD6
));
41550 PyDict_SetItemString(d
,"WXK_NUMPAD7", SWIG_FromInt((int)WXK_NUMPAD7
));
41551 PyDict_SetItemString(d
,"WXK_NUMPAD8", SWIG_FromInt((int)WXK_NUMPAD8
));
41552 PyDict_SetItemString(d
,"WXK_NUMPAD9", SWIG_FromInt((int)WXK_NUMPAD9
));
41553 PyDict_SetItemString(d
,"WXK_MULTIPLY", SWIG_FromInt((int)WXK_MULTIPLY
));
41554 PyDict_SetItemString(d
,"WXK_ADD", SWIG_FromInt((int)WXK_ADD
));
41555 PyDict_SetItemString(d
,"WXK_SEPARATOR", SWIG_FromInt((int)WXK_SEPARATOR
));
41556 PyDict_SetItemString(d
,"WXK_SUBTRACT", SWIG_FromInt((int)WXK_SUBTRACT
));
41557 PyDict_SetItemString(d
,"WXK_DECIMAL", SWIG_FromInt((int)WXK_DECIMAL
));
41558 PyDict_SetItemString(d
,"WXK_DIVIDE", SWIG_FromInt((int)WXK_DIVIDE
));
41559 PyDict_SetItemString(d
,"WXK_F1", SWIG_FromInt((int)WXK_F1
));
41560 PyDict_SetItemString(d
,"WXK_F2", SWIG_FromInt((int)WXK_F2
));
41561 PyDict_SetItemString(d
,"WXK_F3", SWIG_FromInt((int)WXK_F3
));
41562 PyDict_SetItemString(d
,"WXK_F4", SWIG_FromInt((int)WXK_F4
));
41563 PyDict_SetItemString(d
,"WXK_F5", SWIG_FromInt((int)WXK_F5
));
41564 PyDict_SetItemString(d
,"WXK_F6", SWIG_FromInt((int)WXK_F6
));
41565 PyDict_SetItemString(d
,"WXK_F7", SWIG_FromInt((int)WXK_F7
));
41566 PyDict_SetItemString(d
,"WXK_F8", SWIG_FromInt((int)WXK_F8
));
41567 PyDict_SetItemString(d
,"WXK_F9", SWIG_FromInt((int)WXK_F9
));
41568 PyDict_SetItemString(d
,"WXK_F10", SWIG_FromInt((int)WXK_F10
));
41569 PyDict_SetItemString(d
,"WXK_F11", SWIG_FromInt((int)WXK_F11
));
41570 PyDict_SetItemString(d
,"WXK_F12", SWIG_FromInt((int)WXK_F12
));
41571 PyDict_SetItemString(d
,"WXK_F13", SWIG_FromInt((int)WXK_F13
));
41572 PyDict_SetItemString(d
,"WXK_F14", SWIG_FromInt((int)WXK_F14
));
41573 PyDict_SetItemString(d
,"WXK_F15", SWIG_FromInt((int)WXK_F15
));
41574 PyDict_SetItemString(d
,"WXK_F16", SWIG_FromInt((int)WXK_F16
));
41575 PyDict_SetItemString(d
,"WXK_F17", SWIG_FromInt((int)WXK_F17
));
41576 PyDict_SetItemString(d
,"WXK_F18", SWIG_FromInt((int)WXK_F18
));
41577 PyDict_SetItemString(d
,"WXK_F19", SWIG_FromInt((int)WXK_F19
));
41578 PyDict_SetItemString(d
,"WXK_F20", SWIG_FromInt((int)WXK_F20
));
41579 PyDict_SetItemString(d
,"WXK_F21", SWIG_FromInt((int)WXK_F21
));
41580 PyDict_SetItemString(d
,"WXK_F22", SWIG_FromInt((int)WXK_F22
));
41581 PyDict_SetItemString(d
,"WXK_F23", SWIG_FromInt((int)WXK_F23
));
41582 PyDict_SetItemString(d
,"WXK_F24", SWIG_FromInt((int)WXK_F24
));
41583 PyDict_SetItemString(d
,"WXK_NUMLOCK", SWIG_FromInt((int)WXK_NUMLOCK
));
41584 PyDict_SetItemString(d
,"WXK_SCROLL", SWIG_FromInt((int)WXK_SCROLL
));
41585 PyDict_SetItemString(d
,"WXK_PAGEUP", SWIG_FromInt((int)WXK_PAGEUP
));
41586 PyDict_SetItemString(d
,"WXK_PAGEDOWN", SWIG_FromInt((int)WXK_PAGEDOWN
));
41587 PyDict_SetItemString(d
,"WXK_NUMPAD_SPACE", SWIG_FromInt((int)WXK_NUMPAD_SPACE
));
41588 PyDict_SetItemString(d
,"WXK_NUMPAD_TAB", SWIG_FromInt((int)WXK_NUMPAD_TAB
));
41589 PyDict_SetItemString(d
,"WXK_NUMPAD_ENTER", SWIG_FromInt((int)WXK_NUMPAD_ENTER
));
41590 PyDict_SetItemString(d
,"WXK_NUMPAD_F1", SWIG_FromInt((int)WXK_NUMPAD_F1
));
41591 PyDict_SetItemString(d
,"WXK_NUMPAD_F2", SWIG_FromInt((int)WXK_NUMPAD_F2
));
41592 PyDict_SetItemString(d
,"WXK_NUMPAD_F3", SWIG_FromInt((int)WXK_NUMPAD_F3
));
41593 PyDict_SetItemString(d
,"WXK_NUMPAD_F4", SWIG_FromInt((int)WXK_NUMPAD_F4
));
41594 PyDict_SetItemString(d
,"WXK_NUMPAD_HOME", SWIG_FromInt((int)WXK_NUMPAD_HOME
));
41595 PyDict_SetItemString(d
,"WXK_NUMPAD_LEFT", SWIG_FromInt((int)WXK_NUMPAD_LEFT
));
41596 PyDict_SetItemString(d
,"WXK_NUMPAD_UP", SWIG_FromInt((int)WXK_NUMPAD_UP
));
41597 PyDict_SetItemString(d
,"WXK_NUMPAD_RIGHT", SWIG_FromInt((int)WXK_NUMPAD_RIGHT
));
41598 PyDict_SetItemString(d
,"WXK_NUMPAD_DOWN", SWIG_FromInt((int)WXK_NUMPAD_DOWN
));
41599 PyDict_SetItemString(d
,"WXK_NUMPAD_PRIOR", SWIG_FromInt((int)WXK_NUMPAD_PRIOR
));
41600 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEUP", SWIG_FromInt((int)WXK_NUMPAD_PAGEUP
));
41601 PyDict_SetItemString(d
,"WXK_NUMPAD_NEXT", SWIG_FromInt((int)WXK_NUMPAD_NEXT
));
41602 PyDict_SetItemString(d
,"WXK_NUMPAD_PAGEDOWN", SWIG_FromInt((int)WXK_NUMPAD_PAGEDOWN
));
41603 PyDict_SetItemString(d
,"WXK_NUMPAD_END", SWIG_FromInt((int)WXK_NUMPAD_END
));
41604 PyDict_SetItemString(d
,"WXK_NUMPAD_BEGIN", SWIG_FromInt((int)WXK_NUMPAD_BEGIN
));
41605 PyDict_SetItemString(d
,"WXK_NUMPAD_INSERT", SWIG_FromInt((int)WXK_NUMPAD_INSERT
));
41606 PyDict_SetItemString(d
,"WXK_NUMPAD_DELETE", SWIG_FromInt((int)WXK_NUMPAD_DELETE
));
41607 PyDict_SetItemString(d
,"WXK_NUMPAD_EQUAL", SWIG_FromInt((int)WXK_NUMPAD_EQUAL
));
41608 PyDict_SetItemString(d
,"WXK_NUMPAD_MULTIPLY", SWIG_FromInt((int)WXK_NUMPAD_MULTIPLY
));
41609 PyDict_SetItemString(d
,"WXK_NUMPAD_ADD", SWIG_FromInt((int)WXK_NUMPAD_ADD
));
41610 PyDict_SetItemString(d
,"WXK_NUMPAD_SEPARATOR", SWIG_FromInt((int)WXK_NUMPAD_SEPARATOR
));
41611 PyDict_SetItemString(d
,"WXK_NUMPAD_SUBTRACT", SWIG_FromInt((int)WXK_NUMPAD_SUBTRACT
));
41612 PyDict_SetItemString(d
,"WXK_NUMPAD_DECIMAL", SWIG_FromInt((int)WXK_NUMPAD_DECIMAL
));
41613 PyDict_SetItemString(d
,"WXK_NUMPAD_DIVIDE", SWIG_FromInt((int)WXK_NUMPAD_DIVIDE
));
41614 PyDict_SetItemString(d
,"WXK_WINDOWS_LEFT", SWIG_FromInt((int)WXK_WINDOWS_LEFT
));
41615 PyDict_SetItemString(d
,"WXK_WINDOWS_RIGHT", SWIG_FromInt((int)WXK_WINDOWS_RIGHT
));
41616 PyDict_SetItemString(d
,"WXK_WINDOWS_MENU", SWIG_FromInt((int)WXK_WINDOWS_MENU
));
41617 PyDict_SetItemString(d
,"PAPER_NONE", SWIG_FromInt((int)wxPAPER_NONE
));
41618 PyDict_SetItemString(d
,"PAPER_LETTER", SWIG_FromInt((int)wxPAPER_LETTER
));
41619 PyDict_SetItemString(d
,"PAPER_LEGAL", SWIG_FromInt((int)wxPAPER_LEGAL
));
41620 PyDict_SetItemString(d
,"PAPER_A4", SWIG_FromInt((int)wxPAPER_A4
));
41621 PyDict_SetItemString(d
,"PAPER_CSHEET", SWIG_FromInt((int)wxPAPER_CSHEET
));
41622 PyDict_SetItemString(d
,"PAPER_DSHEET", SWIG_FromInt((int)wxPAPER_DSHEET
));
41623 PyDict_SetItemString(d
,"PAPER_ESHEET", SWIG_FromInt((int)wxPAPER_ESHEET
));
41624 PyDict_SetItemString(d
,"PAPER_LETTERSMALL", SWIG_FromInt((int)wxPAPER_LETTERSMALL
));
41625 PyDict_SetItemString(d
,"PAPER_TABLOID", SWIG_FromInt((int)wxPAPER_TABLOID
));
41626 PyDict_SetItemString(d
,"PAPER_LEDGER", SWIG_FromInt((int)wxPAPER_LEDGER
));
41627 PyDict_SetItemString(d
,"PAPER_STATEMENT", SWIG_FromInt((int)wxPAPER_STATEMENT
));
41628 PyDict_SetItemString(d
,"PAPER_EXECUTIVE", SWIG_FromInt((int)wxPAPER_EXECUTIVE
));
41629 PyDict_SetItemString(d
,"PAPER_A3", SWIG_FromInt((int)wxPAPER_A3
));
41630 PyDict_SetItemString(d
,"PAPER_A4SMALL", SWIG_FromInt((int)wxPAPER_A4SMALL
));
41631 PyDict_SetItemString(d
,"PAPER_A5", SWIG_FromInt((int)wxPAPER_A5
));
41632 PyDict_SetItemString(d
,"PAPER_B4", SWIG_FromInt((int)wxPAPER_B4
));
41633 PyDict_SetItemString(d
,"PAPER_B5", SWIG_FromInt((int)wxPAPER_B5
));
41634 PyDict_SetItemString(d
,"PAPER_FOLIO", SWIG_FromInt((int)wxPAPER_FOLIO
));
41635 PyDict_SetItemString(d
,"PAPER_QUARTO", SWIG_FromInt((int)wxPAPER_QUARTO
));
41636 PyDict_SetItemString(d
,"PAPER_10X14", SWIG_FromInt((int)wxPAPER_10X14
));
41637 PyDict_SetItemString(d
,"PAPER_11X17", SWIG_FromInt((int)wxPAPER_11X17
));
41638 PyDict_SetItemString(d
,"PAPER_NOTE", SWIG_FromInt((int)wxPAPER_NOTE
));
41639 PyDict_SetItemString(d
,"PAPER_ENV_9", SWIG_FromInt((int)wxPAPER_ENV_9
));
41640 PyDict_SetItemString(d
,"PAPER_ENV_10", SWIG_FromInt((int)wxPAPER_ENV_10
));
41641 PyDict_SetItemString(d
,"PAPER_ENV_11", SWIG_FromInt((int)wxPAPER_ENV_11
));
41642 PyDict_SetItemString(d
,"PAPER_ENV_12", SWIG_FromInt((int)wxPAPER_ENV_12
));
41643 PyDict_SetItemString(d
,"PAPER_ENV_14", SWIG_FromInt((int)wxPAPER_ENV_14
));
41644 PyDict_SetItemString(d
,"PAPER_ENV_DL", SWIG_FromInt((int)wxPAPER_ENV_DL
));
41645 PyDict_SetItemString(d
,"PAPER_ENV_C5", SWIG_FromInt((int)wxPAPER_ENV_C5
));
41646 PyDict_SetItemString(d
,"PAPER_ENV_C3", SWIG_FromInt((int)wxPAPER_ENV_C3
));
41647 PyDict_SetItemString(d
,"PAPER_ENV_C4", SWIG_FromInt((int)wxPAPER_ENV_C4
));
41648 PyDict_SetItemString(d
,"PAPER_ENV_C6", SWIG_FromInt((int)wxPAPER_ENV_C6
));
41649 PyDict_SetItemString(d
,"PAPER_ENV_C65", SWIG_FromInt((int)wxPAPER_ENV_C65
));
41650 PyDict_SetItemString(d
,"PAPER_ENV_B4", SWIG_FromInt((int)wxPAPER_ENV_B4
));
41651 PyDict_SetItemString(d
,"PAPER_ENV_B5", SWIG_FromInt((int)wxPAPER_ENV_B5
));
41652 PyDict_SetItemString(d
,"PAPER_ENV_B6", SWIG_FromInt((int)wxPAPER_ENV_B6
));
41653 PyDict_SetItemString(d
,"PAPER_ENV_ITALY", SWIG_FromInt((int)wxPAPER_ENV_ITALY
));
41654 PyDict_SetItemString(d
,"PAPER_ENV_MONARCH", SWIG_FromInt((int)wxPAPER_ENV_MONARCH
));
41655 PyDict_SetItemString(d
,"PAPER_ENV_PERSONAL", SWIG_FromInt((int)wxPAPER_ENV_PERSONAL
));
41656 PyDict_SetItemString(d
,"PAPER_FANFOLD_US", SWIG_FromInt((int)wxPAPER_FANFOLD_US
));
41657 PyDict_SetItemString(d
,"PAPER_FANFOLD_STD_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_STD_GERMAN
));
41658 PyDict_SetItemString(d
,"PAPER_FANFOLD_LGL_GERMAN", SWIG_FromInt((int)wxPAPER_FANFOLD_LGL_GERMAN
));
41659 PyDict_SetItemString(d
,"PAPER_ISO_B4", SWIG_FromInt((int)wxPAPER_ISO_B4
));
41660 PyDict_SetItemString(d
,"PAPER_JAPANESE_POSTCARD", SWIG_FromInt((int)wxPAPER_JAPANESE_POSTCARD
));
41661 PyDict_SetItemString(d
,"PAPER_9X11", SWIG_FromInt((int)wxPAPER_9X11
));
41662 PyDict_SetItemString(d
,"PAPER_10X11", SWIG_FromInt((int)wxPAPER_10X11
));
41663 PyDict_SetItemString(d
,"PAPER_15X11", SWIG_FromInt((int)wxPAPER_15X11
));
41664 PyDict_SetItemString(d
,"PAPER_ENV_INVITE", SWIG_FromInt((int)wxPAPER_ENV_INVITE
));
41665 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA
));
41666 PyDict_SetItemString(d
,"PAPER_LEGAL_EXTRA", SWIG_FromInt((int)wxPAPER_LEGAL_EXTRA
));
41667 PyDict_SetItemString(d
,"PAPER_TABLOID_EXTRA", SWIG_FromInt((int)wxPAPER_TABLOID_EXTRA
));
41668 PyDict_SetItemString(d
,"PAPER_A4_EXTRA", SWIG_FromInt((int)wxPAPER_A4_EXTRA
));
41669 PyDict_SetItemString(d
,"PAPER_LETTER_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_TRANSVERSE
));
41670 PyDict_SetItemString(d
,"PAPER_A4_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A4_TRANSVERSE
));
41671 PyDict_SetItemString(d
,"PAPER_LETTER_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_LETTER_EXTRA_TRANSVERSE
));
41672 PyDict_SetItemString(d
,"PAPER_A_PLUS", SWIG_FromInt((int)wxPAPER_A_PLUS
));
41673 PyDict_SetItemString(d
,"PAPER_B_PLUS", SWIG_FromInt((int)wxPAPER_B_PLUS
));
41674 PyDict_SetItemString(d
,"PAPER_LETTER_PLUS", SWIG_FromInt((int)wxPAPER_LETTER_PLUS
));
41675 PyDict_SetItemString(d
,"PAPER_A4_PLUS", SWIG_FromInt((int)wxPAPER_A4_PLUS
));
41676 PyDict_SetItemString(d
,"PAPER_A5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A5_TRANSVERSE
));
41677 PyDict_SetItemString(d
,"PAPER_B5_TRANSVERSE", SWIG_FromInt((int)wxPAPER_B5_TRANSVERSE
));
41678 PyDict_SetItemString(d
,"PAPER_A3_EXTRA", SWIG_FromInt((int)wxPAPER_A3_EXTRA
));
41679 PyDict_SetItemString(d
,"PAPER_A5_EXTRA", SWIG_FromInt((int)wxPAPER_A5_EXTRA
));
41680 PyDict_SetItemString(d
,"PAPER_B5_EXTRA", SWIG_FromInt((int)wxPAPER_B5_EXTRA
));
41681 PyDict_SetItemString(d
,"PAPER_A2", SWIG_FromInt((int)wxPAPER_A2
));
41682 PyDict_SetItemString(d
,"PAPER_A3_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_TRANSVERSE
));
41683 PyDict_SetItemString(d
,"PAPER_A3_EXTRA_TRANSVERSE", SWIG_FromInt((int)wxPAPER_A3_EXTRA_TRANSVERSE
));
41684 PyDict_SetItemString(d
,"DUPLEX_SIMPLEX", SWIG_FromInt((int)wxDUPLEX_SIMPLEX
));
41685 PyDict_SetItemString(d
,"DUPLEX_HORIZONTAL", SWIG_FromInt((int)wxDUPLEX_HORIZONTAL
));
41686 PyDict_SetItemString(d
,"DUPLEX_VERTICAL", SWIG_FromInt((int)wxDUPLEX_VERTICAL
));
41687 PyDict_SetItemString(d
,"ITEM_SEPARATOR", SWIG_FromInt((int)wxITEM_SEPARATOR
));
41688 PyDict_SetItemString(d
,"ITEM_NORMAL", SWIG_FromInt((int)wxITEM_NORMAL
));
41689 PyDict_SetItemString(d
,"ITEM_CHECK", SWIG_FromInt((int)wxITEM_CHECK
));
41690 PyDict_SetItemString(d
,"ITEM_RADIO", SWIG_FromInt((int)wxITEM_RADIO
));
41691 PyDict_SetItemString(d
,"ITEM_MAX", SWIG_FromInt((int)wxITEM_MAX
));
41692 PyDict_SetItemString(d
,"HT_NOWHERE", SWIG_FromInt((int)wxHT_NOWHERE
));
41693 PyDict_SetItemString(d
,"HT_SCROLLBAR_FIRST", SWIG_FromInt((int)wxHT_SCROLLBAR_FIRST
));
41694 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_1
));
41695 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_LINE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_LINE_2
));
41696 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_1", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_1
));
41697 PyDict_SetItemString(d
,"HT_SCROLLBAR_ARROW_PAGE_2", SWIG_FromInt((int)wxHT_SCROLLBAR_ARROW_PAGE_2
));
41698 PyDict_SetItemString(d
,"HT_SCROLLBAR_THUMB", SWIG_FromInt((int)wxHT_SCROLLBAR_THUMB
));
41699 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_1", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_1
));
41700 PyDict_SetItemString(d
,"HT_SCROLLBAR_BAR_2", SWIG_FromInt((int)wxHT_SCROLLBAR_BAR_2
));
41701 PyDict_SetItemString(d
,"HT_SCROLLBAR_LAST", SWIG_FromInt((int)wxHT_SCROLLBAR_LAST
));
41702 PyDict_SetItemString(d
,"HT_WINDOW_OUTSIDE", SWIG_FromInt((int)wxHT_WINDOW_OUTSIDE
));
41703 PyDict_SetItemString(d
,"HT_WINDOW_INSIDE", SWIG_FromInt((int)wxHT_WINDOW_INSIDE
));
41704 PyDict_SetItemString(d
,"HT_WINDOW_VERT_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_VERT_SCROLLBAR
));
41705 PyDict_SetItemString(d
,"HT_WINDOW_HORZ_SCROLLBAR", SWIG_FromInt((int)wxHT_WINDOW_HORZ_SCROLLBAR
));
41706 PyDict_SetItemString(d
,"HT_WINDOW_CORNER", SWIG_FromInt((int)wxHT_WINDOW_CORNER
));
41707 PyDict_SetItemString(d
,"HT_MAX", SWIG_FromInt((int)wxHT_MAX
));
41708 PyDict_SetItemString(d
,"MOD_NONE", SWIG_FromInt((int)wxMOD_NONE
));
41709 PyDict_SetItemString(d
,"MOD_ALT", SWIG_FromInt((int)wxMOD_ALT
));
41710 PyDict_SetItemString(d
,"MOD_CONTROL", SWIG_FromInt((int)wxMOD_CONTROL
));
41711 PyDict_SetItemString(d
,"MOD_SHIFT", SWIG_FromInt((int)wxMOD_SHIFT
));
41712 PyDict_SetItemString(d
,"MOD_WIN", SWIG_FromInt((int)wxMOD_WIN
));
41713 PyDict_SetItemString(d
,"UPDATE_UI_NONE", SWIG_FromInt((int)wxUPDATE_UI_NONE
));
41714 PyDict_SetItemString(d
,"UPDATE_UI_RECURSE", SWIG_FromInt((int)wxUPDATE_UI_RECURSE
));
41715 PyDict_SetItemString(d
,"UPDATE_UI_FROMIDLE", SWIG_FromInt((int)wxUPDATE_UI_FROMIDLE
));
41716 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
41717 SWIG_addvarlink(SWIG_globals
,(char*)"EmptyString",_wrap_EmptyString_get
, _wrap_EmptyString_set
);
41718 PyDict_SetItemString(d
,"BITMAP_TYPE_INVALID", SWIG_FromInt((int)wxBITMAP_TYPE_INVALID
));
41719 PyDict_SetItemString(d
,"BITMAP_TYPE_BMP", SWIG_FromInt((int)wxBITMAP_TYPE_BMP
));
41720 PyDict_SetItemString(d
,"BITMAP_TYPE_ICO", SWIG_FromInt((int)wxBITMAP_TYPE_ICO
));
41721 PyDict_SetItemString(d
,"BITMAP_TYPE_CUR", SWIG_FromInt((int)wxBITMAP_TYPE_CUR
));
41722 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM", SWIG_FromInt((int)wxBITMAP_TYPE_XBM
));
41723 PyDict_SetItemString(d
,"BITMAP_TYPE_XBM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XBM_DATA
));
41724 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM", SWIG_FromInt((int)wxBITMAP_TYPE_XPM
));
41725 PyDict_SetItemString(d
,"BITMAP_TYPE_XPM_DATA", SWIG_FromInt((int)wxBITMAP_TYPE_XPM_DATA
));
41726 PyDict_SetItemString(d
,"BITMAP_TYPE_TIF", SWIG_FromInt((int)wxBITMAP_TYPE_TIF
));
41727 PyDict_SetItemString(d
,"BITMAP_TYPE_GIF", SWIG_FromInt((int)wxBITMAP_TYPE_GIF
));
41728 PyDict_SetItemString(d
,"BITMAP_TYPE_PNG", SWIG_FromInt((int)wxBITMAP_TYPE_PNG
));
41729 PyDict_SetItemString(d
,"BITMAP_TYPE_JPEG", SWIG_FromInt((int)wxBITMAP_TYPE_JPEG
));
41730 PyDict_SetItemString(d
,"BITMAP_TYPE_PNM", SWIG_FromInt((int)wxBITMAP_TYPE_PNM
));
41731 PyDict_SetItemString(d
,"BITMAP_TYPE_PCX", SWIG_FromInt((int)wxBITMAP_TYPE_PCX
));
41732 PyDict_SetItemString(d
,"BITMAP_TYPE_PICT", SWIG_FromInt((int)wxBITMAP_TYPE_PICT
));
41733 PyDict_SetItemString(d
,"BITMAP_TYPE_ICON", SWIG_FromInt((int)wxBITMAP_TYPE_ICON
));
41734 PyDict_SetItemString(d
,"BITMAP_TYPE_ANI", SWIG_FromInt((int)wxBITMAP_TYPE_ANI
));
41735 PyDict_SetItemString(d
,"BITMAP_TYPE_IFF", SWIG_FromInt((int)wxBITMAP_TYPE_IFF
));
41736 PyDict_SetItemString(d
,"BITMAP_TYPE_MACCURSOR", SWIG_FromInt((int)wxBITMAP_TYPE_MACCURSOR
));
41737 PyDict_SetItemString(d
,"BITMAP_TYPE_ANY", SWIG_FromInt((int)wxBITMAP_TYPE_ANY
));
41738 PyDict_SetItemString(d
,"CURSOR_NONE", SWIG_FromInt((int)wxCURSOR_NONE
));
41739 PyDict_SetItemString(d
,"CURSOR_ARROW", SWIG_FromInt((int)wxCURSOR_ARROW
));
41740 PyDict_SetItemString(d
,"CURSOR_RIGHT_ARROW", SWIG_FromInt((int)wxCURSOR_RIGHT_ARROW
));
41741 PyDict_SetItemString(d
,"CURSOR_BULLSEYE", SWIG_FromInt((int)wxCURSOR_BULLSEYE
));
41742 PyDict_SetItemString(d
,"CURSOR_CHAR", SWIG_FromInt((int)wxCURSOR_CHAR
));
41743 PyDict_SetItemString(d
,"CURSOR_CROSS", SWIG_FromInt((int)wxCURSOR_CROSS
));
41744 PyDict_SetItemString(d
,"CURSOR_HAND", SWIG_FromInt((int)wxCURSOR_HAND
));
41745 PyDict_SetItemString(d
,"CURSOR_IBEAM", SWIG_FromInt((int)wxCURSOR_IBEAM
));
41746 PyDict_SetItemString(d
,"CURSOR_LEFT_BUTTON", SWIG_FromInt((int)wxCURSOR_LEFT_BUTTON
));
41747 PyDict_SetItemString(d
,"CURSOR_MAGNIFIER", SWIG_FromInt((int)wxCURSOR_MAGNIFIER
));
41748 PyDict_SetItemString(d
,"CURSOR_MIDDLE_BUTTON", SWIG_FromInt((int)wxCURSOR_MIDDLE_BUTTON
));
41749 PyDict_SetItemString(d
,"CURSOR_NO_ENTRY", SWIG_FromInt((int)wxCURSOR_NO_ENTRY
));
41750 PyDict_SetItemString(d
,"CURSOR_PAINT_BRUSH", SWIG_FromInt((int)wxCURSOR_PAINT_BRUSH
));
41751 PyDict_SetItemString(d
,"CURSOR_PENCIL", SWIG_FromInt((int)wxCURSOR_PENCIL
));
41752 PyDict_SetItemString(d
,"CURSOR_POINT_LEFT", SWIG_FromInt((int)wxCURSOR_POINT_LEFT
));
41753 PyDict_SetItemString(d
,"CURSOR_POINT_RIGHT", SWIG_FromInt((int)wxCURSOR_POINT_RIGHT
));
41754 PyDict_SetItemString(d
,"CURSOR_QUESTION_ARROW", SWIG_FromInt((int)wxCURSOR_QUESTION_ARROW
));
41755 PyDict_SetItemString(d
,"CURSOR_RIGHT_BUTTON", SWIG_FromInt((int)wxCURSOR_RIGHT_BUTTON
));
41756 PyDict_SetItemString(d
,"CURSOR_SIZENESW", SWIG_FromInt((int)wxCURSOR_SIZENESW
));
41757 PyDict_SetItemString(d
,"CURSOR_SIZENS", SWIG_FromInt((int)wxCURSOR_SIZENS
));
41758 PyDict_SetItemString(d
,"CURSOR_SIZENWSE", SWIG_FromInt((int)wxCURSOR_SIZENWSE
));
41759 PyDict_SetItemString(d
,"CURSOR_SIZEWE", SWIG_FromInt((int)wxCURSOR_SIZEWE
));
41760 PyDict_SetItemString(d
,"CURSOR_SIZING", SWIG_FromInt((int)wxCURSOR_SIZING
));
41761 PyDict_SetItemString(d
,"CURSOR_SPRAYCAN", SWIG_FromInt((int)wxCURSOR_SPRAYCAN
));
41762 PyDict_SetItemString(d
,"CURSOR_WAIT", SWIG_FromInt((int)wxCURSOR_WAIT
));
41763 PyDict_SetItemString(d
,"CURSOR_WATCH", SWIG_FromInt((int)wxCURSOR_WATCH
));
41764 PyDict_SetItemString(d
,"CURSOR_BLANK", SWIG_FromInt((int)wxCURSOR_BLANK
));
41765 PyDict_SetItemString(d
,"CURSOR_DEFAULT", SWIG_FromInt((int)wxCURSOR_DEFAULT
));
41766 PyDict_SetItemString(d
,"CURSOR_COPY_ARROW", SWIG_FromInt((int)wxCURSOR_COPY_ARROW
));
41767 PyDict_SetItemString(d
,"CURSOR_ARROWWAIT", SWIG_FromInt((int)wxCURSOR_ARROWWAIT
));
41768 PyDict_SetItemString(d
,"CURSOR_MAX", SWIG_FromInt((int)wxCURSOR_MAX
));
41769 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
41770 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
41771 PyDict_SetItemString(d
,"FromStart", SWIG_FromInt((int)wxFromStart
));
41772 PyDict_SetItemString(d
,"FromCurrent", SWIG_FromInt((int)wxFromCurrent
));
41773 PyDict_SetItemString(d
,"FromEnd", SWIG_FromInt((int)wxFromEnd
));
41775 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
41778 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
41780 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
41781 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
41782 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
41783 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
41784 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
41785 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
41786 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_INCHES", SWIG_FromInt((int)wxIMAGE_RESOLUTION_INCHES
));
41787 PyDict_SetItemString(d
,"IMAGE_RESOLUTION_CM", SWIG_FromInt((int)wxIMAGE_RESOLUTION_CM
));
41788 PyDict_SetItemString(d
,"BMP_24BPP", SWIG_FromInt((int)wxBMP_24BPP
));
41789 PyDict_SetItemString(d
,"BMP_8BPP", SWIG_FromInt((int)wxBMP_8BPP
));
41790 PyDict_SetItemString(d
,"BMP_8BPP_GREY", SWIG_FromInt((int)wxBMP_8BPP_GREY
));
41791 PyDict_SetItemString(d
,"BMP_8BPP_GRAY", SWIG_FromInt((int)wxBMP_8BPP_GRAY
));
41792 PyDict_SetItemString(d
,"BMP_8BPP_RED", SWIG_FromInt((int)wxBMP_8BPP_RED
));
41793 PyDict_SetItemString(d
,"BMP_8BPP_PALETTE", SWIG_FromInt((int)wxBMP_8BPP_PALETTE
));
41794 PyDict_SetItemString(d
,"BMP_4BPP", SWIG_FromInt((int)wxBMP_4BPP
));
41795 PyDict_SetItemString(d
,"BMP_1BPP", SWIG_FromInt((int)wxBMP_1BPP
));
41796 PyDict_SetItemString(d
,"BMP_1BPP_BW", SWIG_FromInt((int)wxBMP_1BPP_BW
));
41797 PyDict_SetItemString(d
,"EVENT_PROPAGATE_NONE", SWIG_FromInt((int)wxEVENT_PROPAGATE_NONE
));
41798 PyDict_SetItemString(d
,"EVENT_PROPAGATE_MAX", SWIG_FromInt((int)wxEVENT_PROPAGATE_MAX
));
41799 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
41800 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
41801 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
41802 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
41803 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
41804 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
41805 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
41806 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
41807 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
41808 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
41809 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
41810 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
41811 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
41812 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
41813 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
41814 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
41815 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
41816 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
41817 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
41818 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
41819 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
41820 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
41821 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
41822 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
41823 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
41824 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
41825 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
41826 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
41827 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
41828 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
41829 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
41830 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
41831 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
41832 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
41833 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
41834 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
41835 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
41836 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
41837 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
41838 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
41839 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
41840 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
41841 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
41842 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
41843 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
41844 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
41845 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
41846 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
41847 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
41848 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
41849 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
41850 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
41851 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
41852 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
41853 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
41854 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
41855 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
41856 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
41857 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
41858 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
41859 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
41860 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
41861 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
41862 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
41863 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
41864 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
41865 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
41866 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
41867 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
41868 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
41869 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
41870 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
41871 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
41872 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
41873 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
41874 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
41875 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
41876 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
41877 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
41878 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
41879 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
41880 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
41881 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
41882 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
41883 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
41884 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
41885 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
41886 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
41887 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
41888 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
41889 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
41890 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
41891 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
41892 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
41893 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
41894 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
41895 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
41896 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
41897 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
41898 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
41899 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
41900 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
41901 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
41902 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
41903 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
41904 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
41905 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
41906 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
41907 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
41908 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
41909 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
41910 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
41911 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
41912 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
41913 PyDict_SetItemString(d
,"MOUSE_BTN_ANY", SWIG_FromInt((int)wxMOUSE_BTN_ANY
));
41914 PyDict_SetItemString(d
,"MOUSE_BTN_NONE", SWIG_FromInt((int)wxMOUSE_BTN_NONE
));
41915 PyDict_SetItemString(d
,"MOUSE_BTN_LEFT", SWIG_FromInt((int)wxMOUSE_BTN_LEFT
));
41916 PyDict_SetItemString(d
,"MOUSE_BTN_MIDDLE", SWIG_FromInt((int)wxMOUSE_BTN_MIDDLE
));
41917 PyDict_SetItemString(d
,"MOUSE_BTN_RIGHT", SWIG_FromInt((int)wxMOUSE_BTN_RIGHT
));
41918 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_ALL", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_ALL
));
41919 PyDict_SetItemString(d
,"UPDATE_UI_PROCESS_SPECIFIED", SWIG_FromInt((int)wxUPDATE_UI_PROCESS_SPECIFIED
));
41920 PyDict_SetItemString(d
,"IDLE_PROCESS_ALL", SWIG_FromInt((int)wxIDLE_PROCESS_ALL
));
41921 PyDict_SetItemString(d
,"IDLE_PROCESS_SPECIFIED", SWIG_FromInt((int)wxIDLE_PROCESS_SPECIFIED
));
41922 PyDict_SetItemString(d
,"PYAPP_ASSERT_SUPPRESS", SWIG_FromInt((int)wxPYAPP_ASSERT_SUPPRESS
));
41923 PyDict_SetItemString(d
,"PYAPP_ASSERT_EXCEPTION", SWIG_FromInt((int)wxPYAPP_ASSERT_EXCEPTION
));
41924 PyDict_SetItemString(d
,"PYAPP_ASSERT_DIALOG", SWIG_FromInt((int)wxPYAPP_ASSERT_DIALOG
));
41925 PyDict_SetItemString(d
,"PYAPP_ASSERT_LOG", SWIG_FromInt((int)wxPYAPP_ASSERT_LOG
));
41926 PyDict_SetItemString(d
,"PRINT_WINDOWS", SWIG_FromInt((int)wxPRINT_WINDOWS
));
41927 PyDict_SetItemString(d
,"PRINT_POSTSCRIPT", SWIG_FromInt((int)wxPRINT_POSTSCRIPT
));
41928 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
41929 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
41930 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
41931 SWIG_addvarlink(SWIG_globals
,(char*)"ControlNameStr",_wrap_ControlNameStr_get
, _wrap_ControlNameStr_set
);
41932 PyDict_SetItemString(d
,"FLEX_GROWMODE_NONE", SWIG_FromInt((int)wxFLEX_GROWMODE_NONE
));
41933 PyDict_SetItemString(d
,"FLEX_GROWMODE_SPECIFIED", SWIG_FromInt((int)wxFLEX_GROWMODE_SPECIFIED
));
41934 PyDict_SetItemString(d
,"FLEX_GROWMODE_ALL", SWIG_FromInt((int)wxFLEX_GROWMODE_ALL
));
41935 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
41936 PyDict_SetItemString(d
,"Left", SWIG_FromInt((int)wxLeft
));
41937 PyDict_SetItemString(d
,"Top", SWIG_FromInt((int)wxTop
));
41938 PyDict_SetItemString(d
,"Right", SWIG_FromInt((int)wxRight
));
41939 PyDict_SetItemString(d
,"Bottom", SWIG_FromInt((int)wxBottom
));
41940 PyDict_SetItemString(d
,"Width", SWIG_FromInt((int)wxWidth
));
41941 PyDict_SetItemString(d
,"Height", SWIG_FromInt((int)wxHeight
));
41942 PyDict_SetItemString(d
,"Centre", SWIG_FromInt((int)wxCentre
));
41943 PyDict_SetItemString(d
,"Center", SWIG_FromInt((int)wxCenter
));
41944 PyDict_SetItemString(d
,"CentreX", SWIG_FromInt((int)wxCentreX
));
41945 PyDict_SetItemString(d
,"CentreY", SWIG_FromInt((int)wxCentreY
));
41946 PyDict_SetItemString(d
,"Unconstrained", SWIG_FromInt((int)wxUnconstrained
));
41947 PyDict_SetItemString(d
,"AsIs", SWIG_FromInt((int)wxAsIs
));
41948 PyDict_SetItemString(d
,"PercentOf", SWIG_FromInt((int)wxPercentOf
));
41949 PyDict_SetItemString(d
,"Above", SWIG_FromInt((int)wxAbove
));
41950 PyDict_SetItemString(d
,"Below", SWIG_FromInt((int)wxBelow
));
41951 PyDict_SetItemString(d
,"LeftOf", SWIG_FromInt((int)wxLeftOf
));
41952 PyDict_SetItemString(d
,"RightOf", SWIG_FromInt((int)wxRightOf
));
41953 PyDict_SetItemString(d
,"SameAs", SWIG_FromInt((int)wxSameAs
));
41954 PyDict_SetItemString(d
,"Absolute", SWIG_FromInt((int)wxAbsolute
));
41956 // Initialize threading, some globals and such
41960 // Although these are defined in __version__ they need to be here too so
41961 // that an assert can be done to ensure that the wxPython and the wxWindows
41963 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
41964 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
41965 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));